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

◆ couple()

std::pair< double, double > MayaFlux::Nodes::Network::WallOperator::couple ( double end_pressure,
double interior_flow )
nodiscardoverridevirtual

Advance the end cell and its coupling by one sample.

Parameters
end_pressurePressure of the end cell at the start of the sample
interior_flowVolume velocity leaving the end cell into the duct, from the same sample
Returns
The end pressure after the sample, then the volume velocity entering the duct through the end face

Implements MayaFlux::Nodes::Network::TerminationOperator.

Definition at line 80 of file TerminationOperators.cpp.

81{
82 return { Acoustics::end_cell_pressure(end_pressure, m_end_gain, -interior_flow), 0.0 };
83}

References m_end_gain.