00001 subroutine initial_metric_CF_pBH_mpt(impt)
00002 use phys_constant, only : long, pi, nmpt
00003 use grid_parameter, only : nrg, ntg, npg, rgin, ntgxy, npgxzm
00004 use def_metric, only : psi, alph, alps, bvxd, bvyd, bvzd
00005 use def_metric_pBH, only : psi_trpBH, alph_trpBH
00006 implicit none
00007 integer :: irg, itg, ipg, impt
00008
00009 if(impt.ne.nmpt) then
00010 call calc_TrpBH
00011 do ipg = 0, npg
00012 do itg = 0, ntg
00013 psi(0:nrg,itg,ipg) = psi_trpBH(0:nrg)
00014 alph(0:nrg,itg,ipg) = alph_trpBH(0:nrg)
00015 end do
00016 end do
00017 else
00018 psi(0:nrg,0:ntg,0:npg) = 1.0d0
00019 alph(0:nrg,0:ntg,0:npg) = 1.0d0
00020 end if
00021 alps(0:nrg,0:ntg,0:npg) = alph(0:nrg,0:ntg,0:npg)*psi(0:nrg,0:ntg,0:npg)
00022 bvxd(0:nrg,0:ntg,0:npg) = 0.0d0
00023 bvyd(0:nrg,0:ntg,0:npg) = 0.0d0
00024 bvzd(0:nrg,0:ntg,0:npg) = 0.0d0
00025
00026 end subroutine initial_metric_CF_pBH_mpt