aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/SpectralKSpace.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/SpectralKSpace.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/SpectralKSpace.H')
-rw-r--r--Source/FieldSolver/SpectralSolver/SpectralKSpace.H7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralKSpace.H b/Source/FieldSolver/SpectralSolver/SpectralKSpace.H
index f61cffe14..a790be94f 100644
--- a/Source/FieldSolver/SpectralSolver/SpectralKSpace.H
+++ b/Source/FieldSolver/SpectralSolver/SpectralKSpace.H
@@ -13,15 +13,16 @@ class SpectralKSpace
{
public:
SpectralKSpace( const amrex::BoxArray& realspace_ba,
- const amrex::DistributionMapping& dm, const amrex::Real* dx );
+ const amrex::DistributionMapping& dm,
+ const amrex::Array<amrex::Real,3> dx );
amrex::BoxArray spectralspace_ba;
SpectralKVector kx_vec, ky_vec, kz_vec;
- const amrex::Real* dx;
+ amrex::Array<amrex::Real,3> dx;
};
void
AllocateAndFillKvector( amrex::Gpu::ManagedVector<amrex::Real>& k,
- const amrex::Box& bx, const amrex::Real* dx, const int i_dim );
+ const amrex::Box& bx, const amrex::Array<amrex::Real,3> dx, const int i_dim );
void
ComputeModifiedKVector( amrex::Gpu::ManagedVector<amrex::Real>& modified_k,