|
template<typename TYPE , typename CELL , typename RHO , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t> |
void | compute (CELL &cell, RHO &rho) any_platform |
|
template<typename TYPE , typename CELL , typename RHO > |
void | define (CELL &cell, const RHO &rho) any_platform |
|
template<typename TYPE , typename CELL > |
void | initialize (CELL &cell) any_platform |
|
template<typename TYPE , typename CELL , typename RHO > |
void | inverseShift (CELL &cell, RHO &rho) any_platform |
|
template<int plane, int normal1, int normal2>
struct olb::momenta::InnerEdgeDensity3D< plane, normal1, normal2 >
Definition at line 347 of file elements.h.
template<int plane, int normal1, int normal2>
template<typename TYPE , typename CELL , typename RHO , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
Definition at line 349 of file elements.h.
350 {
351 V u[DESCRIPTOR::d];
352 TYPE().computeU(cell, u);
353 const V rho1 = velocityBMRho<(plane+1)%3, normal1>(cell, u);
354 const V rho2 = velocityBMRho<(plane+2)%3, normal2>(cell, u);
355 rho = (rho1 + rho2) / V(2);
356 }