defineRho leads to a new non-equilibrium population, defineU only sets the velocity data.
More...
#include <definitionRule.h>
|
template<typename TYPE , typename CELL , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t> |
void | defineRho (CELL &cell, V rho) any_platform |
|
template<typename TYPE , typename CELL , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t> |
void | defineU (CELL &cell, const V u[DESCRIPTOR::d]) any_platform |
|
template<typename TYPE , typename CELL , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t> |
void | defineRhoU (CELL &cell, V rho, const V u[DESCRIPTOR::d]) any_platform |
|
template<typename TYPE , typename CELL , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t> |
void | defineAllMomenta (CELL &cell, V rho, const V u[DESCRIPTOR::d], const V pi[util::TensorVal< DESCRIPTOR >::n]) any_platform |
|
defineRho leads to a new non-equilibrium population, defineU only sets the velocity data.
Definition at line 180 of file definitionRule.h.
◆ defineAllMomenta()
template<typename TYPE , typename CELL , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void olb::momenta::DefineUSeparatelyTrace::defineAllMomenta |
( |
CELL & | cell, |
|
|
V | rho, |
|
|
const V | u[DESCRIPTOR::d], |
|
|
const V | pi[util::TensorVal< DESCRIPTOR >::n] ) |
|
inline |
◆ defineRho()
template<typename TYPE , typename CELL , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void olb::momenta::DefineUSeparatelyTrace::defineRho |
( |
CELL & | cell, |
|
|
V | rho ) |
|
inline |
Definition at line 182 of file definitionRule.h.
183 {
184
185 V oldRho, u[DESCRIPTOR::d];
186
188 TYPE().inverseShiftRhoU(cell, oldRho, u);
189
190
192 }
static void defineNEq(CELL &cell, const OLDRHO &oldRho, const OLDU &oldU, const NEWRHO &newRho, const NEWU &newU) any_platform
static void computeRhoU(CELL &cell, RHO &rho, U &u) any_platform
Computation of hydrodynamic variables.
References olb::lbm< DESCRIPTOR >::computeRhoU(), and olb::lbm< DESCRIPTOR >::defineNEq().
◆ defineRhoU()
template<typename TYPE , typename CELL , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void olb::momenta::DefineUSeparatelyTrace::defineRhoU |
( |
CELL & | cell, |
|
|
V | rho, |
|
|
const V | u[DESCRIPTOR::d] ) |
|
inline |
◆ defineU()
template<typename TYPE , typename CELL , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void olb::momenta::DefineUSeparatelyTrace::defineU |
( |
CELL & | cell, |
|
|
const V | u[DESCRIPTOR::d] ) |
|
inline |
◆ getName()
static std::string olb::momenta::DefineUSeparatelyTrace::getName |
( |
| ) |
|
|
inlinestatic |
Definition at line 213 of file definitionRule.h.
213 {
214 return "DefineUSeparatelyTrace";
215 }
The documentation for this struct was generated from the following file: