diff options
author | hawke <hawke@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b> | 2005-01-07 15:23:17 +0000 |
---|---|---|
committer | hawke <hawke@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b> | 2005-01-07 15:23:17 +0000 |
commit | c1088f5c4132c6a713f694a6640f1d2736794f71 (patch) | |
tree | 366b80901c158a380af590a6cacb54c9de9f5e15 | |
parent | cf01781c7ae38a6386810d71c932791fc1265cda (diff) |
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
-rw-r--r-- | src/IndexArrays.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 |