ls1-MarDyn
ls1-MarDyn molecular dynamics code
Public Types | Public Member Functions | List of all members
CellBorderAndFlagManager Class Reference

Public Types

enum class  IsCell_t { HALO = 0 , BOUNDARY = 1 , INNER = 2 , INNERMOST = 3 }
 
typedef unsigned long GlobalLinearizedIndex_t
 
typedef unsigned long Global1DIndex_t
 
typedef std::array< Global1DIndex_t, 3 > Global3DIndex_t
 

Public Member Functions

void init (int cellsPerDim[3], double haloBoxMin[3], double haloBoxMax[3], double boxMin[3], double boxMax[3], double cellLength[3], int haloWidthInNumCells[3])
 
bool isHaloCell (GlobalLinearizedIndex_t cellIndex) const
 
bool isBoundaryCell (GlobalLinearizedIndex_t cellIndex) const
 
bool isInnerCell (GlobalLinearizedIndex_t cellIndex) const
 
bool isInnerMostCell (GlobalLinearizedIndex_t cellIndex) const
 
double getBoundingBoxMin (GlobalLinearizedIndex_t cellIndex, int dimension) const
 
double getBoundingBoxMax (GlobalLinearizedIndex_t cellIndex, int dimension) const
 

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