LifeV
MeshEntityContainer.hpp File Reference

The file contains two classes implementing a wrap up of Standard Library vector class to allow indexing from one. More...

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

Go to the source code of this file.

Data Structures

class  CompareAccordingToLocalId< MeshEntity, Policy >
 Compare according to local ID. More...
 
class  CompareAccordingToMarker< MeshEntity, Policy >
 Compare according to Marker ID. More...
 
class  EntityFlagInterrogator< MeshEntity, ComparisonPolicy >
 A simple predicate to test the boolean flag on a mesh entity. More...
 
class  EntityMarkerIDInterrogator< MeshEntity, ComparisonPolicy >
 A simple predicate to test the marker ID flag. More...
 
class  MeshEntityContainer< DataType, Allocator >
 

Namespaces

 LifeV
 Default Physical Solver.
 
 LifeV::Comparers
 
 LifeV::Predicates
 
 LifeV::Utilities
 

Functions

template<typename EntityContainer >
void reorderAccordingToIdPermutation (EntityContainer &container, std::vector< ID > const &newToOld)
 Reorder according to a permutation vector. More...
 
template<typename EntityContainer , typename RefEntityContainer >
void fixAfterPermutation (EntityContainer &container, RefEntityContainer const &refcontainer, std::vector< ID > const &newToOld)
 Fix pointers after permutation If a mesh entity contains pointers to other mesh entities (typically Points), after the renumbering of the referenced mesh entity (for instance using reorderAccordingToPermutation on Points) the address stored in the pointers will be wrong since it refers to the old numbering! This routine fixes it. More...
 
template<typename EntityContainer , typename PointContainer >
void fixAfterShallowCopy (EntityContainer &container, PointContainer const &newPointContainer)
 ! Fix pointers after shallow copy More...
 

Detailed Description

The file contains two classes implementing a wrap up of Standard Library vector class to allow indexing from one.

Date
30-08-1999
Author
Luca Formaggia luca..nosp@m.form.nosp@m.aggia.nosp@m.@pol.nosp@m.imi.i.nosp@m.t
Contributor:
Laura Cattaneo Laura Cattaneo

Definition in file MeshEntityContainer.hpp.