OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
olb::momenta::DefineSeparately Struct Reference

The momenta are defined one after the other. More...

#include <definitionRule.h>

+ Collaboration diagram for olb::momenta::DefineSeparately:

Public Member Functions

template<typename TYPE , typename CELL , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void defineRho (CELL &cell, V rho) any_platform
 
template<typename TYPE , typename CELL , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void defineU (CELL &cell, const V u[DESCRIPTOR::d]) any_platform
 
template<typename TYPE , typename CELL , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void defineRhoU (CELL &cell, V rho, const V u[DESCRIPTOR::d]) any_platform
 
template<typename TYPE , typename CELL , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void defineAllMomenta (CELL &cell, V rho, const V u[DESCRIPTOR::d], const V pi[util::TensorVal< DESCRIPTOR >::n]) any_platform
 

Static Public Member Functions

static std::string getName ()
 

Detailed Description

The momenta are defined one after the other.

Definition at line 32 of file definitionRule.h.

Member Function Documentation

◆ defineAllMomenta()

template<typename TYPE , typename CELL , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void olb::momenta::DefineSeparately::defineAllMomenta ( CELL & cell,
V rho,
const V u[DESCRIPTOR::d],
const V pi[util::TensorVal< DESCRIPTOR >::n] )
inline

Definition at line 47 of file definitionRule.h.

50 { }

◆ defineRho()

template<typename TYPE , typename CELL , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void olb::momenta::DefineSeparately::defineRho ( CELL & cell,
V rho )
inline

Definition at line 34 of file definitionRule.h.

35 { }

◆ defineRhoU()

template<typename TYPE , typename CELL , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void olb::momenta::DefineSeparately::defineRhoU ( CELL & cell,
V rho,
const V u[DESCRIPTOR::d] )
inline

Definition at line 42 of file definitionRule.h.

44 { }

◆ defineU()

template<typename TYPE , typename CELL , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void olb::momenta::DefineSeparately::defineU ( CELL & cell,
const V u[DESCRIPTOR::d] )
inline

Definition at line 38 of file definitionRule.h.

39 { }

◆ getName()

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

Definition at line 52 of file definitionRule.h.

52 {
53 return "DefineSeparately";
54 }

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