aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/SpectralSolverRZ.cpp
diff options
context:
space:
mode:
authorGravatar Remi Lehe <remi.lehe@normalesup.org> 2020-09-23 10:26:50 -0700
committerGravatar GitHub <noreply@github.com> 2020-09-23 10:26:50 -0700
commit38437f42bd4e7fa097fbd006c35b7fca5941614b (patch)
tree6a96c9191bbfc916bde67af8bfbe86000ab84a6c /Source/FieldSolver/SpectralSolver/SpectralSolverRZ.cpp
parentc0fbe73a93950f9bb61dbde2c6f997268ea457ca (diff)
downloadWarpX-38437f42bd4e7fa097fbd006c35b7fca5941614b.tar.gz
WarpX-38437f42bd4e7fa097fbd006c35b7fca5941614b.tar.zst
WarpX-38437f42bd4e7fa097fbd006c35b7fca5941614b.zip
Implemented fft_periodic_single_box for RZ spectral (#1301)
* Implemented fft_periodic_single_box for RZ spectral For RZ psatd, simplified copy for forward transform * Apply review's suggestions and clean up * Add few comments, fix warnings, apply style conventions Co-authored-by: Dave Grote <dpgrote@lbl.gov> Co-authored-by: Edoardo Zoni <ezoni@lbl.gov>
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralSolverRZ.cpp')
-rw-r--r--Source/FieldSolver/SpectralSolver/SpectralSolverRZ.cpp17
1 files changed, 7 insertions, 10 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralSolverRZ.cpp b/Source/FieldSolver/SpectralSolver/SpectralSolverRZ.cpp
index 9074d689d..c6457a036 100644
--- a/Source/FieldSolver/SpectralSolver/SpectralSolverRZ.cpp
+++ b/Source/FieldSolver/SpectralSolver/SpectralSolverRZ.cpp
@@ -24,16 +24,14 @@
* \param pml Whether the boxes in which the solver is applied are PML boxes
* PML is not supported.
*/
-SpectralSolverRZ::SpectralSolverRZ(amrex::BoxArray const & realspace_ba,
- amrex::DistributionMapping const & dm,
- int const n_rz_azimuthal_modes,
- int const norder_z, bool const nodal,
- amrex::RealVect const dx, amrex::Real const dt,
- int const lev,
- bool const pml )
+SpectralSolverRZ::SpectralSolverRZ (amrex::BoxArray const & realspace_ba,
+ amrex::DistributionMapping const & dm,
+ int const n_rz_azimuthal_modes,
+ int const norder_z, bool const nodal,
+ amrex::RealVect const dx, amrex::Real const dt,
+ int const lev)
: k_space(realspace_ba, dm, dx)
{
-
// Initialize all structures using the same distribution mapping dm
// - The k space object contains info about the size of
@@ -50,8 +48,7 @@ SpectralSolverRZ::SpectralSolverRZ(amrex::BoxArray const & realspace_ba,
field_data = SpectralFieldDataRZ(realspace_ba, k_space, dm,
algorithm->getRequiredNumberOfFields(),
n_rz_azimuthal_modes, lev);
-
-};
+}
void