aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/SpectralSolverRZ.cpp
diff options
context:
space:
mode:
authorGravatar Edoardo Zoni <59625522+EZoni@users.noreply.github.com> 2022-02-02 16:29:52 -0800
committerGravatar GitHub <noreply@github.com> 2022-02-03 00:29:52 +0000
commitec072594fb1bddb4631c55fb3018050cbf461243 (patch)
treeb325496a6cd377797543b038f83bb4d314b1ee41 /Source/FieldSolver/SpectralSolver/SpectralSolverRZ.cpp
parenta4ba476837d66285a10505ac6989d25406f4f02c (diff)
downloadWarpX-ec072594fb1bddb4631c55fb3018050cbf461243.tar.gz
WarpX-ec072594fb1bddb4631c55fb3018050cbf461243.tar.zst
WarpX-ec072594fb1bddb4631c55fb3018050cbf461243.zip
Rename PSATD Classes (#2805)
* Rename PSATD Classes * Rename PsatdAlgorithmJLinear as PsatdAlgorithmJLinearInTime
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralSolverRZ.cpp')
-rw-r--r--Source/FieldSolver/SpectralSolver/SpectralSolverRZ.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralSolverRZ.cpp b/Source/FieldSolver/SpectralSolver/SpectralSolverRZ.cpp
index 558d4a78a..a16175b0f 100644
--- a/Source/FieldSolver/SpectralSolver/SpectralSolverRZ.cpp
+++ b/Source/FieldSolver/SpectralSolver/SpectralSolverRZ.cpp
@@ -4,9 +4,9 @@
*
* License: BSD-3-Clause-LBNL
*/
-#include "SpectralAlgorithms/GalileanPsatdAlgorithmRZ.H"
+#include "SpectralAlgorithms/PsatdAlgorithmGalileanRZ.H"
#include "SpectralAlgorithms/PsatdAlgorithmRZ.H"
-#include "SpectralAlgorithms/PMLPsatdAlgorithmRZ.H"
+#include "SpectralAlgorithms/PsatdAlgorithmPmlRZ.H"
#include "SpectralKSpaceRZ.H"
#include "SpectralSolverRZ.H"
#include "Utils/WarpXProfilerWrapper.H"
@@ -53,7 +53,7 @@ SpectralSolverRZ::SpectralSolverRZ (const int lev,
// - Select the algorithm depending on the input parameters
// Initialize the corresponding coefficients over k space
if (with_pml) {
- PML_algorithm = std::make_unique<PMLPsatdAlgorithmRZ>(
+ PML_algorithm = std::make_unique<PsatdAlgorithmPmlRZ>(
k_space, dm, m_spectral_index, n_rz_azimuthal_modes, norder_z, nodal, dt);
}
if (v_galilean[2] == 0) {
@@ -63,7 +63,7 @@ SpectralSolverRZ::SpectralSolverRZ (const int lev,
update_with_rho, fft_do_time_averaging, do_multi_J, dive_cleaning, divb_cleaning);
} else {
// Otherwise: use the Galilean algorithm
- algorithm = std::make_unique<GalileanPsatdAlgorithmRZ>(
+ algorithm = std::make_unique<PsatdAlgorithmGalileanRZ>(
k_space, dm, m_spectral_index, n_rz_azimuthal_modes, norder_z, nodal, v_galilean, dt, update_with_rho);
}