File sound_speed.hxx
Defines
-
SOUND_SPEED_H
-
struct SoundSpeed : public Component
- #include <sound_speed.hxx>
Calculate the system sound speed
This uses the sum of all species pressures and mass densities so should run after those have been set.
Public Functions
-
inline SoundSpeed(std::string name, Options &alloptions, Solver*)
-
virtual void transform(Options &state) override
This sets in the state
sound_speed The collective sound speed, based on total pressure and total mass density
fastest_wave The highest species sound speed at each point in the domain
Optional inputs:
species
… // Iterates over all species
density
AA // Atomic mass
pressure
-
inline SoundSpeed(std::string name, Options &alloptions, Solver*)