Class documentation of Concepts

Loading...
Searching...
No Matches
Inheritance diagram for hp2D::AdaptiveModel< F >:
concepts::AdaptiveModel< F, 2 > concepts::Model< F > concepts::OutputOperator

Public Types

typedef F type
 

Public Member Functions

 AdaptiveModel (const std::string problemName, const uint geomRefAttr=100)
 Constructor.
 
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 Types

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

Protected Member Functions

virtual void 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.
 
virtual concepts::Meshmesh_ ()
 Mesh.
 
virtual hpFullprebuild_ ()=0
 Space Prebuilder.
 
virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 
virtual const std::string mshAbbr_ ()=0
 Mesh abbreviation string.
 
virtual void solve_ ()=0
 Method for solving.
 

Protected Attributes

const uint geomRefAttr_
 Attribute of vertices or edges for geometric refinement.
 
std::unique_ptr< Vector< F > > sol_
 Solution vector.
 
const std::string problemName_
 Name of the problem.
 

Detailed Description

template<class F>
class hp2D::AdaptiveModel< F >

Definition at line 78 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 >
enum hp2D::AdaptiveModel::subdivTypes
protected

Definition at line 83 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 concepts::Mesh & hp2D::AdaptiveModel< F >::mesh_ ( )
inlineprotectedvirtual

Mesh.

Implements concepts::Model< F >.

Definition at line 87 of file adaptiveModels.hh.

◆ 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.

◆ prebuild_()

template<class F >
virtual hpFull & hp2D::AdaptiveModel< F >::prebuild_ ( )
protectedpure virtual

◆ rebuildMesh()

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

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

◆ rebuildMesh_()

template<class F >
virtual void hp2D::AdaptiveModel< F >::rebuildMesh_ ( const uint  l = 0,
const uint  p = 1,
const uint  g = 0,
const uint  subdiv = X|Y 
)
protectedvirtual

Rebuilds only the mesh and sets the polynomial degrees.

Implements concepts::AdaptiveModel< F, 2 >.

◆ 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

◆ geomRefAttr_

template<class F >
const uint hp2D::AdaptiveModel< F >::geomRefAttr_
protected

Attribute of vertices or edges for geometric refinement.

Definition at line 91 of file adaptiveModels.hh.

◆ 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: