aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/WarpXParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2019-12-11 10:23:58 +0100
committerGravatar Luca Fedeli <luca.fedeli@cea.fr> 2019-12-11 10:23:58 +0100
commit54cff96378953aecf56d4fa81361d44dcf01a956 (patch)
treec421a46d5e52babd86509fb975b8e9ad15965a9f /Source/Particles/WarpXParticleContainer.cpp
parentc1515f593af5469dd419af5b6168f8f680de066a (diff)
downloadWarpX-54cff96378953aecf56d4fa81361d44dcf01a956.tar.gz
WarpX-54cff96378953aecf56d4fa81361d44dcf01a956.tar.zst
WarpX-54cff96378953aecf56d4fa81361d44dcf01a956.zip
moved comment in empty block
Diffstat (limited to 'Source/Particles/WarpXParticleContainer.cpp')
-rw-r--r--Source/Particles/WarpXParticleContainer.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Particles/WarpXParticleContainer.cpp b/Source/Particles/WarpXParticleContainer.cpp
index 9f02da338..8926301b2 100644
--- a/Source/Particles/WarpXParticleContainer.cpp
+++ b/Source/Particles/WarpXParticleContainer.cpp
@@ -846,8 +846,9 @@ WarpXParticleContainer::particlePostLocate(ParticleType& p,
{
p.m_idata.id = DoSplitParticleID;
}
- // For the moment, do not do anything if particles goes
- // to lower level.
+
if (pld.m_lev == lev-1){
+ // For the moment, do not do anything if particles goes
+ // to lower level.
}
}