Replace the profile with radii sampled evenly from mouth to bell.
Definition at line 251 of file DuctNetwork.cpp.
252{
254 Profile profile { .radii = radii, .function = {} };
256 if (!next) {
257 return false;
258 }
259
260 next->keep_state = true;
261
264 return true;
265}
std::shared_ptr< Prepared > build(double length, const Profile &profile, const Losses &losses, double mouth_volume, const std::shared_ptr< TerminationOperator > &mouth, const std::shared_ptr< TerminationOperator > &bell) const
std::shared_ptr< TerminationOperator > m_mouth
void publish(std::shared_ptr< Prepared > next)
std::shared_ptr< TerminationOperator > m_bell
std::mutex m_producer_mutex
References build(), m_bell, m_length, m_losses, m_mouth, m_mouth_volume, m_producer_mutex, m_profile, and publish().
Referenced by set_radius().