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

◆ duct_intervals()

MAYAFLUX_API size_t MayaFlux::Kinesis::Acoustics::duct_intervals ( const DuctSpec & spec)
nodiscardnoexcept

Number of grid intervals a spec allows.

Returns
floor(length / (c k)), the most that keeps c k / h at most one, or zero when the spec is invalid

Definition at line 29 of file DuctGrid.cpp.

30{
31 return static_cast<size_t>(interval_count(spec).value_or(0.0));
32}