MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ end_cell_pressure()

double MayaFlux::Kinesis::Acoustics::end_cell_pressure ( double pressure,
double pressure_gain,
double net_inflow )
nodiscardconstexprnoexcept

New pressure of an end cell from the flow into it.

Parameters
pressurePressure of the cell
pressure_gainGain of the cell from DuctGrid
net_inflowFlow in through one face minus flow out through the other

With no flow through the outer face this is a rigid wall: pass only the flow arriving from the neighbouring half section.

Definition at line 57 of file StaggeredLine.hpp.

58{
59 return pressure + pressure_gain * net_inflow;
60}