OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
olb::momenta::DefineUSeparately Struct Reference

defineRho leads to a new non-equilibrium population, defineU only sets the velocity data. More...

#include <definitionRule.h>

+ Collaboration diagram for olb::momenta::DefineUSeparately:

Public Member Functions

template<typename TYPE , typename CELL , typename RHO , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void defineRho (CELL &cell, 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, 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, RHO &rho, 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, RHO &rho, U &u, PI &pi) any_platform
 

Static Public Member Functions

static std::string getName ()
 

Detailed Description

defineRho leads to a new non-equilibrium population, defineU only sets the velocity data.

Definition at line 147 of file definitionRule.h.

Member Function Documentation

◆ 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::DefineUSeparately::defineAllMomenta ( CELL & cell,
RHO & rho,
U & u,
PI & pi )
inline

Definition at line 165 of file definitionRule.h.

167 {
168 DefineToNEq().defineAllMomenta<TYPE>(cell, rho, u, pi);
169 }

References olb::momenta::DefineToNEq::defineAllMomenta().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ defineRho()

template<typename TYPE , typename CELL , typename RHO , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void olb::momenta::DefineUSeparately::defineRho ( CELL & cell,
RHO & rho )
inline

Definition at line 149 of file definitionRule.h.

150 {
151 DefineToNEq().defineRho<TYPE>(cell, rho);
152 }

References olb::momenta::DefineToNEq::defineRho().

+ Here is the call graph for this function:

◆ 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::DefineUSeparately::defineRhoU ( CELL & cell,
RHO & rho,
U & u )
inline

Definition at line 159 of file definitionRule.h.

160 {
161 defineRho<TYPE>(cell, rho);
162 }

◆ defineU()

template<typename TYPE , typename CELL , typename U , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void olb::momenta::DefineUSeparately::defineU ( CELL & cell,
U & u )
inline

Definition at line 155 of file definitionRule.h.

156 { }

◆ getName()

static std::string olb::momenta::DefineUSeparately::getName ( )
inlinestatic

Definition at line 171 of file definitionRule.h.

171 {
172 return "DefineUSeparately";
173 }

The documentation for this struct was generated from the following file: