28#ifndef ENTROPIC_LB_HELPERS_H
29#define ENTROPIC_LB_HELPERS_H
35template<
typename T,
typename DESCRIPTOR>
38 static T
equilibrium(
int iPop, T rho,
const T u[DESCRIPTOR::d])
44 for (
int iD=0; iD < DESCRIPTOR::d; ++iD) {
62 for (
int iD=0; iD < DESCRIPTOR::d; ++iD) {
A collection of dynamics classes (e.g.
A collection of dynamics classes (e.g.
constexpr T invCs2() any_platform
constexpr T t(unsigned iPop, tag::CUM) any_platform
constexpr int c(unsigned iPop, unsigned iDim) any_platform
auto normSqr(const ARRAY_LIKE &u) any_platform
Compute norm square of a d-dimensional vector.
Expr pow(Expr base, Expr exp)
Top level namespace for all of OpenLB.
static T equilibriumApprox(int iPop, T rho, const T u[DESCRIPTOR::d])
Computation of equilibrium distribution.
static T equilibrium(int iPop, T rho, const T u[DESCRIPTOR::d])
Computation of equilibrium distribution.