From ec9156d3d17b1cb7f33a207914b33cb1ace2b3c8 Mon Sep 17 00:00:00 2001 From: Remi Lehe Date: Tue, 30 Jul 2019 14:47:37 -0400 Subject: Corrections to allow compilation on GPU --- .../SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.H | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.H') diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.H b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.H index d77597d53..a2511b6b7 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.H +++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.H @@ -14,6 +14,12 @@ class PMLPsatdAlgorithm : public SpectralBaseAlgorithm const int norder_x, const int norder_y, const int norder_z, const bool nodal, const amrex::Real dt); + + void InitializeSpectralCoefficients( + const SpectralKSpace& spectral_kspace, + const amrex::DistributionMapping& dm, + const amrex::Real dt); + // Redefine functions from base class virtual void pushSpectralFields(SpectralFieldData& f) const override final; virtual int getRequiredNumberOfFields() const override final { @@ -22,6 +28,7 @@ class PMLPsatdAlgorithm : public SpectralBaseAlgorithm private: SpectralCoefficients C_coef, S_ck_coef; + }; #endif // WARPX_PML_PSATD_ALGORITHM_H_ -- cgit v1.2.3