aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles
diff options
context:
space:
mode:
authorGravatar Remi Lehe <remi.lehe@normalesup.org> 2020-02-11 09:05:30 -0800
committerGravatar Remi Lehe <remi.lehe@normalesup.org> 2020-02-11 09:05:30 -0800
commita844e2b10db4b58afada34a3d556c20a78bacb0b (patch)
tree41bd7d6aef3b6daf6ec51de4b8c6b89b2b643204 /Source/Particles
parentf65189fec6394faf798e29193cc20be07e56dfe6 (diff)
downloadWarpX-a844e2b10db4b58afada34a3d556c20a78bacb0b.tar.gz
WarpX-a844e2b10db4b58afada34a3d556c20a78bacb0b.tar.zst
WarpX-a844e2b10db4b58afada34a3d556c20a78bacb0b.zip
Remove compilation of Fortran files in EM mode
Diffstat (limited to 'Source/Particles')
-rw-r--r--Source/Particles/Make.package6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Particles/Make.package b/Source/Particles/Make.package
index 3bd4829a0..7ec1eb73a 100644
--- a/Source/Particles/Make.package
+++ b/Source/Particles/Make.package
@@ -1,5 +1,7 @@
-F90EXE_sources += interpolate_cic.F90
-F90EXE_sources += push_particles_ES.F90
+ifeq ($(DO_ELECTROSTATIC),TRUE)
+ F90EXE_sources += interpolate_cic.F90
+ F90EXE_sources += push_particles_ES.F90
+endif
CEXE_sources += MultiParticleContainer.cpp
CEXE_sources += WarpXParticleContainer.cpp