WarpX
|
Class that represents the spectral space. More...
#include <SpectralKSpace.H>
Public Member Functions | |
SpectralKSpace () | |
SpectralKSpace (const amrex::BoxArray &realspace_ba, const amrex::DistributionMapping &dm, amrex::RealVect realspace_dx) | |
KVectorComponent | getKComponent (const amrex::DistributionMapping &dm, const amrex::BoxArray &realspace_ba, int i_dim, bool only_positive_k) const |
KVectorComponent | getModifiedKComponent (const amrex::DistributionMapping &dm, int i_dim, int n_order, short grid_type) const |
SpectralShiftFactor | getSpectralShiftFactor (const amrex::DistributionMapping &dm, int i_dim, int shift_type) const |
Public Attributes | |
amrex::BoxArray | spectralspace_ba |
Protected Attributes | |
amrex::Array< KVectorComponent, AMREX_SPACEDIM > | k_vec |
amrex::RealVect | dx |
Class that represents the spectral space.
(Contains info about the size of the spectral space corresponding to each box in realspace_ba
, as well as the value of the corresponding k coordinates)
|
inline |
SpectralKSpace::SpectralKSpace | ( | const amrex::BoxArray & | realspace_ba, |
const amrex::DistributionMapping & | dm, | ||
amrex::RealVect | realspace_dx | ||
) |
KVectorComponent SpectralKSpace::getKComponent | ( | const amrex::DistributionMapping & | dm, |
const amrex::BoxArray & | realspace_ba, | ||
int | i_dim, | ||
bool | only_positive_k | ||
) | const |
KVectorComponent SpectralKSpace::getModifiedKComponent | ( | const amrex::DistributionMapping & | dm, |
int | i_dim, | ||
int | n_order, | ||
short | grid_type | ||
) | const |
SpectralShiftFactor SpectralKSpace::getSpectralShiftFactor | ( | const amrex::DistributionMapping & | dm, |
int | i_dim, | ||
int | shift_type | ||
) | const |
|
protected |
|
protected |
amrex::BoxArray SpectralKSpace::spectralspace_ba |