33#ifndef ADVECTION_DIFFUSION_SCALING_HELPER_FUNCTIONS_H
34#define ADVECTION_DIFFUSION_SCALING_HELPER_FUNCTIONS_H
57 real d000,
d100,
d010,
d001,
d200,
d020,
d002,
d110,
d101,
d011,
d111;
111 momentsPPP.
calculate(populations, populationsAD, omegaDiffusivity);
116 momentsMPP.
calculate(populations, populationsAD, omegaDiffusivity);
121 momentsPMP.
calculate(populations, populationsAD, omegaDiffusivity);
126 momentsMMP.
calculate(populations, populationsAD, omegaDiffusivity);
131 momentsPPM.
calculate(populations, populationsAD, omegaDiffusivity);
136 momentsMPM.
calculate(populations, populationsAD, omegaDiffusivity);
141 momentsPMM.
calculate(populations, populationsAD, omegaDiffusivity);
146 momentsMMM.
calculate(populations, populationsAD, omegaDiffusivity);
219 xoff * d100 + yoff * d010 + zoff * d001 +
221 xoff * yoff * d110 + xoff * zoff * d101 + yoff * zoff * d011;
222 d100 = d100 + c2o1 * xoff * d200 + yoff * d110 + zoff * d101;
223 d010 = d010 + c2o1 * yoff * d020 + xoff * d110 + zoff * d011;
224 d001 = d001 + c2o1 * zoff * d002 + xoff * d101 + yoff * d011;
constexpr void calculateMMP(const real *const populations, const real *const populationsAD, const real omegaDiffusivity)
constexpr void calculatePPM(const real *const populations, const real *const populationsAD, const real omegaDiffusivity)
constexpr void calculateMMM(const real *const populations, const real *const populationsAD, const real omegaDiffusivity)
constexpr void calculatePMP(const real *const populations, const real *const populationsAD, const real omegaDiffusivity)
constexpr void calculatePPP(const real *const populations, const real *const populationsAD, const real omegaDiffusivity)
constexpr void calculateMPM(const real *const populations, const real *const populationsAD, const real omegaDiffusivity)
constexpr void calculateCoefficients(InterpolationCoefficients &coefficients, real xoff, real yoff, real zoff) const
constexpr void calculateMPP(const real *const populations, const real *const populationsAD, const real omegaDiffusivity)
constexpr void calculatePMM(const real *const populations, const real *const populationsAD, const real omegaDiffusivity)
std::shared_ptr< T > SPtr
constexpr real getIncompressibleVelocityX3(const real *const &f)
constexpr real getIncompressibleVelocityX2(const real *const &f)
constexpr real getDensity(const real *const &f)
constexpr void getCompressibleMacroscopicValues(const real *const &f, real &drho, real &oneOverRho, real &vx1, real &vx2, real &vx3)
constexpr real getIncompressibleVelocityX1(const real *const &f)
constexpr void calculate(const real *const populations, const real *const populationsAD, const real omega)