24#ifndef DYNAMICS_COLLISION_CUM_H
25#define DYNAMICS_COLLISION_CUM_H
39 template <
typename DESCRIPTOR,
typename MOMENTA,
typename EQUILIBRIUM>
42 static_assert(DESCRIPTOR::d==3 && DESCRIPTOR::q == 27,
"Cumulant Dynamics only implemented in D3Q27");
46 template <
typename CELL,
typename PARAMETERS,
typename V=
typename CELL::value_t>
48 const V omega =
parameters.template get<descriptors::OMEGA>();
49 V rho, u[DESCRIPTOR::d];
50 MomentaF().computeRhoU(cell, rho, u);
Top level namespace for all of OpenLB.
Return value of any collision.
typename EQUILIBRIUM::template type< DESCRIPTOR, MOMENTA > EquilibriumF
CellStatistic< V > apply(CELL &cell, PARAMETERS ¶meters) any_platform
typename MOMENTA::template type< DESCRIPTOR > MomentaF
static std::string getName()
typename meta::list< descriptors::OMEGA > parameters
static V cumCollision(CELL &cell, const V &omega, V &rho, U &u) any_platform