28#ifndef FD_ACCESS_FUNCTIONS_H
29#define FD_ACCESS_FUNCTIONS_H
49template<
typename T,
typename FIELD,
typename CELL>
52 return &cell.template getFieldPointer<FIELD>()[iT % 2];
55template<
typename T,
typename FIELD,
typename CELL>
58 return &cell.template getFieldPointer<FIELD>()[(iT+1) % 2];
62template <
unsigned EXTENT>
65 return iExt*EXTENT + iD;
T * accessNew(CELL cell, std::size_t iT) any_platform
T * accessOld(CELL cell, std::size_t iT) any_platform
constexpr unsigned getArrayPos(const unsigned iExt, const unsigned iD) any_platform
Top level namespace for all of OpenLB.