|
ARTEMIS
|
#include <SpectralBaseAlgorithm.H>
Public Member Functions | |
| virtual void | pushSpectralFields (SpectralFieldData &f) const =0 |
| virtual | ~SpectralBaseAlgorithm () |
| virtual void | CurrentCorrection (SpectralFieldData &field_data)=0 |
| Virtual function for current correction in Fourier space (Vay et al, 2013). This virtual function is pure and must be defined in derived classes. More... | |
| virtual void | VayDeposition (SpectralFieldData &field_data)=0 |
| Virtual function for Vay current deposition in Fourier space (Vay et al, 2013). This virtual function is pure and must be defined in derived classes. More... | |
| void | ComputeSpectralDivE (const int lev, SpectralFieldData &field_data, const std::array< std::unique_ptr< amrex::MultiFab >, 3 > &Efield, amrex::MultiFab &divE) |
| Compute spectral divergence of E. More... | |
Protected Types | |
| using | SpectralRealCoefficients = amrex::FabArray< amrex::BaseFab< amrex::Real > > |
| using | SpectralComplexCoefficients = amrex::FabArray< amrex::BaseFab< Complex > > |
Protected Member Functions | |
| SpectralBaseAlgorithm (const SpectralKSpace &spectral_kspace, const amrex::DistributionMapping &dm, const SpectralFieldIndex &spectral_index, const int norder_x, const int norder_y, const int norder_z, const short grid_type) | |
| Constructor. More... | |
Protected Attributes | |
| SpectralFieldIndex | m_spectral_index |
| KVectorComponent | modified_kx_vec |
| KVectorComponent | modified_kz_vec |
|
protected |
|
protected |
|
inlinevirtual |
|
protected |
Constructor.
| void SpectralBaseAlgorithm::ComputeSpectralDivE | ( | const int | lev, |
| SpectralFieldData & | field_data, | ||
| const std::array< std::unique_ptr< amrex::MultiFab >, 3 > & | Efield, | ||
| amrex::MultiFab & | divE | ||
| ) |
Compute spectral divergence of E.
|
pure virtual |
Virtual function for current correction in Fourier space (Vay et al, 2013). This virtual function is pure and must be defined in derived classes.
| [in,out] | field_data | All fields in Fourier space |
Implemented in PsatdAlgorithmPml, PsatdAlgorithmJLinearInTime, PsatdAlgorithmJConstantInTime, PsatdAlgorithmFirstOrder, and PsatdAlgorithmComoving.
|
pure virtual |
|
pure virtual |
Virtual function for Vay current deposition in Fourier space (Vay et al, 2013). This virtual function is pure and must be defined in derived classes.
| [in,out] | field_data | All fields in Fourier space |
Implemented in PsatdAlgorithmPml, PsatdAlgorithmJLinearInTime, PsatdAlgorithmJConstantInTime, PsatdAlgorithmFirstOrder, and PsatdAlgorithmComoving.
|
protected |
|
protected |
|
protected |