|
template<typename TYPE , typename CELL , typename J , typename V = typename CELL::value_t, 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 , typename DESCRIPTOR = typename CELL::descriptor_t> |
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 |
|
template<typename MOMENTUM>
struct olb::momenta::PorousMomentum< MOMENTUM >
Definition at line 1188 of file elements.h.
template<typename MOMENTUM >
template<typename TYPE , typename CELL , typename U , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
Definition at line 1196 of file elements.h.
1197 {
1198 MOMENTUM().template computeU<TYPE>(cell, u);
1199 const V porosity = cell.template getField<descriptors::POROSITY>();
1200 for (int iVel=0; iVel < DESCRIPTOR::d; ++iVel) {
1201 u[iVel] *= porosity;
1202 }
1203 }