aboutsummaryrefslogtreecommitdiff
path: root/ML_BSSN_MP
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2009-11-14 21:37:05 -0600
committerErik Schnetter <schnetter@cct.lsu.edu>2009-11-14 21:37:05 -0600
commitd178c81a0cb1da927bfd7d0bb64043d9484b353b (patch)
tree2a48ab29ef4a72dc1d1ae60e00cd7c0f231ae823 /ML_BSSN_MP
parent87fa6dcf3ff19d937313d20cca8f9e2bca1d4aec (diff)
Allow 4 RHS time levels.
Re-generate code.
Diffstat (limited to 'ML_BSSN_MP')
-rw-r--r--ML_BSSN_MP/interface.ccl36
-rw-r--r--ML_BSSN_MP/param.ccl12
-rw-r--r--ML_BSSN_MP/schedule.ccl72
3 files changed, 99 insertions, 21 deletions
diff --git a/ML_BSSN_MP/interface.ccl b/ML_BSSN_MP/interface.ccl
index dcb0074..8573da7 100644
--- a/ML_BSSN_MP/interface.ccl
+++ b/ML_BSSN_MP/interface.ccl
@@ -59,7 +59,7 @@ CCTK_REAL ML_mom type=GF timelevels=1 tags='tensortypealias="D" tensorweight=1.0
} "ML_mom"
public:
-CCTK_REAL ML_curv type=GF timelevels=3 tags='tensortypealias="DD_sym" tensorweight=-0.66666666666666666667'
+CCTK_REAL ML_curv type=GF timelevels=4 tags='tensortypealias="DD_sym" tensorweight=-0.66666666666666666667'
{
At11,
At12,
@@ -70,13 +70,13 @@ CCTK_REAL ML_curv type=GF timelevels=3 tags='tensortypealias="DD_sym" tensorweig
} "ML_curv"
public:
-CCTK_REAL ML_dtlapse type=GF timelevels=3 tags='tensortypealias="Scalar" tensorweight=1.0000000000000000000'
+CCTK_REAL ML_dtlapse type=GF timelevels=4 tags='tensortypealias="Scalar" tensorweight=1.0000000000000000000'
{
A
} "ML_dtlapse"
public:
-CCTK_REAL ML_dtshift type=GF timelevels=3 tags='tensortypealias="U" tensorweight=1.0000000000000000000'
+CCTK_REAL ML_dtshift type=GF timelevels=4 tags='tensortypealias="U" tensorweight=1.0000000000000000000'
{
B1,
B2,
@@ -84,7 +84,7 @@ CCTK_REAL ML_dtshift type=GF timelevels=3 tags='tensortypealias="U" tensorweight
} "ML_dtshift"
public:
-CCTK_REAL ML_Gamma type=GF timelevels=3 tags='tensortypealias="U" tensorweight=0.66666666666666666667'
+CCTK_REAL ML_Gamma type=GF timelevels=4 tags='tensortypealias="U" tensorweight=0.66666666666666666667'
{
Xt1,
Xt2,
@@ -92,19 +92,19 @@ CCTK_REAL ML_Gamma type=GF timelevels=3 tags='tensortypealias="U" tensorweight=0
} "ML_Gamma"
public:
-CCTK_REAL ML_lapse type=GF timelevels=3 tags='tensortypealias="Scalar" tensorweight=1.0000000000000000000'
+CCTK_REAL ML_lapse type=GF timelevels=4 tags='tensortypealias="Scalar" tensorweight=1.0000000000000000000'
{
alpha
} "ML_lapse"
public:
-CCTK_REAL ML_log_confac type=GF timelevels=3 tags='tensortypealias="Scalar" tensorweight=0.16666666666666666667'
+CCTK_REAL ML_log_confac type=GF timelevels=4 tags='tensortypealias="Scalar" tensorweight=0.16666666666666666667'
{
phi
} "ML_log_confac"
public:
-CCTK_REAL ML_metric type=GF timelevels=3 tags='tensortypealias="DD_sym" tensorweight=-0.66666666666666666667'
+CCTK_REAL ML_metric type=GF timelevels=4 tags='tensortypealias="DD_sym" tensorweight=-0.66666666666666666667'
{
gt11,
gt12,
@@ -115,7 +115,7 @@ CCTK_REAL ML_metric type=GF timelevels=3 tags='tensortypealias="DD_sym" tensorwe
} "ML_metric"
public:
-CCTK_REAL ML_shift type=GF timelevels=3 tags='tensortypealias="U" tensorweight=1.0000000000000000000'
+CCTK_REAL ML_shift type=GF timelevels=4 tags='tensortypealias="U" tensorweight=1.0000000000000000000'
{
beta1,
beta2,
@@ -123,13 +123,13 @@ CCTK_REAL ML_shift type=GF timelevels=3 tags='tensortypealias="U" tensorweight=1
} "ML_shift"
public:
-CCTK_REAL ML_trace_curv type=GF timelevels=3 tags='tensortypealias="Scalar" tensorweight=1.0000000000000000000'
+CCTK_REAL ML_trace_curv type=GF timelevels=4 tags='tensortypealias="Scalar" tensorweight=1.0000000000000000000'
{
trK
} "ML_trace_curv"
public:
-CCTK_REAL ML_curvrhs type=GF timelevels=3 tags='tensortypealias="DD_sym" tensorweight=-0.66666666666666666667'
+CCTK_REAL ML_curvrhs type=GF timelevels=4 tags='tensortypealias="DD_sym" tensorweight=-0.66666666666666666667'
{
At11rhs,
At12rhs,
@@ -140,13 +140,13 @@ CCTK_REAL ML_curvrhs type=GF timelevels=3 tags='tensortypealias="DD_sym" tensorw
} "ML_curvrhs"
public:
-CCTK_REAL ML_dtlapserhs type=GF timelevels=3 tags='tensortypealias="Scalar" tensorweight=1.0000000000000000000'
+CCTK_REAL ML_dtlapserhs type=GF timelevels=4 tags='tensortypealias="Scalar" tensorweight=1.0000000000000000000'
{
Arhs
} "ML_dtlapserhs"
public:
-CCTK_REAL ML_dtshiftrhs type=GF timelevels=3 tags='tensortypealias="U" tensorweight=1.0000000000000000000'
+CCTK_REAL ML_dtshiftrhs type=GF timelevels=4 tags='tensortypealias="U" tensorweight=1.0000000000000000000'
{
B1rhs,
B2rhs,
@@ -154,7 +154,7 @@ CCTK_REAL ML_dtshiftrhs type=GF timelevels=3 tags='tensortypealias="U" tensorwei
} "ML_dtshiftrhs"
public:
-CCTK_REAL ML_Gammarhs type=GF timelevels=3 tags='tensortypealias="U" tensorweight=0.66666666666666666667'
+CCTK_REAL ML_Gammarhs type=GF timelevels=4 tags='tensortypealias="U" tensorweight=0.66666666666666666667'
{
Xt1rhs,
Xt2rhs,
@@ -162,19 +162,19 @@ CCTK_REAL ML_Gammarhs type=GF timelevels=3 tags='tensortypealias="U" tensorweigh
} "ML_Gammarhs"
public:
-CCTK_REAL ML_lapserhs type=GF timelevels=3 tags='tensortypealias="Scalar" tensorweight=1.0000000000000000000'
+CCTK_REAL ML_lapserhs type=GF timelevels=4 tags='tensortypealias="Scalar" tensorweight=1.0000000000000000000'
{
alpharhs
} "ML_lapserhs"
public:
-CCTK_REAL ML_log_confacrhs type=GF timelevels=3 tags='tensortypealias="Scalar" tensorweight=0.16666666666666666667'
+CCTK_REAL ML_log_confacrhs type=GF timelevels=4 tags='tensortypealias="Scalar" tensorweight=0.16666666666666666667'
{
phirhs
} "ML_log_confacrhs"
public:
-CCTK_REAL ML_metricrhs type=GF timelevels=3 tags='tensortypealias="DD_sym" tensorweight=-0.66666666666666666667'
+CCTK_REAL ML_metricrhs type=GF timelevels=4 tags='tensortypealias="DD_sym" tensorweight=-0.66666666666666666667'
{
gt11rhs,
gt12rhs,
@@ -185,7 +185,7 @@ CCTK_REAL ML_metricrhs type=GF timelevels=3 tags='tensortypealias="DD_sym" tenso
} "ML_metricrhs"
public:
-CCTK_REAL ML_shiftrhs type=GF timelevels=3 tags='tensortypealias="U" tensorweight=1.0000000000000000000'
+CCTK_REAL ML_shiftrhs type=GF timelevels=4 tags='tensortypealias="U" tensorweight=1.0000000000000000000'
{
beta1rhs,
beta2rhs,
@@ -193,7 +193,7 @@ CCTK_REAL ML_shiftrhs type=GF timelevels=3 tags='tensortypealias="U" tensorweigh
} "ML_shiftrhs"
public:
-CCTK_REAL ML_trace_curvrhs type=GF timelevels=3 tags='tensortypealias="Scalar" tensorweight=1.0000000000000000000'
+CCTK_REAL ML_trace_curvrhs type=GF timelevels=4 tags='tensortypealias="Scalar" tensorweight=1.0000000000000000000'
{
trKrhs
} "ML_trace_curvrhs"
diff --git a/ML_BSSN_MP/param.ccl b/ML_BSSN_MP/param.ccl
index ee2f759..05346a4 100644
--- a/ML_BSSN_MP/param.ccl
+++ b/ML_BSSN_MP/param.ccl
@@ -22,6 +22,12 @@ EXTENDS CCTK_KEYWORD shift_evolution_method "shift_evolution_method"
}
+EXTENDS CCTK_KEYWORD dtlapse_evolution_method "dtlapse_evolution_method"
+{
+ ML_BSSN_MP :: ""
+}
+
+
EXTENDS CCTK_KEYWORD dtshift_evolution_method "dtshift_evolution_method"
{
ML_BSSN_MP :: ""
@@ -153,13 +159,13 @@ CCTK_INT ML_BSSN_MP_MaxNumEvolvedVars "Number of evolved variables used by this
restricted:
CCTK_INT timelevels "Number of active timelevels"
{
- 0:3 :: ""
-} 3
+ 0:4 :: ""
+} 4
restricted:
CCTK_INT rhs_timelevels "Number of active RHS timelevels"
{
- 0:3 :: ""
+ 0:4 :: ""
} 1
restricted:
diff --git a/ML_BSSN_MP/schedule.ccl b/ML_BSSN_MP/schedule.ccl
index 0da5b5e..ea6c4bb 100644
--- a/ML_BSSN_MP/schedule.ccl
+++ b/ML_BSSN_MP/schedule.ccl
@@ -23,6 +23,10 @@ if (timelevels == 3)
{
STORAGE: ML_curv[3]
}
+if (timelevels == 4)
+{
+ STORAGE: ML_curv[4]
+}
if (timelevels == 1)
{
@@ -36,6 +40,10 @@ if (timelevels == 3)
{
STORAGE: ML_dtlapse[3]
}
+if (timelevels == 4)
+{
+ STORAGE: ML_dtlapse[4]
+}
if (timelevels == 1)
{
@@ -49,6 +57,10 @@ if (timelevels == 3)
{
STORAGE: ML_dtshift[3]
}
+if (timelevels == 4)
+{
+ STORAGE: ML_dtshift[4]
+}
if (timelevels == 1)
{
@@ -62,6 +74,10 @@ if (timelevels == 3)
{
STORAGE: ML_Gamma[3]
}
+if (timelevels == 4)
+{
+ STORAGE: ML_Gamma[4]
+}
if (timelevels == 1)
{
@@ -75,6 +91,10 @@ if (timelevels == 3)
{
STORAGE: ML_lapse[3]
}
+if (timelevels == 4)
+{
+ STORAGE: ML_lapse[4]
+}
if (timelevels == 1)
{
@@ -88,6 +108,10 @@ if (timelevels == 3)
{
STORAGE: ML_log_confac[3]
}
+if (timelevels == 4)
+{
+ STORAGE: ML_log_confac[4]
+}
if (timelevels == 1)
{
@@ -101,6 +125,10 @@ if (timelevels == 3)
{
STORAGE: ML_metric[3]
}
+if (timelevels == 4)
+{
+ STORAGE: ML_metric[4]
+}
if (timelevels == 1)
{
@@ -114,6 +142,10 @@ if (timelevels == 3)
{
STORAGE: ML_shift[3]
}
+if (timelevels == 4)
+{
+ STORAGE: ML_shift[4]
+}
if (timelevels == 1)
{
@@ -127,6 +159,10 @@ if (timelevels == 3)
{
STORAGE: ML_trace_curv[3]
}
+if (timelevels == 4)
+{
+ STORAGE: ML_trace_curv[4]
+}
if (rhs_timelevels == 1)
{
@@ -140,6 +176,10 @@ if (rhs_timelevels == 3)
{
STORAGE: ML_curvrhs[3]
}
+if (rhs_timelevels == 4)
+{
+ STORAGE: ML_curvrhs[4]
+}
if (rhs_timelevels == 1)
{
@@ -153,6 +193,10 @@ if (rhs_timelevels == 3)
{
STORAGE: ML_dtlapserhs[3]
}
+if (rhs_timelevels == 4)
+{
+ STORAGE: ML_dtlapserhs[4]
+}
if (rhs_timelevels == 1)
{
@@ -166,6 +210,10 @@ if (rhs_timelevels == 3)
{
STORAGE: ML_dtshiftrhs[3]
}
+if (rhs_timelevels == 4)
+{
+ STORAGE: ML_dtshiftrhs[4]
+}
if (rhs_timelevels == 1)
{
@@ -179,6 +227,10 @@ if (rhs_timelevels == 3)
{
STORAGE: ML_Gammarhs[3]
}
+if (rhs_timelevels == 4)
+{
+ STORAGE: ML_Gammarhs[4]
+}
if (rhs_timelevels == 1)
{
@@ -192,6 +244,10 @@ if (rhs_timelevels == 3)
{
STORAGE: ML_lapserhs[3]
}
+if (rhs_timelevels == 4)
+{
+ STORAGE: ML_lapserhs[4]
+}
if (rhs_timelevels == 1)
{
@@ -205,6 +261,10 @@ if (rhs_timelevels == 3)
{
STORAGE: ML_log_confacrhs[3]
}
+if (rhs_timelevels == 4)
+{
+ STORAGE: ML_log_confacrhs[4]
+}
if (rhs_timelevels == 1)
{
@@ -218,6 +278,10 @@ if (rhs_timelevels == 3)
{
STORAGE: ML_metricrhs[3]
}
+if (rhs_timelevels == 4)
+{
+ STORAGE: ML_metricrhs[4]
+}
if (rhs_timelevels == 1)
{
@@ -231,6 +295,10 @@ if (rhs_timelevels == 3)
{
STORAGE: ML_shiftrhs[3]
}
+if (rhs_timelevels == 4)
+{
+ STORAGE: ML_shiftrhs[4]
+}
if (rhs_timelevels == 1)
{
@@ -244,6 +312,10 @@ if (rhs_timelevels == 3)
{
STORAGE: ML_trace_curvrhs[3]
}
+if (rhs_timelevels == 4)
+{
+ STORAGE: ML_trace_curvrhs[4]
+}
schedule ML_BSSN_MP_Startup at STARTUP
{