TPeriod

The TPeriod data structure specifies the period of an OrcaFlex simulation. The TPeriod data structure corresponds to the period data on the OrcaFlex results page.

typedef struct {

int PeriodNum;

int Unused;

double FromTime;

double ToTime;

} TPeriod;

Members

PeriodNum

Can be one of:

Unused

Ignored

FromTime

Only used when PeriodNum is pnSpecifiedPeriod. This is the start time of the period.

For collated results a value of OrcinaDefaultReal() can be used to mean the first sample of the first model in the restart chain.

ToTime

Only used when PeriodNum is pnSpecifiedPeriod. This is the finish time of the period.

For collated results a value of OrcinaDefaultReal() can be used to mean the last sample of the last model in the restart chain.

See also

C_GetNumOfSamples, C_GetRangeGraph4, C_GetSampleTimes, C_GetTimeHistory2, C_OpenLinkedStatistics2.