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

basic model run options More...

#include <omModel.h>

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
 OBSOLETE, for backward compatibility only. More...
 
double nullValue
 OBSOLETE, for backward compatibility only. More...
 
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

Member Data Documentation

◆ nullValue

double openm::RunOptions::nullValue

OBSOLETE, for backward compatibility only.

if use sparse and abs(value) <= nullValue then value not stored

◆ useSparse

bool openm::RunOptions::useSparse

OBSOLETE, for backward compatibility only.

if true then use sparse output to database


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