aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/variables.hh
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-04-03 17:51:26 -0400
committerErik Schnetter <schnetter@gmail.com>2013-04-03 17:52:58 -0400
commit8962dacf32642a82eee8f61d07f4122cc1ddbbb1 (patch)
treeda90bf0bf599e38d5bedd4e2b9890b91cbddbc32 /Carpet/Carpet/src/variables.hh
parente99efd951ab3138230abd50966bf28b764b03c22 (diff)
Carpet, Requirements: Pass timelevel_offset
Introduce global variable timelevel_offset in Carpet. Pass timelevel_offset from Carpet to Requirements. Use timelevel_offset when determining which timelevels are accessed.
Diffstat (limited to 'Carpet/Carpet/src/variables.hh')
-rw-r--r--Carpet/Carpet/src/variables.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/Carpet/src/variables.hh b/Carpet/Carpet/src/variables.hh
index 60f934dd3..c8eecaaf1 100644
--- a/Carpet/Carpet/src/variables.hh
+++ b/Carpet/Carpet/src/variables.hh
@@ -88,7 +88,7 @@ namespace Carpet {
extern int map;
extern int component;
extern int local_component; // -1 for non-local
- extern int timelevel;
+ extern int timelevel, timelevel_offset;
// Current refinement factors
extern int timereflevelfact;