diff options
author | 2020-04-02 08:31:21 -0700 | |
---|---|---|
committer | 2020-04-02 08:31:21 -0700 | |
commit | fe49cdca472be586d50c4cfde38f4b5065f8fdb5 (patch) | |
tree | 12f6bb713dbee7b832e720b25b3f7ca49043d038 /Source/FieldSolver/SpectralSolver/SpectralSolver.H | |
parent | 4301ed0c506badb7fa2fc9f75ea461350913ace2 (diff) | |
download | WarpX-fe49cdca472be586d50c4cfde38f4b5065f8fdb5.tar.gz WarpX-fe49cdca472be586d50c4cfde38f4b5065f8fdb5.tar.zst WarpX-fe49cdca472be586d50c4cfde38f4b5065f8fdb5.zip |
Periodic, single-box FFT (#881)
* Implement periodic-single box option for spectral
* Fix out-of-bound in the periodic, single-box case
* Add documentation for periodic_single_box_fft
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralSolver.H')
-rw-r--r-- | Source/FieldSolver/SpectralSolver/SpectralSolver.H | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralSolver.H b/Source/FieldSolver/SpectralSolver/SpectralSolver.H index 8b33707d0..08eef19ad 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralSolver.H +++ b/Source/FieldSolver/SpectralSolver/SpectralSolver.H @@ -34,7 +34,8 @@ class SpectralSolver const int norder_z, const bool nodal, const amrex::Array<amrex::Real,3>& v_galilean, const amrex::RealVect dx, const amrex::Real dt, - const bool pml=false ); + const bool pml=false, + const bool periodic_single_box=false ); /** * \brief Transform the component `i_comp` of MultiFab `mf` |