9 #ifndef INP_RESTARTDECK_H
10 #define INP_RESTARTDECK_H
13 #include "util/utilIO.h"
45 std::string
printStr(
int nt = 0,
int lvl = 0)
const {
47 std::ostringstream oss;
48 oss << tabS <<
"------- RestartDeck --------" << std::endl << std::endl;
49 oss << tabS <<
"Restart file = " <<
d_file << std::endl;
50 oss << tabS <<
"Restart step = " <<
d_step << std::endl;
51 oss << tabS << std::endl;
63 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 getTabS(int nt)
Generate a string contaning nt tabs.
Definition: utilIO.h:26
Structure to read and store restart related data input.
Definition: restartDeck.h:23
RestartDeck()
Constructor.
Definition: restartDeck.h:34
std::string d_file
restart filename
Definition: restartDeck.h:26
std::string printStr(int nt=0, int lvl=0) const
Returns the string containing information about the instance of the object.
Definition: restartDeck.h:45
void print(int nt=0, int lvl=0) const
Prints the information about the instance of the object.
Definition: restartDeck.h:63
size_t d_step
Restart time step.
Definition: restartDeck.h:29