Class documentation of Concepts

Loading...
Searching...
No Matches

#include <buildDofsBase.hh>

Inheritance diagram for hp3D::BuildDofsBase:
hp3D::BuildEdgeDofs hp3D::BuildFaceDofs hp3D::BuildInnerDofs hp3D::BuildVertexDofs hp3D::BuildFaceDofsHypTrunk hp3D::BuildFaceDofsLinTrunk hp3D::BuildInnerDofsHypTrunk hp3D::BuildInnerDofsLinTrunk

Public Member Functions

 BuildDofsBase ()
 Default constructor.
 
 BuildDofsBase (Space &spc)
 
virtual void operator() (concepts::Hexahedron &cntr, concepts::TColumn< Real > *&T1)=0
 
virtual BuildDofsBaseclone (Space *spc=0) const =0
 
Spacespace ()
 Returns the space.
 

Protected Member Functions

concepts::AdaptiveControlctrl0_ (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.
 
std::map< uint, concepts::VertexData >::const_iterator vertexListFind (uint idx) const
 Returns the iterator to the vertex data of the vertex 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::EdgeData >::const_iterator edgeListFind (uint idx) const
 Returns the iterator to the edge data of the edge with key idx.
 
std::map< uint, concepts::EdgeData >::const_iterator edgeListEnd () const
 Returns the end of the list with edge 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::FaceData >::const_iterator faceListEnd () const
 Returns the end of the list with face data.
 
uint & dim_ ()
 Returns a reference to the dimension of the space.
 
void deactivate_ (const concepts::Connector0 &vtx)
 Deactivates the children of the vertex vtx.
 
void deactivate_ (const concepts::Connector1 &edg)
 
void deactivate_ (const concepts::Connector2 &face)
 
void computePmax_ (const concepts::Hexahedron &cntr, ushort Pmax[3]) const
 
void getPmax_ (const concepts::Hexahedron &cntr, ushort Pmax[3]) const
 

Protected Attributes

Spacespc_
 Space to build the vertex degrees of freedom from.
 

Detailed Description

Responsible to build the degrees of freedom in a space. A call to the application operator builds the T columns for a given hexahedron.

This is the base class for the specialzations for vertices, edges and faces. The access to the internal data of the space (which is needed) is provided through the protected member functions of this class (and this class is a friend of Space).

Author
Philipp Frauenfelder, 2004

Definition at line 31 of file buildDofsBase.hh.

Constructor & Destructor Documentation

◆ BuildDofsBase() [1/2]

hp3D::BuildDofsBase::BuildDofsBase ( )
inline

Default constructor.

Definition at line 34 of file buildDofsBase.hh.

◆ BuildDofsBase() [2/2]

hp3D::BuildDofsBase::BuildDofsBase ( Space spc)
inline

Constructor.

Parameters
spcSpace to build the degrees of freedom from

Definition at line 38 of file buildDofsBase.hh.

Member Function Documentation

◆ clone()

virtual BuildDofsBase * hp3D::BuildDofsBase::clone ( Space spc = 0) const
pure 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.

Parameters
spcSpace to work on for the return value. If set to 0, spc_ is used.

Implemented in hp3D::BuildEdgeDofs, hp3D::BuildFaceDofs, hp3D::BuildFaceDofsLinTrunk, hp3D::BuildFaceDofsHypTrunk, hp3D::BuildInnerDofs, hp3D::BuildInnerDofsLinTrunk, hp3D::BuildInnerDofsHypTrunk, and hp3D::BuildVertexDofs.

◆ computePmax_()

void hp3D::BuildDofsBase::computePmax_ ( const concepts::Hexahedron cntr,
ushort  Pmax[3] 
) const
inlineprotected

Computes maximal polynomial Pmax degree on topological objects adjacent to cntr that contributes directly to a global degree of freedom (returned in tensor form)

Definition at line 178 of file buildDofsBase.hh.

◆ ctrl0_()

concepts::AdaptiveControl & hp3D::BuildDofsBase::ctrl0_ ( uint  idx)
inlineprotected

Returns vertex tag of vertex with key idx.

Definition at line 107 of file buildDofsBase.hh.

◆ ctrl1_()

concepts::AdaptiveControlP< 1 > & hp3D::BuildDofsBase::ctrl1_ ( uint  idx)
inlineprotected

Returns edge tag of edge with key idx.

Definition at line 112 of file buildDofsBase.hh.

◆ ctrl2_()

concepts::AdaptiveControlP< 2 > & hp3D::BuildDofsBase::ctrl2_ ( uint  idx)
inlineprotected

Returns face tag of face with key idx.

Definition at line 117 of file buildDofsBase.hh.

◆ ctrl3_()

concepts::AdaptiveControlP< 3 > & hp3D::BuildDofsBase::ctrl3_ ( uint  idx)
inlineprotected

Returns cell tag of cell with key idx.

Definition at line 122 of file buildDofsBase.hh.

◆ deactivate_() [1/3]

void hp3D::BuildDofsBase::deactivate_ ( const concepts::Connector0 vtx)
inlineprotected

Deactivates the children of the vertex vtx.

Definition at line 163 of file buildDofsBase.hh.

◆ deactivate_() [2/3]

void hp3D::BuildDofsBase::deactivate_ ( const concepts::Connector1 edg)
inlineprotected

Deactivates the children of the edge edg (including the middle vertex).

Definition at line 168 of file buildDofsBase.hh.

◆ deactivate_() [3/3]

void hp3D::BuildDofsBase::deactivate_ ( const concepts::Connector2 face)
inlineprotected

Deactivates the children of face (including the new edges and vertices).

Definition at line 173 of file buildDofsBase.hh.

◆ dim_()

uint & hp3D::BuildDofsBase::dim_ ( )
inlineprotected

Returns a reference to the dimension of the space.

Definition at line 85 of file buildDofsBase.hh.

◆ edgeListEnd()

std::map< uint, concepts::EdgeData >::const_iterator hp3D::BuildDofsBase::edgeListEnd ( ) const
inlineprotected

Returns the end of the list with edge data.

Definition at line 146 of file buildDofsBase.hh.

◆ edgeListFind()

std::map< uint, concepts::EdgeData >::const_iterator hp3D::BuildDofsBase::edgeListFind ( uint  idx) const
inlineprotected

Returns the iterator to the edge data of the edge with key idx.

Definition at line 140 of file buildDofsBase.hh.

◆ faceListEnd()

std::map< uint, concepts::FaceData >::const_iterator hp3D::BuildDofsBase::faceListEnd ( ) const
inlineprotected

Returns the end of the list with face data.

Definition at line 158 of file buildDofsBase.hh.

◆ faceListFind()

std::map< uint, concepts::FaceData >::const_iterator hp3D::BuildDofsBase::faceListFind ( uint  idx) const
inlineprotected

Returns the iterator to the face data of the face with key idx.

Definition at line 152 of file buildDofsBase.hh.

◆ getPmax_()

void hp3D::BuildDofsBase::getPmax_ ( const concepts::Hexahedron cntr,
ushort  Pmax[3] 
) const
inlineprotected

Gets the polynomial degrees Pmax of the shape function on cntr (returned in tensor form)

Definition at line 184 of file buildDofsBase.hh.

◆ operator()()

virtual void hp3D::BuildDofsBase::operator() ( concepts::Hexahedron cntr,
concepts::TColumn< Real > *&  T1 
)
pure virtual

Builds the degrees of freedom.

Parameters
cntrHex which vertices should be considered
T1New T columns created for the degrees of freedom in the vertices

Implemented in hp3D::BuildEdgeDofs, hp3D::BuildFaceDofs, hp3D::BuildInnerDofs, and hp3D::BuildVertexDofs.

◆ space()

Space * hp3D::BuildDofsBase::space ( )
inline

Returns the space.

Definition at line 56 of file buildDofsBase.hh.

◆ vertexListEnd()

std::map< uint, concepts::VertexData >::const_iterator hp3D::BuildDofsBase::vertexListEnd ( ) const
inlineprotected

Returns the end of the list with vertex data.

Definition at line 134 of file buildDofsBase.hh.

◆ vertexListFind()

std::map< uint, concepts::VertexData >::const_iterator hp3D::BuildDofsBase::vertexListFind ( uint  idx) const
inlineprotected

Returns the iterator to the vertex data of the vertex with key idx.

Definition at line 128 of file buildDofsBase.hh.

Member Data Documentation

◆ spc_

Space* hp3D::BuildDofsBase::spc_
protected

Space to build the vertex degrees of freedom from.

Definition at line 104 of file buildDofsBase.hh.


The documentation for this class was generated from the following file: