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