Class documentation of Concepts

Loading...
Searching...
No Matches

#include <models.hh>

Inheritance diagram for concepts::Model< F >:
concepts::OutputOperator concepts::AdaptiveModel< F, 2 > concepts::AdaptiveModel< Cmplx, 2 > concepts::AdaptiveModel< F, dim > hp2D::AdaptiveModel< F > hp2D::AdaptiveModel< Cmplx > hp2D::Eddy2D_E hp2D::Eddy2D_H hp2D::Maxwell2D_E hp2D::Maxwell2D_H_Base hp2D::Maxwell2D_H hp2D::Maxwell2D_H_DD

Public Types

typedeftype
 

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 Meshmesh_ ()=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 > >
 

Detailed Description

template<class F>
class concepts::Model< F >

Base class for a model

Author
Kersten Schmidt, 2005

Definition at line 55 of file models.hh.

Member Typedef Documentation

◆ type

template<class F >
typedef F concepts::Model< F >::type

Definition at line 59 of file models.hh.

Constructor & Destructor Documentation

◆ ~Model()

template<class F >
virtual concepts::Model< F >::~Model ( )
inlinevirtual

Definition at line 63 of file models.hh.

Member Function Documentation

◆ info()

template<class F >
virtual std::ostream & concepts::Model< F >::info ( std::ostream &  os) const
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.

◆ mesh_()

template<class F >
virtual Mesh & concepts::Model< F >::mesh_ ( )
protectedpure virtual

◆ mshAbbr_()

template<class F >
virtual const std::string concepts::Model< F >::mshAbbr_ ( )
protectedpure virtual

Mesh abbreviation string.

Implemented in hp2D::Eddy2D_E, hp2D::Eddy2D_H, hp2D::Maxwell2D_E, and hp2D::Maxwell2D_H_Base.

◆ solution()

template<class F >
const Vector< F > * concepts::Model< F >::solution ( )
inline

Returns solution vector.

Definition at line 67 of file models.hh.

◆ space()

template<class F >
virtual Space< Real > & concepts::Model< F >::space ( ) const
pure virtual

Friends And Related Symbol Documentation

◆ ModelControl< Model< F > >

template<class F >
friend class ModelControl< Model< F > >
friend

Definition at line 160 of file models.hh.

◆ ModelControlBase< Model< F > >

template<class F >
friend class ModelControlBase< Model< F > >
friend

Definition at line 160 of file models.hh.

Member Data Documentation

◆ problemName_

template<class F >
const std::string concepts::Model< F >::problemName_
protected

Name of the problem.

Definition at line 82 of file models.hh.

◆ sol_

template<class F >
std::unique_ptr<Vector<F> > concepts::Model< F >::sol_
protected

Solution vector.

Definition at line 78 of file models.hh.


The documentation for this class was generated from the following file: