|
ARTEMIS
|
#include <SpectralFieldDataRZ.H>
Public Types | |
| using | FFTplans = amrex::LayoutData< fftw_plan > |
| using | MultiSpectralHankelTransformer = amrex::LayoutData< SpectralHankelTransformer > |
| using | BinomialFilter = amrex::LayoutData< SpectralBinomialFilter > |
Public Member Functions | |
| SpectralFieldDataRZ (const int lev, const amrex::BoxArray &realspace_ba, const SpectralKSpaceRZ &k_space, const amrex::DistributionMapping &dm, const int n_field_required, const int n_modes) | |
| SpectralFieldDataRZ ()=default | |
| SpectralFieldDataRZ & | operator= (SpectralFieldDataRZ &&field_data)=default |
| ~SpectralFieldDataRZ () | |
| void | ForwardTransform (const int lev, const amrex::MultiFab &mf, const int field_index, const int i_comp=0) |
| void | ForwardTransform (const int lev, const amrex::MultiFab &mf_r, const int field_index_r, const amrex::MultiFab &mf_t, const int field_index_t) |
| void | BackwardTransform (const int lev, amrex::MultiFab &mf, const int field_index, const int i_comp=0) |
| void | BackwardTransform (const int lev, amrex::MultiFab &mf_r, const int field_index_r, amrex::MultiFab &mf_t, const int field_index_t) |
| void | FABZForwardTransform (amrex::MFIter const &mfi, amrex::Box const &realspace_bx, amrex::MultiFab const &tempHTransformedSplit, int field_index, const bool is_nodal_z) |
| void | FABZBackwardTransform (amrex::MFIter const &mfi, amrex::Box const &realspace_bx, const int field_index, amrex::MultiFab &tempHTransformedSplit, const bool is_nodal_z) |
| void | CopySpectralDataComp (const int src_comp, const int dest_comp) |
Copy spectral data from component src_comp to component dest_comp of fields. More... | |
| void | ZeroOutDataComp (const int icomp) |
Set to zero the data on component icomp of fields. More... | |
| void | ScaleDataComp (const int icomp, const amrex::Real scale_factor) |
Scale the data on component icomp of fields by a given scale factor. More... | |
| void | InitFilter (amrex::IntVect const &filter_npass_each_dir, bool const compensation, SpectralKSpaceRZ const &k_space) |
| void | ApplyFilter (const int lev, int const field_index) |
| void | ApplyFilter (const int lev, int const field_index1, int const field_index2, int const field_index3) |
| HankelTransform::RealVector const & | getKrArray (amrex::MFIter const &mfi) const |
Public Attributes | |
| SpectralField | fields |
fields stores fields in spectral space, as multicomponent FabArray More... | |
| int | n_rz_azimuthal_modes |
| Number of modes for the RZ multi-mode version, see WarpX::n_rz_azimuthal_modes. More... | |
| int | m_ncomps |
| Number of MultiFab components, see WarpX::ncomps. More... | |
| using SpectralFieldDataRZ::FFTplans = amrex::LayoutData<fftw_plan> |
| using SpectralFieldDataRZ::MultiSpectralHankelTransformer = amrex::LayoutData<SpectralHankelTransformer> |
| SpectralFieldDataRZ::SpectralFieldDataRZ | ( | const int | lev, |
| const amrex::BoxArray & | realspace_ba, | ||
| const SpectralKSpaceRZ & | k_space, | ||
| const amrex::DistributionMapping & | dm, | ||
| const int | n_field_required, | ||
| const int | n_modes | ||
| ) |
|
default |
| SpectralFieldDataRZ::~SpectralFieldDataRZ | ( | ) |
| void SpectralFieldDataRZ::ApplyFilter | ( | const int | lev, |
| int const | field_index | ||
| ) |
| void SpectralFieldDataRZ::ApplyFilter | ( | const int | lev, |
| int const | field_index1, | ||
| int const | field_index2, | ||
| int const | field_index3 | ||
| ) |
| void SpectralFieldDataRZ::BackwardTransform | ( | const int | lev, |
| amrex::MultiFab & | mf, | ||
| const int | field_index, | ||
| const int | i_comp = 0 |
||
| ) |
| void SpectralFieldDataRZ::BackwardTransform | ( | const int | lev, |
| amrex::MultiFab & | mf_r, | ||
| const int | field_index_r, | ||
| amrex::MultiFab & | mf_t, | ||
| const int | field_index_t | ||
| ) |
|
inline |
Copy spectral data from component src_comp to component dest_comp of fields.
| [in] | src_comp | component of the source FabArray from which the data are copied |
| [in] | dest_comp | component of the destination FabArray where the data are copied |
| void SpectralFieldDataRZ::FABZBackwardTransform | ( | amrex::MFIter const & | mfi, |
| amrex::Box const & | realspace_bx, | ||
| const int | field_index, | ||
| amrex::MultiFab & | tempHTransformedSplit, | ||
| const bool | is_nodal_z | ||
| ) |
| void SpectralFieldDataRZ::FABZForwardTransform | ( | amrex::MFIter const & | mfi, |
| amrex::Box const & | realspace_bx, | ||
| amrex::MultiFab const & | tempHTransformedSplit, | ||
| int | field_index, | ||
| const bool | is_nodal_z | ||
| ) |
| void SpectralFieldDataRZ::ForwardTransform | ( | const int | lev, |
| const amrex::MultiFab & | mf, | ||
| const int | field_index, | ||
| const int | i_comp = 0 |
||
| ) |
| void SpectralFieldDataRZ::ForwardTransform | ( | const int | lev, |
| const amrex::MultiFab & | mf_r, | ||
| const int | field_index_r, | ||
| const amrex::MultiFab & | mf_t, | ||
| const int | field_index_t | ||
| ) |
|
inline |
| void SpectralFieldDataRZ::InitFilter | ( | amrex::IntVect const & | filter_npass_each_dir, |
| bool const | compensation, | ||
| SpectralKSpaceRZ const & | k_space | ||
| ) |
|
default |
|
inline |
Scale the data on component icomp of fields by a given scale factor.
| [in] | icomp | component of the FabArray where the data are scaled |
| [in] | scale_factor | scale factor to use for scaling |
|
inline |
Set to zero the data on component icomp of fields.
| [in] | icomp | component of the FabArray where the data are set to zero |
|
private |
|
private |
| SpectralField SpectralFieldDataRZ::fields |
fields stores fields in spectral space, as multicomponent FabArray
|
private |
|
private |
| int SpectralFieldDataRZ::m_ncomps |
Number of MultiFab components, see WarpX::ncomps.
|
private |
|
private |
| int SpectralFieldDataRZ::n_rz_azimuthal_modes |
Number of modes for the RZ multi-mode version, see WarpX::n_rz_azimuthal_modes.
|
private |
|
private |
|
private |
|
private |