7 #ifndef WARPX_PSATD_ALGORITHM_FIRST_ORDER_H_
8 #define WARPX_PSATD_ALGORITHM_FIRST_ORDER_H_
15 #include <AMReX_Config.H>
Definition: PsatdAlgorithmFirstOrder.H:28
int m_J_in_time
Definition: PsatdAlgorithmFirstOrder.H:94
void CurrentCorrection(SpectralFieldData &field_data) final
Virtual function for current correction in Fourier space (Vay et al, 2013). This function overrides t...
Definition: PsatdAlgorithmFirstOrder.cpp:353
int m_rho_in_time
Definition: PsatdAlgorithmFirstOrder.H:95
bool m_div_cleaning
Definition: PsatdAlgorithmFirstOrder.H:93
amrex::Real m_dt
Definition: PsatdAlgorithmFirstOrder.H:92
void VayDeposition(SpectralFieldData &field_data) final
Virtual function for Vay current deposition in Fourier space (Vay et al, 2013). This function overrid...
Definition: PsatdAlgorithmFirstOrder.cpp:364
void pushSpectralFields(SpectralFieldData &f) const final
Updates E, B, F, and G fields in spectral space, according to the first-order PSATD equations.
Definition: PsatdAlgorithmFirstOrder.cpp:52
PsatdAlgorithmFirstOrder(const SpectralKSpace &spectral_kspace, const amrex::DistributionMapping &dm, const SpectralFieldIndex &spectral_index, int norder_x, int norder_y, int norder_z, short grid_type, amrex::Real dt, bool div_cleaning, int J_in_time, int rho_in_time)
Constructor of the class PsatdAlgorithmFirstOrder.
Definition: PsatdAlgorithmFirstOrder.cpp:31
Definition: SpectralBaseAlgorithm.H:36
Class that stores the fields in spectral space, and performs the Fourier transforms between real spac...
Definition: SpectralFieldData.H:143
Definition: SpectralFieldData.H:34
Class that represents the spectral space.
Definition: SpectralKSpace.H:48
float dt
Definition: stencil.py:442