diff options
author | 2018-12-07 17:06:44 -0800 | |
---|---|---|
committer | 2018-12-07 17:06:44 -0800 | |
commit | b4a5d3be50c2db2209608904bdccdabe8684c7fb (patch) | |
tree | 17c093963dbf83bbb3ca77ae33b8f2f5f41495ce /Source/ParticleContainer.cpp | |
parent | d2382f76ca954761ab985e4e31c8589057f15894 (diff) | |
parent | a4673497ba6ddae4be1a47b9f390fcc626c48df8 (diff) | |
download | WarpX-b4a5d3be50c2db2209608904bdccdabe8684c7fb.tar.gz WarpX-b4a5d3be50c2db2209608904bdccdabe8684c7fb.tar.zst WarpX-b4a5d3be50c2db2209608904bdccdabe8684c7fb.zip |
Merge branch 'dev' into picmi_diagnostics
Diffstat (limited to 'Source/ParticleContainer.cpp')
-rw-r--r-- | Source/ParticleContainer.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Source/ParticleContainer.cpp b/Source/ParticleContainer.cpp index 75c13d793..8aac692d6 100644 --- a/Source/ParticleContainer.cpp +++ b/Source/ParticleContainer.cpp @@ -69,8 +69,8 @@ MultiParticleContainer::ReadParameters () } } } - pp.query("use_fdtd_nci_corr", use_fdtd_nci_corr); - pp.query("l_lower_order_in_v", l_lower_order_in_v); + pp.query("use_fdtd_nci_corr", WarpX::use_fdtd_nci_corr); + pp.query("l_lower_order_in_v", WarpX::l_lower_order_in_v); initialized = true; } } @@ -261,6 +261,14 @@ MultiParticleContainer::GetChargeDensity (int lev, bool local) } void +MultiParticleContainer::SortParticlesByCell () +{ + for (auto& pc : allcontainers) { + pc->SortParticlesByCell(); + } +} + +void MultiParticleContainer::Redistribute () { for (auto& pc : allcontainers) { |