aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/variables.cc
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2006-10-03 23:37:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2006-10-03 23:37:00 +0000
commita6d2764b99d78bf2476ba154beff9ba2549e3491 (patch)
treed766b7f9aabfa68397a19a0deedfd53e8066fe44 /Carpet/Carpet/src/variables.cc
parentf41397cb4d253af033eabd1287cc375990a7d7ff (diff)
Carpet: Add grouptype state variable for traversing maps and components
When looping over maps and components, remember whether to loop over grid arrays or grid functions. Grid arrays have 1 map and nprocs components, while grid functions can have many maps are many components per map. Add a corresponding grouptype argument to the mode handling functions and macros. Update all callers. darcs-hash:20061003233704-dae7b-d0d0bf914405821ceddfd0339fac7a640b23c42b.gz
Diffstat (limited to 'Carpet/Carpet/src/variables.cc')
-rw-r--r--Carpet/Carpet/src/variables.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/Carpet/Carpet/src/variables.cc b/Carpet/Carpet/src/variables.cc
index c7e16cb85..23e78132b 100644
--- a/Carpet/Carpet/src/variables.cc
+++ b/Carpet/Carpet/src/variables.cc
@@ -53,6 +53,7 @@ namespace Carpet {
// Current position on the grid hierarchy
int reflevel;
int mglevel;
+ int mc_grouptype;
int map;
int component;