From c1088f5c4132c6a713f694a6640f1d2736794f71 Mon Sep 17 00:00:00 2001 From: hawke Date: Fri, 7 Jan 2005 15:23:17 +0000 Subject: Initialize some of the grid scalars as early as possible. These are not reset until evolution so NaNChecker was finding NaNs after INITIAL in certain cases (according to Bela Szilagyi). git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@81 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b --- src/IndexArrays.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/IndexArrays.c b/src/IndexArrays.c index 60cd140..59f3950 100644 --- a/src/IndexArrays.c +++ b/src/IndexArrays.c @@ -75,6 +75,11 @@ void MoL_SetupIndexArrays(CCTK_ARGUMENTS) char *infoline; + /* Initialize the time variables */ + + *Original_Time = cctkGH->cctk_time; + *Original_Delta_Time = cctkGH->cctk_delta_time; + /* We only want to set up the index arrays once. With mesh refinement this routine could be scheduled -- cgit v1.2.3