OpenM++ runtime library (libopenm)
openm::RunOptions Struct Reference

basic model run options More...

Public Member Functions

 RunOptions (void)
 init run options with default values
 
bool isMicrodata (void) const
 retrun true if any microdata output enabled
 
bool isTextMicrodata (void) const
 retrun true if microdata output to text enabled: output to CSV or to trace
 

Public Attributes

int subValueCount
 number of sub-values
 
int subValueId
 sub-value index for current modeling thread
 
bool useSparse
 if true then use sparse output to database
 
double nullValue
 if use sparse and abs(value) <= nullValue then value not stored
 
bool isDbMicrodata
 if true then model run is storing microdata in database
 
bool isCsvMicrodata
 if true then model run is writing microdata into CSV
 
bool isTraceMicrodata
 if true then model run is writing microdata into trace output
 
int progressPercent
 if positive then used for simulation progress reporting, ex: every 10%
 
double progressStep
 if positive then used for simulation progress reporting, ex: every 1000 cases or every 0.1 time step
 

Detailed Description

basic model run options


The documentation for this struct was generated from the following file: