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 |
Detailed Description
The FlatMapping class allows to generate a mapping between an id-base numeration to a continuous-index numeration.
Definition at line 134 of file adaption.hpp.
Constructor & Destructor Documentation
◆ FlatMapping() [1/2]
bitpit::FlatMapping::FlatMapping | ( | ) |
Default constructor.
Definition at line 496 of file adaption.cpp.
◆ FlatMapping() [2/2]
bitpit::FlatMapping::FlatMapping | ( | PatchKernel * | patch | ) |
Creates a new flat mapping.
- Parameters
-
patch is the patch from witch the flat numbering will be built
Definition at line 506 of file adaption.cpp.
Member Function Documentation
◆ getMapping()
const std::vector< long > & bitpit::FlatMapping::getMapping | ( | ) | const |
Gets the mapping associated to the flat mapping.
- Returns
- The mapping associated to the flat mapping.
Definition at line 526 of file adaption.cpp.
◆ getNumbering()
const std::vector< long > & bitpit::FlatMapping::getNumbering | ( | ) | const |
Gets the numbering associated to the flat mapping.
- Returns
- The numbering associated to the flat mapping.
Definition at line 516 of file adaption.cpp.
◆ update()
|
pure virtual |
Implemented in bitpit::CellFlatMapping.
Member Data Documentation
◆ m_mapping
|
protected |
Definition at line 151 of file adaption.hpp.
◆ m_numbering
|
protected |
Definition at line 150 of file adaption.hpp.
◆ m_patch
|
protected |
Definition at line 149 of file adaption.hpp.
The documentation for this class was generated from the following files:
- src/patchkernel/adaption.hpp
- src/patchkernel/adaption.cpp
