aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/PsatdAlgorithm.H
diff options
context:
space:
mode:
authorGravatar Remi Lehe <remi.lehe@normalesup.org> 2019-04-19 10:43:18 -0700
committerGravatar Remi Lehe <remi.lehe@normalesup.org> 2019-04-23 12:43:53 -0700
commit551e934fdee50f2321076b0dd1882a74cc92fb30 (patch)
tree4cf460bd13bc6061cb51da902df15e527858b645 /Source/FieldSolver/SpectralSolver/PsatdAlgorithm.H
parent84cf3b88ad82fa25183f9281136fe154eaa00992 (diff)
downloadWarpX-551e934fdee50f2321076b0dd1882a74cc92fb30.tar.gz
WarpX-551e934fdee50f2321076b0dd1882a74cc92fb30.tar.zst
WarpX-551e934fdee50f2321076b0dd1882a74cc92fb30.zip
Link spectral solver to the rest of the code
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/PsatdAlgorithm.H')
-rw-r--r--Source/FieldSolver/SpectralSolver/PsatdAlgorithm.H10
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/FieldSolver/SpectralSolver/PsatdAlgorithm.H b/Source/FieldSolver/SpectralSolver/PsatdAlgorithm.H
index 9fbdc7073..375fa48bb 100644
--- a/Source/FieldSolver/SpectralSolver/PsatdAlgorithm.H
+++ b/Source/FieldSolver/SpectralSolver/PsatdAlgorithm.H
@@ -11,10 +11,12 @@ class PsatdAlgorithm
using SpectralCoefficients = amrex::FabArray< amrex::BaseFab <amrex::Real> >;
public:
- PsatdAlgorithm(const SpectralKSpace& spectral_kspace,
- const amrex::DistributionMapping& dm,
- const int norder_x, const int norder_y,
- const int norder_z, const amrex::Real dt);
+ PsatdAlgorithm( const SpectralKSpace& spectral_kspace,
+ const amrex::DistributionMapping& dm,
+ const int norder_x, const int norder_y,
+ const int norder_z, const amrex::Real dt);
+ PsatdAlgorithm() = default; // Default constructor
+ PsatdAlgorithm& operator=(PsatdAlgorithm&& algorithm) = default; // Default move assignment
void pushSpectralFields( SpectralFieldData& f ) const;
private: