WarpX
CellCenterFunctor.H
Go to the documentation of this file.
1 #ifndef WARPX_CELLCENTERFUNCTOR_H_
2 #define WARPX_CELLCENTERFUNCTOR_H_
3 
4 #include "ComputeDiagFunctor.H"
5 
9 class
11 {
12 public:
22  CellCenterFunctor(const amrex::MultiFab * const mf_src, const int lev,
23  const amrex::IntVect crse_ratio,
24  bool convertRZmodes2cartesian=true, int ncomp=1);
34  virtual void operator()(amrex::MultiFab& mf_dst, int dcomp, const int /*i_buffer=0*/) const override;
35 private:
37  amrex::MultiFab const * const m_mf_src = nullptr;
38  int m_lev;
41 };
42 
43 #endif // WARPX_CELLCENTERFUNCTOR_H_
int m_lev
Definition: CellCenterFunctor.H:38
Functor to cell-center MF and store result in mf_out.
Definition: CellCenterFunctor.H:9
bool m_convertRZmodes2cartesian
Definition: CellCenterFunctor.H:40
Functor to compute a diagnostic and store the result in existing MultiFab.
Definition: ComputeDiagFunctor.H:11