diff options
author | 2019-07-30 10:12:57 -0700 | |
---|---|---|
committer | 2019-07-30 10:12:57 -0700 | |
commit | b7b507d6f521e3bd31bf6ac4f86af4ea12471231 (patch) | |
tree | a1e587a65b342ca49964e3ad5505fb6df9e266d0 /Source/BoundaryConditions/PML.cpp | |
parent | c52a3752bedaf1e1510d35e604146a1d0c251c63 (diff) | |
download | WarpX-b7b507d6f521e3bd31bf6ac4f86af4ea12471231.tar.gz WarpX-b7b507d6f521e3bd31bf6ac4f86af4ea12471231.tar.zst WarpX-b7b507d6f521e3bd31bf6ac4f86af4ea12471231.zip |
Put PML spectral-specific arguments in precompiler directives
Diffstat (limited to 'Source/BoundaryConditions/PML.cpp')
-rw-r--r-- | Source/BoundaryConditions/PML.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/BoundaryConditions/PML.cpp b/Source/BoundaryConditions/PML.cpp index 6c00c1d93..b90d720e8 100644 --- a/Source/BoundaryConditions/PML.cpp +++ b/Source/BoundaryConditions/PML.cpp @@ -329,8 +329,10 @@ MultiSigmaBox::ComputePMLFactorsE (const Real* dx, Real dt) PML::PML (const BoxArray& grid_ba, const DistributionMapping& grid_dm, const Geometry* geom, const Geometry* cgeom, - int ncell, int delta, int ref_ratio, Real dt, - int nox_fft, int noy_fft, int noz_fft, bool do_nodal, + int ncell, int delta, int ref_ratio, +#ifdef WARPX_USE_PSATD + Real dt, int nox_fft, int noy_fft, int noz_fft, bool do_nodal, +#endif int do_dive_cleaning, int do_moving_window) : m_geom(geom), m_cgeom(cgeom) |