concepts::ModelControl< hp2D::Maxwell2D_E > Class Reference
#include <Maxwell2D_E.hh>
Public Member Functions | |
| void | basisFunctions (const std::string path="") |
| Writes matlab graphics files for each basis function of the space of the model. More... | |
| 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 given. More... | |
| void | loadSolution (const std::string vectorFile) |
Loads solution vector from vectorFile. More... | |
| virtual void | matrices () |
| Builds the matrices and the load vector. More... | |
| virtual hp2D::Maxwell2D_E & | model () |
| Returns the model. More... | |
| virtual const hp2D::Maxwell2D_E & | model () const |
| ModelControl (hp2D::Maxwell2D_E &model) | |
| Constructor. More... | |
| const concepts::InOutParameters & | parameters () const |
| Return parameters of the calculation. More... | |
| hp2D::hpFull & | prebuild () |
| Returns Space Prebuilder. More... | |
| virtual Real | solve () |
| Solves the system and returns the residual. More... | |
| void | solverType (enum hp2D::Maxwell2D_E::solverType type, bool diagPrecond) |
| Change the solver type. More... | |
| void | storeMatricesToMatlab (const std::string matrixFile) const |
| Stores the calculated vectors. More... | |
| void | writeSolution (const std::string vectorFile, bool verbose=true) |
Writes solution vector to vectorFile. More... | |
| virtual | ~ModelControl () |
Protected Member Functions | |
| virtual std::string | filename_ (const std::string varname, const std::string path, const bool flag=false) |
| Gives a file name for different outputs. More... | |
| void | formulaOut_ (const concepts::PiecewiseFormulaBase< G > &frm, const std::string frmstr, const std::string name) |
| graphical output of formulas More... | |
| virtual std::ostream & | info (std::ostream &os) const |
| 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. More... | |
Protected Attributes | |
| Model< Cmplx > & | model_ |
| The model. More... | |
| concepts::InOutParameters | parameters_ |
| Parameters of the calculation. More... | |
Detailed Description
Definition at line 159 of file Maxwell2D_E.hh.
Constructor & Destructor Documentation
◆ ModelControl()
| concepts::ModelControl< hp2D::Maxwell2D_E >::ModelControl | ( | hp2D::Maxwell2D_E & | model | ) |
Constructor.
◆ ~ModelControl()
|
inlinevirtual |
Definition at line 164 of file Maxwell2D_E.hh.
Member Function Documentation
◆ basisFunctions()
|
inherited |
Writes matlab graphics files for each basis function of the space of the model.
◆ dataOut()
|
virtualinherited |
Append the parameters of the calculation to parameters and writes it in matlab format if path is given.
◆ filename_()
|
protectedvirtualinherited |
Gives a file name for different outputs.
Due to derivation the name can be adopted. At the moment its like "path/varname_mshAbbr".
- Parameters
-
varname name of an variable path path p some flag
◆ formulaOut_()
|
protectedinherited |
◆ info()
|
protectedvirtual |
Reimplemented from concepts::ModelControlBase< Model< Cmplx > >.
◆ loadSolution()
|
inherited |
Loads solution vector from vectorFile.
◆ matrices()
|
virtual |
Builds the matrices and the load vector.
◆ model() [1/2]
|
inlinevirtual |
Returns the model.
Reimplemented from concepts::ModelControlBase< Model< Cmplx > >.
Definition at line 166 of file Maxwell2D_E.hh.
◆ model() [2/2]
|
inlinevirtual |
Definition at line 169 of file Maxwell2D_E.hh.
◆ newfile_()
|
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.
◆ parameters()
|
inlineinherited |
◆ prebuild()
|
inline |
Returns Space Prebuilder.
Definition at line 182 of file Maxwell2D_E.hh.
◆ solve()
|
virtual |
Solves the system and returns the residual.
◆ solverType()
| void concepts::ModelControl< hp2D::Maxwell2D_E >::solverType | ( | enum hp2D::Maxwell2D_E::solverType | type, |
| bool | diagPrecond | ||
| ) |
Change the solver type.
◆ storeMatricesToMatlab()
| void concepts::ModelControl< hp2D::Maxwell2D_E >::storeMatricesToMatlab | ( | const std::string | matrixFile | ) | const |
Stores the calculated vectors.
◆ writeSolution()
|
inherited |
Writes solution vector to vectorFile.
Writes a message to cout, if not verbose.
Member Data Documentation
◆ model_
|
protectedinherited |
◆ parameters_
|
protectedinherited |
The documentation for this class was generated from the following file:
- models/Maxwell2D_E.hh

