diff options
author | 2019-08-29 20:34:44 +0200 | |
---|---|---|
committer | 2019-08-29 20:34:44 +0200 | |
commit | f182d0b6edd3fccb83ec2cb9e8c999f6a6c0aa75 (patch) | |
tree | 3c63d92f68e98f177f48008a2184955afc937334 /Source/BoundaryConditions/PML.cpp | |
parent | 1e864e4431c673c2b8097900de461003e19f6365 (diff) | |
download | WarpX-f182d0b6edd3fccb83ec2cb9e8c999f6a6c0aa75.tar.gz WarpX-f182d0b6edd3fccb83ec2cb9e8c999f6a6c0aa75.tar.zst WarpX-f182d0b6edd3fccb83ec2cb9e8c999f6a6c0aa75.zip |
Deleted functions `CopyJinReg` and `CopyPMLsInReg` (unused)
Diffstat (limited to 'Source/BoundaryConditions/PML.cpp')
-rw-r--r-- | Source/BoundaryConditions/PML.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/Source/BoundaryConditions/PML.cpp b/Source/BoundaryConditions/PML.cpp index 7cddc1308..c95933872 100644 --- a/Source/BoundaryConditions/PML.cpp +++ b/Source/BoundaryConditions/PML.cpp @@ -718,31 +718,6 @@ PML::CopyJtoPMLs (const std::array<amrex::MultiFab*,3>& j_fp, CopyJtoPMLs(PatchType::coarse, j_cp); } -void -PML::CopyJinReg (PatchType patch_type, - const std::array<amrex::MultiFab*,3>& jp) -{ - if (patch_type == PatchType::fine && pml_j_fp[0] && jp[0]) - { - CopyPMLsInReg(*pml_j_fp[0], *jp[0], *m_geom); - CopyPMLsInReg(*pml_j_fp[1], *jp[1], *m_geom); - CopyPMLsInReg(*pml_j_fp[2], *jp[2], *m_geom); - } - else if (patch_type == PatchType::coarse && pml_j_cp[0] && jp[0]) - { - CopyPMLsInReg(*pml_j_cp[0], *jp[0], *m_cgeom); - CopyPMLsInReg(*pml_j_cp[1], *jp[1], *m_cgeom); - CopyPMLsInReg(*pml_j_cp[2], *jp[2], *m_cgeom); - } -} - -void -PML::CopyJinReg (const std::array<amrex::MultiFab*,3>& j_fp, - const std::array<amrex::MultiFab*,3>& j_cp) -{ - CopyJinReg(PatchType::fine, j_fp); - CopyJinReg(PatchType::coarse, j_cp); -} void PML::ExchangeF (MultiFab* F_fp, MultiFab* F_cp, int do_pml_in_domain, int ncell, @@ -856,17 +831,6 @@ PML::CopyRegInPMLs (MultiFab& pml, MultiFab& reg, const Geometry& geom) } void -PML::CopyPMLsInReg (MultiFab& pml, MultiFab& reg, const Geometry& geom) -{ - const IntVect& ngr = reg.nGrowVect(); - const IntVect& ngp = pml.nGrowVect(); - const auto& period = geom.periodicity(); - - reg.ParallelCopy(pml, 0, 0, 1, ngp, ngr, period); - -} - -void PML::FillBoundary () { FillBoundaryE(); |