aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Michael E Rowan <38045958+mrowan137@users.noreply.github.com> 2020-05-05 17:40:24 -0700
committerGravatar GitHub <noreply@github.com> 2020-05-05 17:40:24 -0700
commitf1fcac8a018c46fe0ae587469b2bf92862110f7a (patch)
tree425d8d92dbca75ebe5413b0499d601cef36f33dc /Source/Particles/PhysicalParticleContainer.cpp
parentbc76960209c232fd2e47f19099470156320f16c7 (diff)
downloadWarpX-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.cpp6
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);