Skip to content

Commit

Permalink
Scope of NonLocalBC::ParallelCopy (AMReX-Codes#2922)
Browse files Browse the repository at this point in the history
Make NonLocalBC::ParallelCopy accessible in namespace amrex, because it can
be useful in situations other than non-local BC.
  • Loading branch information
WeiqunZhang committed Aug 22, 2022
1 parent 0911fc4 commit 8294c3a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions Src/Base/AMReX_MultiFab.H
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <AMReX_FabArray.H>
#include <AMReX_FabArrayUtility.H>
#include <AMReX_Periodicity.H>
#include <AMReX_NonLocalBC.H>

#ifdef AMREX_USE_EB
#include <AMReX_EBMultiFabUtil.H>
Expand Down
9 changes: 9 additions & 0 deletions Src/Base/AMReX_NonLocalBC.H
Original file line number Diff line number Diff line change
Expand Up @@ -1038,4 +1038,13 @@ FillPolar (FabArray<FAB>& mf, Box const& domain);

#include <AMReX_NonLocalBCImpl.H>

namespace amrex {
using NonLocalBC::ParallelCopy;
using NonLocalBC::ParallelCopy_nowait;
using NonLocalBC::ParallelCopy_finish;
using NonLocalBC::MultiBlockIndexMapping;
using NonLocalBC::MultiBlockCommMetaData;
using NonLocalBC::CommHandler;
}

#endif

0 comments on commit 8294c3a

Please sign in to comment.