aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmRZ.cpp
diff options
context:
space:
mode:
authorGravatar David Grote <grote1@llnl.gov> 2020-05-22 10:06:39 -0700
committerGravatar GitHub <noreply@github.com> 2020-05-22 10:06:39 -0700
commite303439fccf613302780e3e669fa4ac581817529 (patch)
tree4b128dbdf6fc7f94024daa910acf754bd5296f3c /Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmRZ.cpp
parent7996bc9abb52c3231d08dce202855635d55efb6a (diff)
downloadWarpX-e303439fccf613302780e3e669fa4ac581817529.tar.gz
WarpX-e303439fccf613302780e3e669fa4ac581817529.tar.zst
WarpX-e303439fccf613302780e3e669fa4ac581817529.zip
Added stub for current correction in RZ spectral solver (#1007)
* 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) Co-authored-by: Olga Shapoval <30510597+oshapoval@users.noreply.github.com>
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmRZ.cpp')
-rw-r--r--Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmRZ.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmRZ.cpp b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmRZ.cpp
index 6ec4c523a..d85b0a537 100644
--- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmRZ.cpp
+++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmRZ.cpp
@@ -196,3 +196,11 @@ void PsatdAlgorithmRZ::InitializeSpectralCoefficients (SpectralFieldDataRZ const
});
}
}
+
+void
+PsatdAlgorithmRZ::CurrentCorrection (SpectralFieldDataRZ& field_data,
+ std::array<std::unique_ptr<amrex::MultiFab>,3>& current,
+ const std::unique_ptr<amrex::MultiFab>& rho )
+{
+ amrex::Abort("Current correction not implemented in RZ");
+}