P12DElementBoundaryTraces: group of traces of P12DElements. More...
#include <P12DElement.h>
Public Member Functions | |
P12DElementBoundaryTraces (const P12DElement< NF > &BaseElement, const std::vector< typename P1nDTrace< NF >::FaceLabel > &flabels, const typename P1nDTrace< NF >::ShapeType &shType) | |
virtual | ~P12DElementBoundaryTraces () |
P12DElementBoundaryTraces (const P12DElementBoundaryTraces< NF > &OldElem) | |
P12DElementBoundaryTraces< NF > * | clone () const |
size_t | dofMap (size_t FaceIndex, size_t field, size_t dof) const |
map between the degrees of freedom of field in a trace and those in the original element |
P12DElementBoundaryTraces: group of traces of P12DElements.
It contains P12DTrace Elements. It is possible to specify which faces to build traces for.
getTrace(i) returns the i-th face for which traces were built. The order of these faces is always increasing in face number. Example: if only faces one and three have traces, then getTrace(0) returns face one's trace, and getTrace(1) face three's trace.
It does not make a copy or keep a reference of the BaseElement.
P12DElementBoundaryTraces< NF >::P12DElementBoundaryTraces | ( | const P12DElement< NF > & | BaseElement, | |
const std::vector< typename P1nDTrace< NF >::FaceLabel > & | flabels, | |||
const typename P1nDTrace< NF >::ShapeType & | shType | |||
) | [inline] |
BaseElement | Element for which traces are to be build | |
flabels | a vector of face labels (size is 3 for triangles) | |
shType | type of trace element to use. See P12DTrace<NF> |
virtual P12DElementBoundaryTraces< NF >::~P12DElementBoundaryTraces | ( | ) | [inline, virtual] |
P12DElementBoundaryTraces< NF >::P12DElementBoundaryTraces | ( | const P12DElementBoundaryTraces< NF > & | OldElem | ) | [inline] |
P12DElementBoundaryTraces<NF>* P12DElementBoundaryTraces< NF >::clone | ( | ) | const [inline, virtual] |
Implements ElementBoundaryTraces_.
size_t P12DElementBoundaryTraces< NF >::dofMap | ( | size_t | FaceIndex, | |
size_t | field, | |||
size_t | dof | |||
) | const [inline, virtual] |
map between the degrees of freedom of field in a trace and those in the original element
FaceIndex | starting from 0 | |
field | field number to map, starting from 0 | |
dof | degree of freedom number on the trace of field "field" |
The function returns the degree of freedom number in the original element
Implements ElementBoundaryTraces.