From f1fcac8a018c46fe0ae587469b2bf92862110f7a Mon Sep 17 00:00:00 2001 From: Michael E Rowan <38045958+mrowan137@users.noreply.github.com> Date: Tue, 5 May 2020 17:40:24 -0700 Subject: Switch costs to LayoutData (#970) Cleanup Cleanup --- Source/Particles/PhysicalParticleContainer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Particles/PhysicalParticleContainer.cpp') 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* cost = WarpX::getCosts(lev); + amrex::LayoutData* 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* cost = WarpX::getCosts(lev); + amrex::LayoutData* cost = WarpX::getCosts(lev); #ifdef _OPENMP #pragma omp parallel @@ -1021,7 +1021,7 @@ PhysicalParticleContainer::Evolve (int lev, BL_ASSERT(OnSameGrids(lev,jx)); - amrex::Vector* cost = WarpX::getCosts(lev); + amrex::LayoutData* cost = WarpX::getCosts(lev); const iMultiFab* current_masks = WarpX::CurrentBufferMasks(lev); const iMultiFab* gather_masks = WarpX::GatherBufferMasks(lev); -- cgit v1.2.3