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