Skip to content

Commit

Permalink
Fix includes: Include PhaseSpace.hpp is openPMD is available
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Feb 9, 2021
1 parent 83570da commit eaf0ec9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/picongpu/plugins/PluginController.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@

#if(ENABLE_OPENPMD == 1)
# include "picongpu/plugins/openPMD/openPMDWriter.hpp"
# include "picongpu/plugins/PhaseSpace/PhaseSpace.hpp"
# include "picongpu/plugins/xrayScattering/XrayScattering.hpp"
#endif

Expand All @@ -71,7 +72,6 @@
#endif

#if(ENABLE_HDF5 == 1)
# include "picongpu/plugins/PhaseSpace/PhaseSpace.hpp"
# include "picongpu/plugins/particleCalorimeter/ParticleCalorimeter.hpp"
# include "picongpu/plugins/radiation/VectorTypes.hpp"
# include "picongpu/plugins/radiation/Radiation.hpp"
Expand Down Expand Up @@ -210,9 +210,10 @@ namespace picongpu
#if(ENABLE_HDF5 == 1)
,
plugins::radiation::Radiation<bmpl::_1>,
plugins::multi::Master<ParticleCalorimeter<bmpl::_1>>,
plugins::multi::Master<ParticleCalorimeter<bmpl::_1>>
#endif
#if(ENABLE_OPENPMD == 1)
,
plugins::multi::Master<PhaseSpace<particles::shapes::Counter::ChargeAssignment, bmpl::_1>>
#endif
#if(PMACC_CUDA_ENABLED == 1)
Expand Down

0 comments on commit eaf0ec9

Please sign in to comment.