[Commits] [svn:einsteintoolkit] GRHydro_InitData/trunk/src/ (Rev. 165)

rhaas at tapir.caltech.edu rhaas at tapir.caltech.edu
Mon Sep 17 11:27:26 CDT 2012


User: rhaas
Date: 2012/09/17 11:27 AM

Modified:
 /trunk/src/
  GRHydro_Bondi_new.F90

Log:
 GRHydro_InitData: relax on the tiny value hard coded.
 
 From: Bruno Coutinho Mundim <bcmsma at astro.rit.edu>

File Changes:

Directory: /trunk/src/
======================

File [modified]: GRHydro_Bondi_new.F90
Delta lines: +3 -3
===================================================================
--- trunk/src/GRHydro_Bondi_new.F90	2012-09-17 16:27:24 UTC (rev 164)
+++ trunk/src/GRHydro_Bondi_new.F90	2012-09-17 16:27:26 UTC (rev 165)
@@ -52,7 +52,7 @@
   
   CCTK_INT :: i, j, k, nx, ny, nz, imin, jb,N_points
   CCTK_REAL :: ONEmTINY, tiny
-  PARAMETER (N_points=2000,ONEmTINY=0.999999d0,tiny=1.0d-14)
+  PARAMETER (N_points=2000,ONEmTINY=0.999999d0,tiny=1.0d-12)
   CCTK_REAL :: M, Msq, Mdot, rs, gam, rmin_bondi, rmax_bondi, cs_sq,cs,vs_sq,vs,rhos,gtemp,hs, Kval, Qdot
   CCTK_REAL :: logrmin,dlogr,rhotmp,utmp,vtmp,rspher
   CCTK_REAL :: r_bondi(N_points), logr_bondi(N_points), rho_bondi(N_points), u_bondi(N_points), v_bondi(N_points)
@@ -224,8 +224,8 @@
            
 !           if(riso.gt.1.014d0.and.riso.lt.1.015) then 
            if(abs(z(i,j,k)).lt.tiny.and. &
-              x(i,j,k).gt.6.7d0.and.x(i,j,k).lt.6.9.and. &
-              y(i,j,k).gt.1.34d0.and.y(i,j,k).lt.1.38 ) then 
+              x(i,j,k).gt.6.7d0.and.x(i,j,k).lt.6.9d0.and. &
+              y(i,j,k).gt.1.34d0.and.y(i,j,k).lt.1.38d0 ) then 
              write(debug_message,'(a,15f22.14)') 'Point to check:', &
                x(i,j,k),y(i,j,k),z(i,j,k),riso,gxx(i,j,k),dens(i,j,k),&
                tau(i,j,k),sx(i,j,k),sy(i,j,k),sz(i,j,k),rho(i,j,k),eps(i,j,k),&



More information about the Commits mailing list