OpenLB 1.8.1
Loading...
Searching...
No Matches
olb::momenta::VelocityBoundaryPressure< direction, orientation > Struct Template Reference

Pressure computation for fixed velocity boundary. More...

#include <elements.h>

+ Collaboration diagram for olb::momenta::VelocityBoundaryPressure< direction, orientation >:

Public Member Functions

template<typename TYPE , typename CELL , typename P , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void compute (CELL &cell, P &p) any_platform
 
template<typename TYPE , typename CELL , typename P >
void define (CELL &cell, const P &p) any_platform
 
template<typename TYPE , typename CELL >
void initialize (CELL &cell) any_platform
 
template<typename TYPE , typename CELL , typename P >
void inverseShift (CELL &cell, P &p) any_platform
 

Static Public Member Functions

static std::string getName ()
 

Detailed Description

template<int direction, int orientation>
struct olb::momenta::VelocityBoundaryPressure< direction, orientation >

Pressure computation for fixed velocity boundary.

Definition at line 350 of file elements.h.

Member Function Documentation

◆ compute()

template<int direction, int orientation>
template<typename TYPE , typename CELL , typename P , typename V = typename CELL::value_t, typename DESCRIPTOR = typename CELL::descriptor_t>
void olb::momenta::VelocityBoundaryPressure< direction, orientation >::compute ( CELL & cell,
P & p )
inline

Definition at line 352 of file elements.h.

353 {
354 V u[DESCRIPTOR::d];
355 TYPE().computeU(cell, u);
357 }
V velocityBMP(CELL &cell, const U &u) any_platform
Definition elements.h:74

References olb::momenta::velocityBMP().

+ Here is the call graph for this function:

◆ define()

template<int direction, int orientation>
template<typename TYPE , typename CELL , typename P >
void olb::momenta::VelocityBoundaryPressure< direction, orientation >::define ( CELL & cell,
const P & p )
inline

Definition at line 360 of file elements.h.

360{};

◆ getName()

template<int direction, int orientation>
static std::string olb::momenta::VelocityBoundaryPressure< direction, orientation >::getName ( )
inlinestatic

Definition at line 368 of file elements.h.

368 {
369 return "VelocityBoundaryPressure<" + std::to_string(direction) + "," + std::to_string(orientation) + ">";
370 }

◆ initialize()

template<int direction, int orientation>
template<typename TYPE , typename CELL >
void olb::momenta::VelocityBoundaryPressure< direction, orientation >::initialize ( CELL & cell)
inline

Definition at line 363 of file elements.h.

363{};

◆ inverseShift()

template<int direction, int orientation>
template<typename TYPE , typename CELL , typename P >
void olb::momenta::VelocityBoundaryPressure< direction, orientation >::inverseShift ( CELL & cell,
P & p )
inline

Definition at line 366 of file elements.h.

366{};

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