API Documentation
Loading...
Searching...
No Matches
GridIndexing< t_dims > Class Template Reference

#include <GriddedMesh.h>

Inheritance diagram for GridIndexing< t_dims >:
[legend]
Collaboration diagram for GridIndexing< t_dims >:
[legend]

Public Member Functions

uint04 convertToIndex (const Vector< t_dims, uint04 > &location) const
 
Vector< t_dims, uint04convertFromIndex (const uint04 &location) const
 
void setSize (Vector< t_dims, uint04 > index_size)
 

Static Public Member Functions

static constexpr uint01 getNumberOfCorners ()
 

Protected Attributes

Vector< t_dims, uint04m_size
 

Member Function Documentation

◆ convertFromIndex()

template<uint01 t_dims>
Vector< t_dims, uint04 > convertFromIndex ( const uint04 & location) const
inline

◆ convertToIndex()

template<uint01 t_dims>
uint04 convertToIndex ( const Vector< t_dims, uint04 > & location) const
inline

◆ getNumberOfCorners()

template<uint01 t_dims>
static constexpr uint01 getNumberOfCorners ( )
inlinestaticconstexpr

◆ setSize()

template<uint01 t_dims>
void setSize ( Vector< t_dims, uint04 > index_size)
inline

Member Data Documentation

◆ m_size

template<uint01 t_dims>
Vector<t_dims, uint04> m_size
protected

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