Public Member Functions | |
| ModelControl (F &model) | |
| Constructor. | |
| virtual F & | model () |
| Returns the model. | |
| virtual const F & | model () const |
| void | loadSolution (const std::string vectorFile) |
Loads solution vector from vectorFile. | |
| void | writeSolution (const std::string vectorFile, bool verbose=true) |
| void | basisFunctions (const std::string path="") |
| virtual void | dataOut (concepts::InOutParameters ¶meters, const bool store=false, const std::string path="") |
| const concepts::InOutParameters & | parameters () const |
| Return parameters of the calculation. | |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
| virtual std::string | filename_ (const std::string varname, const std::string path, const bool flag=false) |
| void | newfile_ (std::string &name, const std::string varname, const std::string ending) |
| template<class G > | |
| void | formulaOut_ (const concepts::PiecewiseFormulaBase< G > &frm, const std::string frmstr, const std::string name) |
| graphical output of formulas | |
Protected Attributes | |
| F & | model_ |
| The model. | |
| concepts::InOutParameters | parameters_ |
| Parameters of the calculation. | |
|
inline |
|
inherited |
Writes matlab graphics files for each basis function of the space of the model.
|
virtualinherited |
Append the parameters of the calculation to parameters and writes it in matlab format if path is given
|
protectedvirtualinherited |
Gives a file name for different outputs. Due to derivation the name can be adopted. At the moment its like "path/varname_mshAbbr".
| varname | name of an variable |
| path | path |
| p | some flag |
|
protectedinherited |
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
protectedinherited |
Tries, if given file can be opened for writing or if its a path
In latter case opens gives back a standard filename with ending and use of varname.
If the given string is neither possible to open or a path a empty string is given to name.
|
inlineinherited |
|
inherited |
Writes solution vector to vectorFile. Writes a message to cout, if not verbose.
|
protectedinherited |
|
protectedinherited |