diff options
author | 2020-11-05 13:45:22 -0800 | |
---|---|---|
committer | 2020-11-05 13:45:22 -0800 | |
commit | e7f475ae73a84d6d7f155f12d4be2ebd79e708a6 (patch) | |
tree | 611daccbe5737da468ffa695b37c929c8d9ded77 /Source/Diagnostics/ComputeDiagFunctors/RhoFunctor.cpp | |
parent | b04b132f39606a37bf65b8acbedfb2aec81cef57 (diff) | |
download | WarpX-e7f475ae73a84d6d7f155f12d4be2ebd79e708a6.tar.gz WarpX-e7f475ae73a84d6d7f155f12d4be2ebd79e708a6.tar.zst WarpX-e7f475ae73a84d6d7f155f12d4be2ebd79e708a6.zip |
Fix includes in RhoFunctor.cpp (#1498)
Diffstat (limited to 'Source/Diagnostics/ComputeDiagFunctors/RhoFunctor.cpp')
-rw-r--r-- | Source/Diagnostics/ComputeDiagFunctors/RhoFunctor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Diagnostics/ComputeDiagFunctors/RhoFunctor.cpp b/Source/Diagnostics/ComputeDiagFunctors/RhoFunctor.cpp index e48703e91..f1dab4157 100644 --- a/Source/Diagnostics/ComputeDiagFunctors/RhoFunctor.cpp +++ b/Source/Diagnostics/ComputeDiagFunctors/RhoFunctor.cpp @@ -2,7 +2,7 @@ #include "RhoFunctor.H" #include "Utils/CoarsenIO.H" -#ifdef WARPX_DIM_RZ +#if (defined WARPX_DIM_RZ) && (defined WARPX_USE_PSATD) #include "FieldSolver/SpectralSolver/SpectralFieldData.H" #endif |