#include <Maxwell2D_H.hh>


Public Member Functions | |
| void | basisFunctions (const std::string path="") |
| Writes matlab graphics files for each basis function of the space of the model. | |
| 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. | |
| void | graphicsOut (const uint numPoints, const std::string path="") |
| Writes matlab graphics files. | |
| void | loadSolution (const std::string vectorFile) |
Loads solution vector from vectorFile. | |
| virtual void | matrices () |
| Builds the matrices and the load vector. | |
| virtual hp2D::Maxwell2D_H & | model () |
| Returns the model. | |
| virtual const hp2D::Maxwell2D_H & | model () const |
| ModelControl (hp2D::Maxwell2D_H &model) | |
| Constructor. | |
| const concepts::InOutParameters & | parameters () const |
| Return parameters of the calculation. | |
| hp2D::hpFull & | prebuild () |
| Returns Space Prebuilder. | |
| void | setEpsilon (const Real epsilon, bool assembleMatrices) |
| Reset the dielectricity constant and reset the solution vector and the matrices. | |
| void | setEpsilon (const Real epsilon) |
| Reset the dielectricity constant. | |
| void | setOmega (const Real omega, bool assembleMatrices) |
| Sets the angular frequencies and reset the solution vector and the matrices. | |
| void | setOmega (const Real omega) |
| Reset the angular frequency. | |
| virtual Real | solve () |
| Solves the system and returns the residual. | |
| void | solverType (enum hp2D::Maxwell2D_H_Base::solverType type, bool diagPrecond) |
| Change the solver type. | |
| void | storeMatricesToMatlab (const std::string matrixFile) const |
| Stores the calculated matrices. | |
| void | writeSolution (const std::string vectorFile, bool verbose=true) |
Writes solution vector to vectorFile. | |
| 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. | |
| void | formulaOut_ (const concepts::PiecewiseFormulaBase< G > &frm, const std::string frmstr, const std::string name) |
| graphical output of formulas | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
| 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. | |
Protected Attributes | |
| Model< Cmplx > & | model_ |
| The model. | |
| concepts::InOutParameters | parameters_ |
| Parameters of the calculation. | |
Definition at line 346 of file Maxwell2D_H.hh.
| concepts::ModelControl< hp2D::Maxwell2D_H >::ModelControl | ( | hp2D::Maxwell2D_H & | model | ) |
Constructor.
| virtual concepts::ModelControl< hp2D::Maxwell2D_H >::~ModelControl | ( | ) | [inline, virtual] |
Reimplemented from concepts::ModelControl< hp2D::Maxwell2D_H_Base >.
Definition at line 351 of file Maxwell2D_H.hh.
| void concepts::ModelControlBase< Model< Cmplx > >::basisFunctions | ( | const std::string | path = "" | ) | [inherited] |
Writes matlab graphics files for each basis function of the space of the model.
| virtual void concepts::ModelControlBase< Model< Cmplx > >::dataOut | ( | concepts::InOutParameters & | parameters, |
| const bool | store = false, |
||
| const std::string | path = "" |
||
| ) | [virtual, inherited] |
Append the parameters of the calculation to parameters and writes it in matlab format if path is given.
| virtual std::string concepts::ModelControlBase< Model< Cmplx > >::filename_ | ( | const std::string | varname, |
| const std::string | path, | ||
| const bool | flag = false |
||
| ) | [protected, virtual, inherited] |
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 |
| void concepts::ModelControlBase< Model< Cmplx > >::formulaOut_ | ( | const concepts::PiecewiseFormulaBase< G > & | frm, |
| const std::string | frmstr, | ||
| const std::string | name | ||
| ) | [protected, inherited] |
graphical output of formulas
| void concepts::ModelControl< hp2D::Maxwell2D_H >::graphicsOut | ( | const uint | numPoints, |
| const std::string | path = "" |
||
| ) |
Writes matlab graphics files.
| numPoints | number of points per cell in one direction |
Reimplemented from concepts::ModelControl< hp2D::Maxwell2D_H_Base >.
| virtual std::ostream& concepts::ModelControl< hp2D::Maxwell2D_H >::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::ModelControl< hp2D::Maxwell2D_H_Base >.
| void concepts::ModelControlBase< Model< Cmplx > >::loadSolution | ( | const std::string | vectorFile | ) | [inherited] |
Loads solution vector from vectorFile.
| virtual void concepts::ModelControl< hp2D::Maxwell2D_H >::matrices | ( | ) | [virtual] |
Builds the matrices and the load vector.
Implements concepts::ModelControl< hp2D::Maxwell2D_H_Base >.
| virtual const hp2D::Maxwell2D_H& concepts::ModelControl< hp2D::Maxwell2D_H >::model | ( | ) | const [inline, virtual] |
Reimplemented from concepts::ModelControl< hp2D::Maxwell2D_H_Base >.
Definition at line 355 of file Maxwell2D_H.hh.
| virtual hp2D::Maxwell2D_H& concepts::ModelControl< hp2D::Maxwell2D_H >::model | ( | ) | [inline, virtual] |
Returns the model.
Reimplemented from concepts::ModelControl< hp2D::Maxwell2D_H_Base >.
Definition at line 352 of file Maxwell2D_H.hh.
| void concepts::ModelControlBase< Model< Cmplx > >::newfile_ | ( | std::string & | name, |
| const std::string | varname, | ||
| const std::string | ending | ||
| ) | [protected, inherited] |
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.
| const concepts::InOutParameters& concepts::ModelControlBase< Model< Cmplx > >::parameters | ( | ) | const [inline, inherited] |
| hp2D::hpFull& concepts::ModelControl< hp2D::Maxwell2D_H_Base >::prebuild | ( | ) | [inline, inherited] |
Returns Space Prebuilder.
Definition at line 338 of file Maxwell2D_H.hh.

| void concepts::ModelControl< hp2D::Maxwell2D_H_Base >::setEpsilon | ( | const Real | epsilon | ) | [inherited] |
Reset the dielectricity constant.
| void concepts::ModelControl< hp2D::Maxwell2D_H >::setEpsilon | ( | const Real | epsilon, |
| bool | assembleMatrices | ||
| ) |
Reset the dielectricity constant and reset the solution vector and the matrices.
If assemblesMatrices is true adapt the vector of right hand side and recalculate the stiffness matrix. To get the changed energies, the system has to be solved again.
| void concepts::ModelControl< hp2D::Maxwell2D_H >::setOmega | ( | const Real | omega, |
| bool | assembleMatrices | ||
| ) |
Sets the angular frequencies and reset the solution vector and the matrices.
If assemblesMatrices is true adapt the mass matrices, and the vector of right hand side and recalculate the stiffness matrix. To get the changed energies, the system has to be solved again.
| void concepts::ModelControl< hp2D::Maxwell2D_H_Base >::setOmega | ( | const Real | omega | ) | [inherited] |
Reset the angular frequency.
| virtual Real concepts::ModelControl< hp2D::Maxwell2D_H >::solve | ( | ) | [virtual] |
Solves the system and returns the residual.
Implements concepts::ModelControl< hp2D::Maxwell2D_H_Base >.
| void concepts::ModelControl< hp2D::Maxwell2D_H_Base >::solverType | ( | enum hp2D::Maxwell2D_H_Base::solverType | type, |
| bool | diagPrecond | ||
| ) | [inherited] |
Change the solver type.
| void concepts::ModelControl< hp2D::Maxwell2D_H >::storeMatricesToMatlab | ( | const std::string | matrixFile | ) | const |
Stores the calculated matrices.
Reimplemented from concepts::ModelControl< hp2D::Maxwell2D_H_Base >.
| void concepts::ModelControlBase< Model< Cmplx > >::writeSolution | ( | const std::string | vectorFile, |
| bool | verbose = true |
||
| ) | [inherited] |
Writes solution vector to vectorFile.
Writes a message to cout, if not verbose.
concepts::InOutParameters concepts::ModelControlBase< Model< Cmplx > >::parameters_ [protected, inherited] |