|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Prepared grid and update gains of one bore. More...
#include <DuctGrid.hpp>
Public Attributes | |
| std::vector< double > | area |
| double | bandwidth {} |
| double | courant {} |
| double | end_radius {} |
| size_t | intervals {} |
| std::vector< double > | pressure_gain |
| double | spacing {} |
| double | start_radius {} |
| double | time_step {} |
| std::vector< double > | velocity_gain |
Prepared grid and update gains of one bore.
With N = intervals, area and velocity_gain hold N values at the half points and pressure_gain holds N + 1 values at the pressure points. velocity_gain is k S / (rho h) and pressure_gain is rho c^2 k / V, with V the volume of the cell, for time step k and spacing h. courant is c k / h, at most one, and bandwidth is the highest frequency the grid carries, fs asin(courant) / pi.
Definition at line 66 of file DuctGrid.hpp.