diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-01-12 20:41:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-01-12 20:41:00 +0000 |
commit | 6fed65225be5d09e75a9981bb8d228557bd6a1b8 (patch) | |
tree | 07b52349e4255152c6f3c4f36d343edae3d2363c /Carpet/CarpetLib/interface.ccl | |
parent | 1c6c1e14cdcd3d77444b8aa44c4c236c8752c6e2 (diff) |
CarpetLib: Add new datatype region_t
The new datatype region_t combines an extent (a bbox), an outer
boundary descriptor, a refinement descriptor, and a processor number:
struct region_t {
ibbox extent; // extent
b2vect outer_boundaries; // outer boundaries
b2vect refinement_boundaries; // refinement boundaries
int map; // map to which this
// region belongs
int processor; // processor number
};
These quantities are often used together, and combining them into a
single datatype simplifies the code significantly.
Adapt gh, dh, etc. to use this new datatype.
This is a major API change.
darcs-hash:20070112204130-dae7b-92cad546187b0fe499e8cfc38b2e26614a4f608c.gz
Diffstat (limited to 'Carpet/CarpetLib/interface.ccl')
-rw-r--r-- | Carpet/CarpetLib/interface.ccl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/interface.ccl b/Carpet/CarpetLib/interface.ccl index 1b3da8365..98a160bf9 100644 --- a/Carpet/CarpetLib/interface.ccl +++ b/Carpet/CarpetLib/interface.ccl @@ -7,6 +7,7 @@ includes header: dist.hh in dist.hh includes header: bbox.hh in bbox.hh includes header: bboxset.hh in bboxset.hh +includes header: region.hh in region.hh includes header: vect.hh in vect.hh includes header: commstate.hh in commstate.hh |