OpenLB 1.8.1
Loading...
Searching...
No Matches
olb::momenta::NoStress Struct Reference

Access to the stress computation is forbidden and raises an error. More...

#include <elements.h>

+ Collaboration diagram for olb::momenta::NoStress:

Public Member Functions

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

Static Public Member Functions

static std::string getName ()
 

Detailed Description

Access to the stress computation is forbidden and raises an error.

Definition at line 1765 of file elements.h.

Member Function Documentation

◆ compute()

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

Definition at line 1767 of file elements.h.

1768 {
1769 // TODO: Re-enable and fix downstream issue
1770 //throw std::bad_function_call();
1771 }

◆ getName()

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

Definition at line 1773 of file elements.h.

1773 {
1774 return "NoStress";
1775 }

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