ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
ERF_EBAdvection.H
Go to the documentation of this file.
1 #ifndef ERF_EBADVECTION_H_
2 #define ERF_EBADVECTION_H_
3 
4 #include <AMReX.H>
5 #include <AMReX_MultiFab.H>
6 #include <AMReX_BCRec.H>
7 #include <AMReX_YAFluxRegister.H>
8 
9 #include <ERF_DataStruct.H>
10 #include <ERF_IndexDefines.H>
11 #include <ERF_ABLMost.H>
12 
13 /** Compute advection tendency for all scalars other than density and potential temperature */
14 void EBAdvectionSrcForScalars (const amrex::Box& bx,
15  const int icomp, const int ncomp,
16  const amrex::Array4<const amrex::Real>& avg_xmom,
17  const amrex::Array4<const amrex::Real>& avg_ymom,
18  const amrex::Array4<const amrex::Real>& avg_zmom,
19  const amrex::Array4<const amrex::Real>& cell_prim,
20  const amrex::Array4<amrex::Real>& src,
21  const amrex::Array4<const amrex::EBCellFlag>& cfg_arr,
22  const amrex::Array4<const amrex::Real>& ax_arr,
23  const amrex::Array4<const amrex::Real>& ay_arr,
24  const amrex::Array4<const amrex::Real>& az_arr,
25  const amrex::Array4<const amrex::Real>& vf_arr,
26  const amrex::GpuArray<amrex::Real, AMREX_SPACEDIM>& cellSizeInv,
27  const amrex::Array4<const amrex::Real>& mf_m,
28  const AdvType horiz_adv_type, const AdvType vert_adv_type,
29  const amrex::Real horiz_upw_frac, const amrex::Real vert_upw_frac,
30  const amrex::GpuArray<const amrex::Array4<amrex::Real>, AMREX_SPACEDIM>& flx_arr,
31  const amrex::Box& domain,
32  const amrex::BCRec* bc_ptr_h);
33 
34 #endif
void EBAdvectionSrcForScalars(const amrex::Box &bx, const int icomp, const int ncomp, const amrex::Array4< const amrex::Real > &avg_xmom, const amrex::Array4< const amrex::Real > &avg_ymom, const amrex::Array4< const amrex::Real > &avg_zmom, const amrex::Array4< const amrex::Real > &cell_prim, const amrex::Array4< amrex::Real > &src, const amrex::Array4< const amrex::EBCellFlag > &cfg_arr, const amrex::Array4< const amrex::Real > &ax_arr, const amrex::Array4< const amrex::Real > &ay_arr, const amrex::Array4< const amrex::Real > &az_arr, const amrex::Array4< const amrex::Real > &vf_arr, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &mf_m, const AdvType horiz_adv_type, const AdvType vert_adv_type, const amrex::Real horiz_upw_frac, const amrex::Real vert_upw_frac, const amrex::GpuArray< const amrex::Array4< amrex::Real >, AMREX_SPACEDIM > &flx_arr, const amrex::Box &domain, const amrex::BCRec *bc_ptr_h)
AdvType
Definition: ERF_IndexDefines.H:191