When momenta are changed, a new equilibrium state is set.
More...
#include <definitionRule.h>
|
template<typename TYPE , typename CELL , typename RHO , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t> |
void | defineRho (CELL &cell, const RHO &rho) any_platform |
|
template<typename TYPE , typename CELL , typename U , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t> |
void | defineU (CELL &cell, const U &u) any_platform |
|
template<typename TYPE , typename CELL , typename RHO , typename U , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t> |
void | defineRhoU (CELL &cell, const RHO &rho, const U &u) any_platform |
|
template<typename TYPE , typename CELL , typename RHO , typename U , typename PI , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t> |
void | defineAllMomenta (CELL &cell, const RHO &rho, const U &u, const PI &pi) any_platform |
|
When momenta are changed, a new equilibrium state is set.
This struct is specific for advection-diffusion applications since it applies the external field descriptors::VELOCITY directly.
Definition at line 60 of file definitionRule.h.
◆ defineAllMomenta()
template<typename TYPE , typename CELL , typename RHO , typename U , typename PI , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void olb::momenta::DefineToEq::defineAllMomenta |
( |
CELL & | cell, |
|
|
const RHO & | rho, |
|
|
const U & | u, |
|
|
const PI & | pi ) |
|
inline |
◆ defineRho()
template<typename TYPE , typename CELL , typename RHO , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void olb::momenta::DefineToEq::defineRho |
( |
CELL & | cell, |
|
|
const RHO & | rho ) |
|
inline |
◆ defineRhoU()
template<typename TYPE , typename CELL , typename RHO , typename U , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void olb::momenta::DefineToEq::defineRhoU |
( |
CELL & | cell, |
|
|
const RHO & | rho, |
|
|
const U & | u ) |
|
inline |
◆ defineU()
template<typename TYPE , typename CELL , typename U , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void olb::momenta::DefineToEq::defineU |
( |
CELL & | cell, |
|
|
const U & | u ) |
|
inline |
◆ getName()
static std::string olb::momenta::DefineToEq::getName |
( |
| ) |
|
|
inlinestatic |
The documentation for this struct was generated from the following file: