1 #ifndef WARPX_RHOFUNCTOR_H_
2 #define WARPX_RHOFUNCTOR_H_
30 bool apply_rz_psatd_filter =
false,
31 int species_index = -1,
32 bool convertRZmodes2cartesian =
true,
Functor to compute a diagnostic and store the result in existing MultiFab.
Definition: ComputeDiagFunctor.H:17
Functor to compute charge density rho into mf_out.
Definition: RhoFunctor.H:12
bool m_apply_rz_psatd_filter
Definition: RhoFunctor.H:49
RhoFunctor(int lev, amrex::IntVect crse_ratio, bool apply_rz_psatd_filter=false, int species_index=-1, bool convertRZmodes2cartesian=true, int ncomp=1)
Constructor.
Definition: RhoFunctor.cpp:21
const int m_species_index
Definition: RhoFunctor.H:52
bool m_convertRZmodes2cartesian
Definition: RhoFunctor.H:55
void operator()(amrex::MultiFab &mf_dst, int dcomp, int) const override
Compute rho directly into mf_dst.
Definition: RhoFunctor.cpp:35
int const m_lev
Definition: RhoFunctor.H:46