OpenLB 1.8.1
Loading...
Searching...
No Matches
olb::equilibria::None::type< DESCRIPTOR, MOMENTA > Struct Template Reference

#include <equilibrium.h>

+ Collaboration diagram for olb::equilibria::None::type< DESCRIPTOR, MOMENTA >:

Public Types

using MomentaF = typename MOMENTA::template type<DESCRIPTOR>
 

Public Member Functions

template<typename CELL , typename RHO , typename U , typename FEQ , typename V = typename CELL::value_t>
CellStatistic< V > compute (CELL &cell, RHO &rho, U &u, FEQ &fEq) any_platform
 
template<typename CELL , typename PARAMETERS , typename FEQ , typename V = typename CELL::value_t>
CellStatistic< V > compute (CELL &cell, PARAMETERS &parameters, FEQ &fEq) any_platform
 

Detailed Description

template<typename DESCRIPTOR, typename MOMENTA>
struct olb::equilibria::None::type< DESCRIPTOR, MOMENTA >

Definition at line 44 of file equilibrium.h.

Member Typedef Documentation

◆ MomentaF

template<typename DESCRIPTOR , typename MOMENTA >
using olb::equilibria::None::type< DESCRIPTOR, MOMENTA >::MomentaF = typename MOMENTA::template type<DESCRIPTOR>

Definition at line 45 of file equilibrium.h.

Member Function Documentation

◆ compute() [1/2]

template<typename DESCRIPTOR , typename MOMENTA >
template<typename CELL , typename PARAMETERS , typename FEQ , typename V = typename CELL::value_t>
CellStatistic< V > olb::equilibria::None::type< DESCRIPTOR, MOMENTA >::compute ( CELL & cell,
PARAMETERS & parameters,
FEQ & fEq )
inline

Definition at line 56 of file equilibrium.h.

56 {
57 V rho, u[DESCRIPTOR::d];
58 MomentaF().computeRhoU(cell, rho, u);
59 return compute(cell, rho, u, fEq);
60 };
typename MOMENTA::template type< DESCRIPTOR > MomentaF
Definition equilibrium.h:45
CellStatistic< V > compute(CELL &cell, RHO &rho, U &u, FEQ &fEq) any_platform
Definition equilibrium.h:48

References olb::equilibria::None::type< DESCRIPTOR, MOMENTA >::compute().

+ Here is the call graph for this function:

◆ compute() [2/2]

template<typename DESCRIPTOR , typename MOMENTA >
template<typename CELL , typename RHO , typename U , typename FEQ , typename V = typename CELL::value_t>
CellStatistic< V > olb::equilibria::None::type< DESCRIPTOR, MOMENTA >::compute ( CELL & cell,
RHO & rho,
U & u,
FEQ & fEq )
inline

Definition at line 48 of file equilibrium.h.

48 {
49 for (int iPop=0; iPop < DESCRIPTOR::q; ++iPop) {
50 fEq[iPop] = V{0};
51 }
52 return {0, 0};
53 };
+ Here is the caller graph for this function:

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