diff options
author | schnetter <> | 2002-06-05 22:23:00 +0000 |
---|---|---|
committer | schnetter <> | 2002-06-05 22:23:00 +0000 |
commit | 728d83a25711e9418b478b2ee439cf089b152b0c (patch) | |
tree | f27815b385826061e6cabf9c75952cce2bfe46db /Carpet/Carpet/src/Cycle.cc | |
parent | 1f34f1db1e13fdc5ffe43682dfd5544526f430fe (diff) |
Arrays and scalars are now treated differently. There is now only one
Arrays and scalars are now treated differently. There is now only one
instance of each scalar and array per processor (... and convergence
level). That means that all refinement levels and all grid components
share the same scalars and arrays.
darcs-hash:20020605222334-07bb3-469a6576637a8f90df31f2b23aa6779222910ca6.gz
Diffstat (limited to 'Carpet/Carpet/src/Cycle.cc')
-rw-r--r-- | Carpet/Carpet/src/Cycle.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Carpet/Carpet/src/Cycle.cc b/Carpet/Carpet/src/Cycle.cc index 25aa4cf1a..af3e564ee 100644 --- a/Carpet/Carpet/src/Cycle.cc +++ b/Carpet/Carpet/src/Cycle.cc @@ -8,7 +8,7 @@ #include "carpet.hh" -static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Cycle.cc,v 1.5 2002/03/26 13:22:26 schnetter Exp $"; +static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Cycle.cc,v 1.6 2002/06/06 00:23:34 schnetter Exp $"; CCTK_FILEVERSION(Carpet_Cycle_cc) @@ -25,7 +25,8 @@ namespace Carpet { Checkpoint ("%*sCycleTimeLevels", 2*reflevel, ""); for (int group=0; group<CCTK_NumGroups(); ++group) { - if (CCTK_QueryGroupStorageI(cgh, group)) { + if (reflevel<arrdata[group].hh->reflevels() + && CCTK_QueryGroupStorageI(cgh, group)) { for (int var=0; var<CCTK_NumVarsInGroupI(group); ++var) { assert (group<(int)arrdata.size()); |