aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/SpectralAlgorithms
diff options
context:
space:
mode:
authorGravatar Axel Huebl <axel.huebl@plasma.ninja> 2020-04-02 08:38:15 -0700
committerGravatar GitHub <noreply@github.com> 2020-04-02 08:38:15 -0700
commit415dae0026abbb2a5e07b961ab9c60ef550a5229 (patch)
tree5bb4eaa97dc3b85892016101002f84c67f652d00 /Source/FieldSolver/SpectralSolver/SpectralAlgorithms
parentfe49cdca472be586d50c4cfde38f4b5065f8fdb5 (diff)
downloadWarpX-415dae0026abbb2a5e07b961ab9c60ef550a5229.tar.gz
WarpX-415dae0026abbb2a5e07b961ab9c60ef550a5229.tar.zst
WarpX-415dae0026abbb2a5e07b961ab9c60ef550a5229.zip
Includes: Only From `Source/` (#873)
* Includes: Only From `Source/` Avoid adding all directories to include paths: - automatically structure includes more clearly, e.g. a util include with a short name is clearly seen as such - should have some small positive impact on compile time, since the compiler has to search less directories for an include file * Includes: Fix Non-Local Paths Add missing prefix relative to `Source/` for WarpX-local includes.
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralAlgorithms')
-rw-r--r--Source/FieldSolver/SpectralSolver/SpectralAlgorithms/Make.package2
-rw-r--r--Source/FieldSolver/SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithm.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/Make.package b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/Make.package
index 086fc82a0..93cefcb66 100644
--- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/Make.package
+++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/Make.package
@@ -3,6 +3,4 @@ CEXE_sources += PsatdAlgorithm.cpp
CEXE_sources += GalileanAlgorithm.cpp
CEXE_sources += PMLPsatdAlgorithm.cpp
-
-INCLUDE_LOCATIONS += $(WARPX_HOME)/Source/FieldSolver/SpectralSolver/SpectralAlgorithms
VPATH_LOCATIONS += $(WARPX_HOME)/Source/FieldSolver/SpectralSolver/SpectralAlgorithms
diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithm.cpp b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithm.cpp
index c917391f9..73a0bb9af 100644
--- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithm.cpp
+++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithm.cpp
@@ -4,7 +4,7 @@
*
* License: BSD-3-Clause-LBNL
*/
-#include <SpectralBaseAlgorithm.H>
+#include "SpectralBaseAlgorithm.H"
#include <cmath>
using namespace amrex;