ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
ERF_NumericalDiffusion.H
Go to the documentation of this file.
1 #ifndef ERF_NUMERICALDIFFUSION_H_
2 #define ERF_NUMERICALDIFFUSION_H_
3 
4 #include <AMReX.H>
5 #include <ERF_DataStruct.H>
6 #include <AMReX_MultiFab.H>
7 
8 void NumericalDiffusion (const amrex::Box& bx,
9  const int start_comp,
10  const int num_comp,
11  const amrex::Real dt,
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);
19 
20 void NumericalDiffusionVert (const amrex::Box& bx,
21  const int start_comp,
22  const int num_comp,
23  const amrex::Real dt,
24  const amrex::Real num_diff_coeff,
25  const amrex::Array4<const amrex::Real>& data,
26  const amrex::Array4< amrex::Real>& rhs);
27 #endif
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)