aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/variables.cc
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2005-11-19 21:21:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2005-11-19 21:21:00 +0000
commit75da5b34b3ac3cee970b435cc3ce6aac4af1e466 (patch)
treeb67cf0cd957bcd88fdbe3f2a405eff059fa40705 /Carpet/Carpet/src/variables.cc
parent557ed43dd9116a525ebc5736cf887db6920973c0 (diff)
Carpet: Store grid spacing per map instead of globally
Store the coarse grid spacing per individual map instead of globally. Set and unset the grid spacing when entering or leaving singlemap mode, not global mode. This breaks code that tries to access the coarse grid spacing in the cGH in global mode. darcs-hash:20051119212129-dae7b-2bfe457a182d4e7e3229ede412aad8ecf450417a.gz
Diffstat (limited to 'Carpet/Carpet/src/variables.cc')
-rw-r--r--Carpet/Carpet/src/variables.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/Carpet/src/variables.cc b/Carpet/Carpet/src/variables.cc
index fdd499419..81b9a9ecb 100644
--- a/Carpet/Carpet/src/variables.cc
+++ b/Carpet/Carpet/src/variables.cc
@@ -75,8 +75,8 @@ namespace Carpet {
vector<vector<CCTK_REAL> > leveltimes; // [mglevel][reflevel]
CCTK_REAL delta_time;
- vector<vect<CCTK_REAL,dim> > origin_space; // [mglevel]
- vect<CCTK_REAL,dim> delta_space;
+ vector<vector<vect<CCTK_REAL,dim> > > origin_space; // [map][mglevel]
+ vector<vect<CCTK_REAL,dim> > delta_space; // [map]