C_GetFrequencyDomainMPM

Call C_GetFrequencyDomainMPM to calculate the most probable maximum (MPM) for a frequency domain result.

void C_GetFrequencyDomainMPM(

const double StormDuration,

const double StdDev,

const double Tz,

double *lpValue,

int *lpStatus

);

Parameters

StormDuration (IN)

The storm duration, or return period.

StdDev (IN)

The standard deviation of the frequency domain result. Typically this is obtained by a call to C_GetFrequencyDomainResults.

Tz (IN)

The mean up-crossing period of the frequency domain result, measured in the same time units as StormDuration. Typically this is obtained by a call to C_GetFrequencyDomainResults.

lpValue (OUT)

Points to a variable in which the MPM will be returned. The value returned is the Rayleigh extremes MPM given by σ[2ln(T/Tz)]½ where σ is the standard deviation and T is the storm duration. This value has the same units as StdDev.

lpStatus (OUT)

Points to a variable in which the status result for the function call will be returned.

See also

TFrequencyDomainResults, C_GetFrequencyDomainResults.