Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes
hp2D::BuildEdgeDofsError Class Reference

#include <buildEdgeDofsError.hh>

Inheritance diagram for hp2D::BuildEdgeDofsError:
Inheritance graph
[legend]
Collaboration diagram for hp2D::BuildEdgeDofsError:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BuildEdgeDofsError (uint p=2)
 Default constructor.
 BuildEdgeDofsError (Space &spc, uint p=2)
 Constructor.
virtual BuildEdgeDofsErrorclone (Space *spc=0) const
 Virtual copy constructor with a twist.
virtual void operator() (concepts::Quad &cntr, concepts::TColumn< Real > *&T1, const uint nn[2])
 Builds the degrees of freedom.
virtual void operator() (concepts::Quad &cntr, concepts::TColumn< Real > *&T1)
Spacespace ()
 Returns the space.

Protected Member Functions

void computePmax_ (const concepts::Quad &cntr, ushort Pmax[2]) const
 Computes maximal polynomial Pmax degree in cntr in tensor form.
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.
void deactivate_ (const concepts::Vertex &vtx)
 Deactivates the children of the vertex vtx.
void deactivate_ (const concepts::Edge &edg)
 Deactivates the children of the edge edg (including the middle vertex).
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::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

Spacespc_
 Space to build the vertex degrees of freedom from.

Private Attributes

uint p_
 Remove degrees of freedom below p - p_ (where p is the polynomial degree of the element.

Detailed Description

Definition at line 19 of file buildEdgeDofsError.hh.


Constructor & Destructor Documentation

hp2D::BuildEdgeDofsError::BuildEdgeDofsError ( uint  p = 2) [inline]

Default constructor.

Definition at line 22 of file buildEdgeDofsError.hh.

hp2D::BuildEdgeDofsError::BuildEdgeDofsError ( Space spc,
uint  p = 2 
) [inline]

Constructor.

Parameters:
spcSpace to build the edge degrees of freedom from

Definition at line 26 of file buildEdgeDofsError.hh.


Member Function Documentation

virtual BuildEdgeDofsError* hp2D::BuildEdgeDofsError::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 also 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.

Reimplemented from hp2D::BuildEdgeDofs.

void hp2D::BuildDofsBase::computePmax_ ( const concepts::Quad cntr,
ushort  Pmax[2] 
) const [inline, protected, inherited]

Computes maximal polynomial Pmax degree in cntr in tensor form.

Definition at line 140 of file buildDofsBase.hh.

Here is the call graph for this function:

concepts::AdaptiveControl & hp2D::BuildDofsBase::ctrl0_ ( uint  idx) [inline, protected, inherited]

Returns vertex tag of vertex with key idx.

Definition at line 91 of file buildDofsBase.hh.

concepts::AdaptiveControlP< 1 > & hp2D::BuildDofsBase::ctrl1_ ( uint  idx) [inline, protected, inherited]

Returns edge tag of edge with key idx.

Definition at line 96 of file buildDofsBase.hh.

concepts::AdaptiveControlP< 2 > & hp2D::BuildDofsBase::ctrl2_ ( uint  idx) [inline, protected, inherited]

Returns face tag of face with key idx.

Definition at line 101 of file buildDofsBase.hh.

void hp2D::BuildDofsBase::deactivate_ ( const concepts::Edge edg) [inline, protected, inherited]

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

Definition at line 135 of file buildDofsBase.hh.

Here is the call graph for this function:

void hp2D::BuildDofsBase::deactivate_ ( const concepts::Vertex vtx) [inline, protected, inherited]

Deactivates the children of the vertex vtx.

Definition at line 130 of file buildDofsBase.hh.

Here is the call graph for this function:

uint& hp2D::BuildDofsBase::dim_ ( ) [inline, protected, inherited]

Returns a reference to the dimension of the space.

Definition at line 79 of file buildDofsBase.hh.

std::map< uint, concepts::EdgeData >::const_iterator hp2D::BuildDofsBase::edgeListEnd ( ) const [inline, protected, inherited]

Returns the end of the list with edge data.

Definition at line 125 of file buildDofsBase.hh.

std::map< uint, concepts::EdgeData >::const_iterator hp2D::BuildDofsBase::edgeListFind ( uint  idx) const [inline, protected, inherited]

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

Definition at line 119 of file buildDofsBase.hh.

virtual void hp2D::BuildEdgeDofsError::operator() ( concepts::Quad cntr,
concepts::TColumn< Real > *&  T1 
) [virtual]
virtual void hp2D::BuildEdgeDofs::operator() ( concepts::Quad cntr,
concepts::TColumn< Real > *&  T1,
const uint  nn[2] 
) [virtual, inherited]

Builds the degrees of freedom.

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

Implements hp2D::BuildDofsBase.

Space* hp2D::BuildDofsBase::space ( ) [inline, inherited]

Returns the space.

Definition at line 58 of file buildDofsBase.hh.

std::map< uint, concepts::VertexData >::const_iterator hp2D::BuildDofsBase::vertexListEnd ( ) const [inline, protected, inherited]

Returns the end of the list with vertex data.

Definition at line 113 of file buildDofsBase.hh.

std::map< uint, concepts::VertexData >::const_iterator hp2D::BuildDofsBase::vertexListFind ( uint  idx) const [inline, protected, inherited]

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

Definition at line 107 of file buildDofsBase.hh.


Member Data Documentation

Remove degrees of freedom below p - p_ (where p is the polynomial degree of the element.

Definition at line 33 of file buildEdgeDofsError.hh.

Space* hp2D::BuildDofsBase::spc_ [protected, inherited]

Space to build the vertex degrees of freedom from.

Definition at line 88 of file buildDofsBase.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)