diff options
author | rhaas <rhaas@b2a53a04-0f4f-0410-87ed-f9f25ced00cf> | 2010-05-24 19:21:50 +0000 |
---|---|---|
committer | rhaas <rhaas@b2a53a04-0f4f-0410-87ed-f9f25ced00cf> | 2010-05-24 19:21:50 +0000 |
commit | 506b980364008642a64dea93dd3ad55c7caca9c5 (patch) | |
tree | 738d8a6a05382707b140ca899bf8013bba80ed7d /src/TwoPunctures.c | |
parent | ddf2734f87761928bbf50965d1d623fc885bf9ac (diff) |
make PunctEvalAtArbitPosition work with more than one variable
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/TwoPunctures/trunk@105 b2a53a04-0f4f-0410-87ed-f9f25ced00cf
Diffstat (limited to 'src/TwoPunctures.c')
-rw-r--r-- | src/TwoPunctures.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TwoPunctures.c b/src/TwoPunctures.c index e503f23..3b97d20 100644 --- a/src/TwoPunctures.c +++ b/src/TwoPunctures.c @@ -318,7 +318,7 @@ TwoPunctures (CCTK_ARGUMENTS) /* print out ADM mass, eq.: \Delta M_ADM=2*r*u=4*b*V for A=1,B=0,phi=0 */ admMass = (*mp + *mm - - 4*par_b*PunctEvalAtArbitPosition(v.d0, 1, 0, 0, n1, n2, n3));; + - 4*par_b*PunctEvalAtArbitPosition(v.d0, 0, 1, 0, 0, nvar, n1, n2, n3)); CCTK_VInfo (CCTK_THORNSTRING, "The total ADM mass is %g", (double) admMass); } |