aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/ParticleCreation/SmartUtils.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2020-03-19 20:39:17 +0100
committerGravatar GitHub <noreply@github.com> 2020-03-19 12:39:17 -0700
commit57011251fc0e5eac168e9a693c39ae6588db274c (patch)
tree23c5d07df89c50e6bc66d9c037a57e949b234d3e /Source/Particles/ParticleCreation/SmartUtils.cpp
parentbb4871d077fcaa16e799a0f083ec447c34931552 (diff)
downloadWarpX-57011251fc0e5eac168e9a693c39ae6588db274c.tar.gz
WarpX-57011251fc0e5eac168e9a693c39ae6588db274c.tar.zst
WarpX-57011251fc0e5eac168e9a693c39ae6588db274c.zip
Add SmartCreate functor alongside SmartCopy (#825)
* created source files * initial work to create SmartCreate * Reorganized ParticleCreation and added SmartCreate.H * add missing files * added possibility to modify weight in SmartCreate * bugfixing * bugfixing * bugfixing * added comments and SmartCreateMode * fixed comments * removed template option * removed unused includes
Diffstat (limited to '')
-rw-r--r--Source/Particles/ParticleCreation/SmartUtils.cpp (renamed from Source/Particles/ParticleCreation/SmartCopy.cpp)2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/ParticleCreation/SmartCopy.cpp b/Source/Particles/ParticleCreation/SmartUtils.cpp
index 7d323ce39..eeff136a7 100644
--- a/Source/Particles/ParticleCreation/SmartCopy.cpp
+++ b/Source/Particles/ParticleCreation/SmartUtils.cpp
@@ -5,7 +5,7 @@
*
* License: BSD-3-Clause-LBNL
*/
-#include "SmartCopy.H"
+#include "SmartUtils.H"
PolicyVec getPolicies (const NameMap& names) noexcept
{