OpenLB 1.7
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
olb::particles::resolved::population_momentum_exchange< T, 3, true > Struct Template Reference

#include <momentumExchangeForce.h>

+ Collaboration diagram for olb::particles::resolved::population_momentum_exchange< T, 3, true >:

Static Public Member Functions

static constexpr T calculate (T f1, T f2, T c, T pVel, T deltaR)
 

Detailed Description

template<typename T>
struct olb::particles::resolved::population_momentum_exchange< T, 3, true >

Definition at line 63 of file momentumExchangeForce.h.

Member Function Documentation

◆ calculate()

template<typename T >
static constexpr T olb::particles::resolved::population_momentum_exchange< T, 3, true >::calculate ( T f1,
T f2,
T c,
T pVel,
T deltaR )
inlinestaticconstexpr

Definition at line 64 of file momentumExchangeForce.h.

65 {
66 return ((f1 + f2)*c);
67 }

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