models.hh
Draws a picture of data in Matlab format and stores the result in a single file.
Definition: matlab.hh:114
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Piecewise defined function on a number of cells.
Definition: piecewiseFormula.hh:43
virtual std::string filename_(const std::string varname, const std::string path, const bool flag=false)
Gives a file name for different outputs.
void basisFunctions(const std::string path="")
Writes matlab graphics files for each basis function of the space of the model.
void writeSolution(const std::string vectorFile, bool verbose=true)
Writes solution vector to vectorFile.
#define DEBUGL(doit, msg)
const concepts::InOutParameters & parameters() const
Return parameters of the calculation.
Definition: models.hh:121
void newfile_(std::string &name, const std::string varname, const std::string ending)
Tries, if given file can be opened for writing or if its a path.
Definition: models.hh:30
void addString(const char *name, const char *value)
Adds a string to the hash of strings.
void loadSolution(const std::string vectorFile)
Loads solution vector from vectorFile.
virtual std::ostream & info(std::ostream &os) const
virtual void dataOut(concepts::InOutParameters ¶meters, const bool store=false, const std::string path="")
Append the parameters of the calculation to parameters and writes it in matlab format if path is give...
void formulaOut_(const concepts::PiecewiseFormulaBase< G > &frm, const std::string frmstr, const std::string name)
graphical output of formulas
Definition: models.hh:161