concepts::AdaptiveModel< F, dim > Class Template Referenceabstract
#include <adaptiveModels.hh>
Public Types | |
enum | subdivTypes { NONE = 0, X = 1, Y = 2 } |
typedef F | type |
Public Member Functions | |
AdaptiveModel (const std::string problemName) | |
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 Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
virtual Mesh & | mesh_ ()=0 |
Mesh. More... | |
virtual const std::string | mshAbbr_ ()=0 |
Mesh abbreviation string. More... | |
virtual void | solve_ ()=0 |
Method for solving. More... | |
Protected Attributes | |
const std::string | problemName_ |
Name of the problem. More... | |
std::unique_ptr< Vector< F > > | sol_ |
Solution vector. More... | |
Private Member Functions | |
virtual void | rebuildMesh_ (const uint l=0, const uint p=1, const uint g=0, const uint subdiv=X|Y)=0 |
Detailed Description
template<class F, uint dim>
class concepts::AdaptiveModel< F, dim >
Definition at line 22 of file adaptiveModels.hh.
Member Typedef Documentation
◆ type
|
inherited |
Member Enumeration Documentation
◆ subdivTypes
enum concepts::AdaptiveModel::subdivTypes |
Enumerator | |
---|---|
NONE | |
X | |
Y |
Definition at line 24 of file adaptiveModels.hh.
Constructor & Destructor Documentation
◆ AdaptiveModel()
|
inline |
Definition at line 26 of file adaptiveModels.hh.
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_()
|
protectedpure virtualinherited |
Mesh.
Implemented in hp2D::AdaptiveModel< F >, and hp2D::AdaptiveModel< Cmplx >.
◆ mshAbbr_()
|
protectedpure virtualinherited |
Mesh abbreviation string.
Implemented in hp2D::Maxwell2D_H_Base, hp2D::Maxwell2D_E, hp2D::Eddy2D_H, and hp2D::Eddy2D_E.
◆ rebuildMesh() [1/2]
void concepts::AdaptiveModel< F, dim >::rebuildMesh | ( | concepts::InputAdaptiveModels & | input | ) |
◆ rebuildMesh() [2/2]
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
-
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_()
|
privatepure virtual |
Implemented in hp2D::AdaptiveModel< F >, and hp2D::AdaptiveModel< Cmplx >.
◆ 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
◆ problemName_
|
protectedinherited |
◆ sol_
|
protectedinherited |
The documentation for this class was generated from the following file:
- models/adaptiveModels.hh