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

Standard stress computation as second moment of the population. More...

#include <elements.h>

+ Collaboration diagram for olb::momenta::BulkStress:

Public Member Functions

template<typename TYPE , typename CELL , typename RHO , typename U , typename PI , typename DESCRIPTOR = typename CELL::descriptor_t>
void compute (CELL &cell, const RHO &rho, const U &u, PI &pi) any_platform
 

Static Public Member Functions

static std::string getName ()
 

Detailed Description

Standard stress computation as second moment of the population.

Utilizes the implementation in lbHelpers.

Definition at line 1231 of file elements.h.

Member Function Documentation

◆ compute()

template<typename TYPE , typename CELL , typename RHO , typename U , typename PI , typename DESCRIPTOR = typename CELL::descriptor_t>
void olb::momenta::BulkStress::compute ( CELL & cell,
const RHO & rho,
const U & u,
PI & pi )
inline

Definition at line 1233 of file elements.h.

1234 {
1235 lbm<DESCRIPTOR>::computeStress(cell, rho, u, pi);
1236 }
static void computeStress(CELL &cell, const RHO &rho, const U &u, PI &pi) any_platform
Computation of stress tensor.
Definition lbm.h:229

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

+ Here is the call graph for this function:

◆ getName()

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

Definition at line 1238 of file elements.h.

1238 {
1239 return "BulkStress";
1240 }

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