ARTEMIS
Public Member Functions | Private Attributes | List of all members
PsatdAlgorithmComoving Class Reference

#include <PsatdAlgorithmComoving.H>

Inheritance diagram for PsatdAlgorithmComoving:
SpectralBaseAlgorithm

Public Member Functions

 PsatdAlgorithmComoving (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, const amrex::Vector< amrex::Real > &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 (SpectralFieldData &field_data) 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 (SpectralFieldData &field_data) 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...
 
- Public Member Functions inherited from SpectralBaseAlgorithm
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...
 

Private Attributes

SpectralRealCoefficients C_coef
 
SpectralRealCoefficients S_ck_coef
 
SpectralComplexCoefficients Theta2_coef
 
SpectralComplexCoefficients X1_coef
 
SpectralComplexCoefficients X2_coef
 
SpectralComplexCoefficients X3_coef
 
SpectralComplexCoefficients X4_coef
 
SpectralFieldIndex m_spectral_index
 
KVectorComponent kx_vec
 
KVectorComponent kz_vec
 
amrex::Vector< amrex::Real > m_v_comoving
 
amrex::Real m_dt
 

Additional Inherited Members

- Protected Types inherited from SpectralBaseAlgorithm
using SpectralRealCoefficients = amrex::FabArray< amrex::BaseFab< amrex::Real > >
 
using SpectralComplexCoefficients = amrex::FabArray< amrex::BaseFab< Complex > >
 
- Protected Member Functions inherited from SpectralBaseAlgorithm
 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 inherited from SpectralBaseAlgorithm
SpectralFieldIndex m_spectral_index
 
KVectorComponent modified_kx_vec
 
KVectorComponent modified_kz_vec
 

Constructor & Destructor Documentation

◆ PsatdAlgorithmComoving()

PsatdAlgorithmComoving::PsatdAlgorithmComoving ( 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,
const amrex::Vector< amrex::Real > &  v_comoving,
const amrex::Real  dt,
const bool  update_with_rho 
)

Class constructor.

Member Function Documentation

◆ CurrentCorrection()

void PsatdAlgorithmComoving::CurrentCorrection ( SpectralFieldData field_data)
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_dataAll fields in Fourier space

Implements SpectralBaseAlgorithm.

◆ InitializeSpectralCoefficients()

void PsatdAlgorithmComoving::InitializeSpectralCoefficients ( const SpectralKSpace spectral_kspace,
const amrex::DistributionMapping dm,
const amrex::Real  dt 
)

◆ pushSpectralFields()

void PsatdAlgorithmComoving::pushSpectralFields ( SpectralFieldData f) const
finaloverridevirtual

Override the update equations in Fourier space.

Implements SpectralBaseAlgorithm.

◆ VayDeposition()

void PsatdAlgorithmComoving::VayDeposition ( SpectralFieldData field_data)
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_dataAll fields in Fourier space

Implements SpectralBaseAlgorithm.

Member Data Documentation

◆ C_coef

SpectralRealCoefficients PsatdAlgorithmComoving::C_coef
private

◆ kx_vec

KVectorComponent PsatdAlgorithmComoving::kx_vec
private

◆ kz_vec

KVectorComponent PsatdAlgorithmComoving::kz_vec
private

◆ m_dt

amrex::Real PsatdAlgorithmComoving::m_dt
private

◆ m_spectral_index

SpectralFieldIndex PsatdAlgorithmComoving::m_spectral_index
private

◆ m_v_comoving

amrex::Vector<amrex::Real> PsatdAlgorithmComoving::m_v_comoving
private

◆ S_ck_coef

SpectralRealCoefficients PsatdAlgorithmComoving::S_ck_coef
private

◆ Theta2_coef

SpectralComplexCoefficients PsatdAlgorithmComoving::Theta2_coef
private

◆ X1_coef

SpectralComplexCoefficients PsatdAlgorithmComoving::X1_coef
private

◆ X2_coef

SpectralComplexCoefficients PsatdAlgorithmComoving::X2_coef
private

◆ X3_coef

SpectralComplexCoefficients PsatdAlgorithmComoving::X3_coef
private

◆ X4_coef

SpectralComplexCoefficients PsatdAlgorithmComoving::X4_coef
private

The documentation for this class was generated from the following files: