|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
nodiscardnoexcept |
Discrete energy of the bore in joules.
| pressure | N + 1 pressures at step n |
| velocity_previous | N velocities at step n - 1/2 |
| velocity_current | N velocities at step n + 1/2 |
| pressure_gain | N + 1 gains from DuctGrid |
| velocity_gain | N gains from DuctGrid |
| time_step | Time step in seconds |
The sum of cell compliance times pressure squared and section inertance times the product of the velocities at the two time levels, each halved. With sealed ends it is constant to rounding from sample to sample, and with lossy ends it only falls. It is not negative while the Courant number is at most one.
Definition at line 31 of file StaggeredLine.cpp.