1 #ifndef WARPX_JFUNCTOR_H_
2 #define WARPX_JFUNCTOR_H_
28 bool convertRZmodes2cartesian=
true,
29 bool deposit_current=
false,
int ncomp=1);
Functor to compute a diagnostic and store the result in existing MultiFab.
Definition: ComputeDiagFunctor.H:17
Functor to cell-center MF for current density and store result in mf_out.
Definition: JFunctor.H:12
bool m_convertRZmodes2cartesian
Definition: JFunctor.H:46
bool m_deposit_current
Definition: JFunctor.H:48
void operator()(amrex::MultiFab &mf_dst, int dcomp, int) const override
Cell-center m_mf_src and write the result in mf_dst.
Definition: JFunctor.cpp:30
int m_lev
Definition: JFunctor.H:44
JFunctor(int dir, int lev, amrex::IntVect crse_ratio, bool convertRZmodes2cartesian=true, bool deposit_current=false, int ncomp=1)
Definition: JFunctor.cpp:20
const int m_dir
Definition: JFunctor.H:42