From ec55816a8cc6e9e8393a3afe6db0653661e435ad Mon Sep 17 00:00:00 2001 From: schnetter Date: Fri, 29 Feb 2008 22:54:00 +0000 Subject: Set the puncture masses on the refined levels as well. This should remove the nans that appeared recently. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/TwoPunctures/trunk@82 b2a53a04-0f4f-0410-87ed-f9f25ced00cf --- src/TwoPunctures.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/TwoPunctures.c b/src/TwoPunctures.c index ebda548..8ef7911 100644 --- a/src/TwoPunctures.c +++ b/src/TwoPunctures.c @@ -292,6 +292,12 @@ TwoPunctures (CCTK_ARGUMENTS) - 4*par_b*PunctEvalAtArbitPosition(v.d0, 1, 0, 0, n1, n2, n3)); CCTK_VInfo (CCTK_THORNSTRING, "ADM mass is %g\n", (double)admMass); } + else { + + mp = par_m_plus; + mm = par_m_minus; + + } if (CCTK_EQUALS(grid_setup_method, "Taylor expansion")) { -- cgit v1.2.3