aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/ggf.hh
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2012-02-05 20:24:09 -0500
committerBarry Wardell <barry.wardell@gmail.com>2012-09-11 18:17:59 +0100
commit8554617595eb9f16608a52487ff142ca6fccb9f6 (patch)
treef162a22c99af86d69738cb513384b02561209c4f /Carpet/CarpetLib/src/ggf.hh
parent97e44e585ea966068eefb7e2e48cefad171d0d19 (diff)
Re-organise some refluxing internals
Re-organise some of the internal details of refluxing. Refluxing requires restricting fluxes from fine to coarse grids. Previously, Carpet would internally store bounding boxes that were offset by 1/2 grid point, and adjust (correct) these boxes in various places in a rather ad-hoc manner. This is now cleaned up. Remove the (unused) "accumulate" operator, and the (unused) "accumulate" prolongation type.
Diffstat (limited to 'Carpet/CarpetLib/src/ggf.hh')
-rw-r--r--Carpet/CarpetLib/src/ggf.hh12
1 files changed, 6 insertions, 6 deletions
diff --git a/Carpet/CarpetLib/src/ggf.hh b/Carpet/CarpetLib/src/ggf.hh
index db2b93f8e..74ebd15ae 100644
--- a/Carpet/CarpetLib/src/ggf.hh
+++ b/Carpet/CarpetLib/src/ggf.hh
@@ -124,9 +124,6 @@ public:
// Synchronise the boundaries of a component
void sync_all (comm_state& state, int tl, int rl, int ml);
- // Accumulate from boundaries of a component
- void accumulate_all (comm_state& state, int tl, int rl, int ml);
-
// Prolongate the boundaries of a component
void ref_bnd_prolongate_all (comm_state& state,
int tl, int rl, int ml, CCTK_REAL time);
@@ -172,7 +169,8 @@ protected:
vector<int> const & tl2s, int rl2, int ml2,
CCTK_REAL const & time,
bool use_old_storage = false,
- bool flip_send_recv = false);
+ bool flip_send_recv = false,
+ islab const *restrict slabinfo = NULL);
void
transfer_from_all (comm_state & state,
@@ -180,7 +178,8 @@ protected:
srpvect const dh::fast_dboxes::* sendrecvs,
int tl2, int rl2, int ml2,
bool use_old_storage = false,
- bool flip_send_recv = false)
+ bool flip_send_recv = false,
+ islab const *restrict slabinfo = NULL)
{
vector <int> tl2s(1);
tl2s.AT(0) = tl2;
@@ -191,7 +190,8 @@ protected:
tl2s, rl2, ml2,
time,
use_old_storage,
- flip_send_recv);
+ flip_send_recv,
+ slabinfo);
}