aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/GalileanAlgorithm.H
diff options
context:
space:
mode:
authorGravatar Axel Huebl <axel.huebl@plasma.ninja> 2020-02-25 21:09:07 -0800
committerGravatar GitHub <noreply@github.com> 2020-02-25 21:09:07 -0800
commit73cbbfe18c7f1b2d08824ff39fed59410c51f574 (patch)
treeb072c07744f5a7bcd464d14c6a9317d96a3da31a /Source/FieldSolver/SpectralSolver/SpectralAlgorithms/GalileanAlgorithm.H
parent2a56e2b7eae582abc1b7e2eecd83af7a72610f9b (diff)
downloadWarpX-73cbbfe18c7f1b2d08824ff39fed59410c51f574.tar.gz
WarpX-73cbbfe18c7f1b2d08824ff39fed59410c51f574.tar.zst
WarpX-73cbbfe18c7f1b2d08824ff39fed59410c51f574.zip
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.
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralAlgorithms/GalileanAlgorithm.H')
-rw-r--r--Source/FieldSolver/SpectralSolver/SpectralAlgorithms/GalileanAlgorithm.H5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/GalileanAlgorithm.H b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/GalileanAlgorithm.H
index e59b1902c..192c453ad 100644
--- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/GalileanAlgorithm.H
+++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/GalileanAlgorithm.H
@@ -1,8 +1,9 @@
#ifndef WARPX_GALILEAN_ALGORITHM_H_
#define WARPX_GALILEAN_ALGORITHM_H_
-#include <SpectralBaseAlgorithm.H>
+#include "SpectralBaseAlgorithm.H"
+#if WARPX_USE_PSATD
/* \brief Class that updates the field in spectral space
* and stores the coefficients of the corresponding update equation.
*/
@@ -29,5 +30,5 @@ class GalileanAlgorithm : public SpectralBaseAlgorithm
SpectralRealCoefficients C_coef, S_ck_coef;
SpectralComplexCoefficients Theta2_coef, X1_coef, X2_coef, X3_coef, X4_coef;
};
-
+#endif // WARPX_USE_PSATD
#endif // WARPX_GALILEAN_ALGORITHM_H_