diff options
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H')
-rw-r--r-- | Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H index eb440d118..b492d9a18 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H +++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithm.H @@ -25,7 +25,8 @@ class PsatdAlgorithm : public SpectralBaseAlgorithm const amrex::DistributionMapping& dm, const int norder_x, const int norder_y, const int norder_z, const bool nodal, - const amrex::Real dt); + const amrex::Real dt, + const bool update_with_rho); // Redefine functions from base class virtual void pushSpectralFields(SpectralFieldData& f) const override final; virtual int getRequiredNumberOfFields() const override final { @@ -55,6 +56,7 @@ class PsatdAlgorithm : public SpectralBaseAlgorithm private: SpectralRealCoefficients C_coef, S_ck_coef, X1_coef, X2_coef, X3_coef; amrex::Real m_dt; + bool m_update_with_rho; }; #endif // WARPX_USE_PSATD |