00001 subroutine bh_boundary_1bh_nh_psi_test(dsou_surf)
00002 use phys_constant, only : long
00003 use grid_parameter, only : nrg, ntg, npg, rgin
00004 use trigonometry_grav_theta, only : hsinthg
00005 use trigonometry_grav_phi, only : hcosphig
00006 use def_binary_parameter, only : sepa
00007 implicit none
00008
00009
00010 real(long), pointer :: dsou_surf(:,:)
00011 real(long) :: st, cp, rad1, bhmass
00012 integer :: itg, ipg
00013
00014 bhmass = 2.0d0*rgin
00015 do ipg = 1, npg
00016 do itg = 1, ntg
00017 st = hsinthg(itg)
00018 cp = hcosphig(ipg)
00019 rad1 = rgin
00020 dsou_surf(itg,ipg) = - 0.5d0*bhmass/rad1**2
00021 end do
00022 end do
00023
00024 end subroutine bh_boundary_1bh_nh_psi_test