diff options
author | schnetter <> | 2004-03-23 16:56:00 +0000 |
---|---|---|
committer | schnetter <> | 2004-03-23 16:56:00 +0000 |
commit | ddafcdb58dbda1b50cbd11c9d5fc1083fa0a7d0c (patch) | |
tree | 957acd05469740237115df56c90681a1f75e94a2 | |
parent | 262c1d81949ef772b32d00df6685bcf3be45257f (diff) |
Fix bug in calculating the boundary prolongation zones on multiple
Fix bug in calculating the boundary prolongation zones on multiple
processors.
darcs-hash:20040323165600-07bb3-7dff25fdd6fe4a0a3ad350df8c0aa085799ca5d4.gz
-rw-r--r-- | Carpet/CarpetLib/src/dh.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Carpet/CarpetLib/src/dh.cc b/Carpet/CarpetLib/src/dh.cc index e23268791..6606306f4 100644 --- a/Carpet/CarpetLib/src/dh.cc +++ b/Carpet/CarpetLib/src/dh.cc @@ -1,4 +1,4 @@ -// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/dh.cc,v 1.48 2004/01/25 14:57:29 schnetter Exp $ +// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/dh.cc,v 1.49 2004/03/23 17:56:00 schnetter Exp $ #include <assert.h> @@ -331,9 +331,10 @@ void dh<D>::recompose (const int initialise_from, const bool do_prolongate) { // (the restriction must not use points that are filled // by boundary prolongation) ibset sends = intrf & intr.expanded_for(intrf); + // remove what is received during boundary prolongation for (int ccc=0; ccc<h.components(rl); ++ccc) { const iblist& sendlist - = boxes.at(rl+1).at(ccc).at(ml).recv_ref_bnd_coarse.at(cc); + = boxes.at(rl+1).at(cc).at(ml).recv_ref_bnd_coarse.at(ccc); for (typename iblist::const_iterator sli = sendlist.begin(); sli != sendlist.end(); ++sli) { sends -= *sli; |