The FlatMapping class allows to generate a mapping between an id-base numeration to a continuous-index numeration. More...
Public Member Functions | |
FlatMapping () | |
FlatMapping (PatchKernel *patch) | |
const std::vector< long > & | getMapping () const |
const std::vector< long > & | getNumbering () const |
virtual void | update (const std::vector< adaption::Info > &adaptionData)=0 |
Protected Attributes | |
std::vector< long > | m_mapping |
std::vector< long > | m_numbering |
PatchKernel * | m_patch |
The FlatMapping class allows to generate a mapping between an id-base numeration to a continuous-index numeration.
Definition at line 112 of file adaption.hpp.
bitpit::FlatMapping::FlatMapping | ( | ) |
Default constructor.
Definition at line 240 of file adaption.cpp.
bitpit::FlatMapping::FlatMapping | ( | PatchKernel * | patch | ) |
Creates a new flat mapping.
patch | is the patch from witch the flat numbering will be built |
Definition at line 250 of file adaption.cpp.
const std::vector< long > & bitpit::FlatMapping::getMapping | ( | ) | const |
Gets the mapping associated to the flat mapping.
Definition at line 270 of file adaption.cpp.
const std::vector< long > & bitpit::FlatMapping::getNumbering | ( | ) | const |
Gets the numbering associated to the flat mapping.
Definition at line 260 of file adaption.cpp.
|
pure virtual |
Implemented in bitpit::CellFlatMapping.
|
protected |
Definition at line 129 of file adaption.hpp.
|
protected |
Definition at line 128 of file adaption.hpp.
|
protected |
Definition at line 127 of file adaption.hpp.