Momentum computation for Poisson dynamics.
More...
#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 |
|
Momentum computation for Poisson dynamics.
Definition at line 936 of file elements.h.
◆ compute()
template<typename TYPE , typename CELL , typename J , typename DESCRIPTOR = typename CELL::descriptor_t>
void olb::momenta::PoissonMomentum::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::PoissonMomentum::computeU |
( |
CELL & | cell, |
|
|
U & | u ) |
|
inline |
Definition at line 944 of file elements.h.
945 {
946 for (int iD=0; iD<DESCRIPTOR::d; ++iD) {
947 u[iD] = V{};
948 }
949 }
◆ define()
template<typename TYPE , typename CELL , typename U >
void olb::momenta::PoissonMomentum::define |
( |
CELL & | cell, |
|
|
const U & | u ) |
|
inline |
◆ getName()
static std::string olb::momenta::PoissonMomentum::getName |
( |
| ) |
|
|
inlinestatic |
Definition at line 960 of file elements.h.
960 {
961 return "PoissonMomentum";
962 }
◆ initialize()
template<typename TYPE , typename CELL >
void olb::momenta::PoissonMomentum::initialize |
( |
CELL & | cell | ) |
|
|
inline |
◆ inverseShift()
template<typename TYPE , typename CELL , typename U >
void olb::momenta::PoissonMomentum::inverseShift |
( |
CELL & | cell, |
|
|
U & | u ) |
|
inline |
The documentation for this struct was generated from the following file: