P12DElementBoundaryTraces< NF > Class Template Reference

P12DElementBoundaryTraces: group of traces of P12DElements. More...

#include <P12DElement.h>

Inheritance diagram for P12DElementBoundaryTraces< NF >:
P1nDBoundaryTraces< NF > ElementBoundaryTraces_ ElementBoundaryTraces

List of all members.

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

Detailed Description

template<size_t NF>
class P12DElementBoundaryTraces< NF >

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.


Constructor & Destructor Documentation

template<size_t NF>
P12DElementBoundaryTraces< NF >::P12DElementBoundaryTraces ( const P12DElement< NF > &  BaseElement,
const std::vector< typename P1nDTrace< NF >::FaceLabel > &  flabels,
const typename P1nDTrace< NF >::ShapeType shType 
) [inline]
Parameters:
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>
template<size_t NF>
virtual P12DElementBoundaryTraces< NF >::~P12DElementBoundaryTraces (  )  [inline, virtual]
template<size_t NF>
P12DElementBoundaryTraces< NF >::P12DElementBoundaryTraces ( const P12DElementBoundaryTraces< NF > &  OldElem  )  [inline]

Member Function Documentation

template<size_t NF>
P12DElementBoundaryTraces<NF>* P12DElementBoundaryTraces< NF >::clone (  )  const [inline, virtual]
template<size_t NF>
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

Parameters:
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.


The documentation for this class was generated from the following file:
Generated on Tue Aug 2 11:51:28 2011 for Galois by  doxygen 1.6.3