here no SI_UNIT used by default, to be implemented
subroutine phys_units() use mod_global_parameters double precision :: mp,kB !> here no SI_UNIT used by default, to be implemented mp = mp_cgs kB = kB_cgs unit_velocity=const_c ! we assume user sets: unit_numberdensity, unit_length, He_abundance ! then together with light speed c, all units fixed unit_density=(1.0d0+4.0d0*He_abundance)*mp*unit_numberdensity unit_pressure=unit_density*unit_velocity**2 unit_temperature=unit_pressure/((2.0d0+3.0d0*He_abundance)*unit_numberdensity*kB) unit_time=unit_length/unit_velocity unit_mass=unit_density*unit_length**3 end subroutine phys_units