11#ifndef INP_OUTPUTDECK_H
12#define INP_OUTPUTDECK_H
115 std::string
printStr(
int nt = 0,
int lvl = 0)
const {
118 std::ostringstream oss;
119 oss << tabS <<
"------- OutputDeck --------" << std::endl << std::endl;
120 oss << tabS <<
"Output format = " <<
d_outFormat << std::endl;
121 oss << tabS <<
"Output path = " <<
d_path
123 oss << tabS <<
"Output tags = " << util::io::printStr<std::string>(
d_outTags, 0) << std::endl;
124 oss << tabS <<
"Output time step = " <<
d_dtOut << std::endl;
125 oss << tabS <<
"Output time step old = " <<
d_dtOutOld << std::endl;
126 oss << tabS <<
"Debug level = " <<
d_debug << std::endl;
127 oss << tabS <<
"Perform FE output = " <<
d_performFEOut << std::endl;
128 oss << tabS <<
"Output file compression type = " <<
d_compressType << std::endl;
129 oss << tabS <<
"Output criteria = " <<
d_outCriteria << std::endl;
130 oss << tabS <<
"Output dt criteria = " <<
d_dtOutCriteria << std::endl;
131 oss << tabS <<
"Output criteria parameters = " << util::io::printStr<double>(
d_outCriteriaParams, 0) << std::endl;
132 oss << tabS <<
"Perform output = " <<
d_performOut << std::endl;
133 oss << tabS <<
"Output time step when test = " <<
d_dtTestOut << std::endl;
134 oss << tabS <<
"Tag for postprocessing file = " <<
d_tagPPFile << std::endl;
135 oss << tabS << std::endl;
146 void print(
int nt = 0,
int lvl = 0)
const { std::cout <<
printStr(nt, lvl); }
Collection of methods and database related to input.
std::string getTabS(int nt)
Returns tab spaces of given size.
Structure to read input data for performing simulation output.
size_t d_dtTestOut
Size of time steps (or frequency) for output operation.
std::vector< std::string > d_outTags
List of tags of data to be dumped.
void print(int nt=0, int lvl=0) const
Prints the information about the object.
std::string d_compressType
Compressor type for .vtu files.
size_t d_dtOutCriteria
Specify output frequency if output criteria is met.
std::string printStr(int nt=0, int lvl=0) const
Returns the string containing printable information about the object.
std::string d_outCriteria
Specify output criteria to change output frequency.
size_t d_dtOut
Size of time steps (or frequency) for output operation.
bool d_performFEOut
Flag specifying if element-node connectivity should not be dumped.
std::string d_outFormat
Output format: currently supports vtu, msh, legacy_vtk output.
std::string d_path
Output Path where the files will be written.
std::string d_tagPPFile
Tag for postprocessing file.
size_t d_debug
Flag specifying debug level TODO verify below value-description text value = 0: code is almost comple...
bool d_performOut
Perform vtu output.
size_t d_dtOutOld
Size of time steps (or frequency) for output operation.
std::vector< double > d_outCriteriaParams
List of parameters required in checking output criteria.
bool isTagInOutput(const std::string &tag)
Searches list of tags and returns true if the asked tag is in the list.