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

#include <elements.h>

+ Collaboration diagram for olb::momenta::ZeroDensity:

Public Member Functions

template<typename TYPE , typename CELL , typename RHO , typename DESCRIPTOR = typename CELL::descriptor_t>
void compute (CELL &cell, RHO &rho) any_platform
 
template<typename TYPE , typename CELL , typename RHO >
void define (CELL &cell, const RHO &rho) any_platform
 
template<typename TYPE , typename CELL >
void initialize (CELL &cell) any_platform
 
template<typename TYPE , typename CELL , typename RHO >
void inverseShift (CELL &cell, RHO &rho) any_platform
 

Static Public Member Functions

static std::string getName ()
 

Detailed Description

Definition at line 89 of file elements.h.

Member Function Documentation

◆ compute()

template<typename TYPE , typename CELL , typename RHO , typename DESCRIPTOR = typename CELL::descriptor_t>
void olb::momenta::ZeroDensity::compute ( CELL & cell,
RHO & rho )
inline

Definition at line 91 of file elements.h.

92 {
93 rho = 0;
94 }

◆ define()

template<typename TYPE , typename CELL , typename RHO >
void olb::momenta::ZeroDensity::define ( CELL & cell,
const RHO & rho )
inline

Definition at line 97 of file elements.h.

97{};

◆ getName()

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

Definition at line 105 of file elements.h.

105 {
106 return "ZeroDensity";
107 }

◆ initialize()

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

Definition at line 100 of file elements.h.

100{};

◆ inverseShift()

template<typename TYPE , typename CELL , typename RHO >
void olb::momenta::ZeroDensity::inverseShift ( CELL & cell,
RHO & rho )
inline

Definition at line 103 of file elements.h.

103{};

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