WarpX
Loading...
Searching...
No Matches
EBCoveredFunctor.H
Go to the documentation of this file.
1#ifndef WARPX_EBCOVEREDFUNCTOR_H_
2#define WARPX_EBCOVEREDFUNCTOR_H_
3
5
6#include <AMReX_BaseFwd.H>
7
12{
13public:
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;
33private:
34 int m_lev;
35};
36
37#endif // WARPX_EBCOVEREDFUNCTOR_H_
ComputeDiagFunctor(int ncomp, amrex::IntVect crse_ratio)
Definition ComputeDiagFunctor.H:19
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(int lev, amrex::IntVect crse_ratio, int ncomp=1)
Definition EBCoveredFunctor.cpp:11
int m_lev
Definition EBCoveredFunctor.H:34
IntVectND< 3 > IntVect