User: rhaas Date: 2013/05/29 11:35 AM
Modified: /trunk/src/ GRHydro_ParamCheck.F90
Log: GRHydro: add PARAMCHECK for grhydro_stencil for WENO5
WENO5 needs at least a stencil width of 3
From: Roland Haas rhaas@tapir.caltech.edu
File Changes:
Directory: /trunk/src/ ======================
File [modified]: GRHydro_ParamCheck.F90 Delta lines: +4 -0 =================================================================== --- trunk/src/GRHydro_ParamCheck.F90 2013-05-29 16:35:16 UTC (rev 532) +++ trunk/src/GRHydro_ParamCheck.F90 2013-05-29 16:35:18 UTC (rev 533) @@ -53,6 +53,10 @@ end if end if
+ if (CCTK_EQUALS(recon_method,"weno").and.(GRHydro_stencil < 3)) then + call CCTK_PARAMWARN("The stencil size must be at least 3 to use WENO 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
commits@lists.einsteintoolkit.org