aboutsummaryrefslogtreecommitdiff
path: root/src/GRHydro_ParamCheck.F90
diff options
context:
space:
mode:
Diffstat (limited to 'src/GRHydro_ParamCheck.F90')
-rw-r--r--src/GRHydro_ParamCheck.F904
1 files changed, 4 insertions, 0 deletions
diff --git a/src/GRHydro_ParamCheck.F90 b/src/GRHydro_ParamCheck.F90
index b2aaf37..6cf5ad1 100644
--- a/src/GRHydro_ParamCheck.F90
+++ b/src/GRHydro_ParamCheck.F90
@@ -57,6 +57,10 @@ subroutine GRHydro_ParamCheck(CCTK_ARGUMENTS)
call CCTK_PARAMWARN("The stencil size must be at least 3 to use WENO reconstruction.")
end if
+ if (CCTK_EQUALS(recon_method,"mp5").and.(GRHydro_stencil < 3)) then
+ call CCTK_PARAMWARN("The stencil size must be at least 3 to use MP5 reconstruction.")
+ end if
+
if (CCTK_EQUALS(recon_method,"eno").and.(GRHydro_stencil < eno_order)) then
call CCTK_PARAMWARN("The stencil size must be at least the order of the reconstruction to use ENO reconstruction")
end if