aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/SpectralKSpace.H
diff options
context:
space:
mode:
authorGravatar Remi Lehe <remi.lehe@normalesup.org> 2019-04-20 21:36:19 -0700
committerGravatar Remi Lehe <remi.lehe@normalesup.org> 2019-04-23 12:43:53 -0700
commit7b0571362a6eb23427ea56b1d780378c6f7730d8 (patch)
tree71a88daa573652d1d1445978599707b837364f1e /Source/FieldSolver/SpectralSolver/SpectralKSpace.H
parent7104eee32f6f909d8a0b3abd11528b9e059a36d4 (diff)
downloadWarpX-7b0571362a6eb23427ea56b1d780378c6f7730d8.tar.gz
WarpX-7b0571362a6eb23427ea56b1d780378c6f7730d8.tar.zst
WarpX-7b0571362a6eb23427ea56b1d780378c6f7730d8.zip
Change type name
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralKSpace.H')
-rw-r--r--Source/FieldSolver/SpectralSolver/SpectralKSpace.H8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralKSpace.H b/Source/FieldSolver/SpectralSolver/SpectralKSpace.H
index 6589c6346..366bc2a79 100644
--- a/Source/FieldSolver/SpectralSolver/SpectralKSpace.H
+++ b/Source/FieldSolver/SpectralSolver/SpectralKSpace.H
@@ -4,7 +4,7 @@
#include <AMReX_BoxArray.H>
#include <AMReX_LayoutData.H>
-using SpectralKVector = amrex::LayoutData< amrex::Gpu::ManagedVector <amrex::Real> >;
+using KVectorComponent = amrex::LayoutData< amrex::Gpu::ManagedVector <amrex::Real> >;
/* TODO Documentation: class represent k space, and how it is distribution
* for local FFT on each MPI: k spaces are not connected.
@@ -15,14 +15,14 @@ class SpectralKSpace
SpectralKSpace( const amrex::BoxArray& realspace_ba,
const amrex::DistributionMapping& dm,
const amrex::RealVect dx );
- SpectralKVector& AllocateAndFillKVector(
+ KVectorComponent& AllocateAndFillKVector(
const amrex::DistributionMapping& dm, const int i_dim ) const;
- SpectralKVector& AllocateAndFillModifiedKVector(
+ KVectorComponent& AllocateAndFillModifiedKVector(
const amrex::DistributionMapping& dm, const int i_dim, const int order ) const;
amrex::BoxArray spectralspace_ba;
private:
- amrex::Array<SpectralKVector, AMREX_SPACEDIM> k_vec;
+ amrex::Array<KVectorComponent, AMREX_SPACEDIM> k_vec;
// 3D: array of 3 components, corresponding to kx, ky, kz
// 2D: array of 2 components, corresponding to kx, kz
amrex::RealVect dx;