Public Types |
Public Member Functions |
Protected Member Functions |
Protected Attributes |
Friends |
List of all members
concepts::Model< F > Class Template Referenceabstract
Base class for a model. More...
#include <models.hh>
Inheritance diagram for concepts::Model< F >:
Public Types | |
typedef F | type |
Public Member Functions | |
Model (const std::string problemName) | |
Constructor. More... | |
const Vector< F > * | solution () |
Returns solution vector. More... | |
virtual Space< Real > & | space () const =0 |
Returns the space. More... | |
virtual | ~Model () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
virtual Mesh & | mesh_ ()=0 |
Mesh. More... | |
virtual const std::string | mshAbbr_ ()=0 |
Mesh abbreviation string. More... | |
virtual void | solve_ ()=0 |
Method for solving. More... | |
Protected Attributes | |
const std::string | problemName_ |
Name of the problem. More... | |
std::unique_ptr< Vector< F > > | sol_ |
Solution vector. More... | |
Friends | |
class | ModelControl< Model< F > > |
class | ModelControlBase< Model< F > > |
Detailed Description
template<class F>
class concepts::Model< F >
Base class for a model.
Member Typedef Documentation
◆ type
template<class F >
typedef F concepts::Model< F >::type |
Constructor & Destructor Documentation
◆ Model()
template<class F >
concepts::Model< F >::Model | ( | const std::string | problemName | ) |
Constructor.
◆ ~Model()
template<class F >
|
inlinevirtual |
Member Function Documentation
◆ info()
template<class F >
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in hp2D::Maxwell2D_H_DD, hp2D::Maxwell2D_H, hp2D::Maxwell2D_H_Base, hp2D::Maxwell2D_E, hp2D::Eddy2D_H, and hp2D::Eddy2D_E.
◆ mesh_()
template<class F >
|
protectedpure virtual |
Mesh.
Implemented in hp2D::AdaptiveModel< F >, and hp2D::AdaptiveModel< Cmplx >.
◆ mshAbbr_()
template<class F >
|
protectedpure virtual |
Mesh abbreviation string.
Implemented in hp2D::Maxwell2D_H_Base, hp2D::Maxwell2D_E, hp2D::Eddy2D_H, and hp2D::Eddy2D_E.
◆ solution()
template<class F >
|
inline |
◆ solve_()
template<class F >
|
protectedpure virtual |
Method for solving.
Implemented in hp2D::Maxwell2D_H_DD, hp2D::Maxwell2D_H, hp2D::Maxwell2D_E, hp2D::Eddy2D_H, and hp2D::Eddy2D_E.
◆ space()
template<class F >
|
pure virtual |
Returns the space.
Friends And Related Function Documentation
◆ ModelControl< Model< F > >
template<class F >
|
friend |
◆ ModelControlBase< Model< F > >
template<class F >
|
friend |
Member Data Documentation
◆ problemName_
template<class F >
|
protected |
◆ sol_
template<class F >
|
protected |
The documentation for this class was generated from the following file:
- models/models.hh