aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/defs.hh
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2007-01-12 20:41:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2007-01-12 20:41:00 +0000
commit46b7adb8ce67d530d807293109b1759662a1ffa4 (patch)
tree07b52349e4255152c6f3c4f36d343edae3d2363c /Carpet/CarpetLib/src/defs.hh
parentf65b896e853a5f2f0b43cb9e44cf373a71de0000 (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/src/defs.hh')
-rw-r--r--Carpet/CarpetLib/src/defs.hh11
1 files changed, 0 insertions, 11 deletions
diff --git a/Carpet/CarpetLib/src/defs.hh b/Carpet/CarpetLib/src/defs.hh
index 57d57a6b5..21272b58e 100644
--- a/Carpet/CarpetLib/src/defs.hh
+++ b/Carpet/CarpetLib/src/defs.hh
@@ -52,17 +52,6 @@ typedef vect<vect<int,dim>,2> i2vect;
-// Grid structure description
-struct grid_structure_t {
- vector <vector <ibbox> > bbss; // refinement regions [reflevel][component]
- vector <vector <bbvect> > obss; // outer boundaries [reflevel][component]
-};
-
-istream& operator>> (istream& is, grid_structure_t& gs);
-ostream& operator<< (ostream& os, grid_structure_t const& gs);
-
-
-
// A general type
enum centering { vertex_centered, cell_centered };