MP-Gadget  5.0.1.dev1-76bc7d4726-dirty
Public Attributes | List of all members
UnitSystem Struct Reference

#include <unitsystem.h>

Collaboration diagram for UnitSystem:
[legend]

Public Attributes

double UnitMass_in_g
 
double UnitVelocity_in_cm_per_s
 
double UnitLength_in_cm
 
double UnitTime_in_s
 
double UnitDensity_in_cgs
 
double UnitEnergy_in_cgs
 
double UnitInternalEnergy_in_cgs
 

Detailed Description

Definition at line 7 of file unitsystem.h.

Member Data Documentation

◆ UnitDensity_in_cgs

double UnitSystem::UnitDensity_in_cgs

factor to convert internal length unit to g/cm^3*h^2

Definition at line 12 of file unitsystem.h.

Referenced by check_units(), get_unitsystem(), and init_cooling_and_star_formation().

◆ UnitEnergy_in_cgs

double UnitSystem::UnitEnergy_in_cgs

factor to convert internal energy unit to cgs units

Definition at line 13 of file unitsystem.h.

Referenced by check_units(), and get_unitsystem().

◆ UnitInternalEnergy_in_cgs

double UnitSystem::UnitInternalEnergy_in_cgs

Definition at line 14 of file unitsystem.h.

Referenced by begrun(), get_unitsystem(), init_cooling_and_star_formation(), and run().

◆ UnitLength_in_cm

double UnitSystem::UnitLength_in_cm

factor to convert internal length unit to cm/h

Definition at line 10 of file unitsystem.h.

Referenced by check_units(), compute_mass(), get_unitsystem(), init_cooling_and_star_formation(), init_cosmology(), main(), print_spec(), read_parameterfile(), run(), and saveheader().

◆ UnitMass_in_g

double UnitSystem::UnitMass_in_g

factor to convert internal mass unit to grams/h

Definition at line 8 of file unitsystem.h.

Referenced by blackhole(), check_units(), compute_mass(), get_unitsystem(), init_cooling_and_star_formation(), init_cosmology(), main(), read_parameterfile(), and saveheader().

◆ UnitTime_in_s

double UnitSystem::UnitTime_in_s

factor to convert internal time unit to seconds/h

Definition at line 11 of file unitsystem.h.

Referenced by blackhole(), check_units(), get_unitsystem(), init_cooling_and_star_formation(), and init_cosmology().

◆ UnitVelocity_in_cm_per_s

double UnitSystem::UnitVelocity_in_cm_per_s

factor to convert intqernal velocity unit to cm/sec

Definition at line 9 of file unitsystem.h.

Referenced by blackhole_accretion_postprocess(), blackhole_feedback_copy(), check_units(), compute_mass(), get_unitsystem(), main(), read_parameterfile(), and saveheader().


The documentation for this struct was generated from the following file: