17 IOobject::MUST_READ_IF_MODIFIED,
23 word typeout =
ITHACAdict->lookupOrDefault<word>(
"OutType",
"fixed");
25 if (typeout ==
"fixed")
30 if (typeout ==
"scientific")
32 outytpe = std::ios_base::scientific;
58 "ITHACAparameters needs to be initialized, call ITHACAparameters::getInstance(mesh, runTime) first");
#define M_Assert(Expr, Msg)
Class for the definition of some general parameters, the parameters must be defined from the file ITH...
Time & runTime
runTime defined locally
ITHACAparameters(fvMesh &mesh, Time &localTime)
static ITHACAparameters * instance
Pointer to the ITHACAparameters class.
word eigensolver
type of eigensolver used in the eigenvalue decomposition can be either be eigen or spectra
label precision
precision of the output Market Matrix objects (i.e. reduced matrices, eigenvalues,...
IOdictionary * ITHACAdict
Dictionary for input objects from file.
fvMesh & mesh
Mesh object defined locally.
static ITHACAparameters * getInstance()
Gets an instance of ITHACAparameters, to be used if the instance is already existing.
std::_Ios_Fmtflags outytpe
type of output format can be fixed or scientific