aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/Storage.cc
diff options
context:
space:
mode:
authorschnetter <>2003-05-27 10:01:00 +0000
committerschnetter <>2003-05-27 10:01:00 +0000
commit343af5d6432feecd65a217c3cb1731394b55d315 (patch)
tree273d767c7d9bcfc46da6cc170309e47fbd023ef6 /Carpet/Carpet/src/Storage.cc
parentbd3359be3716a5fcc8d1024e5e1526090692a4d8 (diff)
When initialising each timelevel, treat only the last round (at t=0)
When initialising each timelevel, treat only the last round (at t=0) as global. Add routines to call level mode and local mode routines from global mode and level mode. Do not pass lsh=0 in global mode and level mode. darcs-hash:20030527100111-07bb3-495c4454473fe64d62730a5370fada3787424ad9.gz
Diffstat (limited to 'Carpet/Carpet/src/Storage.cc')
-rw-r--r--Carpet/Carpet/src/Storage.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/Carpet/Carpet/src/Storage.cc b/Carpet/Carpet/src/Storage.cc
index 3214ff5fe..86ddd3817 100644
--- a/Carpet/Carpet/src/Storage.cc
+++ b/Carpet/Carpet/src/Storage.cc
@@ -10,7 +10,7 @@
#include "carpet.hh"
extern "C" {
- static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Storage.cc,v 1.19 2003/05/23 23:51:17 schnetter Exp $";
+ static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/Storage.cc,v 1.20 2003/05/27 12:01:11 schnetter Exp $";
CCTK_FILEVERSION(Carpet_Carpet_Storage_cc);
}
@@ -206,13 +206,7 @@ namespace Carpet {
}
assert (group>=0 && group<CCTK_NumGroups());
- if (component == -1) {
- // global routine
- return &zero;
- }
-
const int gpdim = arrdata[group].info.dim;
-
assert (dir>=0 && dir<gpdim);
if (CCTK_QueryGroupStorageI(cgh, group)) {