Base class for a model. More...
#include <models.hh>


Public Types | |
| typedef F | type |
Public Member Functions | |
| Model (const std::string problemName) | |
| Constructor. | |
| const Vector< F > * | solution () |
| Returns solution vector. | |
| virtual Space< Real > & | space () const =0 |
| Returns the space. | |
| virtual | ~Model () |
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 | |
| const std::string | problemName_ |
| Name of the problem. | |
| std::auto_ptr< Vector< F > > | sol_ |
| Solution vector. | |
Friends | |
| class | ModelControl< Model< F > > |
| class | ModelControlBase< Model< F > > |
Base class for a model.
| typedef F concepts::Model< F >::type |
| concepts::Model< F >::Model | ( | const std::string | problemName | ) |
Constructor.
| virtual concepts::Model< F >::~Model | ( | ) | [inline, virtual] |
| virtual std::ostream& concepts::Model< F >::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in hp2D::Eddy2D_H, hp2D::Maxwell2D_H, hp2D::Eddy2D_E, hp2D::Eddy2D_H, hp2D::Maxwell2D_E, hp2D::Maxwell2D_H_Base, hp2D::Maxwell2D_H, and hp2D::Maxwell2D_H_DD.
| virtual Mesh& concepts::Model< F >::mesh_ | ( | ) | [protected, pure virtual] |
Mesh.
Implemented in hp2D::Eddy2D_H, hp2D::Maxwell2D_H, concepts::DiffReactAsympCollModel_Alpha0_Order0and1< F, order, G >, concepts::DiffReactAsympCollModel_Alpha1_Order0and1< F, order, G >, concepts::DiffReactAsympCollModel_Alpha1_Order2plus< F, order, G >, concepts::DiffReactAsympCollModel_Alpha2_Order0< F, G >, concepts::DiffReactAsympCollModel_Alpha2_Order1plus< F, order, G >, concepts::DiffReactAsympModelKraehenbuehl< F, G >, hp2D::AdaptiveModel< F >, concepts::DiffReactAsympCollModel_Alpha0_Order0and1< F, 0, G >, concepts::DiffReactAsympCollModel_Alpha0_Order0and1< F, 1, G >, concepts::DiffReactAsympCollModel_Alpha1_Order0and1< F, 0, G >, concepts::DiffReactAsympCollModel_Alpha1_Order0and1< F, 1, G >, concepts::DiffReactAsympCollModel_Alpha1_Order2plus< F, 2, G >, concepts::DiffReactAsympCollModel_Alpha1_Order2plus< F, 3, G >, concepts::DiffReactAsympCollModel_Alpha2_Order1plus< F, 1, G >, and hp2D::AdaptiveModel< Cmplx >.
| virtual const std::string concepts::Model< F >::mshAbbr_ | ( | ) | [protected, pure virtual] |
Mesh abbreviation string.
Implemented in hp2D::Eddy2D_H, hp2D::Maxwell2D_H, concepts::DiffReactAsympCollModel_Alpha0_Order0and1< F, order, G >, concepts::DiffReactAsympCollModel_Alpha1_Order0and1< F, order, G >, concepts::DiffReactAsympCollModel_Alpha1_Order2plus< F, order, G >, concepts::DiffReactAsympCollModel_Alpha2_Order0< F, G >, concepts::DiffReactAsympCollModel_Alpha2_Order1plus< F, order, G >, concepts::DiffReactAsympModelKraehenbuehl< F, G >, hp2D::Eddy2D_E, hp2D::Eddy2D_H, hp2D::Maxwell2D_E, hp2D::Maxwell2D_H_Base, concepts::DiffReactAsympCollModel_Alpha0_Order0and1< F, 0, G >, concepts::DiffReactAsympCollModel_Alpha0_Order0and1< F, 1, G >, concepts::DiffReactAsympCollModel_Alpha1_Order0and1< F, 0, G >, concepts::DiffReactAsympCollModel_Alpha1_Order0and1< F, 1, G >, concepts::DiffReactAsympCollModel_Alpha1_Order2plus< F, 2, G >, concepts::DiffReactAsympCollModel_Alpha1_Order2plus< F, 3, G >, and concepts::DiffReactAsympCollModel_Alpha2_Order1plus< F, 1, G >.
| const Vector<F>* concepts::Model< F >::solution | ( | ) | [inline] |
| virtual void concepts::Model< F >::solve_ | ( | ) | [protected, pure virtual] |
Method for solving.
Implemented in hp2D::Eddy2D_H, hp2D::Maxwell2D_H, concepts::DiffReactAsympCollModel_Alpha0_Order0and1< F, order, G >, concepts::DiffReactAsympCollModel_Alpha1_Order0and1< F, order, G >, concepts::DiffReactAsympCollModel_Alpha1_Order2plus< F, order, G >, concepts::DiffReactAsympCollModel_Alpha2_Order0< F, G >, concepts::DiffReactAsympCollModel_Alpha2_Order1plus< F, order, G >, concepts::DiffReactAsympModelKraehenbuehl< F, G >, hp2D::Eddy2D_E, hp2D::Eddy2D_H, hp2D::Maxwell2D_E, hp2D::Maxwell2D_H, hp2D::Maxwell2D_H_DD, concepts::DiffReactAsympCollModel_Alpha0_Order0and1< F, 0, G >, concepts::DiffReactAsympCollModel_Alpha0_Order0and1< F, 1, G >, concepts::DiffReactAsympCollModel_Alpha1_Order0and1< F, 0, G >, concepts::DiffReactAsympCollModel_Alpha1_Order0and1< F, 1, G >, concepts::DiffReactAsympCollModel_Alpha1_Order2plus< F, 2, G >, concepts::DiffReactAsympCollModel_Alpha1_Order2plus< F, 3, G >, and concepts::DiffReactAsympCollModel_Alpha2_Order1plus< F, 1, G >.
| virtual Space<Real>& concepts::Model< F >::space | ( | ) | const [pure virtual] |
Returns the space.
Implemented in concepts::DiffReactAsympCollModel_Alpha0_Order0and1< F, order, G >, concepts::DiffReactAsympCollModel_Alpha1_Order0and1< F, order, G >, concepts::DiffReactAsympCollModel_Alpha1_Order2plus< F, order, G >, concepts::DiffReactAsympCollModel_Alpha2_Order0< F, G >, concepts::DiffReactAsympCollModel_Alpha2_Order1plus< F, order, G >, concepts::DiffReactAsympModelKraehenbuehl< F, G >, hp2D::Eddy2D_E, hp2D::Eddy2D_H, hp2D::Maxwell2D_E, hp2D::Maxwell2D_H, hp2D::Maxwell2D_H_DD, concepts::DiffReactAsympCollModel_Alpha0_Order0and1< F, 0, G >, concepts::DiffReactAsympCollModel_Alpha0_Order0and1< F, 1, G >, concepts::DiffReactAsympCollModel_Alpha1_Order0and1< F, 0, G >, concepts::DiffReactAsympCollModel_Alpha1_Order0and1< F, 1, G >, concepts::DiffReactAsympCollModel_Alpha1_Order2plus< F, 2, G >, concepts::DiffReactAsympCollModel_Alpha1_Order2plus< F, 3, G >, and concepts::DiffReactAsympCollModel_Alpha2_Order1plus< F, 1, G >.
friend class ModelControl< Model< F > > [friend] |
friend class ModelControlBase< Model< F > > [friend] |
const std::string concepts::Model< F >::problemName_ [protected] |
std::auto_ptr<Vector<F> > concepts::Model< F >::sol_ [protected] |