User: diener Date: 2010/11/04 05:55 PM
Modified: /trunk/src/macro/ DXYDG_undefine.h
Log: 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.
File Changes:
Directory: /trunk/src/macro/ ============================
File [modified]: DXYDG_undefine.h Delta lines: +1 -1 =================================================================== --- trunk/src/macro/DXYDG_undefine.h 2010-07-12 14:50:08 UTC (rev 106) +++ trunk/src/macro/DXYDG_undefine.h 2010-11-04 22:55:50 UTC (rev 107) @@ -6,7 +6,7 @@ @enddesc @@*/
-#undef DXYDG_DECLARE +#undef DXYDG_GUTS
#include "DXDG_undefine.h" #include "DYDG_undefine.h"