concepts::FacetteTraceTypes< NormalVectorRule > Class Template Reference

Facette Tracetypes. More...

#include <facetteTraceTypes.hh>

Inheritance diagram for concepts::FacetteTraceTypes< NormalVectorRule >:
concepts::Semantics< FacetteTraceType< NormalVectorRule > > concepts::OutputOperator

Public Member Functions

void add (const Attribute &attrib, const FacetteTraceType< NormalVectorRule > &fttObject)
 Adds an edge-traceType with this attribute to the list of facette Tracetypes. More...
 
void add (const Set< Attribute > &attrib, const FacetteTraceType< NormalVectorRule > &fttObject)
 
Set< uint > domain () const
 Method returning the domain of the Map. More...
 
 FacetteTraceTypes ()
 Default constructor. More...
 
virtual FacetteTraceType< NormalVectorRule > operator() (Attribute attrib) const
 Application operator. More...
 
virtual ~FacetteTraceTypes ()
 Destructor. More...
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 

Private Attributes

std::map< uint, FacetteTraceType< NormalVectorRule > > facetteTraceTypes_
 Map from Attribute to a EdgeTraceType. More...
 

Detailed Description

template<class NormalVectorRule>
class concepts::FacetteTraceTypes< NormalVectorRule >

Facette Tracetypes.

The tracetypes itself are held in a dynamic array. The application operator returns a boundary condition object based on its attribute.

Adding FacetteTraceTypes is done using the add method.

For the default attribute 0 of a free element of the topology a default condition is used:

Author
Robert Gruhlke, 2013

Definition at line 102 of file facetteTraceTypes.hh.

Constructor & Destructor Documentation

◆ FacetteTraceTypes()

template<class NormalVectorRule >
concepts::FacetteTraceTypes< NormalVectorRule >::FacetteTraceTypes ( )
inline

Default constructor.

Sets up the dynamic array.

Definition at line 107 of file facetteTraceTypes.hh.

◆ ~FacetteTraceTypes()

template<class NormalVectorRule >
virtual concepts::FacetteTraceTypes< NormalVectorRule >::~FacetteTraceTypes ( )
inlinevirtual

Destructor.

Definition at line 112 of file facetteTraceTypes.hh.

Member Function Documentation

◆ add() [1/2]

template<class NormalVectorRule >
void concepts::FacetteTraceTypes< NormalVectorRule >::add ( const Attribute attrib,
const FacetteTraceType< NormalVectorRule > &  fttObject 
)
inline

Adds an edge-traceType with this attribute to the list of facette Tracetypes.

Be carefull: edge-traceType objects with the same attribute overwrite each other, the latest is valid.

Parameters
attribAttribute of a topological object (ie. edge, quad etc.)
bcObjectBoundary condition object associated to attrib

Definition at line 140 of file facetteTraceTypes.hh.

◆ add() [2/2]

template<class NormalVectorRule >
void concepts::FacetteTraceTypes< NormalVectorRule >::add ( const Set< Attribute > &  attrib,
const FacetteTraceType< NormalVectorRule > &  fttObject 
)
inline

Definition at line 144 of file facetteTraceTypes.hh.

◆ domain()

template<class NormalVectorRule >
Set<uint> concepts::FacetteTraceTypes< NormalVectorRule >::domain ( ) const
inline

Method returning the domain of the Map.

Definition at line 154 of file facetteTraceTypes.hh.

◆ info()

template<class NormalVectorRule >
virtual std::ostream& concepts::FacetteTraceTypes< NormalVectorRule >::info ( std::ostream &  os) const
inlineprotectedvirtual

Returns information in an output stream.

Reimplemented from concepts::Semantics< FacetteTraceType< NormalVectorRule > >.

Definition at line 164 of file facetteTraceTypes.hh.

◆ operator()()

template<class NormalVectorRule >
virtual FacetteTraceType<NormalVectorRule> concepts::FacetteTraceTypes< NormalVectorRule >::operator() ( Attribute  attrib) const
inlinevirtual

Application operator.

Parameters
attribAttribute of a topolgical object
Returns
A reference to the facette-tracetype object associated to the given attribute.

Implements concepts::Semantics< FacetteTraceType< NormalVectorRule > >.

Definition at line 123 of file facetteTraceTypes.hh.

Member Data Documentation

◆ facetteTraceTypes_

template<class NormalVectorRule >
std::map<uint, FacetteTraceType<NormalVectorRule> > concepts::FacetteTraceTypes< NormalVectorRule >::facetteTraceTypes_
mutableprivate

Map from Attribute to a EdgeTraceType.

The index is the number given by the attribute of the topological element.

Definition at line 176 of file facetteTraceTypes.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich