|
TDiffractionWaveComponent |
The TDiffractionWaveComponent structure is used to store information about a single wave component. This information is returned from C_GetDiffractionWaveComponents.
typedef struct {
double Frequency;
double FrequencyLowerBound;
double FrequencyUpperBound;
double Amplitude;
double WaveNumber;
double Direction;
} TDiffractionWaveComponent;
The frequency of the wave component.
For a random wave, the component represents a frequency interval. The FrequencyLowerBound and FrequencyUpperBound fields define this interval. Otherwise (i.e. in the case of user-specified components) then these fields are set to OrcinaUndefinedReal().
The amplitude of the wave component.
The wave number of the wave component. This is defined as 2π / L where L is the wave length for this component.
The direction of the wave component measured in degrees, relative to the sea state direction during an OrcaWave drag linearisation calculation.