hp2D::SpacePreBuilder Class Referenceabstract
Exception class to express that an inquired dof is not valid. More...
#include <spacePreBuilder.hh>
Public Member Functions | |
virtual ushort | edgeDof (const concepts::Connector2 &cntr, uint i) const =0 |
Returns the maximal polynomial degree of the degrees of freedom on edge i in the cell cntr . More... | |
virtual ushort | edgeP (const concepts::Connector2 &cntr, uint i) const =0 |
Returns the maximal polynomial degree of an edge i in cell cntr , if edge has degrees of freedom or is hanging. More... | |
virtual concepts::Set< concepts::IndexRange > | indices (uint dim, const concepts::Connector &cntr, uint spcNo=0) const =0 throw (concepts::MissingFeature) |
Returns all indices of entities of a cell of a particular dimension. More... | |
virtual const ushort * | innerDof (const concepts::Connector2 &cntr) const =0 |
Returns a pointer to the maximal polynomial degrees of the inner degree of freedom in the cell quad . More... | |
virtual concepts::Mesh2 & | mesh () const |
Returns mesh. More... | |
virtual const ushort * | pMax (const concepts::Connector2 &cntr, ushort *p=0) const =0 |
Returns a pointer to the maximal polynomial degrees in the cell quad to represent all those basis functions whose support contains quad . More... | |
virtual void | rebuildDof ()=0 |
Rebuilds the potential degrees of freedom. More... | |
virtual void | rebuildMesh ()=0 |
Rebuilds the mesh due to adjustments, set inner degrees of freedom. More... | |
virtual concepts::IndexRange & | setIndex (uint &firstIdx, uint noIdx, uint dim, const concepts::Connector &cntr, uint i=0, uint spcNo=0)=0 throw (concepts::NotValidDof) |
Sets the index range of the dof inside cell cntr and returns it. More... | |
SpacePreBuilder (concepts::Mesh2 &msh) | |
Constructor. More... | |
virtual bool | vtxDof (const concepts::Connector2 &cntr, uint i) const =0 |
Returns, if the i th vertex of cell cntr has a degree of freedom. More... | |
virtual | ~SpacePreBuilder () |
Destructor. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Protected Attributes | |
concepts::Mesh2 & | msh_ |
Mesh. More... | |
Detailed Description
Exception class to express that an inquired dof is not valid.
Definition at line 37 of file spacePreBuilder.hh.
Constructor & Destructor Documentation
◆ SpacePreBuilder()
|
inline |
Constructor.
Definition at line 40 of file spacePreBuilder.hh.
◆ ~SpacePreBuilder()
|
inlinevirtual |
Destructor.
Reimplemented from concepts::SpacePreBuilder.
Definition at line 42 of file spacePreBuilder.hh.
Member Function Documentation
◆ edgeDof()
|
pure virtual |
Returns the maximal polynomial degree of the degrees of freedom on edge i
in the cell cntr
.
Return value 0 for no degree of freedom.
Implemented in hp2D::hpFull.
◆ edgeP()
|
pure virtual |
Returns the maximal polynomial degree of an edge i
in cell cntr
, if edge has degrees of freedom or is hanging.
Return value 0 in other case.
Implemented in hp2D::hpFull.
◆ indices()
|
pure virtual |
Returns all indices of entities of a cell of a particular dimension.
Throws exception if dimension is too large.
- Parameters
-
dim dimension of entity of dof, e.g. 0 for node cntr topological cell on arbitrary level spcNo number for distinguish between global indices on same topological entity
Implements concepts::SpacePreBuilder.
Implemented in hp2D::hpFull.
◆ info()
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in hp2D::hpFull.
◆ innerDof()
|
pure virtual |
Returns a pointer to the maximal polynomial degrees of the inner degree of freedom in the cell quad
.
Returns value 0 if there are no inner dof (i.e. cell has no children).
Implemented in hp2D::hpFull.
◆ mesh()
|
inlinevirtual |
Returns mesh.
Implements concepts::SpacePreBuilder.
Definition at line 45 of file spacePreBuilder.hh.
◆ pMax()
|
pure virtual |
Returns a pointer to the maximal polynomial degrees in the cell quad
to represent all those basis functions whose support contains quad
.
Returns value 0, if cell is not in the support of any basis function, e.g. its too large. If p
is given, p
changed to the maximum of p
and the maximal polynomial degree in the cell.
Implemented in hp2D::hpFull.
◆ rebuildDof()
|
pure virtualinherited |
Rebuilds the potential degrees of freedom.
Implemented in hp2D::hpFull.
◆ rebuildMesh()
|
pure virtualinherited |
Rebuilds the mesh due to adjustments, set inner degrees of freedom.
Implemented in hp2D::hpFull.
◆ setIndex()
|
pure virtual |
Sets the index range of the dof inside cell cntr
and returns it.
Throws exception if there is not such a dof.
- Parameters
-
firstIdx first index in range noIdx number of dof on this entity dim dimension of entity of dof, e.g. 0 for node i number of the entity in cell, e.g. i.th node spcNo number for distinguish between global indices on same topological entity
Implements concepts::SpacePreBuilder.
Implemented in hp2D::hpFull.
◆ vtxDof()
|
pure virtual |
Returns, if the i
th vertex of cell cntr
has a degree of freedom.
Implemented in hp2D::hpFull.
Member Data Documentation
◆ msh_
|
protected |
Mesh.
Definition at line 87 of file spacePreBuilder.hh.
The documentation for this class was generated from the following file:
- hp2D/spacePreBuilder.hh