MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
lblatticedescriptor.h File Reference

Go to the source code of this file.

Classes

struct  LbLatticeDescriptorBase< D >
 LB lattice descriptor for arrays depending on D. More...
 
struct  LbLatticeDescriptor< D, Q >
 LB lattice descriptor for arrays depending on D and Q. More...
 

Namespaces

namespace  lbDescriptor
 

Variables

constexpr MInt lbDescriptor::dirFld2 [3][3] = {{6, 0, 7}, {2, 8, 3}, {5, 1, 4}}
 Convert directions into distribution id. More...
 
constexpr MInt lbDescriptor::dirFld3 [3][3][3]
 
template<MInt D>
constexpr MInt lbDescriptor::idFld [POWX(3, D)][D] = {}
 Basic movements for the distributions , 0=backwards, 1=stop, 2=forwards. More...
 
template<MInt D>
constexpr MInt lbDescriptor::intNghbrArray [POWX(2, D)][POWX(2, D)] = {}
 Directions of the interpolation neighbors [positionChild][positionIntepolationParent]. More...
 
template<MInt D>
constexpr MFloat lbDescriptor::linearInterpolationCoefficients [POWX(2, D)][POWX(2, D)] = {}
 Linear interpolation coefficients. More...
 
template<MInt D>
constexpr MInt lbDescriptor::mFld1 [24] = {}
 Ids for the calculation of the first term of the maxwellian. More...
 
constexpr MInt lbDescriptor::mFld2 [24] = {0, 2, 4, 0, 2, 5, 0, 3, 4, 0, 3, 5, 1, 2, 4, 1, 2, 5, 1, 3, 4, 1, 3, 5}
 Ids for the calculation of the second term of the maxwellian. More...
 
template<MInt D>
constexpr MInt lbDescriptor::nFld [D][POWX(3, D - 1)] = {}
 Distributions with components in negative axis direction [axis][distribution]. More...
 
template<MInt D>
constexpr MInt lbDescriptor::pFld [D][POWX(3, D - 1)] = {}
 Distributions with components in positive axis direction [axis][distribution]. More...
 
template<MInt D>
constexpr MInt lbDescriptor::nodalConnectivityVector [D *POWX(2, D - 1)][2] = {}
 Distribution ids required to form a vector for nodal connectivity. More...
 
template<MInt D>
constexpr MInt lbDescriptor::oppositeDist [POWX(3, D)] = {}
 Opposite distribution. More...
 
template<MInt D>
constexpr MFloat lbDescriptor::ppdfDir [POWX(3, D)][D] = {}
 Direction of motion of each PPDF, needed for bounce-back schemes. More...
 
template<MInt D, MInt Q>
constexpr MInt lbDescriptor::distFld [3] = {}
 Number of distributions - (1d,2d,3d) More...
 
template<MInt D, MInt Q>
constexpr MInt lbDescriptor::distType [Q] = {}
 
template<MInt D, MInt Q>
constexpr MInt lbDescriptor::dxQyFld = {}
 Number of distributions which have one space direction in common. More...
 
template<MInt D, MInt Q>
constexpr MFloat lbDescriptor::tp [4] = {}
 taylor-polynom coefficients for equilibrium calculation (0:rest, 1:face, 2:edge, 3:corner) More...
 
template<>
constexpr MInt lbDescriptor::idFld< 2 > [9][2] = {{0, 1}, {2, 1}, {1, 0}, {1, 2}, {2, 2}, {2, 0}, {0, 0}, {0, 2}, {1, 1}}
 
template<>
constexpr MInt lbDescriptor::intNghbrArray< 2 > [4][4]
 
template<>
constexpr MFloat lbDescriptor::linearInterpolationCoefficients< 2 > [4][4]
 
template<>
constexpr MInt lbDescriptor::mFld1< 2 > [24]
 
template<>
constexpr MInt lbDescriptor::nFld< 2 > [2][3] = {{7, 6, 0}, {6, 2, 5}}
 
template<>
constexpr MInt lbDescriptor::pFld< 2 > [2][3] = {{1, 4, 5}, {7, 3, 4}}
 
template<>
constexpr MInt lbDescriptor::nodalConnectivityVector< 2 > [4][2]
 
template<>
constexpr MInt lbDescriptor::oppositeDist< 2 > [9] = {1, 0, 3, 2, 6, 7, 4, 5, 8}
 
template<>
constexpr MFloat lbDescriptor::ppdfDir< 2 > [9][2]
 
template<>
constexpr MInt lbDescriptor::idFld< 3 > [27][3]
 
template<>
constexpr MInt lbDescriptor::intNghbrArray< 3 > [8][8]
 
template<>
constexpr MFloat lbDescriptor::linearInterpolationCoefficients< 3 > [8][8]
 
template<>
constexpr MInt lbDescriptor::mFld1< 3 > [24] = {0, 2, 0, 3, 1, 2, 1, 3, 0, 4, 0, 5, 1, 4, 1, 5, 2, 4, 2, 5, 3, 4, 3, 5}
 
template<>
constexpr MInt lbDescriptor::nFld< 3 > [3][9]
 
template<>
constexpr MInt lbDescriptor::pFld< 3 > [3][9]
 
template<>
constexpr MInt lbDescriptor::nodalConnectivityVector< 3 > [12][2]
 
template<>
constexpr MInt lbDescriptor::oppositeDist< 3 > [27]
 
template<>
constexpr MFloat lbDescriptor::ppdfDir< 3 > [27][3]
 
template<>
constexpr MInt lbDescriptor::distFld< 2, 9 > [3] = {4, 4, 0}
 
template<>
constexpr MInt lbDescriptor::dxQyFld< 2, 9 > = 3
 
template<>
constexpr MFloat lbDescriptor::tp< 2, 9 > [4] = {F4B9, F1B9, F1B36, 0}
 
template<>
constexpr MInt lbDescriptor::distFld< 3, 15 > [3] = {6, 8, 0}
 
template<>
constexpr MInt lbDescriptor::dxQyFld< 3, 15 > = 5
 
template<>
constexpr MFloat lbDescriptor::tp< 3, 15 > [4] = {F2B9, F1B9, F1B72, 0}
 
template<>
constexpr MInt lbDescriptor::distFld< 3, 19 > [3] = {6, 12, 0}
 
template<>
constexpr MInt lbDescriptor::dxQyFld< 3, 19 > = 5
 
template<>
constexpr MFloat lbDescriptor::tp< 3, 19 > [4] = {F1B3, F1B18, F1B36, 0}
 
template<>
constexpr MInt lbDescriptor::distFld< 3, 27 > [3] = {6, 12, 8}
 
template<>
constexpr MInt lbDescriptor::dxQyFld< 3, 27 > = 9
 
template<>
constexpr MFloat lbDescriptor::tp< 3, 27 > [4] = {F8B27, F2B27, F1B54, F1B216}