diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-12-27 17:57:25 +0100 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-12-27 17:57:25 +0100 |
commit | 684fd4e0c6dd2c101967710e26c4281f2041396b (patch) | |
tree | 3b8c27be02d4f4dc82c55a9b56c9976a14f4f6c1 /m | |
parent | f5a7c761dafe64caf81cf007f0e8bff5475401b9 (diff) | |
parent | 6b8cad46188634bca7780ad186a6ce6973e8e33d (diff) |
Merge branch 'master' of ssh://relativity.phys.lsu.edu/home/perturbed/gitroot/McLachlan
Conflicts:
m/Makefile
Diffstat (limited to 'm')
-rw-r--r-- | m/McLachlan.m | 63 |
1 files changed, 51 insertions, 12 deletions
diff --git a/m/McLachlan.m b/m/McLachlan.m index 319a625..87c542b 100644 --- a/m/McLachlan.m +++ b/m/McLachlan.m @@ -295,15 +295,22 @@ convertFromADMBaseCalcBSSNGamma = Xt[ua] -> gtu[ub,uc] Gt[ua,lb,lc], (* TODO: check this *) - A -> - (dtalp - Lie[alpha, beta]) / (harmonicF alpha^harmonicN), - + (* A -> - (dtalp - Lie[alpha, beta]) / (harmonicF alpha^harmonicN), *) + A -> - dtalp / (harmonicF alpha^harmonicN) ( LapseAdvectionCoeff - 1.0 ), + (* TODO: check this *) (* B1 -> dtbetax / (ShiftGammaCoeff alpha^ShiftAlphaPower) *) (* B2 -> dtbetay / (ShiftGammaCoeff alpha^ShiftAlphaPower) *) (* B3 -> dtbetaz / (ShiftGammaCoeff alpha^ShiftAlphaPower) *) - B1 -> ShiftGammaCoeff dtbetax / ((ShiftGammaCoeff^2 + 1.0*^-100) alpha^ShiftAlphaPower), + (* B1 -> ShiftGammaCoeff dtbetax / ((ShiftGammaCoeff^2 + 1.0*^-100) alpha^ShiftAlphaPower), B2 -> ShiftGammaCoeff dtbetay / ((ShiftGammaCoeff^2 + 1.0*^-100) alpha^ShiftAlphaPower), - B3 -> ShiftGammaCoeff dtbetaz / ((ShiftGammaCoeff^2 + 1.0*^-100) alpha^ShiftAlphaPower) + B3 -> ShiftGammaCoeff dtbetaz / ((ShiftGammaCoeff^2 + 1.0*^-100) alpha^ShiftAlphaPower) *) + B1 -> 1/ShiftGammaCoeff ( + dtbetax + - ShiftAdvectionCoeff beta[ua] PD[B1,la] ), + B2 -> 1/ShiftGammaCoeff ( + dtbetay + - ShiftAdvectionCoeff beta[ua] PD[B2,la] ), + B3 -> 1/ShiftGammaCoeff ( + dtbetaz + - ShiftAdvectionCoeff beta[ua] PD[B3,la] ) } } @@ -345,7 +352,6 @@ convertToADMBaseCalcBSSN = { Name -> "ML_BSSN_convertToADMBase", Schedule -> {"IN MoL_PostStep AFTER ML_BSSN_ApplyBCs AFTER ML_BSSN_enforce"}, - Where -> Interior, Shorthands -> {e4phi, g[la,lb], K[la,lb]}, Equations -> { @@ -369,10 +375,20 @@ convertToADMBaseCalcBSSN = betay -> beta2, betaz -> beta3, (* see RHS *) - dtalp -> - harmonicF alpha^harmonicN A + Lie[alpha, beta], +(* dtalp -> - harmonicF alpha^harmonicN A + Lie[alpha, beta], dtbetax -> ShiftGammaCoeff alpha^ShiftAlphaPower B1, dtbetay -> ShiftGammaCoeff alpha^ShiftAlphaPower B2, - dtbetaz -> ShiftGammaCoeff alpha^ShiftAlphaPower B3 + dtbetaz -> ShiftGammaCoeff alpha^ShiftAlphaPower B3 *) + + dtalp -> - harmonicF alpha^harmonicN ( + ( 1 - LapseAdvectionCoeff) A + LapseAdvectionCoeff trK ) + + LapseAdvectionCoeff beta[ua] PD[alpha,la], + dtbetax -> + ShiftGammaCoeff B1 + + ShiftAdvectionCoeff beta[ub] PD[beta[ua],lb], + dtbetay -> + ShiftGammaCoeff B2 + + ShiftAdvectionCoeff beta[ub] PD[beta[ua],lb], + dtbetaz -> + ShiftGammaCoeff B3 + + ShiftAdvectionCoeff beta[ub] PD[beta[ua],lb] } } @@ -542,12 +558,22 @@ evolCalcBSSN = + Lie[At[la,lb], beta] - (2/3) At[la,lb] PD[beta[uc],lc], *) (* dot[alpha] -> - harmonicF alpha^harmonicN trK, *) - dot[alpha] -> - harmonicF alpha^harmonicN A + Lie[alpha, beta], + (* dot[alpha] -> - harmonicF alpha^harmonicN A + Lie[alpha, beta], *) + dot[alpha] -> - harmonicF alpha^harmonicN ( + ( 1 - LapseAdvectionCoeff) A + LapseAdvectionCoeff trK ) + + LapseAdvectionCoeff beta[ua] PD[alpha,la], (* TODO: is the above Lie derivative correct? *) - dot[A] -> dot[trK] - AlphaDriver A, + + dot[A] -> ( 1 - LapseAdvectionCoeff ) ( dot[trK] - AlphaDriver A ), (* dot[beta[ua]] -> eta Xt[ua], *) - dot[beta[ua]] -> ShiftGammaCoeff alpha^ShiftAlphaPower B[ua], - dot[B[ua]] -> dot[Xt[ua]] - BetaDriver B[ua] + (* dot[beta[ua]] -> ShiftGammaCoeff alpha^ShiftAlphaPower B[ua], *) + + dot[beta[ua]] -> + ShiftGammaCoeff B[ua] + + ShiftAdvectionCoeff beta[ub] PD[beta[ua],lb], + + dot[B[ua]] -> + dot[Xt[ua]] - BetaDriver B[ua] + + ShiftAdvectionCoeff beta[ub] ( + PD[B[ua],lb] + - PD[Xt[ua],lb] ) (* TODO: is there a Lie derivative of the shift missing? *) } } @@ -614,7 +640,9 @@ enforceCalcBSSN = trA -> gtu[ua,ub] At[la,lb], - At[la,lb] -> At[la,lb] - (1/3) gt[la,lb] trA + At[la,lb] -> At[la,lb] - (1/3) gt[la,lb] trA, + + alpha -> Max[alpha,10^(-10)] } } @@ -844,9 +872,20 @@ realParameters = { Name -> BetaDriver, Default -> 0 + }, + { + Name -> LapseAdvectionCoeff, + Description -> "Factor in front of the shift advection terms in 1+log", + Default -> 1. + }, + { + Name -> ShiftAdvectionCoeff, + Description -> "Factor in front of the shift advection terms in gamma driver", + Default -> 1. } }; + (******************************************************************************) (* Construct the thorns *) (******************************************************************************) |