diff options
author | 2022-12-08 13:08:07 -0800 | |
---|---|---|
committer | 2022-12-08 13:08:07 -0800 | |
commit | 202b93c3eafd590773c893ee4cc924899b452a33 (patch) | |
tree | c8182f63d752895515278d510722c6632bd3395d /Source/Diagnostics/ComputeDiagFunctors/PartPerGridFunctor.cpp | |
parent | 0afa0b0cb34b9be71a3f23338e21e66d464bc65a (diff) | |
download | WarpX-202b93c3eafd590773c893ee4cc924899b452a33.tar.gz WarpX-202b93c3eafd590773c893ee4cc924899b452a33.tar.zst WarpX-202b93c3eafd590773c893ee4cc924899b452a33.zip |
ABLASTR: Coarsen Functions (#3433)
* ABLASTR: Coarsen Functions
Move coarsen functions to ABLASTR.
Rename by property of the coarsening function.
* Remove unused imports
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
Diffstat (limited to 'Source/Diagnostics/ComputeDiagFunctors/PartPerGridFunctor.cpp')
-rw-r--r-- | Source/Diagnostics/ComputeDiagFunctors/PartPerGridFunctor.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Diagnostics/ComputeDiagFunctors/PartPerGridFunctor.cpp b/Source/Diagnostics/ComputeDiagFunctors/PartPerGridFunctor.cpp index 45a0ad115..5c637f2c7 100644 --- a/Source/Diagnostics/ComputeDiagFunctors/PartPerGridFunctor.cpp +++ b/Source/Diagnostics/ComputeDiagFunctors/PartPerGridFunctor.cpp @@ -2,9 +2,10 @@ #include "Diagnostics/ComputeDiagFunctors/ComputeDiagFunctor.H" #include "Particles/MultiParticleContainer.H" -#include "Utils/CoarsenIO.H" #include "WarpX.H" +#include <ablastr/coarsen/sample.H> + #include <AMReX_BLassert.H> #include <AMReX_Config.H> #include <AMReX_FArrayBox.H> @@ -48,5 +49,5 @@ PartPerGridFunctor::operator()(amrex::MultiFab& mf_dst, const int dcomp, const i } // Coarsen and interpolate from ppg_mf to the output diagnostic MultiFab, mf_dst. - CoarsenIO::Coarsen(mf_dst, ppg_mf, dcomp, 0, nComp(), 0, m_crse_ratio); + ablastr::coarsen::sample::Coarsen(mf_dst, ppg_mf, dcomp, 0, nComp(), 0, m_crse_ratio); } |