OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
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 1341 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 1343 of file elements.h.

1344 {
1345 // TODO: Re-enable and fix downstream issue
1346 //throw std::bad_function_call();
1347 }

◆ getName()

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

Definition at line 1349 of file elements.h.

1349 {
1350 return "NoStress";
1351 }

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