aboutsummaryrefslogtreecommitdiff
path: root/ML_BSSN_O2/src/ML_BSSN_O2_convertFromADMBase.cc
diff options
context:
space:
mode:
authorBarry Wardell <barry.wardell@gmail.com>2012-04-27 12:33:29 +0100
committerBarry Wardell <barry.wardell@gmail.com>2012-04-27 12:33:29 +0100
commitf87a82b998a429bcc88c928a06e175b633a916cc (patch)
treeffdd463b2a492151c0de29503589c9159acdf442 /ML_BSSN_O2/src/ML_BSSN_O2_convertFromADMBase.cc
parente574bf527f6e15bc0df239404df428caae93d797 (diff)
Regenerate thorns.
Diffstat (limited to 'ML_BSSN_O2/src/ML_BSSN_O2_convertFromADMBase.cc')
-rw-r--r--ML_BSSN_O2/src/ML_BSSN_O2_convertFromADMBase.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/ML_BSSN_O2/src/ML_BSSN_O2_convertFromADMBase.cc b/ML_BSSN_O2/src/ML_BSSN_O2_convertFromADMBase.cc
index a2b3d26..99514ca 100644
--- a/ML_BSSN_O2/src/ML_BSSN_O2_convertFromADMBase.cc
+++ b/ML_BSSN_O2/src/ML_BSSN_O2_convertFromADMBase.cc
@@ -269,7 +269,7 @@ static void ML_BSSN_O2_convertFromADMBase_Body(cGH const * restrict const cctkGH
CCTK_REAL_VEC em4phi;
- if (conformalMethod)
+ if (conformalMethod == 1)
{
phiL = kpow(detg,-0.166666666666666666666666666667);
@@ -315,6 +315,8 @@ static void ML_BSSN_O2_convertFromADMBase_Body(cGH const * restrict const cctkGH
CCTK_REAL_VEC At33L =
kmul(em4phi,kmadd(trKL,kmul(g33,ToReal(-0.333333333333333333333333333333)),kzzL));
+ CCTK_REAL_VEC ThetaL = ToReal(0);
+
CCTK_REAL_VEC alphaL = alpL;
CCTK_REAL_VEC beta1L = betaxL;
@@ -342,6 +344,7 @@ static void ML_BSSN_O2_convertFromADMBase_Body(cGH const * restrict const cctkGH
vec_store_nta_partial(gt23[index],gt23L);
vec_store_nta_partial(gt33[index],gt33L);
vec_store_nta_partial(phi[index],phiL);
+ vec_store_nta_partial(Theta[index],ThetaL);
vec_store_nta_partial(trK[index],trKL);
}
LC_ENDLOOP3VEC(ML_BSSN_O2_convertFromADMBase);
@@ -373,8 +376,9 @@ extern "C" void ML_BSSN_O2_convertFromADMBase(CCTK_ARGUMENTS)
"ML_BSSN_O2::ML_log_confac",
"ML_BSSN_O2::ML_metric",
"ML_BSSN_O2::ML_shift",
+ "ML_BSSN_O2::ML_Theta",
"ML_BSSN_O2::ML_trace_curv"};
- GenericFD_AssertGroupStorage(cctkGH, "ML_BSSN_O2_convertFromADMBase", 10, groups);
+ GenericFD_AssertGroupStorage(cctkGH, "ML_BSSN_O2_convertFromADMBase", 11, groups);
switch(fdOrder)
{