Function evaluate_direct_energy_and_intensity
pub fn evaluate_direct_energy_and_intensity(
medium: &FluidMedium,
offsets: &StaggeredFluidOffsets,
pressure_pa: f64,
velocity_m_s: [f64; 3],
) -> Result<(f64, [f64; 3]), NumericalError>Expand description
Evaluate collocated energy density and intensity only when the offsets are collocated; rejects direct multiplication of staggered fields without interpolation (C02 Mode 00).