LifeV
|
Data Structures | |
struct | IdGetter< Selector > |
Generic definition of the functor to extract the local or global ID. More... | |
Functions | |
template<int Selector> | |
ID | getID (MeshEntity const &) |
template<int Selector> | |
void | setID (MeshEntity &, const ID) |
Generic definition of setter. More... | |
template<> | |
ID | getID< MeshEntity::GLOBALID > (MeshEntity const &entity) |
Specialization for global id. More... | |
template<> | |
ID | getID< MeshEntity::LOCALID > (MeshEntity const &entity) |
Specialization for local id. More... | |
template<> | |
void | setID< MeshEntity::GLOBALID > (MeshEntity &entity, const ID id) |
Specialization for global id. More... | |
template<> | |
void | setID< MeshEntity::LOCALID > (MeshEntity &entity, const ID id) |
Specialization for local id. More... | |
Utilities to get local or global ID according to a switch The template parameter is in fact a MeshEntity::SwitchId enumerator which takes values MeshEntity::LOCALID or MeshEntity::GLOBALID. Getters are also implemented as functors for efficiency reason (allow inlining)
|
inline |
|
inline |
Generic definition of setter.
|
inline |
Specialization for global id.
Definition at line 305 of file MeshEntity.hpp.
|
inline |
Specialization for local id.
Definition at line 312 of file MeshEntity.hpp.
|
inline |
Specialization for global id.
Definition at line 319 of file MeshEntity.hpp.
|
inline |
Specialization for local id.
Definition at line 326 of file MeshEntity.hpp.