aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/ggf.hh
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2007-03-07 23:11:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2007-03-07 23:11:00 +0000
commit07e242d6ab7281d6a021bd226ed4c0f12dbe9522 (patch)
tree4c03ea08867e78ce7fa2d6c854c4a74cde24b9f2 /Carpet/CarpetLib/src/ggf.hh
parent0a279e99ee4001932813b275da51fa4f921d4cb9 (diff)
CarpetLib: Pre-calculate the communication schedule for recomposing
Calculate the communication schedule for recomposing in advance. This is the schedule which decides which parts of the old grid hierarchy are used to fill what parts of the new grid hierarchy. Previously, this schedule was calculate for every grid function anew. Omit synchronisation and boundary prolongation after recomposing. This must now happen by scheduled routines in the postregrid bin. darcs-hash:20070307231156-dae7b-a9fc9a40a88dc7c5b459de8118fc3d4b6c66ffac.gz
Diffstat (limited to 'Carpet/CarpetLib/src/ggf.hh')
-rw-r--r--Carpet/CarpetLib/src/ggf.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/src/ggf.hh b/Carpet/CarpetLib/src/ggf.hh
index 3e113ee01..8908c30f7 100644
--- a/Carpet/CarpetLib/src/ggf.hh
+++ b/Carpet/CarpetLib/src/ggf.hh
@@ -96,8 +96,10 @@ public:
void recompose_allocate (int rl);
void recompose_fill (comm_state& state, int rl, bool do_prolongate);
void recompose_free_old (int rl);
+#if 0
void recompose_bnd_prolongate (comm_state& state, int rl, bool do_prolongate);
void recompose_sync (comm_state& state, int rl, bool do_prolongate);
+#endif
// Cycle the time levels by rotating the data sets
void cycle (int rl, int c, int ml);
@@ -141,7 +143,8 @@ protected:
void copycat (comm_state& state,
int tl1, int rl1, int c1, int ml1,
const pvect dh::dboxes::* recv_pvect,
- int tl2, int rl2, int ml2);
+ int tl2, int rl2, int ml2,
+ mdata * srcstorage = 0);
// Interpolate a region
void intercat (comm_state& state,