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 
9 class
11 {
12 public:
21  PartPerGridFunctor(const amrex::MultiFab * const mf_src, const int lev,
22  const amrex::IntVect crse_ratio, const int ncomp=1);
23 
30  virtual void operator()(amrex::MultiFab& mf_dst, const int dcomp, const int /*i_buffer=0*/) const override;
31 private:
32  int const m_lev;
33 };
34 
35 #endif // WARPX_PARTPERGRIDFUNCTOR_H_
int const m_lev
Definition: PartPerGridFunctor.H:32
Functor to compute a diagnostic and store the result in existing MultiFab.
Definition: ComputeDiagFunctor.H:11
Functor to cell-center MF and store result in mf_out.
Definition: PartPerGridFunctor.H:9