1 #ifndef WARPX_PARTPERCELLFUNCTOR_H_
2 #define WARPX_PARTPERCELLFUNCTOR_H_
Functor to compute a diagnostic and store the result in existing MultiFab.
Definition: ComputeDiagFunctor.H:17
Functor to cell-center MF and store result in mf_out.
Definition: PartPerCellFunctor.H:12
void operator()(amrex::MultiFab &mf_dst, int dcomp, int) const override
Compute the number of particles per cell directly into mf_dst.
Definition: PartPerCellFunctor.cpp:26
int const m_lev
Definition: PartPerCellFunctor.H:33
PartPerCellFunctor(const amrex::MultiFab *mf_src, int lev, amrex::IntVect crse_ratio, int ncomp=1)
Definition: PartPerCellFunctor.cpp:16