#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 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 |
| |
Definition at line 928 of file elements.h.
◆ compute()
template<typename TYPE , typename CELL , typename J , typename DESCRIPTOR = typename CELL::descriptor_t>
| void olb::momenta::FreeEnergyMomentum::compute |
( |
CELL & | cell, |
|
|
J & | j ) |
|
inline |
◆ computeU()
template<typename TYPE , typename CELL , typename U , typename DESCRIPTOR = typename CELL::descriptor_t>
| void olb::momenta::FreeEnergyMomentum::computeU |
( |
CELL & | cell, |
|
|
U & | u ) |
|
inline |
Definition at line 936 of file elements.h.
937 {
938 auto force = cell.template getField<descriptors::FORCE>();
939 for (int iVel=0; iVel<DESCRIPTOR::d; ++iVel) {
940 u[iVel] = force[iVel];
941 }
942 }
◆ define()
template<typename TYPE , typename CELL , typename U >
| void olb::momenta::FreeEnergyMomentum::define |
( |
CELL & | cell, |
|
|
const U & | u ) |
|
inline |
◆ getName()
| static std::string olb::momenta::FreeEnergyMomentum::getName |
( |
| ) |
|
|
inlinestatic |
Definition at line 953 of file elements.h.
953 {
954 return "FreeEnergyMomentum";
955 }
◆ initialize()
template<typename TYPE , typename CELL >
| void olb::momenta::FreeEnergyMomentum::initialize |
( |
CELL & | cell | ) |
|
|
inline |
◆ inverseShift()
template<typename TYPE , typename CELL , typename U >
| void olb::momenta::FreeEnergyMomentum::inverseShift |
( |
CELL & | cell, |
|
|
U & | u ) |
|
inline |
The documentation for this struct was generated from the following file: