ARTEMIS
Source
Diagnostics
ComputeDiagFunctors
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
12
PartPerCellFunctor
final :
public
ComputeDiagFunctor
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_
AMReX_BaseFwd.H
ComputeDiagFunctor.H
ComputeDiagFunctor
Functor to compute a diagnostic and store the result in existing MultiFab.
Definition:
ComputeDiagFunctor.H:15
PartPerCellFunctor
Functor to cell-center MF and store result in mf_out.
Definition:
PartPerCellFunctor.H:13
PartPerCellFunctor::m_lev
int const m_lev
Definition:
PartPerCellFunctor.H:34
amrex::IntVectND< AMREX_SPACEDIM >
amrex::MultiFab
Generated by
1.9.1