|
ARTEMIS
|
Class that represents the spectral space. More...
#include <SpectralKSpace.H>
Public Member Functions | |
| SpectralKSpace () | |
| SpectralKSpace (const amrex::BoxArray &realspace_ba, const amrex::DistributionMapping &dm, const amrex::RealVect realspace_dx) | |
| KVectorComponent | getKComponent (const amrex::DistributionMapping &dm, const amrex::BoxArray &realspace_ba, const int i_dim, const bool only_positive_k) const |
| KVectorComponent | getModifiedKComponent (const amrex::DistributionMapping &dm, const int i_dim, const int n_order, const short grid_type) const |
| SpectralShiftFactor | getSpectralShiftFactor (const amrex::DistributionMapping &dm, const int i_dim, const 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, | ||
| const amrex::RealVect | realspace_dx | ||
| ) |
| KVectorComponent SpectralKSpace::getKComponent | ( | const amrex::DistributionMapping & | dm, |
| const amrex::BoxArray & | realspace_ba, | ||
| const int | i_dim, | ||
| const bool | only_positive_k | ||
| ) | const |
| KVectorComponent SpectralKSpace::getModifiedKComponent | ( | const amrex::DistributionMapping & | dm, |
| const int | i_dim, | ||
| const int | n_order, | ||
| const short | grid_type | ||
| ) | const |
| SpectralShiftFactor SpectralKSpace::getSpectralShiftFactor | ( | const amrex::DistributionMapping & | dm, |
| const int | i_dim, | ||
| const int | shift_type | ||
| ) | const |
|
protected |
|
protected |
| amrex::BoxArray SpectralKSpace::spectralspace_ba |