From 77bb6a519246df9d9afaf67a61ebdb9ca0b0e67c Mon Sep 17 00:00:00 2001 From: Andrew Myers Date: Fri, 24 Jul 2020 14:38:08 -0700 Subject: do not directly access the particle id and cpu in favor of going through the getter / setter methods. These members are implemented using an anonymous struct that will be going away soon in amrex, so this type of access is deprecated. (#1208) --- Source/Particles/PhysicalParticleContainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Particles/PhysicalParticleContainer.cpp') diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index 369a39f8a..9511ab8f8 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -1369,7 +1369,7 @@ PhysicalParticleContainer::SplitParticles (int lev) } #endif // invalidate the particle - p.m_idata.id = -p.m_idata.id; + p.id() = -p.id(); } } } -- cgit v1.2.3