aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/data.hh
diff options
context:
space:
mode:
authorswhite <schnetter@cct.lsu.edu>2004-11-29 17:57:00 +0000
committerswhite <schnetter@cct.lsu.edu>2004-11-29 17:57:00 +0000
commit097c294fd9102e4d528ca37fe9bae74d90d97232 (patch)
tree43213124e7933f78f2b2bb4973c636f998613bb4 /Carpet/CarpetLib/src/data.hh
parente2793e05bf32fee729ce3e93d5f69a494370c7c6 (diff)
data_fill_box_arrays
Pulled out repeated code into single routine data::fill_box_arrays. While this is an improvement, I don't like the fact that I've had to expose the ugly funciton in the data.hh interface, even as private. It was necessary because the inappropriate declaration of ibbox as an internal type (of inexplicit access) of the data class. Down the road, make a separate ibbox declaration. darcs-hash:20041129175753-32473-a0f983bbaf22ff404cd89a0db814faca0a8f0a7b.gz
Diffstat (limited to 'Carpet/CarpetLib/src/data.hh')
-rw-r--r--Carpet/CarpetLib/src/data.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/data.hh b/Carpet/CarpetLib/src/data.hh
index 524f77c4c..f08463ff6 100644
--- a/Carpet/CarpetLib/src/data.hh
+++ b/Carpet/CarpetLib/src/data.hh
@@ -90,6 +90,9 @@ private:
virtual void change_processor_wait (comm_state<D>& state,
const int newproc,
void* const mem=0);
+ virtual void fill_box_arrays( int *srcshp, int *dstshp,
+ int srcbbox[3][D], int dstbbox[3][D], int regbbox[3][D],
+ const ibbox & box, const ibbox & sext, const ibbox & dext );
public:
// Accessors