#include <elements.h>
|
template<typename TYPE , typename CELL , typename J , typename DESCRIPTOR = typename CELL::descriptor_t> |
void | compute (CELL &cell, J &j) any_platform |
|
template<typename TYPE , typename CELL , typename U , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t> |
void | computeU (CELL &cell, U &u) any_platform |
|
template<typename TYPE , typename CELL , typename U > |
void | define (CELL &cell, const U &u) any_platform |
|
template<typename TYPE , typename CELL > |
void | initialize (CELL &cell) any_platform |
|
template<typename TYPE , typename CELL , typename U > |
void | inverseShift (CELL &cell, U &u) any_platform |
|
Definition at line 966 of file elements.h.
◆ compute()
template<typename TYPE , typename CELL , typename J , typename DESCRIPTOR = typename CELL::descriptor_t>
void olb::momenta::PorousGuoMomentum::compute |
( |
CELL & | cell, |
|
|
J & | j ) |
|
inline |
◆ computeU()
template<typename TYPE , typename CELL , typename U , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void olb::momenta::PorousGuoMomentum::computeU |
( |
CELL & | cell, |
|
|
U & | u ) |
|
inline |
Definition at line 976 of file elements.h.
977 {
978 lbm<DESCRIPTOR>::computeU(cell, u);
979
980 const V porosity = cell.template getField<descriptors::POROSITY>();
981 for (int iDim=0; iDim<DESCRIPTOR::d; ++iDim) {
982 u[iDim] *= porosity;
983 }
984 }
◆ define()
template<typename TYPE , typename CELL , typename U >
void olb::momenta::PorousGuoMomentum::define |
( |
CELL & | cell, |
|
|
const U & | u ) |
|
inline |
◆ getName()
static std::string olb::momenta::PorousGuoMomentum::getName |
( |
| ) |
|
|
inlinestatic |
Definition at line 996 of file elements.h.
996 {
997 return "PorousGuoMomentum";
998 }
◆ initialize()
template<typename TYPE , typename CELL >
void olb::momenta::PorousGuoMomentum::initialize |
( |
CELL & | cell | ) |
|
|
inline |
◆ inverseShift()
template<typename TYPE , typename CELL , typename U >
void olb::momenta::PorousGuoMomentum::inverseShift |
( |
CELL & | cell, |
|
|
U & | u ) |
|
inline |
The documentation for this struct was generated from the following file: