17template <MInt nDim,
class SysEqn>
19template <MInt nDim,
class SysEqn>
21template <MInt nDim,
class SysEqn>
23template <MInt nDim,
class SysEqn>
25template <MInt nDim,
class SysEqn>
27template <MInt nDim,
class SysEqn>
32template <MInt nDim,
class SysEqn>
37 m_noSpecies = noSpecies;
39 m_noRansEquations = 0;
43 m_noEdges = (nDim == 2) ? 4 : 24;
44 m_maxNoSurfaces = maxNoSurfaces;
45 m_noNghbrs = 2 * nDim;
46 m_noVariables = nDim + 2 + m_noSpecies + m_noRansEquations;
50template <MInt nDim,
class SysEqn>
59 moveElements(cellPtr);
66template <MInt nDim,
class SysEqn>
75 unaligned_cell_wise::rowMajor2D(m_srfcs, cellPtr, m_maxNoSurfaces, 1);
76 for(
MInt i = 0; i < m_maxNoSurfaces; ++i) {
84 unaligned_cell_wise::rowMajor2D(m_srfcs[i]->m_cutCoordinates, cellPtr, 2 * m_noEdges, nDim);
87 unaligned_cell_wise::rowMajor2D(m_srfcVariables, cellPtr, m_maxNoSurfaces, 1);
88 for(
MInt i = 0; i < m_maxNoSurfaces; ++i) {
98 new(&m_srfcVariables[i]->m_imagePointRecConst) std::vector<MFloat>();
void moveElements(void *)
void allocateElements(void *, void *, const MInt)
static void init(MInt, MInt, MInt, MInt, MInt)
MInt noRansEquations(RansMethod ransMethod)
void rowMajor1D(T *&p, void *&base, const MInt Nrows)
Store 1D variables in row-majow order relative to the start of each cell's memory solver.
Helper functions useful for allocating collector memory.