From 761c1b729e8077ddb389f5b9c91be0cd3658ba42 Mon Sep 17 00:00:00 2001 From: diener Date: Thu, 4 Nov 2010 22:55:50 +0000 Subject: Undefine the guts instead of the declare. This bug has been there since the beginning and showed up when using ADM with the leapfrog scheme using a predictor-corrector step at the first iteration. The source code to calculate the second derivative of the matric with respect to x and y was not included in the pre-processed source code for the corrector step, resulting in the value calculated for the last point in the predictor step was used for all grid points. This lead to wrong results that depended on the number of processors used, since different values where used on different processors. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@107 b1d164ef-f17a-46e7-89d4-021c7118ef4e --- src/macro/DXYDG_undefine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/macro/DXYDG_undefine.h b/src/macro/DXYDG_undefine.h index 0f1b551..2ea2c10 100644 --- a/src/macro/DXYDG_undefine.h +++ b/src/macro/DXYDG_undefine.h @@ -6,7 +6,7 @@ @enddesc @@*/ -#undef DXYDG_DECLARE +#undef DXYDG_GUTS #include "DXDG_undefine.h" #include "DYDG_undefine.h" -- cgit v1.2.3