File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -538,11 +538,14 @@ template <typename T> struct z4c_vars : z4c_vars_noderivs<T> {
538538 // Constraints
539539 // (13)
540540 ZtC ([&](int a) ARITH_INLINE { return (Gamt (a) - Gamtd (a)) / 2 ; }), //
541+ // For the Hamiltonian and momentum constraints, the equations in
542+ // 1212.2901 is incorrect, whereas the one in 0912.2920 is correct,
543+ // as double-checked by Liwei Ji.
541544 // (14)
542545 HC (Rsc //
543- + sum_symm<3 >([&](int x, int y)
546+ - sum_symm<3 >([&](int x, int y)
544547 ARITH_INLINE { return At (x, y) * Atu (x, y); }) //
545- - 2 / T(3 ) * pow2 (Kh + 2 * Theta) //
548+ + 2 / T(3 ) * pow2 (Kh + 2 * Theta) //
546549 - 16 * T(M_PI) * rho),
547550 // (15)
548551 MtC([&](int a) ARITH_INLINE {
@@ -554,7 +557,7 @@ template <typename T> struct z4c_vars : z4c_vars_noderivs<T> {
554557 return (delta3 (a, x) + gammatu (a, x)) *
555558 (dKh (x) + 2 * dTheta (x));
556559 }) //
557- - 2 / T (3 ) * sum<3 >([&](int x) ARITH_INLINE {
560+ - 3 / T (2 ) * sum<3 >([&](int x) ARITH_INLINE {
558561 return Atu (a, x) * dchi (x) / (1 + chi);
559562 }) //
560563 - 8 * T (M_PI) * sum<3 >([&](int x) ARITH_INLINE {
You can’t perform that action at this time.
0 commit comments