diff options
author | 2020-09-24 21:10:05 -0700 | |
---|---|---|
committer | 2020-09-24 21:10:05 -0700 | |
commit | 6f0fbb9a685717070ffbf363d96a81343890526c (patch) | |
tree | 96c641b5d84be0a67b0dd917330126214cb59cda /Source/FieldSolver/SpectralSolver/SpectralFieldDataRZ.H | |
parent | de61ccbe14a552f8ebbe9255b485cb6bbc0f90da (diff) | |
download | WarpX-6f0fbb9a685717070ffbf363d96a81343890526c.tar.gz WarpX-6f0fbb9a685717070ffbf363d96a81343890526c.tar.zst WarpX-6f0fbb9a685717070ffbf363d96a81343890526c.zip |
RZ spectral current correction and Galilean (#1216)
* Added stub for current correction in RZ spectral solver
* Fixed comments in RZ spectral for current correction stub
* Modified automated test for Galilean PSATD (#1033)
* Impemented current correction in RZ spectral
* Implementation Galilean version of RZ spectral solver
* For RZ spectral, do forward and backward transform with current correction
* Big fix in DivEFunctor.cpp for RZ spectral
* Added RZ rho diagnostic for saving the modes
* Implemented fft_periodic_single_box for RZ spectral
* Moved routines from SpectralSolverRZ.H to .cpp
* Added hook for VayDeposition in GalileanPsatdAlgorithmRZ
* Bug fix in DivEFunctor
* Fixes and cleanup for GalileanPsatdAlgorithmRZ
* Fix line spacing in SpectralSolverRZ.H
* Fix factor 1/2 in update of Ep_m
* Fix factor 1/2 in update of Em_m
* Fix sign error in current correction in GalileanPsatdAlgorithmRZ.cpp
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
* Add Langmuir RZ PSATD test with current correction
* Add Galilean tests with/without current correction
* For RZ psatd, simplified copy for forward transform
* Added GalileanPsatdAlgorithmRZ.cpp to CMakeLists
* Minor cleanup in RZ spectral solver
* In GalileanPsatdAlgorithmRZ.cpp use member initialization for m_v_galilean
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
* Added some _rt to GalileanPsatdAlgorithmRZ.cpp
Co-authored-by: Olga Shapoval <30510597+oshapoval@users.noreply.github.com>
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
Co-authored-by: Edoardo Zoni <ezoni@lbl.gov>
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralFieldDataRZ.H')
-rw-r--r-- | Source/FieldSolver/SpectralSolver/SpectralFieldDataRZ.H | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralFieldDataRZ.H b/Source/FieldSolver/SpectralSolver/SpectralFieldDataRZ.H index a073ec483..475759b59 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralFieldDataRZ.H +++ b/Source/FieldSolver/SpectralSolver/SpectralFieldDataRZ.H @@ -44,12 +44,12 @@ class SpectralFieldDataRZ SpectralFieldDataRZ& operator=(SpectralFieldDataRZ&& field_data) = default; ~SpectralFieldDataRZ (); - void ForwardTransform (const amrex::MultiFab& mf, - const int field_index, const int i_comp); + void ForwardTransform (const amrex::MultiFab& mf, const int field_index, + const int i_comp); void ForwardTransform (const amrex::MultiFab& mf_r, const int field_index_r, const amrex::MultiFab& mf_t, const int field_index_t); - void BackwardTransform (amrex::MultiFab& mf, - const int field_index, const int i_comp); + void BackwardTransform (amrex::MultiFab& mf, const int field_index, + const int i_comp); void BackwardTransform (amrex::MultiFab& mf_r, const int field_index_r, amrex::MultiFab& mf_t, const int field_index_t); @@ -89,6 +89,7 @@ class SpectralFieldDataRZ SpectralShiftFactor zshift_FFTfromCell, zshift_FFTtoCell; MultiSpectralHankelTransformer multi_spectral_hankel_transformer; BinomialFilter binomialfilter; + }; #endif // WARPX_SPECTRAL_FIELD_DATA_RZ_H_ |