concepts::FacetteTraceTypes< NormalVectorRule > Class Template Reference
Facette Tracetypes. More...
#include <facetteTraceTypes.hh>
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:
Definition at line 102 of file facetteTraceTypes.hh.
Constructor & Destructor Documentation
◆ FacetteTraceTypes()
|
inline |
Default constructor.
Sets up the dynamic array.
Definition at line 107 of file facetteTraceTypes.hh.
◆ ~FacetteTraceTypes()
|
inlinevirtual |
Destructor.
Definition at line 112 of file facetteTraceTypes.hh.
Member Function Documentation
◆ add() [1/2]
|
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
-
attrib Attribute of a topological object (ie. edge, quad etc.) bcObject Boundary condition object associated to attrib
Definition at line 140 of file facetteTraceTypes.hh.
◆ add() [2/2]
|
inline |
Definition at line 144 of file facetteTraceTypes.hh.
◆ domain()
|
inline |
Method returning the domain of the Map.
Definition at line 154 of file facetteTraceTypes.hh.
◆ info()
|
inlineprotectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::Semantics< FacetteTraceType< NormalVectorRule > >.
Definition at line 164 of file facetteTraceTypes.hh.
◆ operator()()
|
inlinevirtual |
Application operator.
- Parameters
-
attrib Attribute 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_
|
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:
- geometry/facetteTraceTypes.hh