OpenLB 1.8.1
Loading...
Searching...
No Matches
olb::momenta::PoissonMomentum Struct Reference

Momentum computation for Poisson dynamics. More...

#include <elements.h>

+ Collaboration diagram for olb::momenta::PoissonMomentum:

Public Member Functions

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
 

Static Public Member Functions

static std::string getName ()
 

Detailed Description

Momentum computation for Poisson dynamics.

Definition at line 1177 of file elements.h.

Member Function Documentation

◆ compute()

template<typename TYPE , typename CELL , typename J , typename DESCRIPTOR = typename CELL::descriptor_t>
void olb::momenta::PoissonMomentum::compute ( CELL & cell,
J & j )
inline

Definition at line 1179 of file elements.h.

1180 {
1182 }
static void computeJ(CELL &cell, J &j) any_platform
Computation of momentum.
Definition lbm.h:279

References olb::lbm< DESCRIPTOR >::computeJ().

+ Here is the call graph for this function:

◆ computeU()

template<typename TYPE , typename CELL , typename U , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void olb::momenta::PoissonMomentum::computeU ( CELL & cell,
U & u )
inline

Definition at line 1185 of file elements.h.

1186 {
1187 for (int iD=0; iD<DESCRIPTOR::d; ++iD) {
1188 u[iD] = V{};
1189 }
1190 }

◆ define()

template<typename TYPE , typename CELL , typename U >
void olb::momenta::PoissonMomentum::define ( CELL & cell,
const U & u )
inline

Definition at line 1193 of file elements.h.

1193{}

◆ getName()

static std::string olb::momenta::PoissonMomentum::getName ( )
inlinestatic

Definition at line 1201 of file elements.h.

1201 {
1202 return "PoissonMomentum";
1203 }

◆ initialize()

template<typename TYPE , typename CELL >
void olb::momenta::PoissonMomentum::initialize ( CELL & cell)
inline

Definition at line 1196 of file elements.h.

1196{}

◆ inverseShift()

template<typename TYPE , typename CELL , typename U >
void olb::momenta::PoissonMomentum::inverseShift ( CELL & cell,
U & u )
inline

Definition at line 1199 of file elements.h.

1199{}

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