00001 subroutine calc_physq_cgs_peos
00002 use phys_constant, only : g, c, solmas
00003 use def_matter_parameter, only : ome, radi
00004 use def_quantities, only : ome_cgs, rho_c, pre_c, epsi_c, q_c, &
00005 & rho_c_cgs, pre_c_cgs, epsi_c_cgs, q_c_cgs, &
00006 & rho_max, pre_max, epsi_max, q_max, &
00007 & rho_max_cgs, pre_max_cgs, epsi_max_cgs, q_max_cgs, &
00008 & schwarz_radi_sph, schwarz_radi_sph_km, &
00009 & coord_radius_x, coord_radius_y, coord_radius_z, &
00010 & proper_radius_x, proper_radius_y, proper_radius_z, &
00011 & coord_radius_x_km, coord_radius_y_km, coord_radius_z_km, &
00012 & proper_radius_x_km, proper_radius_y_km, proper_radius_z_km
00013 implicit none
00014 real(8) :: MM = solmas, LL = g*solmas/c**2, TT = g*solmas/c**3
00015
00016
00017
00018
00019
00020
00021 rho_c_cgs = rho_c*MM/LL**3
00022 pre_c_cgs = pre_c*MM/(LL*TT**2)
00023 epsi_c_cgs = epsi_c*MM/LL**3
00024 q_c_cgs = pre_c_cgs/rho_c_cgs
00025
00026 rho_max_cgs = rho_max*MM/LL**3
00027 pre_max_cgs = pre_max*MM/(LL*TT**2)
00028 epsi_max_cgs = epsi_max*MM/LL**3
00029 q_max_cgs = pre_max_cgs/rho_max_cgs
00030
00031 schwarz_radi_sph_km = schwarz_radi_sph*LL*1.0d-5
00032 coord_radius_x_km = coord_radius_x*LL*1.0d-5
00033 coord_radius_y_km = coord_radius_y*LL*1.0d-5
00034 coord_radius_z_km = coord_radius_z*LL*1.0d-5
00035 proper_radius_x_km = proper_radius_x*LL*1.0d-5
00036 proper_radius_y_km = proper_radius_y*LL*1.0d-5
00037 proper_radius_z_km = proper_radius_z*LL*1.0d-5
00038
00039 ome_cgs = ome/radi/TT
00040 end subroutine calc_physq_cgs_peos