aboutsummaryrefslogtreecommitdiff
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
parentf65189fec6394faf798e29193cc20be07e56dfe6 (diff)
downloadWarpX-a844e2b10db4b58afada34a3d556c20a78bacb0b.tar.gz
WarpX-a844e2b10db4b58afada34a3d556c20a78bacb0b.tar.zst
WarpX-a844e2b10db4b58afada34a3d556c20a78bacb0b.zip
Remove compilation of Fortran files in EM mode
-rw-r--r--Source/Particles/Make.package6
-rw-r--r--Source/Utils/Make.package4
2 files changed, 7 insertions, 3 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
diff --git a/Source/Utils/Make.package b/Source/Utils/Make.package
index f223c18b8..7e814ba89 100644
--- a/Source/Utils/Make.package
+++ b/Source/Utils/Make.package
@@ -1,4 +1,6 @@
-F90EXE_sources += utils_ES.F90
+ifeq ($(DO_ELECTROSTATIC),TRUE)
+ F90EXE_sources += utils_ES.F90
+endif
CEXE_headers += WarpX_Complex.H
CEXE_sources += WarpXMovingWindow.cpp
CEXE_sources += WarpXTagging.cpp