WarpX
PartPerGridFunctor.H
Go to the documentation of this file.
1 #ifndef WARPX_PARTPERGRIDFUNCTOR_H_
2 #define WARPX_PARTPERGRIDFUNCTOR_H_
3 
4 #include "ComputeDiagFunctor.H"
5 
6 #include <AMReX_BaseFwd.H>
7 
11 class
13 {
14 public:
23  PartPerGridFunctor(const amrex::MultiFab * mf_src, int lev,
24  amrex::IntVect crse_ratio, int ncomp=1);
25 
32  void operator()(amrex::MultiFab& mf_dst, int dcomp, int /*i_buffer=0*/) const override;
33 private:
34  int const m_lev;
35 };
36 
37 #endif // WARPX_PARTPERGRIDFUNCTOR_H_
Functor to compute a diagnostic and store the result in existing MultiFab.
Definition: ComputeDiagFunctor.H:18
Functor to cell-center MF and store result in mf_out.
Definition: PartPerGridFunctor.H:13
int const m_lev
Definition: PartPerGridFunctor.H:34