WarpX
Loading...
Searching...
No Matches
Source
Diagnostics
ComputeDiagFunctors
EBCoveredFunctor.H
Go to the documentation of this file.
1
#ifndef WARPX_EBCOVEREDFUNCTOR_H_
2
#define WARPX_EBCOVEREDFUNCTOR_H_
3
4
#include "
ComputeDiagFunctor.H
"
5
6
#include <
AMReX_BaseFwd.H
>
7
11
class
EBCoveredFunctor
final :
public
ComputeDiagFunctor
12
{
13
public
:
20
EBCoveredFunctor
(
21
int
lev,
22
amrex::IntVect
crse_ratio,
23
int
ncomp=1
24
);
25
32
void
operator()
(
amrex::MultiFab
& mf_dst,
int
dcomp,
int
/*i_buffer=0*/
)
const override
;
33
private
:
34
int
m_lev
;
35
};
36
37
#endif
// WARPX_EBCOVEREDFUNCTOR_H_
AMReX_BaseFwd.H
ComputeDiagFunctor.H
ComputeDiagFunctor::ComputeDiagFunctor
ComputeDiagFunctor(int ncomp, amrex::IntVect crse_ratio)
Definition
ComputeDiagFunctor.H:19
EBCoveredFunctor::operator()
void operator()(amrex::MultiFab &mf_dst, int dcomp, int) const override
Save the fraction of the cell that is covered by the embedded boundary.
Definition
EBCoveredFunctor.cpp:23
EBCoveredFunctor::EBCoveredFunctor
EBCoveredFunctor(int lev, amrex::IntVect crse_ratio, int ncomp=1)
Definition
EBCoveredFunctor.cpp:11
EBCoveredFunctor::m_lev
int m_lev
Definition
EBCoveredFunctor.H:34
amrex::MultiFab
amrex::IntVect
IntVectND< 3 > IntVect
Generated by
1.13.2