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. | |
| 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. | |
| 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. | |
| 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. | |
| virtual concepts::Mesh2 & | mesh () const |
| Returns mesh. | |
| 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. | |
| virtual void | rebuildDof ()=0 |
| Rebuilds the potential degrees of freedom. | |
| virtual void | rebuildMesh ()=0 |
| Rebuilds the mesh due to adjustments, set inner degrees of freedom. | |
| virtual concepts::IndexRange & | setIndex (uint &firstIdx, uint noIdx, uint dim, const concepts::Connector &cntr, uint i=0, uint spcNo=0)=0 throw (NotValidDof) |
Sets the index range of the dof inside cell cntr and returns it. | |
| SpacePreBuilder (concepts::Mesh2 &msh) | |
| Constructor. | |
| 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. | |
| virtual | ~SpacePreBuilder () |
| Destructor. | |
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.
| hp2D::SpacePreBuilder::SpacePreBuilder | ( | concepts::Mesh2 & | msh | ) | [inline] |
Constructor.
Definition at line 40 of file spacePreBuilder.hh.
| virtual hp2D::SpacePreBuilder::~SpacePreBuilder | ( | ) | [inline, virtual] |
Destructor.
Reimplemented from concepts::SpacePreBuilder.
Definition at line 42 of file spacePreBuilder.hh.
| virtual ushort hp2D::SpacePreBuilder::edgeDof | ( | const concepts::Connector2 & | cntr, |
| uint | i | ||
| ) | const [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.
| virtual ushort hp2D::SpacePreBuilder::edgeP | ( | const concepts::Connector2 & | cntr, |
| uint | i | ||
| ) | const [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.
| virtual concepts::Set<concepts::IndexRange> concepts::SpacePreBuilder::indices | ( | uint | dim, |
| const concepts::Connector & | cntr, | ||
| uint | spcNo = 0 |
||
| ) | const throw (concepts::MissingFeature) [pure virtual, inherited] |
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 |
Implemented in hp2D::hpFull.
| virtual std::ostream& concepts::SpacePreBuilder::info | ( | std::ostream & | os | ) | const [protected, virtual, inherited] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in hp2D::hpFull.
| virtual const ushort* hp2D::SpacePreBuilder::innerDof | ( | const concepts::Connector2 & | cntr | ) | const [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.
| virtual concepts::Mesh2& hp2D::SpacePreBuilder::mesh | ( | ) | const [inline, virtual] |
Returns mesh.
Implements concepts::SpacePreBuilder.
Definition at line 45 of file spacePreBuilder.hh.
| virtual const ushort* hp2D::SpacePreBuilder::pMax | ( | const concepts::Connector2 & | cntr, |
| ushort * | p = 0 |
||
| ) | const [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.
| virtual void concepts::SpacePreBuilder::rebuildDof | ( | ) | [pure virtual, inherited] |
Rebuilds the potential degrees of freedom.
Implemented in hp2D::hpFull.
| virtual void concepts::SpacePreBuilder::rebuildMesh | ( | ) | [pure virtual, inherited] |
Rebuilds the mesh due to adjustments, set inner degrees of freedom.
Implemented in hp2D::hpFull.
| virtual concepts::IndexRange& concepts::SpacePreBuilder::setIndex | ( | uint & | firstIdx, |
| uint | noIdx, | ||
| uint | dim, | ||
| const concepts::Connector & | cntr, | ||
| uint | i = 0, |
||
| uint | spcNo = 0 |
||
| ) | throw (NotValidDof) [pure virtual, inherited] |
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 |
Implemented in hp2D::hpFull.
| virtual bool hp2D::SpacePreBuilder::vtxDof | ( | const concepts::Connector2 & | cntr, |
| uint | i | ||
| ) | const [pure virtual] |
Returns, if the i th vertex of cell cntr has a degree of freedom.
Implemented in hp2D::hpFull.
concepts::Mesh2& hp2D::SpacePreBuilder::msh_ [protected] |
Mesh.
Definition at line 76 of file spacePreBuilder.hh.