aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-12-18 11:06:51 +0100
committerBarry Wardell <barry.wardell@gmail.com>2012-12-18 12:04:41 +0000
commit1e95cafb2f44d6f4e687d60fc88ec459ddb61164 (patch)
treea098ce101aa519ba1ae8fc7ab58cfccb8d8e6f36
parent45bcf7046474c39dc6fb7c3e7729cdd1143a70fe (diff)
McLachlan_BSSN: fix the Hamiltonian constraint for CCZ4.
A typo in a8794cd2227c87c7457ba51d040e863be2f981e7 has caused the additional CCZ4 terms to overwrite the BSSN value instead of adding to it.
-rw-r--r--m/McLachlan_BSSN.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/m/McLachlan_BSSN.m b/m/McLachlan_BSSN.m
index 2c0eb21..20ff871 100644
--- a/m/McLachlan_BSSN.m
+++ b/m/McLachlan_BSSN.m
@@ -1086,7 +1086,7 @@ constraintsCalc =
R[la,lb] -> + Rt[la,lb] + Rphi[la,lb],
IfCCZ4[
- R[la,lb] -> + (2/phi) (+ g[la,lc] Z[uc] PD[phi,lb]
+ R[la,lb] -> R[la, lb] + (2/phi) (+ g[la,lc] Z[uc] PD[phi,lb]
+ g[lb,lc] Z[uc] PD[phi,la] - g[la,lb] Z[uc] PD[phi,lc])
+ e4phi Z[uc] PD[gt[la,lb],lc]
],