C_GetFrequencyDomainTimeHistoryFromProcess

Call C_GetFrequencyDomainTimeHistoryFromProcess to synthesise a time history from a process. The synthesised time history contains just the dynamic component of the value. The model must use the frequency domain dynamics solution method and be in the simulation complete state.

Typically the process is obtained by calling C_GetFrequencyDomainResultsProcess.

void C_GetFrequencyDomainTimeHistoryFromProcess(

TOrcFxAPIHandle ModelHandle,

int ComponentCount,

const TComplex *lpProcess,

double FromTime,

double SampleInterval,

int SampleCount,

double *lpValues,

int *lpStatus

);

Parameters

ModelHandle (IN)

The handle of the model.

ComponentCount (IN)

The number of components.

lpProcess (IN)

The process, an array of complex numbers of length ComponentCount.

FromTime (IN)

The start time of the time history.

SampleInterval (IN)

The sample interval of the time history.

SampleCount (IN)

The number of samples in the time history. This is typically obtained by calling C_GetFrequencyDomainTimeHistorySampleCount.

lpValues (OUT)

Points to an array of double of length SampleCount. The function populates the array with the SampleCount sample values.

lpStatus (OUT)

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

See also

C_GetFrequencyDomainResultsProcess, C_GetFrequencyDomainTimeHistorySampleCount, C_GetFrequencyDomainTimeHistorySampleTimes.