aboutsummaryrefslogtreecommitdiff
path: root/src/ParamCheck.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ParamCheck.c')
-rw-r--r--src/ParamCheck.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ParamCheck.c b/src/ParamCheck.c
index 47c573a..5316c9f 100644
--- a/src/ParamCheck.c
+++ b/src/ParamCheck.c
@@ -75,6 +75,13 @@ int MoL_ParamCheck(CCTK_ARGUMENTS)
"of scratch levels must be at least the "
"number of intermediate steps - 1");
}
+ if ( (CCTK_Equals(Generic_Type, "Classic RK3"))&&
+ ((!(MoL_Intermediate_Steps == 3))||(!(MoL_Num_Scratch_Levels > 1))) )
+ {
+ CCTK_PARAMWARN("When using the classic RK3 evolver the "
+ "number of intermediate steps must be 3 "
+ "and the number of scratch levels at least 2");
+ }
if (CCTK_Equals(Generic_Type, "Table"))
{
options_table =
@@ -121,6 +128,7 @@ int MoL_ParamCheck(CCTK_ARGUMENTS)
"number of intermediate steps must be 3");
}
+
return 0;
}