55[[nodiscard]] MAYAFLUX_API
double reed_flow(
const ReedChannel& reed,
double difference)
noexcept;
92[[nodiscard]] MAYAFLUX_API std::tuple<double, double, double, RootStatus>
reed_mouth_step(
93 const ReedChannel& reed,
95 double end_pressure_gain,
96 double mouth_pressure,
98 double downstream_flow)
noexcept;
132 const ReedChannel& reed,
137 std::array<double, 2>& motion,
138 double end_pressure_gain,
139 double mouth_pressure,
141 double downstream_flow)
noexcept;
Same-sample coupling of an end cell to a flow that depends on the pressure across it.
std::tuple< double, double, double, RootStatus > reed_mouth_step(const ReedChannel &reed, double &warm_start, double end_pressure_gain, double mouth_pressure, double end_pressure, double downstream_flow) noexcept
Couple the reed to the first cell of the bore for one sample.
double reed_flow_coefficient(const ReedChannel &reed) noexcept
w H sqrt(2 / rho), the flow per unit of (1 - d / pM) sign(d) sqrt|d|.
std::tuple< double, double, double > dynamic_reed_mouth_step(const ReedChannel &reed, double resonance, double damping, double reed_area, double time_step, std::array< double, 2 > &motion, double end_pressure_gain, double mouth_pressure, double end_pressure, double downstream_flow) noexcept
Couple a reed with its own dynamics to the first cell of the bore.
double reed_flow(const ReedChannel &reed, double difference) noexcept
Volume velocity through the channel for a pressure difference.
bool reed_coupling_is_unique(const ReedChannel &reed, double gain) noexcept
Whether a coupling gain keeps the solution unique.
Geometry and constants of the reed channel.