From 73cbbfe18c7f1b2d08824ff39fed59410c51f574 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Tue, 25 Feb 2020 21:09:07 -0800 Subject: Includes: Clean Up (#743) - Use `""` for WarpX-local includes - Order: WarpX `""`, AMReX `<>`, other third party includes `<>` - Add dir prefixes for WarpX Add order to includes by including from `Source/` onward and keeping directory prefixes of non-local includes for clarity. --- .../SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp') diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp index 0c4c4d41a..b3f2aa93d 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp +++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp @@ -4,10 +4,14 @@ * * License: BSD-3-Clause-LBNL */ -#include -#include +#include "PMLPsatdAlgorithm.H" +#include "Utils/WarpXConst.H" + #include + +#if WARPX_USE_PSATD + using namespace amrex; /* \brief Initialize coefficients for the update equation */ @@ -150,3 +154,4 @@ void PMLPsatdAlgorithm::InitializeSpectralCoefficients ( }); } }; +#endif // WARPX_USE_PSATD -- cgit v1.2.3