aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@b2a53a04-0f4f-0410-87ed-f9f25ced00cf>2008-02-29 22:54:00 +0000
committerschnetter <schnetter@b2a53a04-0f4f-0410-87ed-f9f25ced00cf>2008-02-29 22:54:00 +0000
commitec55816a8cc6e9e8393a3afe6db0653661e435ad (patch)
treeacbe7563a93bb4217f7b98937dd283f638b37011
parentea67b9e6a73eae12556288765e34a982e72e9040 (diff)
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
-rw-r--r--src/TwoPunctures.c6
1 files changed, 6 insertions, 0 deletions
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"))
{