9 #ifndef INP_OUTPUTDECK_H
10 #define INP_OUTPUTDECK_H
14 #include "util/utilIO.h"
114 std::string
printStr(
int nt = 0,
int lvl = 0)
const {
116 std::ostringstream oss;
117 oss << tabS <<
"------- OutputDeck --------" << std::endl << std::endl;
118 oss << tabS <<
"Output format = " <<
d_outFormat << std::endl;
119 oss << tabS <<
"Output path = " <<
d_path << std::endl;
121 oss << tabS <<
"Output interval = " <<
d_dtOut << std::endl;
122 oss << tabS <<
"Debug level = " <<
d_debug << std::endl;
123 oss << tabS << std::endl;
135 void print(
int nt = 0,
int lvl = 0)
const { std::cout <<
printStr(nt, lvl); };
Collection of methods and database related to input.
Definition: main.cpp:21
std::string printStr(const std::vector< T > &list, int nt=0)
Concatenates the elements of the vector separated with a comma.
Definition: utilIO.h:40
std::string getTabS(int nt)
Generate a string contaning nt tabs.
Definition: utilIO.h:26
Structure to read input data for performing simulation output.
Definition: outputDeck.h:24
std::vector< std::string > d_outTags
List of tags of data to be dumped.
Definition: outputDeck.h:39
void print(int nt=0, int lvl=0) const
Prints the information about the instance of the object.
Definition: outputDeck.h:135
std::string d_compressType
Compressor type for .vtu files.
Definition: outputDeck.h:59
size_t d_dtOutCriteria
Specify output frequency if output criteria is met.
Definition: outputDeck.h:77
std::string printStr(int nt=0, int lvl=0) const
Returns the string containing information about the instance of the object.
Definition: outputDeck.h:114
OutputDeck()
Constructor.
Definition: outputDeck.h:85
std::string d_outCriteria
Specify output criteria to change output frequency.
Definition: outputDeck.h:71
size_t d_dtOut
Size of time steps (or frequency) for output operation.
Definition: outputDeck.h:42
bool d_performFEOut
Flag specifying if element-node connectivity should not be dumped.
Definition: outputDeck.h:56
std::string d_outFormat
Output format: currently supports vtu, msh, legacy_vtk output.
Definition: outputDeck.h:30
std::string d_path
Output Path where the files will be written.
Definition: outputDeck.h:36
size_t d_debug
Flag specifying debug level.
Definition: outputDeck.h:48
size_t d_dtOutOld
Size of time steps (or frequency) for output operation.
Definition: outputDeck.h:45
std::vector< double > d_outCriteriaParams
List of parameters required in checking output criteria.
Definition: outputDeck.h:80
bool isTagInOutput(const std::string &tag)
Searches list of tags and returns true if the asked tag is in the list.
Definition: outputDeck.h:95