Class documentation of Concepts

Loading...
Searching...
No Matches

#include <traces.hh>

Inheritance diagram for hp2Dedge::TraceSpace:
concepts::SpaceOnCells< Real > concepts::Space< F > concepts::OutputOperator

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 Scanscan () const
 Returns a scanner to iterate over the elements of the space.
 
const concepts::Sequence< UnderlyingElementuelm (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.
 

Detailed Description

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.

Author
Kersten Schmidt, 2007

Definition at line 52 of file traces.hh.

Member Typedef Documentation

◆ Scan

Definition at line 54 of file traces.hh.

◆ Scanner

typedef Scan<ElementWithCell<Real > > concepts::SpaceOnCells< Real >::Scanner
inherited

Definition at line 84 of file space.hh.

◆ type

typedef ElementWithCell<Real > concepts::SpaceOnCells< Real >::type
inherited

Definition at line 83 of file space.hh.

◆ UnderlyingElement

Member Enumeration Documentation

◆ traceTypes

enum hp2Dedge::TraceSpace::traceTypes

Definition at line 57 of file traces.hh.

Constructor & Destructor Documentation

◆ TraceSpace() [1/2]

hp2Dedge::TraceSpace::TraceSpace ( const concepts::SpaceOnCells< Real > &  spc,
const concepts::Set< uint >  edgeAttr,
enum traceTypes  type = FIRST,
const concepts::EdgeNormalVectorRule normalVectorRule = concepts::EdgeNormalVectorRule() 
)

Constructor

Parameters
spcunderlying space
edgeAttrset of edge attributes

◆ TraceSpace() [2/2]

hp2Dedge::TraceSpace::TraceSpace ( concepts::SpaceOnCells< Real > &  spc,
const concepts::CellConditions cc = 0,
enum traceTypes  type = FIRST,
const concepts::EdgeNormalVectorRule  normalVectorRule = concepts::EdgeNormalVectorRule() 
)

Constructor

Parameters
spcunderlying space
ccbuild trace space w.r.t. cell conditions

If no cell conditions are given, the trace to all edges in the mesh is taken.

Member Function Documentation

◆ dim()

virtual uint hp2Dedge::TraceSpace::dim ( ) const
inlinevirtual

Returns the dimension of the space.

Implements concepts::SpaceOnCells< Real >.

Definition at line 91 of file traces.hh.

◆ getOutputDimension()

template<class F >
virtual uint concepts::Space< F >::getOutputDimension ( ) const
inlinevirtualinherited

Returns the default output dimension, when we consider plotting a real-valued operator on this space.

Reimplemented in hp2D::hpAdaptiveSpaceHCurl, and hp2Dedge::Space.

Definition at line 50 of file space.hh.

◆ info()

virtual std::ostream & hp2Dedge::TraceSpace::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::SpaceOnCells< Real >.

◆ nelm()

virtual uint hp2Dedge::TraceSpace::nelm ( ) const
inlinevirtual

Returns the number of elements in the space.

Implements concepts::SpaceOnCells< Real >.

Definition at line 94 of file traces.hh.

◆ recomputeShapefunctions()

virtual void hp2Dedge::TraceSpace::recomputeShapefunctions ( )
virtual

Recompute shape functions, e.g. for other abscissas redefined through setIntegrationRule

◆ scan()

virtual Scan * hp2Dedge::TraceSpace::scan ( ) const
inlinevirtual

Returns a scanner to iterate over the elements of the space.

Implements concepts::SpaceOnCells< Real >.

Definition at line 97 of file traces.hh.

◆ uelm() [1/2]

const concepts::HashMap< concepts::Sequence< UnderlyingElement > > hp2Dedge::TraceSpace::uelm ( ) const
inline

Returns the mapping from the key of (topological) edge to the underlying 2D elements.

Definition at line 117 of file traces.hh.

◆ uelm() [2/2]

const concepts::Sequence< UnderlyingElement > hp2Dedge::TraceSpace::uelm ( const concepts::Edge  edge) const
inline

Returns the underlying 2D elements.

Definition at line 104 of file traces.hh.


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