aboutsummaryrefslogtreecommitdiff
path: root/Source/WarpXPML.H
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WarpXPML.H')
-rw-r--r--Source/WarpXPML.H10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/WarpXPML.H b/Source/WarpXPML.H
index c161ac596..d2ea26898 100644
--- a/Source/WarpXPML.H
+++ b/Source/WarpXPML.H
@@ -86,6 +86,8 @@ private:
amrex::Real dt_E = -1.e10;
};
+enum struct PatchType : int;
+
class PML
{
public:
@@ -113,13 +115,21 @@ public:
const std::array<amrex::MultiFab*,3>& B_cp);
void ExchangeE (const std::array<amrex::MultiFab*,3>& E_fp,
const std::array<amrex::MultiFab*,3>& E_cp);
+ void ExchangeB (PatchType patch_type,
+ const std::array<amrex::MultiFab*,3>& Bp);
+ void ExchangeE (PatchType patch_type,
+ const std::array<amrex::MultiFab*,3>& Ep);
void ExchangeF (amrex::MultiFab* F_fp, amrex::MultiFab* F_cp);
+ void ExchangeF (PatchType patch_type, amrex::MultiFab* Fp);
void FillBoundary ();
void FillBoundaryE ();
void FillBoundaryB ();
void FillBoundaryF ();
+ void FillBoundaryE (PatchType patch_type);
+ void FillBoundaryB (PatchType patch_type);
+ void FillBoundaryF (PatchType patch_type);
bool ok () const { return m_ok; }