#include <traces.hh>
Public Types | |
enum | traceTypes { FIRST , MEAN , JUMP } |
typedef concepts::Scan< hp1D::BaseElement< Real > > | Scan |
typedef concepts::ElementAndFacette< hp2D::Element< Real > > | UnderlyingElement |
typedef ElementWithCell< Real > | type |
typedef Scan< ElementWithCell< Real > > | Scanner |
Public Member Functions | |
TraceSpace (const concepts::SpaceOnCells< Real > &spc, const concepts::Set< uint > edgeAttr, enum traceTypes type=FIRST, const concepts::EdgeNormalVectorRule &normalVectorRule=concepts::EdgeNormalVectorRule()) | |
TraceSpace (concepts::SpaceOnCells< Real > &spc, const concepts::CellConditions *cc=0, enum traceTypes type=FIRST, const concepts::EdgeNormalVectorRule normalVectorRule=concepts::EdgeNormalVectorRule()) | |
TraceSpace (const concepts::SpaceOnCells< Real > &spc, const concepts::CellConditions *cc=0, enum traceTypes type=FIRST, const concepts::EdgeNormalVectorRule normalVectorRule=concepts::EdgeNormalVectorRule()) | |
virtual uint | dim () const |
Returns the dimension of the space. | |
virtual uint | nelm () const |
Returns the number of elements in the space. | |
virtual Scan * | scan () const |
Returns a scanner to iterate over the elements of the space. | |
const concepts::Sequence< UnderlyingElement > | uelm (const concepts::Edge edge) const |
Returns the underlying 2D elements. | |
const concepts::HashMap< concepts::Sequence< UnderlyingElement > > | uelm () const |
virtual void | recomputeShapefunctions () |
virtual uint | getOutputDimension () const |
Returns the default output dimension, when we consider plotting a real-valued operator on this space. | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Builds the trace space of an FE space.
The elements are from type hp2D::Edge.
One can restrict the trace operation by cell conditions.
If the FE space is rebuild, one has to construct the trace space again.
Additonally a map from the topological edge to the set of the underlying elements is stored.
typedef concepts::Scan<hp1D::BaseElement<Real> > hp2Dedge::TraceSpace::Scan |
|
inherited |
|
inherited |
hp2Dedge::TraceSpace::TraceSpace | ( | const concepts::SpaceOnCells< Real > & | spc, |
const concepts::Set< uint > | edgeAttr, | ||
enum traceTypes | type = FIRST , |
||
const concepts::EdgeNormalVectorRule & | normalVectorRule = concepts::EdgeNormalVectorRule() |
||
) |
Constructor
spc | underlying space |
edgeAttr | set of edge attributes |
hp2Dedge::TraceSpace::TraceSpace | ( | concepts::SpaceOnCells< Real > & | spc, |
const concepts::CellConditions * | cc = 0 , |
||
enum traceTypes | type = FIRST , |
||
const concepts::EdgeNormalVectorRule | normalVectorRule = concepts::EdgeNormalVectorRule() |
||
) |
Constructor
spc | underlying space |
cc | build trace space w.r.t. cell conditions |
If no cell conditions are given, the trace to all edges in the mesh is taken.
|
inlinevirtual |
Returns the dimension of the space.
Implements concepts::SpaceOnCells< Real >.
|
inlinevirtualinherited |
Returns the default output dimension, when we consider plotting a real-valued operator on this space.
Reimplemented in hp2D::hpAdaptiveSpaceHCurl, and hp2Dedge::Space.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::SpaceOnCells< Real >.
|
inlinevirtual |
Returns the number of elements in the space.
Implements concepts::SpaceOnCells< Real >.
|
virtual |
Recompute shape functions, e.g. for other abscissas redefined through setIntegrationRule
|
inlinevirtual |
Returns a scanner to iterate over the elements of the space.
Implements concepts::SpaceOnCells< Real >.
|
inline |
|
inline |