aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/variables.hh
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2006-06-22 02:31:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2006-06-22 02:31:00 +0000
commit2eded904fab08db994a4c16520e77d99510d6b72 (patch)
treed28b2d27bfdd6264dae5f4533968e76c5a79b00d /Carpet/Carpet/src/variables.hh
parent5828c234bede09f9045f4efae5927cd3fc16d4b6 (diff)
Carpet: Store domain specification that is used to set up the coarse grid
Store the domain specification that is used to set up the coarse grid. This can be used later instead of querying the coordinate systems, since querying them may be complicated in multi-block setups, and is impossible before the coordinate thorn has been initialised. darcs-hash:20060622023155-dae7b-914667c8c11a273df3f2674d0835be1ccace17e0.gz
Diffstat (limited to 'Carpet/Carpet/src/variables.hh')
-rw-r--r--Carpet/Carpet/src/variables.hh9
1 files changed, 9 insertions, 0 deletions
diff --git a/Carpet/Carpet/src/variables.hh b/Carpet/Carpet/src/variables.hh
index 668d1bc0f..18ad71894 100644
--- a/Carpet/Carpet/src/variables.hh
+++ b/Carpet/Carpet/src/variables.hh
@@ -107,6 +107,15 @@ namespace Carpet {
extern vector<vector<vect<CCTK_REAL,dim> > > origin_space; // [map][mglevel]
extern vector<vect<CCTK_REAL,dim> > delta_space; // [map]
+ // Domain extent, as used for the original grid setup
+ // TODO: Unify this with origin_space and delta_space,
+ // possibly asserting constency at run time
+ struct domainspec {
+ vect<CCTK_REAL,dim> exterior_min, exterior_max;
+ vect<int,dim> npoints;
+ };
+ extern vector<domainspec> domainspecs; // [map]
+
// Is this the time for a global mode call?