VirtualFluids 0.2.0
Parallel CFD LBM Solver
Loading...
Searching...
No Matches
PressureBC Class Reference

#include <PressureBC.h>

Inheritance diagram for PressureBC:
BC

Public Member Functions

 PressureBC ()
 
 PressureBC (const real &dens, const real &startTime=0.0, const real &endTime=BCFunction::INFCONST)
 
 PressureBC (const BCFunction &densBC)
 
 PressureBC (const std::vector< BCFunction > &densBCs)
 
 PressureBC (const mu::Parser &function, const real &startTime=0.0, const real &endTime=BCFunction::INFCONST)
 
std::string toString ()
 
void init (const D3Q27Interactor *const &interactor, const real &time=0) override
 
void update (const D3Q27Interactor *const &interactor, const real &time=0) override
 
void adaptBCForDirection (const D3Q27Interactor &interactor, SPtr< BoundaryConditions > bc, const real &worldX1, const real &worldX2, const real &worldX3, const real &q, const int &fdirection, const real &time=0) override
 
void adaptBC (const D3Q27Interactor &interactor, SPtr< BoundaryConditions > bc, const real &worldX1, const real &worldX2, const real &worldX3, const real &time=0) override
 
real getDensity (const real &x1, const real &x2, const real &x3, const real &timeStep)
 
- Public Member Functions inherited from BC
 BC ()=default
 
 BC (const short &secondaryBcOption)
 
virtual ~BC ()=default
 
bool isTimeDependent ()
 
virtual short getSecondaryBcOption ()
 
virtual void setSecondaryBcOption (const short &val)
 
void setBCStrategy (SPtr< BCStrategy > bcStrategy)
 

Protected Member Functions

void init ()
 
void setTimeDependent ()
 
void unsetTimeDependent ()
 
void clear ()
 
void setNodeDensity (const D3Q27Interactor &interactor, SPtr< BoundaryConditions > bc, const real &worldX1, const real &worldX2, const real &worldX3, const real &timestep)
 

Additional Inherited Members

- Protected Attributes inherited from BC
short secondaryBcOption { 0 }
 
char type { 0 }
 
char bcStrategyKey { 0 }
 
- Static Protected Attributes inherited from BC
static const char TIMEDEPENDENT = 1 << 0
 
static const char TIMEPERIODIC = 1 << 1
 
static char keyCounter = 0
 

Detailed Description

Definition at line 49 of file PressureBC.h.

Constructor & Destructor Documentation

◆ PressureBC()

PressureBC::PressureBC ( )
inline

Definition at line 53 of file PressureBC.h.

Member Function Documentation

◆ clear()

void PressureBC::clear ( )
inlineprotected

Definition at line 83 of file PressureBC.h.

◆ setTimeDependent()

void PressureBC::setTimeDependent ( )
inlineprotected

Definition at line 80 of file PressureBC.h.

◆ unsetTimeDependent()

void PressureBC::unsetTimeDependent ( )
inlineprotected

Definition at line 81 of file PressureBC.h.


The documentation for this class was generated from the following files: