00001 subroutine read_parameter_mpt(impt) 00002 use phys_constant, only : long 00003 use def_matter_parameter, only : emdc, pinx 00004 use def_quantities, only : restmass_sph, gravmass_sph, & 00005 & MoverR_sph, schwarz_radi_sph 00006 use grid_parameter 00007 implicit none 00008 integer,intent(in) :: impt 00009 character(len=1) :: np(5) = (/'1', '2','3', '4', '5'/) 00010 real(long) :: emdc_ini 00011 open(1,file='rnspar_mpt'//np(impt)//'.dat',status='old') 00012 read(1,'(4i5)') nrg, ntg, npg, nlg 00013 read(1,'(4i5)') nrf, ntf, npf, nlf 00014 read(1,'(2i5,2(3x,a2))') nrf_deform, nrgin, NS_shape, EQ_point 00015 read(1,'(1p,3e10.3)') rgin, rgmid, rgout 00016 read(1,'(/,1i5,2(4x,a1))') iter_max, sw_mass_iter, sw_art_deform 00017 read(1,'(1p,2e10.3)') conv0_gra, conv_ini 00018 read(1,'(1p,2e10.3)') conv0_den, conv0_vep 00019 read(1,'(2(3x,a2),3x,3a1)') indata_type, outdata_type, chrot, chgra, chope 00020 read(1,'(1p,2e10.3)') eps, mass_eps 00021 read(1,'(/,2i5)') num_sol_seq, deform_par 00022 read(1,'(1p,2e14.6)') emdc_ini, pinx 00023 read(1,'(1p,2e14.6)') restmass_sph, gravmass_sph 00024 read(1,'(1p,2e14.6)') MoverR_sph, schwarz_radi_sph 00025 close(1) 00026 ratio = dble(nrf_deform)/dble(nrf) 00027 emdc = emdc_ini 00028 ntgpolp = 0; ntgpolm = ntg; ntgeq = ntg/2; ntgxy = ntg/2 00029 npgxzp = 0; npgxzm = npg/2; npgyzp = npg/4; npgyzm = 3*(npg/4) 00030 ntfpolp = 0; ntfpolm = ntf; ntfeq = ntf/2; ntfxy = ntf/2 00031 npfxzp = 0; npfxzm = npf/2; npfyzp = npf/4; npfyzm = 3*(npf/4) 00032 end subroutine read_parameter_mpt 00033