#include <CartesianIndexMapper.hpp>

Public Member Functions

 CartesianIndexMapper (const Grid &grid)
 
const std::array< int, dimension > & cartesianDimensions () const
 
int cartesianSize () const
 
int compressedSize () const
 
int compressedLevelZeroSize () const
 
int cartesianIndex (const int compressedElementIndex) const
 
void cartesianCoordinate (const int compressedElementIndex, std::array< int, dimension > &coords) const
 
void cartesianCoordinateLevel (const int compressedElementIndexOnLevel, std::array< int, dimension > &coordsOnLevel, int level) const
 

Static Public Attributes

static const int dimension = 3
 

Protected Types

typedef CpGrid Grid
 

Protected Member Functions

int computeCartesianSize () const
 

Protected Attributes

const Gridgrid_
 
const int cartesianSize_
 

Member Typedef Documentation

◆ Grid

typedef CpGrid Dune::CartesianIndexMapper< CpGrid >::Grid
protected

Constructor & Destructor Documentation

◆ CartesianIndexMapper()

Dune::CartesianIndexMapper< CpGrid >::CartesianIndexMapper ( const Grid grid)
inlineexplicit

Member Function Documentation

◆ cartesianCoordinate()

void Dune::CartesianIndexMapper< CpGrid >::cartesianCoordinate ( const int  compressedElementIndex,
std::array< int, dimension > &  coords 
) const
inline

◆ cartesianCoordinateLevel()

void Dune::CartesianIndexMapper< CpGrid >::cartesianCoordinateLevel ( const int  compressedElementIndexOnLevel,
std::array< int, dimension > &  coordsOnLevel,
int  level 
) const
inline

◆ cartesianDimensions()

const std::array< int, dimension > & Dune::CartesianIndexMapper< CpGrid >::cartesianDimensions ( ) const
inline

◆ cartesianIndex()

int Dune::CartesianIndexMapper< CpGrid >::cartesianIndex ( const int  compressedElementIndex) const
inline

◆ cartesianSize()

int Dune::CartesianIndexMapper< CpGrid >::cartesianSize ( ) const
inline

◆ compressedLevelZeroSize()

int Dune::CartesianIndexMapper< CpGrid >::compressedLevelZeroSize ( ) const
inline

◆ compressedSize()

int Dune::CartesianIndexMapper< CpGrid >::compressedSize ( ) const
inline

◆ computeCartesianSize()

Member Data Documentation

◆ cartesianSize_

const int Dune::CartesianIndexMapper< CpGrid >::cartesianSize_
protected

◆ dimension

const int Dune::CartesianIndexMapper< CpGrid >::dimension = 3
static

◆ grid_

const Grid& Dune::CartesianIndexMapper< CpGrid >::grid_
protected

The documentation for this class was generated from the following file: