diff options
author | 2021-06-25 04:34:32 +0200 | |
---|---|---|
committer | 2021-06-24 19:34:32 -0700 | |
commit | 0b6ddad4ce039277025b80ba81ff2692b3a80724 (patch) | |
tree | e41003ab090527544e313036b1adc436bba6b9e9 /Source/Particles/RigidInjectedParticleContainer.cpp | |
parent | 78ebf77e84f458eb6eb8917f333196acaa84e1c0 (diff) | |
download | WarpX-0b6ddad4ce039277025b80ba81ff2692b3a80724.tar.gz WarpX-0b6ddad4ce039277025b80ba81ff2692b3a80724.tar.zst WarpX-0b6ddad4ce039277025b80ba81ff2692b3a80724.zip |
Use "Include What You Use" on WarpX (#1947)
* initial tests with IWYU
* added a couple of forward declarations
* used iwyu on more files
* progress
* used iwyu on more files
* progress with iwyu
* progress with iwyu
* fixed bug
* progress with iwyu
* progress with IWYU
* progress with IWYU
* fixed bug
* fixed bug
* progress with IWYU
* progress with IWYU + use forward declarations in WarpX.H
* first try with .def files
* fix bugs
* progress with IWYU
* progress with IWYU
* progress with iwyu
* correct copyright
* fixed bug
* fixed bugs
* fix missing include
* fixed bug
* fix bug
* fix bug introduced during last bugfix
* use iwyu on newly added files
* add space
* fix bug
* fix missing include
* fix missing include
* fix missing include
* fixed bugs
* fixed bug
* attempt at fixing issue with math functions
* added missing include
* fixed missing include
* using _fwd.H
* fixed bug
* progress with iwyu
* update AMReX branch
* enforce alphabetic order
* progress with iwyu
* use right version of amrex
* use right version of amrex for tests
* fixed bug
* fix another bug
* fix missing include
* fix missing include
* fix missing include
* updated amrex
* initial work to document new include strategy
* updated documentation
* Fix rst & private includes
* Remove accidentially added files
* Fix rst code blocks
* one more rst block
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Diffstat (limited to 'Source/Particles/RigidInjectedParticleContainer.cpp')
-rw-r--r-- | Source/Particles/RigidInjectedParticleContainer.cpp | 52 |
1 files changed, 38 insertions, 14 deletions
diff --git a/Source/Particles/RigidInjectedParticleContainer.cpp b/Source/Particles/RigidInjectedParticleContainer.cpp index 15d11d0e0..df55a3800 100644 --- a/Source/Particles/RigidInjectedParticleContainer.cpp +++ b/Source/Particles/RigidInjectedParticleContainer.cpp @@ -7,28 +7,52 @@ * * License: BSD-3-Clause-LBNL */ -#ifdef AMREX_USE_OMP -# include <omp.h> -#endif -#include "RigidInjectedParticleContainer.H" -#include "WarpX.H" -#include "Utils/WarpXConst.H" -#include "Utils/WarpXAlgorithmSelection.H" +#include "Gather/FieldGather.H" +#include "Particles/Gather/GetExternalFields.H" +#include "Particles/PhysicalParticleContainer.H" +#include "Particles/WarpXParticleContainer.H" +#include "Pusher/GetAndSetPosition.H" #include "Pusher/UpdateMomentumBoris.H" -#include "Pusher/UpdateMomentumVay.H" #include "Pusher/UpdateMomentumBorisWithRadiationReaction.H" #include "Pusher/UpdateMomentumHigueraCary.H" -#include "Pusher/GetAndSetPosition.H" -#include "Gather/ScaleFields.H" -#include "Gather/FieldGather.H" +#include "Pusher/UpdateMomentumVay.H" +#include "RigidInjectedParticleContainer.H" +#include "Utils/WarpXAlgorithmSelection.H" +#include "Utils/WarpXConst.H" +#include "Utils/WarpXProfilerWrapper.H" +#include "Utils/WarpXUtil.H" +#include "WarpX.H" +#include <AMReX.H> +#include <AMReX_Array.H> +#include <AMReX_Array4.H> +#include <AMReX_BLassert.H> +#include <AMReX_Box.H> +#include <AMReX_Config.H> +#include <AMReX_Dim3.H> +#include <AMReX_Extension.H> +#include <AMReX_FArrayBox.H> +#include <AMReX_FabArray.H> #include <AMReX_Geometry.H> +#include <AMReX_GpuContainers.H> +#include <AMReX_GpuControl.H> +#include <AMReX_GpuDevice.H> +#include <AMReX_GpuLaunch.H> +#include <AMReX_GpuQualifiers.H> +#include <AMReX_IndexType.H> +#include <AMReX_IntVect.H> +#include <AMReX_MultiFab.H> +#include <AMReX_PODVector.H> +#include <AMReX_ParIter.H> +#include <AMReX_ParmParse.H> +#include <AMReX_Particles.H> +#include <AMReX_StructOfArrays.H> -#include <limits> -#include <sstream> #include <algorithm> - +#include <array> +#include <cmath> +#include <map> using namespace amrex; |