diff options
author | schnetter <> | 2001-08-26 12:43:00 +0000 |
---|---|---|
committer | schnetter <> | 2001-08-26 12:43:00 +0000 |
commit | b24642582649b8fd10b32b8ebf01aae35174f637 (patch) | |
tree | 0809f702cc1030f6156d09cea78b16f8fbf590b5 /Carpet | |
parent | e93ba7bbf376b2ac42eca2d298e5bf08d9abf902 (diff) |
Don't allocate scalars all the time.
Don't allocate scalars all the time.
This was necessary to work around a bug in CactusBase/Time.
darcs-hash:20010826124325-07bb3-394545087e5b6290d60c68fe20990e263ccea1bd.gz
Diffstat (limited to 'Carpet')
-rw-r--r-- | Carpet/Carpet/src/SetupGH.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Carpet/Carpet/src/SetupGH.cc b/Carpet/Carpet/src/SetupGH.cc index 7ae52773e..eaecf1902 100644 --- a/Carpet/Carpet/src/SetupGH.cc +++ b/Carpet/Carpet/src/SetupGH.cc @@ -10,7 +10,7 @@ #include "carpet.hh" -static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/SetupGH.cc,v 1.6 2001/08/26 13:59:00 schnetter Exp $"; +static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/SetupGH.cc,v 1.7 2001/08/26 14:43:25 schnetter Exp $"; @@ -248,9 +248,9 @@ namespace Carpet { set_component (cgh, -1); // Enable storage for all groups if desired - for (int group=0; group<CCTK_NumGroups(); ++group) { - // XXX - if (true || enable_all_storage || CCTK_GroupTypeI(group)==CCTK_SCALAR) { + // XXX + if (true || enable_all_storage) { + for (int group=0; group<CCTK_NumGroups(); ++group) { EnableGroupStorage (cgh, CCTK_GroupName(group)); } } |