Responsible to build the vertex degrees of freedom in a space. More...
#include <buildVtxDofs.hh>


Public Member Functions | |
| BuildVertexDofs () | |
| Default constructor. | |
| BuildVertexDofs (Space &spc) | |
| Constructor. | |
| virtual BuildVertexDofs * | clone (Space *spc=0) const |
| Virtual copy constructor with a twist. | |
| virtual void | operator() (concepts::Hexahedron &cntr, concepts::TColumn< Real > *&T1) |
| Builds the degrees of freedom. | |
| Space * | space () |
| Returns the space. | |
Protected Member Functions | |
| void | computePmax_ (const concepts::Hexahedron &cntr, ushort Pmax[3]) const |
Computes maximal polynomial Pmax degree in cntr in tensor form. | |
| concepts::AdaptiveControl & | ctrl0_ (uint idx) |
Returns vertex tag of vertex with key idx. | |
| concepts::AdaptiveControlP< 1 > & | ctrl1_ (uint idx) |
Returns edge tag of edge with key idx. | |
| concepts::AdaptiveControlP< 2 > & | ctrl2_ (uint idx) |
Returns face tag of face with key idx. | |
| concepts::AdaptiveControlP< 3 > & | ctrl3_ (uint idx) |
Returns cell tag of cell with key idx. | |
| void | deactivate_ (const concepts::Connector1 &edg) |
Deactivates the children of the edge edg (including the middle vertex). | |
| void | deactivate_ (const concepts::Connector0 &vtx) |
Deactivates the children of the vertex vtx. | |
| void | deactivate_ (const concepts::Connector2 &face) |
Deactivates the children of face (including the new edges and vertices). | |
| uint & | dim_ () |
| Returns a reference to the dimension of the space. | |
| std::map< uint, concepts::EdgeData > ::const_iterator | edgeListEnd () const |
| Returns the end of the list with edge data. | |
| std::map< uint, concepts::EdgeData > ::const_iterator | edgeListFind (uint idx) const |
Returns the iterator to the edge data of the edge with key idx. | |
| std::map< uint, concepts::FaceData > ::const_iterator | faceListEnd () const |
| Returns the end of the list with face data. | |
| std::map< uint, concepts::FaceData > ::const_iterator | faceListFind (uint idx) const |
Returns the iterator to the face data of the face with key idx. | |
| std::map< uint, concepts::VertexData > ::const_iterator | vertexListEnd () const |
| Returns the end of the list with vertex data. | |
| std::map< uint, concepts::VertexData > ::const_iterator | vertexListFind (uint idx) const |
Returns the iterator to the vertex data of the vertex with key idx. | |
Protected Attributes | |
| Space * | spc_ |
| Space to build the vertex degrees of freedom from. | |
Responsible to build the vertex degrees of freedom in a space.
A call to the application operator builds the T columns for the vertices of a given hexahedron.
If you want to change the way this is done, derive from this class and overwrite the application operator. The access to the internal data of the space (which is needed) is provided through the protected member functions of BuildDofsBase (it is a friend of Space).
This class is registered as the default strategy in a Space to build the vertex degrees of freedom. Giving Space a different class through the use of Space::buildVertexDofs, you can change that behaviour.
Definition at line 36 of file buildVtxDofs.hh.
| hp3D::BuildVertexDofs::BuildVertexDofs | ( | ) | [inline] |
Default constructor.
Definition at line 39 of file buildVtxDofs.hh.
| hp3D::BuildVertexDofs::BuildVertexDofs | ( | Space & | spc | ) | [inline] |
Constructor.
| spc | Space to build the vertex degrees of freedom from |
Definition at line 43 of file buildVtxDofs.hh.
| virtual BuildVertexDofs* hp3D::BuildVertexDofs::clone | ( | Space * | spc = 0 | ) | const [virtual] |
Virtual copy constructor with a twist.
If a copy of a space is created, the strategies to build the degrees of freedom of the copy should als reference the copy and not the initial space. This is done by giving the argument spc to clone.
| spc | Space to work on for the return value. If set to 0, spc_ is used. |
Implements hp3D::BuildDofsBase.
| void hp3D::BuildDofsBase::computePmax_ | ( | const concepts::Hexahedron & | cntr, |
| ushort | Pmax[3] | ||
| ) | const [inline, protected, inherited] |
Computes maximal polynomial Pmax degree in cntr in tensor form.
Definition at line 170 of file buildDofsBase.hh.

| concepts::AdaptiveControl & hp3D::BuildDofsBase::ctrl0_ | ( | uint | idx | ) | [inline, protected, inherited] |
Returns vertex tag of vertex with key idx.
Definition at line 99 of file buildDofsBase.hh.
| concepts::AdaptiveControlP< 1 > & hp3D::BuildDofsBase::ctrl1_ | ( | uint | idx | ) | [inline, protected, inherited] |
Returns edge tag of edge with key idx.
Definition at line 104 of file buildDofsBase.hh.
| concepts::AdaptiveControlP< 2 > & hp3D::BuildDofsBase::ctrl2_ | ( | uint | idx | ) | [inline, protected, inherited] |
Returns face tag of face with key idx.
Definition at line 109 of file buildDofsBase.hh.
| concepts::AdaptiveControlP< 3 > & hp3D::BuildDofsBase::ctrl3_ | ( | uint | idx | ) | [inline, protected, inherited] |
Returns cell tag of cell with key idx.
Definition at line 114 of file buildDofsBase.hh.
| void hp3D::BuildDofsBase::deactivate_ | ( | const concepts::Connector2 & | face | ) | [inline, protected, inherited] |
Deactivates the children of face (including the new edges and vertices).
Definition at line 165 of file buildDofsBase.hh.

| void hp3D::BuildDofsBase::deactivate_ | ( | const concepts::Connector1 & | edg | ) | [inline, protected, inherited] |
Deactivates the children of the edge edg (including the middle vertex).
Definition at line 160 of file buildDofsBase.hh.

| void hp3D::BuildDofsBase::deactivate_ | ( | const concepts::Connector0 & | vtx | ) | [inline, protected, inherited] |
Deactivates the children of the vertex vtx.
Definition at line 155 of file buildDofsBase.hh.

| uint& hp3D::BuildDofsBase::dim_ | ( | ) | [inline, protected, inherited] |
Returns a reference to the dimension of the space.
Definition at line 83 of file buildDofsBase.hh.
| std::map< uint, concepts::EdgeData >::const_iterator hp3D::BuildDofsBase::edgeListEnd | ( | ) | const [inline, protected, inherited] |
Returns the end of the list with edge data.
Definition at line 138 of file buildDofsBase.hh.
| std::map< uint, concepts::EdgeData >::const_iterator hp3D::BuildDofsBase::edgeListFind | ( | uint | idx | ) | const [inline, protected, inherited] |
Returns the iterator to the edge data of the edge with key idx.
Definition at line 132 of file buildDofsBase.hh.
| std::map< uint, concepts::FaceData >::const_iterator hp3D::BuildDofsBase::faceListEnd | ( | ) | const [inline, protected, inherited] |
Returns the end of the list with face data.
Definition at line 150 of file buildDofsBase.hh.
| std::map< uint, concepts::FaceData >::const_iterator hp3D::BuildDofsBase::faceListFind | ( | uint | idx | ) | const [inline, protected, inherited] |
Returns the iterator to the face data of the face with key idx.
Definition at line 144 of file buildDofsBase.hh.
| virtual void hp3D::BuildVertexDofs::operator() | ( | concepts::Hexahedron & | cntr, |
| concepts::TColumn< Real > *& | T1 | ||
| ) | [virtual] |
Builds the degrees of freedom.
| cntr | Hex which vertices should be considered |
| T1 | New T columns created for the degrees of freedom in the vertices |
Implements hp3D::BuildDofsBase.
| Space* hp3D::BuildDofsBase::space | ( | ) | [inline, inherited] |
Returns the space.
Definition at line 54 of file buildDofsBase.hh.
| std::map< uint, concepts::VertexData >::const_iterator hp3D::BuildDofsBase::vertexListEnd | ( | ) | const [inline, protected, inherited] |
Returns the end of the list with vertex data.
Definition at line 126 of file buildDofsBase.hh.
| std::map< uint, concepts::VertexData >::const_iterator hp3D::BuildDofsBase::vertexListFind | ( | uint | idx | ) | const [inline, protected, inherited] |
Returns the iterator to the vertex data of the vertex with key idx.
Definition at line 120 of file buildDofsBase.hh.
Space* hp3D::BuildDofsBase::spc_ [protected, inherited] |
Space to build the vertex degrees of freedom from.
Definition at line 96 of file buildDofsBase.hh.