LifeV
Marker.hpp File Reference

Basic definition of markers. More...

#include <iostream>
#include <lifev/core/LifeV.hpp>
+ Include dependency graph for Marker.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  MarkerIDStandardPolicy
 MarkerIDStandardPolicy - Class that defines the standard policies on Marker Ids. More...
 
class  Marker< MarkerIDPolicy >
 Marker - Base marker class. More...
 

Namespaces

 LifeV
 Default Physical Solver.
 

Typedefs

typedef ID markerID_Type
 markerID_Type is the type used to store the geometric entity marker IDs More...
 

Detailed Description

Basic definition of markers.

Contributor:
Luca Bertagna lbert.nosp@m.ag@e.nosp@m.mory..nosp@m.edu
Date
00-00-0000

Here we define the basic markers. Markers have two purposes:

  • To add an indicator (markerID_Type) to all geometry entities. In the base MarkerTrait this indicator is a long integer (aliased to EntityFLAG). The main purpose of the marker ID is to associate boundary conditions or material properties to the Geometry entity.

  • There is a mechanism, via the MarkerCommon class template, to extend the mesh entities definitions by adding user defined data and methods. It this case the user should create its own marker class (maybe by inheriting from the Marker class, which provides the same interfaces of Marker + the user defined stuff.

The marker ID in the base class+some utilities to select between two marker IDs is provided by traits. In particular,

  • The MarkerIDStandardPolicy define the basic (compulsory) interface of any user defined Marker class.

  • The Marker is a class template whose template argument is a MarkerTrait, defaulted to MarkerIDStandardPolicy.

  • A user may change some basic behavior of the Marker class by providing a special Traits.

Definition in file Marker.hpp.