#include <models.hh>
Public Types | |
| typedef F | type |
Public Member Functions | |
| Model (const std::string problemName) | |
| Constructor. | |
| virtual Space< Real > & | space () const =0 |
| Returns the space. | |
| const Vector< F > * | solution () |
| Returns solution vector. | |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
| virtual Mesh & | mesh_ ()=0 |
| Mesh. | |
| virtual const std::string | mshAbbr_ ()=0 |
| Mesh abbreviation string. | |
| virtual void | solve_ ()=0 |
| Method for solving. | |
Protected Attributes | |
| std::unique_ptr< Vector< F > > | sol_ |
| Solution vector. | |
| const std::string | problemName_ |
| Name of the problem. | |
Friends | |
| class | ModelControlBase< Model< F > > |
| class | ModelControl< Model< F > > |
Base class for a model
| typedef F concepts::Model< F >::type |
|
inlinevirtual |
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in hp2D::Eddy2D_E, hp2D::Eddy2D_H, hp2D::Maxwell2D_E, hp2D::Maxwell2D_H_Base, hp2D::Maxwell2D_H, and hp2D::Maxwell2D_H_DD.
|
protectedpure virtual |
Mesh.
Implemented in hp2D::AdaptiveModel< F >, and hp2D::AdaptiveModel< Cmplx >.
|
protectedpure virtual |
Mesh abbreviation string.
Implemented in hp2D::Eddy2D_E, hp2D::Eddy2D_H, hp2D::Maxwell2D_E, and hp2D::Maxwell2D_H_Base.
|
inline |
|
pure virtual |
Returns the space.
Implemented in hp2D::Eddy2D_E, hp2D::Eddy2D_H, hp2D::Maxwell2D_E, hp2D::Maxwell2D_H, and hp2D::Maxwell2D_H_DD.
|
friend |
|
friend |
|
protected |
|
protected |