Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
bitpit::FlatMapping Class Referenceabstract

The FlatMapping class allows to generate a mapping between an id-base numeration to a continuous-index numeration. More...

Inheritance diagram for bitpit::FlatMapping:
Inheritance graph
[legend]
Collaboration diagram for bitpit::FlatMapping:
Collaboration graph
[legend]

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
 
PatchKernelm_patch
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FlatMapping() [1/2]

bitpit::FlatMapping::FlatMapping ( )

Default constructor.

Definition at line 240 of file adaption.cpp.

◆ FlatMapping() [2/2]

bitpit::FlatMapping::FlatMapping ( PatchKernel * patch)

Creates a new flat mapping.

Parameters
patchis the patch from witch the flat numbering will be built

Definition at line 250 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 270 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 260 of file adaption.cpp.

◆ update()

virtual void bitpit::FlatMapping::update ( const std::vector< adaption::Info > & adaptionData)
pure virtual

Implemented in bitpit::CellFlatMapping.

Member Data Documentation

◆ m_mapping

std::vector<long> bitpit::FlatMapping::m_mapping
protected

Definition at line 129 of file adaption.hpp.

◆ m_numbering

std::vector<long> bitpit::FlatMapping::m_numbering
protected

Definition at line 128 of file adaption.hpp.

◆ m_patch

PatchKernel* bitpit::FlatMapping::m_patch
protected

Definition at line 127 of file adaption.hpp.


The documentation for this class was generated from the following files:
--- layout: doxygen_footer ---