#include <spacePreBuilder.hh>
Public Member Functions | |
| SpacePreBuilder (concepts::Mesh2 &msh) | |
| Constructor. | |
| virtual | ~SpacePreBuilder () |
| Destructor. | |
| virtual concepts::Mesh2 & | mesh () const |
| Returns mesh. | |
| virtual bool | vtxDof (const concepts::Connector2 &cntr, uint i) const =0 |
| virtual ushort | edgeDof (const concepts::Connector2 &cntr, uint i) const =0 |
| virtual const ushort * | innerDof (const concepts::Connector2 &cntr) const =0 |
| virtual const ushort * | pMax (const concepts::Connector2 &cntr, ushort *p=0) const =0 |
| virtual ushort | edgeP (const concepts::Connector2 &cntr, uint i) const =0 |
| virtual concepts::IndexRange & | setIndex (uint &firstIdx, uint noIdx, uint dim, const concepts::Connector &cntr, uint i=0, uint spcNo=0)=0 |
| virtual concepts::Set< concepts::IndexRange > | indices (uint dim, const concepts::Connector &cntr, uint spcNo=0) const =0 |
| virtual void | rebuildMesh ()=0 |
| virtual void | rebuildDof ()=0 |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Protected Attributes | |
| concepts::Mesh2 & | msh_ |
| Mesh. | |
Exception class to express that an inquired dof is not valid.
Definition at line 37 of file spacePreBuilder.hh.
|
inline |
Constructor.
Definition at line 40 of file spacePreBuilder.hh.
|
inlinevirtual |
Destructor.
Reimplemented from concepts::SpacePreBuilder.
Definition at line 42 of file spacePreBuilder.hh.
|
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.
|
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.
|
pure virtual |
Returns all indices of entities of a cell of a particular dimension. Throws exception if dimension is too large.
| 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.
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in hp2D::hpFull.
|
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.
|
inlinevirtual |
Returns mesh.
Implements concepts::SpacePreBuilder.
Definition at line 45 of file spacePreBuilder.hh.
|
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.
|
pure virtualinherited |
Rebuilds the potential degrees of freedom.
Implemented in hp2D::hpFull.
|
pure virtualinherited |
Rebuilds the mesh due to adjustments, set inner degrees of freedom.
Implemented in hp2D::hpFull.
|
pure virtual |
Sets the index range of the dof inside cell cntr and returns it. Throws exception if there is not such a dof.
| 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.
|
pure virtual |
Returns, if the i th vertex of cell cntr has a degree of freedom
Implemented in hp2D::hpFull.
|
protected |
Mesh.
Definition at line 86 of file spacePreBuilder.hh.