1 #ifndef ERF_NUMERICALDIFFUSION_H_
2 #define ERF_NUMERICALDIFFUSION_H_
6 #include <AMReX_MultiFab.H>
12 const amrex::Real num_diff_coeff,
13 const amrex::Array4<const amrex::Real>& data,
14 const amrex::Array4< amrex::Real>& rhs,
15 const amrex::Array4<const amrex::Real>& mf_x,
16 const amrex::Array4<const amrex::Real>& mf_y,
17 const bool avg_mf_x_y,
18 const bool avg_mf_y_x);
24 const amrex::Real num_diff_coeff,
25 const amrex::Array4<const amrex::Real>& data,
26 const amrex::Array4< amrex::Real>& rhs);
void NumericalDiffusionVert(const amrex::Box &bx, const int start_comp, const int num_comp, const amrex::Real dt, const amrex::Real num_diff_coeff, const amrex::Array4< const amrex::Real > &data, const amrex::Array4< amrex::Real > &rhs)
void NumericalDiffusion(const amrex::Box &bx, const int start_comp, const int num_comp, const amrex::Real dt, const amrex::Real num_diff_coeff, const amrex::Array4< const amrex::Real > &data, const amrex::Array4< amrex::Real > &rhs, const amrex::Array4< const amrex::Real > &mf_x, const amrex::Array4< const amrex::Real > &mf_y, const bool avg_mf_x_y, const bool avg_mf_y_x)