aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiener <diener@b1d164ef-f17a-46e7-89d4-021c7118ef4e>2010-11-04 22:55:50 +0000
committerdiener <diener@b1d164ef-f17a-46e7-89d4-021c7118ef4e>2010-11-04 22:55:50 +0000
commit761c1b729e8077ddb389f5b9c91be0cd3658ba42 (patch)
treed885e19c070b8609ecb6c7909276d60221eb68fe
parent74c6b568ba97992d5500fd1f969588cc0481a0ca (diff)
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
-rw-r--r--src/macro/DXYDG_undefine.h2
1 files changed, 1 insertions, 1 deletions
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"