diff options
author | 2020-05-05 17:40:24 -0700 | |
---|---|---|
committer | 2020-05-05 17:40:24 -0700 | |
commit | f1fcac8a018c46fe0ae587469b2bf92862110f7a (patch) | |
tree | 425d8d92dbca75ebe5413b0499d601cef36f33dc /Source/Particles/PhysicalParticleContainer.cpp | |
parent | bc76960209c232fd2e47f19099470156320f16c7 (diff) | |
download | WarpX-f1fcac8a018c46fe0ae587469b2bf92862110f7a.tar.gz WarpX-f1fcac8a018c46fe0ae587469b2bf92862110f7a.tar.zst WarpX-f1fcac8a018c46fe0ae587469b2bf92862110f7a.zip |
Switch costs to LayoutData (#970)
Cleanup
Cleanup
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhysicalParticleContainer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index ce2871b3f..ebfea28c7 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -478,7 +478,7 @@ PhysicalParticleContainer::AddPlasma (int lev, RealBox part_realbox) defineAllParticleTiles(); - amrex::Vector<amrex::Real>* cost = WarpX::getCosts(lev); + amrex::LayoutData<amrex::Real>* cost = WarpX::getCosts(lev); const int nlevs = numLevels(); static bool refine_injection = false; @@ -950,7 +950,7 @@ PhysicalParticleContainer::FieldGather (int lev, { BL_ASSERT(OnSameGrids(lev,Ex)); - amrex::Vector<amrex::Real>* cost = WarpX::getCosts(lev); + amrex::LayoutData<amrex::Real>* cost = WarpX::getCosts(lev); #ifdef _OPENMP #pragma omp parallel @@ -1021,7 +1021,7 @@ PhysicalParticleContainer::Evolve (int lev, BL_ASSERT(OnSameGrids(lev,jx)); - amrex::Vector<amrex::Real>* cost = WarpX::getCosts(lev); + amrex::LayoutData<amrex::Real>* cost = WarpX::getCosts(lev); const iMultiFab* current_masks = WarpX::CurrentBufferMasks(lev); const iMultiFab* gather_masks = WarpX::GatherBufferMasks(lev); |