diff options
author | 2019-05-02 17:01:31 -0700 | |
---|---|---|
committer | 2019-05-02 17:01:31 -0700 | |
commit | 74cffc29f41ff424fd987c81d4fb71ddfbfb711b (patch) | |
tree | 326463de206f4709cb757b18abf8483c4e6a8bfd /Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H | |
parent | 2c25e914fcaae826a4e28acdc1e7c5348e05a168 (diff) | |
download | WarpX-74cffc29f41ff424fd987c81d4fb71ddfbfb711b.tar.gz WarpX-74cffc29f41ff424fd987c81d4fb71ddfbfb711b.tar.zst WarpX-74cffc29f41ff424fd987c81d4fb71ddfbfb711b.zip |
Start implementation of spectral PML
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H')
-rw-r--r-- | Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H index 0487e5226..52e587e7f 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H +++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H @@ -14,8 +14,11 @@ class PsatdAlgorithm : public SpectralBaseAlgorithm const int norder_x, const int norder_y, const int norder_z, const bool nodal, const amrex::Real dt); - // Redefine update equation from base class + // Redefine functions from base class virtual void pushSpectralFields(SpectralFieldData& f) const override final; + virtual int getRequiredNumberOfFields() const override final { + return SpectralFieldIndex::n_fields; + } private: SpectralCoefficients C_coef, S_ck_coef, X1_coef, X2_coef, X3_coef; |