1 #ifndef AMREX_EBMULTIFABUTIL_H_
2 #define AMREX_EBMULTIFABUTIL_H_
3 #include <AMReX_Config.H>
13 void EB_set_covered (MultiFab& mf,
int icomp,
int ncomp,
int ngrow, Real val);
14 void EB_set_covered (MultiFab& mf,
int icomp,
int ncomp,
const Vector<Real>& vals);
15 void EB_set_covered (MultiFab& mf,
int icomp,
int ncomp,
int ngrow,
const Vector<Real>& vals);
18 void EB_set_covered_faces (
const Array<MultiFab*,AMREX_SPACEDIM>& umac,
int scomp,
int ncomp,
const Vector<Real>& vals);
20 void EB_average_down (
const MultiFab& S_fine, MultiFab& S_crse,
const MultiFab& vol_fine,
21 const MultiFab& vfrac_fine,
int scomp,
int ncomp,
const IntVect& ratio);
23 void EB_average_down (
const MultiFab& S_fine, MultiFab& S_crse,
int scomp,
int ncomp,
25 void EB_average_down (
const MultiFab& S_fine, MultiFab& S_crse,
int scomp,
int ncomp,
29 const Array< MultiFab*,AMREX_SPACEDIM>&
crse,
30 int ratio,
int ngcrse);
32 const Array< MultiFab*,AMREX_SPACEDIM>&
crse,
33 const IntVect& ratio,
int ngcrse);
37 const Array< MultiFab*,AMREX_SPACEDIM>&
crse,
38 const IntVect& ratio,
const Geometry& crse_geom);
41 int ratio,
int ngcrse);
43 const IntVect& ratio,
int ngcrse);
46 const Geometry& geom,
bool already_on_centroids);
49 const Geometry& geom,
bool already_on_centroids,
50 const MultiFab& vel_eb);
54 const Array<MultiFab const*,AMREX_SPACEDIM>& fmf);
57 void EB_interp_CC_to_Centroid (MultiFab& cent,
const MultiFab& cc,
int scomp,
int dcomp,
int ncomp,
const Geometry& geom);
64 int scomp,
int dcomp,
int nc,
70 const Array<MultiFab *,AMREX_SPACEDIM>& phi_faces,
71 int scomp,
int dcomp,
int nc,
77 const Vector<MultiFab*>& phi_faces,
78 int scomp,
int dcomp,
int nc,
87 int scomp,
int dcomp,
int nc,
Array4< Real > fine
Definition: AMReX_InterpFaceRegister.cpp:90
Array4< Real const > crse
Definition: AMReX_InterpFaceRegister.cpp:92
#define AMREX_D_DECL(a, b, c)
Definition: AMReX_SPACE.H:104
Definition: AMReX_Amr.cpp:49
void EB_set_covered_faces(const Array< MultiFab *, AMREX_SPACEDIM > &umac, Real val)
Definition: AMReX_EBMultiFabUtil.cpp:109
void EB_interp_CellCentroid_to_FaceCentroid(const MultiFab &phi_centroid, const Array< MultiFab *, AMREX_SPACEDIM > &phi_faces, int scomp, int dcomp, int nc, const Geometry &geom, const amrex::Vector< amrex::BCRec > &a_bcs)
Definition: AMReX_EBMultiFabUtil.cpp:1024
void EB_average_face_to_cellcenter(MultiFab &ccmf, int dcomp, const Array< MultiFab const *, AMREX_SPACEDIM > &fmf)
Definition: AMReX_EBMultiFabUtil.cpp:806
void EB_set_covered(MultiFab &mf, Real val)
Definition: AMReX_EBMultiFabUtil.cpp:21
void EB_average_down_faces(const Array< const MultiFab *, AMREX_SPACEDIM > &fine, const Array< MultiFab *, AMREX_SPACEDIM > &crse, int ratio, int ngcrse)
Definition: AMReX_EBMultiFabUtil.cpp:500
void EB_average_down(const MultiFab &S_fine, MultiFab &S_crse, const MultiFab &vol_fine, const MultiFab &vfrac_fine, int scomp, int ncomp, const IntVect &ratio)
Definition: AMReX_EBMultiFabUtil.cpp:336
IntVectND< AMREX_SPACEDIM > IntVect
Definition: AMReX_BaseFwd.H:30
void EB_computeDivergence(MultiFab &divu, const Array< MultiFab const *, AMREX_SPACEDIM > &umac, const Geometry &geom, bool already_on_centroids)
Definition: AMReX_EBMultiFabUtil.cpp:681
void EB_interp_CC_to_Centroid(MultiFab ¢, const MultiFab &cc, int scomp, int dcomp, int ncomp, const Geometry &geom)
Definition: AMReX_EBMultiFabUtil.cpp:861
void EB_interp_CC_to_FaceCentroid(const MultiFab &cc, AMREX_D_DECL(MultiFab &fc_x, MultiFab &fc_y, MultiFab &fc_z), int scomp, int dcomp, int ncomp, const Geometry &a_geom, const Vector< BCRec > &a_bcs)
Definition: AMReX_EBMultiFabUtil.cpp:911
void EB_average_down_boundaries(const MultiFab &fine, MultiFab &crse, int ratio, int ngcrse)
Definition: AMReX_EBMultiFabUtil.cpp:619