WarpX
Loading...
Searching...
No Matches
SpectralKSpaceRZ.H
Go to the documentation of this file.
1/* Copyright 2019-2020 David Grote
2 *
3 * This file is part of WarpX.
4 *
5 * License: BSD-3-Clause-LBNL
6 */
7#ifndef WARPX_SPECTRAL_K_SPACE_RZ_H_
8#define WARPX_SPECTRAL_K_SPACE_RZ_H_
9
10#include "SpectralKSpace.H"
11
12/* \brief Class that represents the spectral, Hankel/FFT, space.
13 *
14 * (Contains info about the size of the spectral space corresponding
15 * to each box in `realspace_ba`, as well as the value of the
16 * corresponding kz coordinates)
17 */
19 :
20 public SpectralKSpace
21{
22 public:
23 SpectralKSpaceRZ(const amrex::BoxArray& realspace_ba,
25 amrex::RealVect realspace_dx);
26
27 KVectorComponent const & getKzArray () const {return k_vec[1];}
28 amrex::RealVect const & getCellSize () const {return dx;}
29
30};
31
32#endif // WARPX_SPECTRAL_K_SPACE_RZ_H_
amrex::LayoutData< RealKVector > KVectorComponent
Definition SpectralKSpace.H:33
amrex::Array< KVectorComponent, 3 > k_vec
Definition SpectralKSpace.H:76
amrex::RealVect dx
Definition SpectralKSpace.H:79
SpectralKSpace()
Definition SpectralKSpace.H:54
KVectorComponent const & getKzArray() const
Definition SpectralKSpaceRZ.H:27
SpectralKSpaceRZ(const amrex::BoxArray &realspace_ba, const amrex::DistributionMapping &dm, amrex::RealVect realspace_dx)
Definition SpectralKSpaceRZ.cpp:20
amrex::RealVect const & getCellSize() const
Definition SpectralKSpaceRZ.H:28
RealVectND< 3 > RealVect