#include <PMLPsatdAlgorithm.H>
|
| | PMLPsatdAlgorithm (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 bool nodal, const amrex::IntVect &fill_guards, const amrex::Real dt, const bool dive_cleaning, const bool divb_cleaning) |
| |
| void | InitializeSpectralCoefficients (const SpectralKSpace &spectral_kspace, const amrex::DistributionMapping &dm, const amrex::Real dt) |
| |
| virtual void | pushSpectralFields (SpectralFieldData &f) const override final |
| |
| virtual void | CurrentCorrection (const int lev, SpectralFieldData &field_data, std::array< std::unique_ptr< amrex::MultiFab >, 3 > ¤t, const std::unique_ptr< amrex::MultiFab > &rho) override final |
| | Virtual function for current correction in Fourier space (Vay et al, 2013). This function overrides the virtual function CurrentCorrection in the base class SpectralBaseAlgorithm and cannot be overridden by further derived classes. More...
|
| |
| virtual void | VayDeposition (const int lev, SpectralFieldData &field_data, std::array< std::unique_ptr< amrex::MultiFab >, 3 > ¤t) override final |
| | Virtual function for Vay current deposition in Fourier space (Vay et al, 2013). This function overrides the virtual function VayDeposition in the base class SpectralBaseAlgorithm and cannot be overridden by further derived classes. More...
|
| |
| virtual | ~SpectralBaseAlgorithm () |
| |
| 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...
|
| |
◆ PMLPsatdAlgorithm()
| PMLPsatdAlgorithm::PMLPsatdAlgorithm |
( |
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 bool |
nodal, |
|
|
const amrex::IntVect & |
fill_guards, |
|
|
const amrex::Real |
dt, |
|
|
const bool |
dive_cleaning, |
|
|
const bool |
divb_cleaning |
|
) |
| |
◆ CurrentCorrection()
| void PMLPsatdAlgorithm::CurrentCorrection |
( |
const int |
lev, |
|
|
SpectralFieldData & |
field_data, |
|
|
std::array< std::unique_ptr< amrex::MultiFab >, 3 > & |
current, |
|
|
const std::unique_ptr< amrex::MultiFab > & |
rho |
|
) |
| |
|
finaloverridevirtual |
Virtual function for current correction in Fourier space (Vay et al, 2013). This function overrides the virtual function CurrentCorrection in the base class SpectralBaseAlgorithm and cannot be overridden by further derived classes.
- Parameters
-
| [in,out] | field_data | All fields in Fourier space |
| [in,out] | current | Array of unique pointers to MultiFab storing the three components of the current density |
| [in] | rho | Unique pointer to MultiFab storing the charge density |
Implements SpectralBaseAlgorithm.
◆ InitializeSpectralCoefficients()
| void PMLPsatdAlgorithm::InitializeSpectralCoefficients |
( |
const SpectralKSpace & |
spectral_kspace, |
|
|
const amrex::DistributionMapping & |
dm, |
|
|
const amrex::Real |
dt |
|
) |
| |
◆ pushSpectralFields()
◆ VayDeposition()
| void PMLPsatdAlgorithm::VayDeposition |
( |
const int |
lev, |
|
|
SpectralFieldData & |
field_data, |
|
|
std::array< std::unique_ptr< amrex::MultiFab >, 3 > & |
current |
|
) |
| |
|
finaloverridevirtual |
Virtual function for Vay current deposition in Fourier space (Vay et al, 2013). This function overrides the virtual function VayDeposition in the base class SpectralBaseAlgorithm and cannot be overridden by further derived classes.
- Parameters
-
| [in,out] | field_data | All fields in Fourier space |
| [in,out] | current | Array of unique pointers to MultiFab storing the three components of the current density |
Implements SpectralBaseAlgorithm.
◆ C_coef
◆ inv_k2_coef
◆ m_divb_cleaning
| bool PMLPsatdAlgorithm::m_divb_cleaning |
|
private |
◆ m_dive_cleaning
| bool PMLPsatdAlgorithm::m_dive_cleaning |
|
private |
◆ m_dt
| amrex::Real PMLPsatdAlgorithm::m_dt |
|
private |
◆ m_spectral_index
◆ S_ck_coef
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/21.10/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.H
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/21.10/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp