hp2D::AdaptiveModel< F > Class Template Referenceabstract
#include <adaptiveModels.hh>
Public Types | |
typedef F | type |
Public Member Functions | |
AdaptiveModel (const std::string problemName, const uint geomRefAttr=100) | |
Constructor. More... | |
void | rebuildMesh (concepts::InputAdaptiveModels &input) |
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. More... | |
const Vector< F > * | solution () |
Returns solution vector. More... | |
virtual Space< Real > & | space () const =0 |
Returns the space. More... | |
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. More... | |
virtual concepts::Mesh & | mesh_ () |
Mesh. More... | |
virtual const std::string | mshAbbr_ ()=0 |
Mesh abbreviation string. More... | |
virtual hpFull & | prebuild_ ()=0 |
Space Prebuilder. More... | |
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. More... | |
virtual void | solve_ ()=0 |
Method for solving. More... | |
Protected Attributes | |
const uint | geomRefAttr_ |
Attribute of vertices or edges for geometric refinement. More... | |
const std::string | problemName_ |
Name of the problem. More... | |
std::unique_ptr< Vector< F > > | sol_ |
Solution vector. More... | |
Detailed Description
template<class F>
class hp2D::AdaptiveModel< F >
Definition at line 78 of file adaptiveModels.hh.
Member Typedef Documentation
◆ type
|
inherited |
Member Enumeration Documentation
◆ subdivTypes
|
protected |
Enumerator | |
---|---|
NONE | |
X | |
Y |
Definition at line 83 of file adaptiveModels.hh.
Constructor & Destructor Documentation
◆ AdaptiveModel()
hp2D::AdaptiveModel< F >::AdaptiveModel | ( | const std::string | problemName, |
const uint | geomRefAttr = 100 |
||
) |
Constructor.
Member Function Documentation
◆ info()
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in hp2D::Maxwell2D_H_DD, hp2D::Maxwell2D_H, hp2D::Maxwell2D_H_Base, hp2D::Maxwell2D_E, hp2D::Eddy2D_H, and hp2D::Eddy2D_E.
◆ mesh_()
|
inlineprotectedvirtual |
◆ mshAbbr_()
|
protectedpure virtualinherited |
Mesh abbreviation string.
Implemented in hp2D::Maxwell2D_H_Base, hp2D::Maxwell2D_E, hp2D::Eddy2D_H, and hp2D::Eddy2D_E.
◆ prebuild_()
|
protectedpure virtual |
Space Prebuilder.
Implemented in hp2D::Maxwell2D_H_DD, hp2D::Maxwell2D_H, hp2D::Maxwell2D_E, hp2D::Eddy2D_H, and hp2D::Eddy2D_E.
◆ rebuildMesh() [1/2]
|
inherited |
◆ rebuildMesh() [2/2]
|
inherited |
Rebuilds only the mesh and sets the polynomial degrees.
- Parameters
-
l number of uniform refinements p number of polynomial enlargements g number of geometric refinements subdiv possibility to restrict subdivision strategy for geometric refinement
◆ rebuildMesh_()
|
protectedvirtual |
Rebuilds only the mesh and sets the polynomial degrees.
Implements concepts::AdaptiveModel< F, 2 >.
◆ solution()
|
inlineinherited |
◆ solve_()
|
protectedpure virtualinherited |
Method for solving.
Implemented in hp2D::Maxwell2D_H_DD, hp2D::Maxwell2D_H, hp2D::Maxwell2D_E, hp2D::Eddy2D_H, and hp2D::Eddy2D_E.
◆ space()
|
pure virtualinherited |
Returns the space.
Member Data Documentation
◆ geomRefAttr_
|
protected |
Attribute of vertices or edges for geometric refinement.
Definition at line 91 of file adaptiveModels.hh.
◆ problemName_
|
protectedinherited |
◆ sol_
|
protectedinherited |
The documentation for this class was generated from the following file:
- models/adaptiveModels.hh