From e09bec287832257205fea3655bbd08201ebb30a9 Mon Sep 17 00:00:00 2001 From: schnetter Date: Thu, 14 Apr 2005 06:58:01 +0000 Subject: Decrease the fudge factor which avoids nans again. Rewriting the equation to make it manifestly non-negative is enough. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDAnalyticBH/trunk@159 6a3ddf76-46e1-4315-99d9-bc56cac1ef84 --- src/BrillLindquist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/BrillLindquist.c b/src/BrillLindquist.c index 279a40e..eef51b5 100644 --- a/src/BrillLindquist.c +++ b/src/BrillLindquist.c @@ -143,7 +143,7 @@ void BrillLindquist(CCTK_ARGUMENTS) tmp1 = sqrt(SQR(xval+hole_x0[n]) +SQR(yval+hole_y0[n]) +SQR(zval+hole_z0[n]) - +1.0e-10); + +1.0e-20); psi[i] += hole_mass[n]/tmp1*0.5; -- cgit v1.2.3