diff options
author | eschnett <> | 2001-03-10 19:54:00 +0000 |
---|---|---|
committer | eschnett <> | 2001-03-10 19:54:00 +0000 |
commit | 14c03fca5707f9b5954f84724e29d702955894a0 (patch) | |
tree | fe9a01ca3c2dea72092af7731244e25453acc607 /Carpet/CarpetLib/src/bbox.hh | |
parent | 6b553d1f15dc4d2636ddb840313e0ff784ba29c3 (diff) |
Carpet now passes the Cart3d test suite. This required a rewrite of
Carpet now passes the Cart3d test suite. This required a rewrite of
CarpetSlabe, which now uses the data<> class instead of doing things
its own way. This in turn required some updates to data<>.
CarpetSlab now ignores (i. e. does not use) boundaries, except outer
boundaries. For that to work, the dh<> class has been given the
notion of an outer boundary.
In order to increase performance, the cctk_bbox[] information in
Carpet is not set correctly. As an approximation, it just reflects
whether the current grid component lies at the outer boundary, as
calculated using cctk_lbnd, cctk_ubnd, and cctk_gsh.
darcs-hash:20010310195459-f6438-8ee874d722de4df717e5eb3002722ceb8d4a9bb7.gz
Diffstat (limited to 'Carpet/CarpetLib/src/bbox.hh')
-rw-r--r-- | Carpet/CarpetLib/src/bbox.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/src/bbox.hh b/Carpet/CarpetLib/src/bbox.hh index 6787b9240..95afb992e 100644 --- a/Carpet/CarpetLib/src/bbox.hh +++ b/Carpet/CarpetLib/src/bbox.hh @@ -5,7 +5,7 @@ copyright : (C) 2000 by Erik Schnetter email : schnetter@astro.psu.edu - $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/bbox.hh,v 1.3 2001/03/07 13:00:57 eschnett Exp $ + $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/bbox.hh,v 1.4 2001/03/10 20:55:06 eschnett Exp $ ***************************************************************************/ @@ -96,6 +96,8 @@ public: bbox contracted_for (const bbox& b) const; // Set operations + // TODO: rename these; they clash with the bboxset operations + // (and name them & and | instead) // Smallest bbox containing both boxes bbox operator* (const bbox& b) const; bbox& operator*= (const bbox& b); |