#include <ComovingPsatdAlgorithm.H>
|
| | ComovingPsatdAlgorithm (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::Array< amrex::Real, 3 > &v_comoving, const amrex::Real dt, const bool update_with_rho) |
| | Class constructor. More...
|
| |
| virtual void | pushSpectralFields (SpectralFieldData &f) const override final |
| | Override the update equations in Fourier space. More...
|
| |
| void | InitializeSpectralCoefficients (const SpectralKSpace &spectral_kspace, const amrex::DistributionMapping &dm, const amrex::Real dt) |
| |
| 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. 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. 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...
|
| |
◆ ComovingPsatdAlgorithm()
| ComovingPsatdAlgorithm::ComovingPsatdAlgorithm |
( |
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::Array< amrex::Real, 3 > & |
v_comoving, |
|
|
const amrex::Real |
dt, |
|
|
const bool |
update_with_rho |
|
) |
| |
◆ CurrentCorrection()
| void ComovingPsatdAlgorithm::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. 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 ComovingPsatdAlgorithm::InitializeSpectralCoefficients |
( |
const SpectralKSpace & |
spectral_kspace, |
|
|
const amrex::DistributionMapping & |
dm, |
|
|
const amrex::Real |
dt |
|
) |
| |
◆ pushSpectralFields()
◆ VayDeposition()
| void ComovingPsatdAlgorithm::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. 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
◆ kx_vec
◆ ky_vec
◆ kz_vec
◆ m_dt
| amrex::Real ComovingPsatdAlgorithm::m_dt |
|
private |
◆ m_spectral_index
◆ m_v_comoving
| amrex::Array<amrex::Real,3> ComovingPsatdAlgorithm::m_v_comoving |
|
private |
◆ S_ck_coef
◆ Theta2_coef
◆ X1_coef
◆ X2_coef
◆ X3_coef
◆ X4_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/ComovingPsatdAlgorithm.H
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/21.10/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/ComovingPsatdAlgorithm.cpp