Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
hp2D::AdaptiveModel< F > Class Template Reference

#include <adaptiveModels.hh>

Inheritance diagram for hp2D::AdaptiveModel< F >:
Inheritance graph
[legend]
Collaboration diagram for hp2D::AdaptiveModel< F >:
Collaboration graph
[legend]

List of all members.

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)
 Rebuilds only the mesh and sets the polynomial degrees.
void rebuildMesh (concepts::InputAdaptiveModels &input)
const Vector< F > * solution ()
 Returns solution vector.
virtual Space< Real > & space () const =0
 Returns the space.

Protected Types

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

Protected Member Functions

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

Protected Attributes

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

Detailed Description

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

Definition at line 77 of file adaptiveModels.hh.


Member Typedef Documentation

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

Definition at line 58 of file models.hh.


Member Enumeration Documentation

template<class F>
enum hp2D::AdaptiveModel::subdivTypes [protected]
Enumerator:
NONE 
X 
Y 

Reimplemented from concepts::AdaptiveModel< F, 2 >.

Definition at line 82 of file adaptiveModels.hh.


Constructor & Destructor Documentation

template<class F>
hp2D::AdaptiveModel< F >::AdaptiveModel ( const std::string  problemName,
const uint  geomRefAttr = 100 
)

Constructor.


Member Function Documentation

template<class F>
virtual std::ostream& concepts::Model< F >::info ( std::ostream &  os) const [protected, virtual, inherited]
template<class F>
virtual concepts::Mesh& hp2D::AdaptiveModel< F >::mesh_ ( ) [inline, protected, virtual]

Mesh.

Implements concepts::Model< F >.

Reimplemented in hp2D::Eddy2D_H, and hp2D::Maxwell2D_H.

Definition at line 86 of file adaptiveModels.hh.

template<class F>
virtual const std::string concepts::Model< F >::mshAbbr_ ( ) [protected, pure virtual, inherited]
template<class F>
virtual hpFull& hp2D::AdaptiveModel< F >::prebuild_ ( ) [protected, pure virtual]
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
void concepts::AdaptiveModel< F, dim >::rebuildMesh ( concepts::InputAdaptiveModels input) [inherited]
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 
) [protected, virtual]

Rebuilds only the mesh and sets the polynomial degrees.

Implements concepts::AdaptiveModel< F, 2 >.

template<class F>
const Vector<F>* concepts::Model< F >::solution ( ) [inline, inherited]

Returns solution vector.

Definition at line 66 of file models.hh.

template<class F>
virtual void concepts::Model< F >::solve_ ( ) [protected, pure virtual, inherited]
template<class F>
virtual Space<Real>& concepts::Model< F >::space ( ) const [pure virtual, inherited]

Member Data Documentation

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

Attribute of vertices or edges for geometric refinement.

Definition at line 90 of file adaptiveModels.hh.

template<class F>
const std::string concepts::Model< F >::problemName_ [protected, inherited]

Name of the problem.

Definition at line 81 of file models.hh.

template<class F>
std::auto_ptr<Vector<F> > concepts::Model< F >::sol_ [protected, inherited]

Solution vector.

Definition at line 77 of file models.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)