MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
lbDescriptor Namespace Reference

Variables

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

Variable Documentation

◆ dirFld2

constexpr MInt lbDescriptor::dirFld2[3][3] = {{6, 0, 7}, {2, 8, 3}, {5, 1, 4}}
inlineconstexpr

Definition at line 27 of file lblatticedescriptor.h.

◆ dirFld3

constexpr MInt lbDescriptor::dirFld3[3][3][3]
inlineconstexpr
Initial value:
= {{{18, 6, 19}, {10, 0, 11}, {20, 7, 21}},
{{14, 2, 15}, {4, 26, 5}, {16, 3, 17}},
{{22, 8, 23}, {12, 1, 13}, {24, 9, 25}}}

Definition at line 28 of file lblatticedescriptor.h.

◆ distFld

template<MInt D, MInt Q>
constexpr MInt lbDescriptor::distFld[3] = {}
inlineconstexpr

Definition at line 72 of file lblatticedescriptor.h.

◆ distFld< 2, 9 >

template<>
constexpr MInt lbDescriptor::distFld< 2, 9 >[3] = {4, 4, 0}
inlineconstexpr

Definition at line 205 of file lblatticedescriptor.h.

◆ distFld< 3, 15 >

template<>
constexpr MInt lbDescriptor::distFld< 3, 15 >[3] = {6, 8, 0}
inlineconstexpr

Definition at line 213 of file lblatticedescriptor.h.

◆ distFld< 3, 19 >

template<>
constexpr MInt lbDescriptor::distFld< 3, 19 >[3] = {6, 12, 0}
inlineconstexpr

Definition at line 221 of file lblatticedescriptor.h.

◆ distFld< 3, 27 >

template<>
constexpr MInt lbDescriptor::distFld< 3, 27 >[3] = {6, 12, 8}
inlineconstexpr

Definition at line 229 of file lblatticedescriptor.h.

◆ distType

template<MInt D, MInt Q>
constexpr MInt lbDescriptor::distType[Q] = {}
inlineconstexpr

Definition at line 76 of file lblatticedescriptor.h.

◆ dxQyFld

template<MInt D, MInt Q>
constexpr MInt lbDescriptor::dxQyFld = {}
inlineconstexpr

Definition at line 80 of file lblatticedescriptor.h.

◆ dxQyFld< 2, 9 >

template<>
constexpr MInt lbDescriptor::dxQyFld< 2, 9 > = 3
inlineconstexpr

Definition at line 207 of file lblatticedescriptor.h.

◆ dxQyFld< 3, 15 >

template<>
constexpr MInt lbDescriptor::dxQyFld< 3, 15 > = 5
inlineconstexpr

Definition at line 215 of file lblatticedescriptor.h.

◆ dxQyFld< 3, 19 >

template<>
constexpr MInt lbDescriptor::dxQyFld< 3, 19 > = 5
inlineconstexpr

Definition at line 223 of file lblatticedescriptor.h.

◆ dxQyFld< 3, 27 >

template<>
constexpr MInt lbDescriptor::dxQyFld< 3, 27 > = 9
inlineconstexpr

Definition at line 231 of file lblatticedescriptor.h.

◆ idFld

template<MInt D>
constexpr MInt lbDescriptor::idFld[POWX(3, D)][D] = {}
inlineconstexpr

Definition at line 34 of file lblatticedescriptor.h.

◆ idFld< 2 >

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}}
inlineconstexpr

Definition at line 91 of file lblatticedescriptor.h.

◆ idFld< 3 >

template<>
constexpr MInt lbDescriptor::idFld< 3 >[27][3]
inlineconstexpr
Initial value:
= {{0, 1, 1}, {2, 1, 1},
{1, 0, 1}, {1, 2, 1},
{1, 1, 0}, {1, 1, 2},
{0, 0, 1}, {0, 2, 1},
{2, 0, 1}, {2, 2, 1},
{0, 1, 0}, {0, 1, 2},
{2, 1, 0}, {2, 1, 2},
{1, 0, 0}, {1, 0, 2},
{1, 2, 0}, {1, 2, 2},
{0, 0, 0}, {0, 0, 2},
{0, 2, 0}, {0, 2, 2},
{2, 0, 0}, {2, 0, 2},
{2, 2, 0}, {2, 2, 2},
{1, 1, 1}}

Definition at line 122 of file lblatticedescriptor.h.

◆ intNghbrArray

template<MInt D>
constexpr MInt lbDescriptor::intNghbrArray[POWX(2, D)][POWX(2, D)] = {}
inlineconstexpr

Definition at line 38 of file lblatticedescriptor.h.

◆ intNghbrArray< 2 >

template<>
constexpr MInt lbDescriptor::intNghbrArray< 2 >[4][4]
inlineconstexpr
Initial value:
= {{dirFld2[0][0], dirFld2[1][0], dirFld2[0][1], dirFld2[1][1]},
{dirFld2[1][0], dirFld2[2][0], dirFld2[1][1], dirFld2[2][1]},
{dirFld2[0][1], dirFld2[1][1], dirFld2[0][2], dirFld2[1][2]},
{dirFld2[1][1], dirFld2[2][1], dirFld2[1][2], dirFld2[2][2]}}
constexpr MInt dirFld2[3][3]
Convert directions into distribution id.

Definition at line 93 of file lblatticedescriptor.h.

◆ intNghbrArray< 3 >

template<>
constexpr MInt lbDescriptor::intNghbrArray< 3 >[8][8]
inlineconstexpr
Initial value:
= {
{dirFld3[0][0][0], dirFld3[1][0][0], dirFld3[0][1][0], dirFld3[1][1][0], dirFld3[0][0][1], dirFld3[1][0][1],
dirFld3[0][1][1], dirFld3[1][1][1]},
{dirFld3[1][0][0], dirFld3[2][0][0], dirFld3[1][1][0], dirFld3[2][1][0], dirFld3[1][0][1], dirFld3[2][0][1],
dirFld3[1][1][1], dirFld3[2][1][1]},
{dirFld3[0][1][0], dirFld3[1][1][0], dirFld3[0][2][0], dirFld3[1][2][0], dirFld3[0][1][1], dirFld3[1][1][1],
dirFld3[0][2][1], dirFld3[1][2][1]},
{dirFld3[1][1][0], dirFld3[2][1][0], dirFld3[1][2][0], dirFld3[2][2][0], dirFld3[1][1][1], dirFld3[2][1][1],
dirFld3[1][2][1], dirFld3[2][2][1]},
{dirFld3[0][0][1], dirFld3[1][0][1], dirFld3[0][1][1], dirFld3[1][1][1], dirFld3[0][0][2], dirFld3[1][0][2],
dirFld3[0][1][2], dirFld3[1][1][2]},
{dirFld3[1][0][1], dirFld3[2][0][1], dirFld3[1][1][1], dirFld3[2][1][1], dirFld3[1][0][2], dirFld3[2][0][2],
dirFld3[1][1][2], dirFld3[2][1][2]},
{dirFld3[0][1][1], dirFld3[1][1][1], dirFld3[0][2][1], dirFld3[1][2][1], dirFld3[0][1][2], dirFld3[1][1][2],
dirFld3[0][2][2], dirFld3[1][2][2]},
{dirFld3[1][1][1], dirFld3[2][1][1], dirFld3[1][2][1], dirFld3[2][2][1], dirFld3[1][1][2], dirFld3[2][1][2],
dirFld3[1][2][2], dirFld3[2][2][2]}}
constexpr MInt dirFld3[3][3][3]

Definition at line 143 of file lblatticedescriptor.h.

◆ linearInterpolationCoefficients

template<MInt D>
constexpr MFloat lbDescriptor::linearInterpolationCoefficients[POWX(2, D)][POWX(2, D)] = {}
inlineconstexpr

Definition at line 42 of file lblatticedescriptor.h.

◆ linearInterpolationCoefficients< 2 >

template<>
constexpr MFloat lbDescriptor::linearInterpolationCoefficients< 2 >[4][4]
inlineconstexpr
Initial value:
= {{F1B16, F3B16, F3B16, F9B16},
{F3B16, F1B16, F9B16, F3B16},
{F3B16, F9B16, F1B16, F3B16},
{F9B16, F3B16, F3B16, F1B16}}

Definition at line 98 of file lblatticedescriptor.h.

◆ linearInterpolationCoefficients< 3 >

template<>
constexpr MFloat lbDescriptor::linearInterpolationCoefficients< 3 >[8][8]
inlineconstexpr
Initial value:
= {
{F1B64, F3B64, F3B64, F9B64, F3B64, F9B64, F9B64, F27B64},
{F3B64, F1B64, F9B64, F3B64, F9B64, F3B64, F27B64, F9B64},
{F3B64, F9B64, F1B64, F3B64, F9B64, F27B64, F3B64, F9B64},
{F9B64, F3B64, F3B64, F1B64, F27B64, F9B64, F9B64, F3B64},
{F3B64, F9B64, F9B64, F27B64, F1B64, F3B64, F3B64, F9B64},
{F9B64, F3B64, F27B64, F9B64, F3B64, F1B64, F9B64, F3B64},
{F9B64, F27B64, F3B64, F9B64, F3B64, F9B64, F1B64, F3B64},
{F27B64, F9B64, F9B64, F3B64, F9B64, F3B64, F3B64, F1B64}}

Definition at line 161 of file lblatticedescriptor.h.

◆ mFld1

template<MInt D>
constexpr MInt lbDescriptor::mFld1[24] = {}
inlineconstexpr

Definition at line 46 of file lblatticedescriptor.h.

◆ mFld1< 2 >

template<>
constexpr MInt lbDescriptor::mFld1< 2 >[24]
inlineconstexpr
Initial value:
= {1, 3, 1, 2, 0, 2, 0, 3, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}

Definition at line 103 of file lblatticedescriptor.h.

◆ mFld1< 3 >

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}
inlineconstexpr

Definition at line 171 of file lblatticedescriptor.h.

◆ mFld2

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}
inlineconstexpr

Definition at line 48 of file lblatticedescriptor.h.

◆ nFld

template<MInt D>
constexpr MInt lbDescriptor::nFld[D][POWX(3, D - 1)] = {}
inlineconstexpr

Definition at line 52 of file lblatticedescriptor.h.

◆ nFld< 2 >

template<>
constexpr MInt lbDescriptor::nFld< 2 >[2][3] = {{7, 6, 0}, {6, 2, 5}}
inlineconstexpr

Definition at line 106 of file lblatticedescriptor.h.

◆ nFld< 3 >

template<>
constexpr MInt lbDescriptor::nFld< 3 >[3][9]
inlineconstexpr
Initial value:
= {
{0, 6, 7, 10, 11, 18, 19, 20, 21}, {2, 6, 8, 14, 15, 18, 19, 22, 23}, {4, 10, 12, 14, 16, 18, 20, 22, 24}}

Definition at line 173 of file lblatticedescriptor.h.

◆ nodalConnectivityVector

template<MInt D>
constexpr MInt lbDescriptor::nodalConnectivityVector[D *POWX(2, D - 1)][2] = {}
inlineconstexpr

Definition at line 59 of file lblatticedescriptor.h.

◆ nodalConnectivityVector< 2 >

template<>
constexpr MInt lbDescriptor::nodalConnectivityVector< 2 >[4][2]
inlineconstexpr
Initial value:
= {{6, 7},
{4, 5},
{5, 6},
{7, 4}}

Definition at line 110 of file lblatticedescriptor.h.

◆ nodalConnectivityVector< 3 >

template<>
constexpr MInt lbDescriptor::nodalConnectivityVector< 3 >[12][2]
inlineconstexpr
Initial value:
= {{18, 19},
{20, 21},
{22, 23},
{24, 25},
{18, 20},
{19, 21},
{22, 24},
{23, 25},
{18, 22},
{19, 23},
{20, 24},
{21, 25}}

Definition at line 179 of file lblatticedescriptor.h.

◆ oppositeDist

template<MInt D>
constexpr MInt lbDescriptor::oppositeDist[POWX(3, D)] = {}
inlineconstexpr

Definition at line 63 of file lblatticedescriptor.h.

◆ oppositeDist< 2 >

template<>
constexpr MInt lbDescriptor::oppositeDist< 2 >[9] = {1, 0, 3, 2, 6, 7, 4, 5, 8}
inlineconstexpr

Definition at line 115 of file lblatticedescriptor.h.

◆ oppositeDist< 3 >

template<>
constexpr MInt lbDescriptor::oppositeDist< 3 >[27]
inlineconstexpr
Initial value:
= {1, 0, 3, 2, 5, 4, 9, 8, 7, 6, 13, 12, 11, 10,
17, 16, 15, 14, 25, 24, 23, 22, 21, 20, 19, 18, 26}

Definition at line 193 of file lblatticedescriptor.h.

◆ pFld

template<MInt D>
constexpr MInt lbDescriptor::pFld[D][POWX(3, D - 1)] = {}
inlineconstexpr

Definition at line 55 of file lblatticedescriptor.h.

◆ pFld< 2 >

template<>
constexpr MInt lbDescriptor::pFld< 2 >[2][3] = {{1, 4, 5}, {7, 3, 4}}
inlineconstexpr

Definition at line 108 of file lblatticedescriptor.h.

◆ pFld< 3 >

template<>
constexpr MInt lbDescriptor::pFld< 3 >[3][9]
inlineconstexpr
Initial value:
= {
{1, 8, 9, 12, 13, 22, 23, 24, 25}, {3, 7, 9, 16, 17, 20, 21, 24, 25}, {5, 11, 13, 15, 17, 19, 21, 23, 25}}

Definition at line 176 of file lblatticedescriptor.h.

◆ ppdfDir

template<MInt D>
constexpr MFloat lbDescriptor::ppdfDir[POWX(3, D)][D] = {}
inlineconstexpr

Definition at line 67 of file lblatticedescriptor.h.

◆ ppdfDir< 2 >

template<>
constexpr MFloat lbDescriptor::ppdfDir< 2 >[9][2]
inlineconstexpr
Initial value:
= {{-1.0, 0.0}, {1.0, 0.0}, {0.0, -1.0}, {0.0, 1.0}, {1.0, 1.0},
{1.0, -1.0}, {-1.0, -1.0}, {-1.0, 1.0}, {0.0, 0.0}}

Definition at line 117 of file lblatticedescriptor.h.

◆ ppdfDir< 3 >

template<>
constexpr MFloat lbDescriptor::ppdfDir< 3 >[27][3]
inlineconstexpr
Initial value:
= {
{-1.0, 0.0, 0.0}, {1.0, 0.0, 0.0}, {0.0, -1.0, 0.0}, {0.0, 1.0, 0.0}, {0.0, 0.0, -1.0}, {0.0, 0.0, 1.0},
{-1.0, -1.0, 0.0}, {-1.0, 1.0, 0.0}, {1.0, -1.0, 0.0}, {1.0, 1.0, 0.0}, {-1.0, 0.0, -1.0}, {-1.0, 0.0, 1.0},
{1.0, 0.0, -1.0}, {1.0, 0.0, 1.0}, {0.0, -1.0, -1.0}, {0.0, -1.0, 1.0}, {0.0, 1.0, -1.0}, {0.0, 1.0, 1.0},
{-1.0, -1.0, -1.0}, {-1.0, -1.0, 1.0}, {-1.0, 1.0, -1.0}, {-1.0, 1.0, 1.0}, {1.0, -1.0, -1.0}, {1.0, -1.0, 1.0},
{1.0, 1.0, -1.0}, {1.0, 1.0, 1.0}, {0.0, 0.0, 0.0}}

Definition at line 196 of file lblatticedescriptor.h.

◆ tp

template<MInt D, MInt Q>
constexpr MFloat lbDescriptor::tp[4] = {}
inlineconstexpr

Definition at line 84 of file lblatticedescriptor.h.

◆ tp< 2, 9 >

template<>
constexpr MFloat lbDescriptor::tp< 2, 9 >[4] = {F4B9, F1B9, F1B36, 0}
inlineconstexpr

Definition at line 209 of file lblatticedescriptor.h.

◆ tp< 3, 15 >

template<>
constexpr MFloat lbDescriptor::tp< 3, 15 >[4] = {F2B9, F1B9, F1B72, 0}
inlineconstexpr

Definition at line 217 of file lblatticedescriptor.h.

◆ tp< 3, 19 >

template<>
constexpr MFloat lbDescriptor::tp< 3, 19 >[4] = {F1B3, F1B18, F1B36, 0}
inlineconstexpr

Definition at line 225 of file lblatticedescriptor.h.

◆ tp< 3, 27 >

template<>
constexpr MFloat lbDescriptor::tp< 3, 27 >[4] = {F8B27, F2B27, F1B54, F1B216}
inlineconstexpr

Definition at line 233 of file lblatticedescriptor.h.