added: input option for enabling/disabling element norm output
needs to be utilized in the applications
This commit is contained in:
parent
45da47d91d
commit
c93bc6ac8d
@ -47,6 +47,7 @@ SIMoptions::SIMoptions ()
|
||||
saveInc = 1;
|
||||
dtSave = 0.0;
|
||||
pSolOnly = false;
|
||||
saveNorms = false;
|
||||
enableController = false;
|
||||
restartInc = 0;
|
||||
restartStep = -1;
|
||||
@ -161,6 +162,9 @@ bool SIMoptions::parseOutputTag (const TiXmlElement* elem)
|
||||
else if (!strcasecmp(elem->Value(),"primarySolOnly"))
|
||||
pSolOnly = true;
|
||||
|
||||
else if (!strcasecmp(elem->Value(),"saveNorms"))
|
||||
saveNorms = true;
|
||||
|
||||
else if (!strcasecmp(elem->Value(),"projection")) {
|
||||
std::string type;
|
||||
if (utl::getAttribute(elem,"type",type))
|
||||
|
@ -87,6 +87,7 @@ public:
|
||||
int saveInc; //!< Number of load/time increments between each result output
|
||||
double dtSave; //!< Time interval between each result output
|
||||
bool pSolOnly; //!< If \e true, don't save secondary solution variables
|
||||
bool saveNorms;//!< If \e true, save element norms
|
||||
|
||||
std::string hdf5; //!< Prefix for HDF5-file
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user