TCreateModelParams

The TCreateModelParams data structure is used to specify how a model is created.

typedef struct {

int Size;

int ThreadCount;

} TCreateModelParams;

Members

Size

Specifies the size, in bytes, of this data structure. Set this member to sizeof(TCreateModelParams) before calling a function with a TCreateModelParams parameter.

ThreadCount

Specifies the number of processing threads which OrcFxAPI uses for simulation calculations. This can also be modified by calling C_SetModelThreadCount. A value of -1 results in the default thread count being used.

See also

C_CreateModel2, C_SetModelThreadCount.