Defines a set of modifications of a mesh during refinement. More...
#include <ptems/mesh.hpp>
Public Member Functions | |
ModificationStep () | |
Create empty structure. More... | |
Public Attributes | |
std::size_t | ElementCount |
The new element count. More... | |
std::unordered_map< std::size_t, std::size_t > | Unmodified |
Mapping of original element index to new element index for any unmodified elements. More... | |
std::unordered_map< std::size_t, std::unordered_set< std::size_t > > | Refined |
Mapping of original element index to set of new element indices for any element which was refined into two or more elements. More... | |
std::unordered_map< std::size_t, std::size_t > | Coarsened |
Mapping of original element index to new element index for any coarsened element. More... | |
std::unordered_map< std::size_t, std::unordered_set< std::size_t > > | Merged |
Mapping of NEW element indices to the old element indices for elements which were merged due to coarsening (essentially the opposite mapping to Coarsened). More... | |
Defines a set of modifications of a mesh during refinement.
|
inline |
Create empty structure.
std::unordered_map<std::size_t, std::size_t> ptems::FEMesh< DIM >::ModificationStep::Coarsened |
Mapping of original element index to new element index for any coarsened element.
std::size_t ptems::FEMesh< DIM >::ModificationStep::ElementCount |
The new element count.
std::unordered_map<std::size_t, std::unordered_set<std::size_t> > ptems::FEMesh< DIM >::ModificationStep::Merged |
Mapping of NEW element indices to the old element indices for elements which were merged due to coarsening (essentially the opposite mapping to Coarsened).
std::unordered_map<std::size_t, std::unordered_set<std::size_t> > ptems::FEMesh< DIM >::ModificationStep::Refined |
Mapping of original element index to set of new element indices for any element which was refined into two or more elements.
std::unordered_map<std::size_t, std::size_t> ptems::FEMesh< DIM >::ModificationStep::Unmodified |
Mapping of original element index to new element index for any unmodified elements.