diff options
author | 2020-11-16 15:33:15 -0800 | |
---|---|---|
committer | 2020-11-16 15:33:15 -0800 | |
commit | dbd252d9b83ce3bbdb66021dc0ed50f5b94b7830 (patch) | |
tree | a556b44eab1500d5965e3aff1e1bc5db1bdd4789 /Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.H | |
parent | 2a80fc156c48a16dc795d619c7503c2384ca6039 (diff) | |
download | WarpX-dbd252d9b83ce3bbdb66021dc0ed50f5b94b7830.tar.gz WarpX-dbd252d9b83ce3bbdb66021dc0ed50f5b94b7830.tar.zst WarpX-dbd252d9b83ce3bbdb66021dc0ed50f5b94b7830.zip |
Fix PSATD equations used with PML (#1513)
* Implement new PML PSATD equations
* Update CI test and benchmark
* Compute coefficients C1,...,C22 on the fly
* Add check on initial energy from diagnostics
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.H')
-rw-r--r-- | Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.H | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.H b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.H index 348282dce..a4cccbc55 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.H +++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.H @@ -65,8 +65,8 @@ class PMLPsatdAlgorithm : public SpectralBaseAlgorithm std::array<std::unique_ptr<amrex::MultiFab>,3>& current) override final; private: - SpectralRealCoefficients C_coef, S_ck_coef; - + SpectralRealCoefficients C_coef, S_ck_coef, inv_k2_coef; + amrex::Real m_dt; }; #endif // WARPX_USE_PSATD |