92 clout <<
" control={ ";
96 clout <<
"}" << std::endl;
104 if (fname==
nullptr) {
106 std::stringstream number;
107 number << std::setw(3) << std::setfill(
'0') << iter++;
108 file.open((
"Controller" + number.str() +
".txt").c_str());
130 clout <<
"Error: dimensions do not match! dim_controller=" <<
_dimControl <<
"; dim_file=" << dim << std::endl;
class for marking output with some text
const S * getControlPointer(int i) const
Controller(std::vector< S > &initialValues)
std::vector< S > _control
int getDimControl() const
Controller(int dimControl)
void writeToFile(const char *fname=nullptr)
S * getControlPointer(int i)
S getControl(int i) const
const std::vector< S > & getControl() const
void readFromFile(const char *fname)
void setControl(const std::vector< S > &control, int dimControl)
Top level namespace for all of OpenLB.