|
This routine computes various global properties of the particle distribution and stores the result in the struct `SysState'. Currently, not all the information that's computed here is actually used (e.g. momentum is not really used anywhere), just the energies are written to a log-file every once in a while.
< adiabatic index of simulated gas
< adiabatic index of simulated gas
Definition at line 22 of file global.c.
References All, state_of_system::AngMomentum, state_of_system::AngMomentumComp, state_of_system::CenterOfMass, state_of_system::CenterOfMassComp, global_data_all_processes::ComovingIntegrationOn, sph_particle_data::DtEntropy, state_of_system::EnergyInt, state_of_system::EnergyIntComp, state_of_system::EnergyKin, state_of_system::EnergyKinComp, state_of_system::EnergyPot, state_of_system::EnergyPotComp, state_of_system::EnergyTot, state_of_system::EnergyTotComp, sph_particle_data::Entropy, GAMMA_MINUS1, get_gravkick_factor(), get_hydrokick_factor(), particle_data::GravAccel, particle_data::GravPM, sph_particle_data::HydroAccel, particle_data::Mass, state_of_system::Mass, state_of_system::MassComp, state_of_system::Momentum, state_of_system::MomentumComp, P, global_data_all_processes::PM_Ti_begstep, global_data_all_processes::PM_Ti_endstep, particle_data::Pos, particle_data::Potential, pow(), SphP, SysState, ThisTask, particle_data::Ti_begstep, global_data_all_processes::Ti_Current, particle_data::Ti_endstep, global_data_all_processes::Time, global_data_all_processes::Timebase_interval, particle_data::Type, and particle_data::Vel. |