LifeV
MarkerIDStandardPolicy Class Reference

MarkerIDStandardPolicy - Class that defines the standard policies on Marker Ids. More...

#include <Marker.hpp>

+ Collaboration diagram for MarkerIDStandardPolicy:

Static Public Member Functions

static markerID_Type strongerMarkerID (markerID_Type const &a, markerID_Type const &b)
 Selects the stronger Marker ID. More...
 
static markerID_Type weakerMarkerID (markerID_Type const &a, markerID_Type const &b)
 Selects the weaker Marker ID between marker IDs. More...
 
static bool equalMarkerID (const markerID_Type &a, const markerID_Type &b)
 Equality operator. More...
 

Static Public Attributes

static const markerID_Type S_NULLMARKERID
 

Detailed Description

MarkerIDStandardPolicy - Class that defines the standard policies on Marker Ids.

This class defines NULLFLAG and how to handle ambiguities among markerIDs In particular what to do if a geometric item has to inherit its Marker ID by adjacent items and the marker Ids are different. The policy is passed as template argument to the Marker class.

Definition at line 89 of file Marker.hpp.

Member Function Documentation

◆ strongerMarkerID()

markerID_Type strongerMarkerID ( markerID_Type const &  a,
markerID_Type const &  b 
)
static

Selects the stronger Marker ID.

A dimensional geometric entity G_i may inherit the stronger Marker ID among adiacent geometric entities of greater dimensions. For example a boundary point Point with an unset Flag may inherit the strongerst Flag of the adjacent boundary faces. It returns a Null Marker ID if any of the entity a or b ha a null Marker ID

Definition at line 56 of file Marker.cpp.

◆ weakerMarkerID()

markerID_Type weakerMarkerID ( markerID_Type const &  a,
markerID_Type const &  b 
)
static

Selects the weaker Marker ID between marker IDs.

Definition at line 69 of file Marker.cpp.

◆ equalMarkerID()

bool equalMarkerID ( const markerID_Type a,
const markerID_Type b 
)
static

Equality operator.

Definition at line 82 of file Marker.cpp.

Field Documentation

◆ S_NULLMARKERID

const markerID_Type S_NULLMARKERID
static
Initial value:
=
std::numeric_limits<Int>::max()

It is the value indicating a null marker ID, i.e am ID not yet set to any usable value

Definition at line 96 of file Marker.hpp.


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