[ET Trac] [Einstein Toolkit] #1795: PITTNullCode results depend on number of processors
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Fri Jul 31 14:34:31 CDT 2015
#1795: PITTNullCode results depend on number of processors
------------------------------------+---------------------------------------
Reporter: rhaas | Owner:
Type: defect | Status: confirmed
Priority: major | Milestone:
Component: EinsteinToolkit thorn | Version: development version
Resolution: | Keywords: PITTNullCode
------------------------------------+---------------------------------------
Comment (by yosef@…):
Here's a patch to include the check for the correct number of ghostzones
diff --git a/NullInterp/src/NullInterp_ParamCheck.F90
b/NullInterp/src/NullInte
index deee049..84bbbf4 100644
--- a/NullInterp/src/NullInterp_ParamCheck.F90
+++ b/NullInterp/src/NullInterp_ParamCheck.F90
@@ -21,6 +21,15 @@ subroutine NullInterp_ParamCheck(CCTK_ARGUMENTS)
call CCTK_PARAMWARN("Must set NullGrid::N_ang_ghost_pts >=
NullGrid::N_an
end if
+ if (deriv_accuracy.eq.4 .and. N_ang_ghost_pts.lt.4) then
+ call CCTK_PARAMWARN("If deriv_accuracy==4, then N_ang_ghost_pts >=4
is re
+ end if
+
+ if (deriv_accuracy.eq.4 .and. N_ang_stencil_size.lt.4) then
+ call CCTK_PARAMWARN("If deriv_accuracy==4, then N_stencil_size >=4
is req
+ end if
+
+
! derivative_accuracy = deriv_accuracy
! if (deriv_accuracy.eq.4) then
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1795#comment:10>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list