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. --- .../FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H') diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H index 5e9b3e7bf..d71c0ab18 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H +++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H @@ -8,7 +8,10 @@ #ifndef WARPX_PSATD_ALGORITHM_H_ #define WARPX_PSATD_ALGORITHM_H_ -#include +#include "SpectralBaseAlgorithm.H" + + +#if WARPX_USE_PSATD /** * \brief Class that updates the field in spectral space @@ -37,4 +40,5 @@ class PsatdAlgorithm : public SpectralBaseAlgorithm SpectralRealCoefficients C_coef, S_ck_coef, X1_coef, X2_coef, X3_coef; }; +#endif // WARPX_USE_PSATD #endif // WARPX_PSATD_ALGORITHM_H_ -- cgit v1.2.3