1 #ifndef ERF_INTEGRATION_H_
2 #define ERF_INTEGRATION_H_
4 #include <AMReX_MultiFab.H>
5 #include <AMReX_EBMultiFabUtil.H>
17 const amrex::MultiFab & S_prim,
18 amrex::MultiFab& buoyancy,
19 const amrex::Geometry geom,
21 const amrex::MultiFab& base_state,
26 amrex::Real dt, amrex::Real time,
27 amrex::Vector<amrex::MultiFab>& S_data,
28 const amrex::MultiFab& S_prim,
29 amrex::MultiFab& cc_source,
30 std::unique_ptr<amrex::MultiFab>& z_phys_cc,
31 #
if defined(ERF_USE_RRTMGP)
32 const amrex::MultiFab* qheating_rates,
34 amrex::MultiFab* terrain_blank,
35 const amrex::Geometry geom,
37 std::unique_ptr<amrex::MultiFab>& mapfac_u,
38 std::unique_ptr<amrex::MultiFab>& mapfac_v,
39 std::unique_ptr<amrex::MultiFab>& mapfac_m,
40 const amrex::Real* dptr_rhotheta_src,
41 const amrex::Real* dptr_rhoqt_src,
42 const amrex::Real* dptr_wbar_sub,
43 const amrex::Vector<amrex::Real*> d_rayleigh_ptrs_at_lev,
48 amrex::Real dt, amrex::Real time,
49 amrex::Vector<amrex::MultiFab>& S_data,
50 const amrex::MultiFab& S_prim,
51 std::unique_ptr<amrex::MultiFab>& z_phys_nd,
52 std::unique_ptr<amrex::MultiFab>& z_phys_cc,
53 const amrex::MultiFab&
xvel,
54 const amrex::MultiFab&
yvel,
55 const amrex::MultiFab& wvel,
56 amrex::MultiFab& xmom_source,
57 amrex::MultiFab& ymom_source,
58 amrex::MultiFab& zmom_source,
59 const amrex::MultiFab& base_state,
60 amrex::MultiFab* forest_drag,
61 amrex::MultiFab* terrain_blank,
62 const amrex::Geometry geom,
64 std::unique_ptr<amrex::MultiFab>& mapfac_m,
65 std::unique_ptr<amrex::MultiFab>& mapfac_u,
66 std::unique_ptr<amrex::MultiFab>& mapfac_v,
67 const amrex::Real* dptr_rhotheta_src,
68 const amrex::Real* dptr_rhoqt_src,
69 const amrex::Real* dptr_wbar_sub,
70 const amrex::Vector<amrex::Real*> d_rayleigh_ptrs_at_lev,
71 const amrex::Vector<amrex::Real*> d_sponge_ptrs_at_lev,
76 amrex::MultiFab& ymom_source,
77 amrex::MultiFab& zmom_source,
78 std::unique_ptr<amrex::iMultiFab>& xflux_imask_lev,
79 std::unique_ptr<amrex::iMultiFab>& yflux_imask_lev,
80 std::unique_ptr<amrex::iMultiFab>& zflux_imask_lev,
81 std::unique_ptr<amrex::MultiFab>& thin_xforce_lev,
82 std::unique_ptr<amrex::MultiFab>& thin_yforce_lev,
83 std::unique_ptr<amrex::MultiFab>& thin_zforce_lev);
85 #if defined(ERF_USE_NETCDF)
87 moist_set_rhs (
const amrex::Box& tbx,
88 const amrex::Box& gtbx,
89 const amrex::Array4<amrex::Real const>& old_cons,
90 const amrex::Array4<amrex::Real const>& new_cons,
91 const amrex::Array4<amrex::Real >& cell_rhs,
92 const amrex::Real& bdy_time_interval,
93 const amrex::Real& start_bdy_time,
94 const amrex::Real& new_stage_time,
95 const amrex::Real& dt,
96 int width,
int set_width,
97 const amrex::Box& domain,
98 amrex::Vector<amrex::Vector<amrex::FArrayBox>>& bdy_data_xlo,
99 amrex::Vector<amrex::Vector<amrex::FArrayBox>>& bdy_data_xhi,
100 amrex::Vector<amrex::Vector<amrex::FArrayBox>>& bdy_data_ylo,
101 amrex::Vector<amrex::Vector<amrex::FArrayBox>>& bdy_data_yhi);
105 const amrex::Geometry geom,
106 const amrex::Box& bx,
107 const amrex::Array4<amrex::Real>& cell_rhs,
108 const amrex::Array4<const amrex::Real>& cell_data);
111 const amrex::Geometry geom,
112 const amrex::Box& tbx,
113 const amrex::Box& tby,
114 const amrex::Box& tbz,
115 const amrex::Array4<amrex::Real>& rho_u_rhs,
116 const amrex::Array4<amrex::Real>& rho_v_rhs,
117 const amrex::Array4<amrex::Real>& rho_w_rhs,
118 const amrex::Array4<const amrex::Real>& rho_u,
119 const amrex::Array4<const amrex::Real>& rho_v,
120 const amrex::Array4<const amrex::Real>& rho_w);
123 const amrex::Geometry geom,
124 const amrex::Box& tbx,
125 const amrex::Box& tby,
126 const amrex::Array4<const amrex::Real>& cell_data,
127 const amrex::Array4<amrex::Real>& rho_u_rhs,
128 const amrex::Array4<amrex::Real>& rho_v_rhs,
129 const amrex::Array4<const amrex::Real>& rho_u,
130 const amrex::Array4<const amrex::Real>& rho_v,
131 const amrex::Vector<amrex::Real*> d_sponge_ptrs_at_lev);
@ xvel
Definition: ERF_IndexDefines.H:130
@ yvel
Definition: ERF_IndexDefines.H:131
Definition: ERF_DataStruct.H:82
Definition: ERF_SpongeStruct.H:15
Definition: ERF_TurbPertStruct.H:18