LifeV
LifeV::Utilities Namespace Reference

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...