Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::AdaptiveModel< F, dim > Class Template Referenceabstract
Inheritance diagram for concepts::AdaptiveModel< F, dim >:
concepts::Model< F > concepts::OutputOperator 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

enum  subdivTypes { NONE = 0 , X = 1 , Y = 2 }
 
typedeftype
 

Public Member Functions

 AdaptiveModel (const std::string problemName)
 
void rebuildMesh (const uint l=0, const uint p=1, const uint g=0, const uint subdiv=X|Y)
 
void rebuildMesh (concepts::InputAdaptiveModels &input)
 
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.
 

Detailed Description

template<class F, uint dim>
class concepts::AdaptiveModel< F, dim >

Definition at line 22 of file adaptiveModels.hh.

Member Typedef Documentation

◆ type

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

Definition at line 59 of file models.hh.

Member Enumeration Documentation

◆ subdivTypes

template<class F , uint dim>
enum concepts::AdaptiveModel::subdivTypes

Definition at line 24 of file adaptiveModels.hh.

Constructor & Destructor Documentation

◆ AdaptiveModel()

template<class F , uint dim>
concepts::AdaptiveModel< F, dim >::AdaptiveModel ( const std::string  problemName)
inline

Definition at line 26 of file adaptiveModels.hh.

Member Function Documentation

◆ info()

template<class F >
virtual std::ostream & concepts::Model< F >::info ( std::ostream &  os) const
protectedvirtualinherited

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 virtualinherited

◆ mshAbbr_()

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

Mesh abbreviation string.

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

◆ rebuildMesh()

template<class F , uint dim>
void concepts::AdaptiveModel< F, dim >::rebuildMesh ( const uint  l = 0,
const uint  p = 1,
const uint  g = 0,
const uint  subdiv = X|Y 
)

Rebuilds only the mesh and sets the polynomial degrees

Parameters
lnumber of uniform refinements
pnumber of polynomial enlargements
gnumber of geometric refinements
subdivpossibility to restrict subdivision strategy for geometric refinement

◆ solution()

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

Returns solution vector.

Definition at line 67 of file models.hh.

◆ space()

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

Member Data Documentation

◆ problemName_

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

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_
protectedinherited

Solution vector.

Definition at line 78 of file models.hh.


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