|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
nodiscard |
Build a grid from radii sampled evenly along the bore.
| spec | Length, sample rate and air constants |
| radii | At least two radii, evenly spaced from the start to the end of the bore. They are linearly interpolated to the half points. |
The grid spacing is length / N with N the largest count keeping the Courant number at most one. A length that is not a whole number of intervals leaves it a little under one, which lowers the bandwidth.
Definition at line 90 of file DuctGrid.cpp.
References MayaFlux::Kinesis::Acoustics::DuctGrid::area, MayaFlux::Kinesis::Acoustics::detail::begin_duct_grid(), MayaFlux::Kinesis::Acoustics::DuctGrid::end_radius, MayaFlux::Kinesis::Acoustics::detail::finish_duct_grid(), MayaFlux::Kinesis::Acoustics::DuctGrid::intervals, INVALID_PROFILE, and MayaFlux::Kinesis::Acoustics::DuctGrid::start_radius.