61 const amrex::Box cell_box(amrex::IntVect(0,0,0),
62 amrex::IntVect(layout.
ncell-1, layout.
nlev-1, 0));
63 const amrex::Box iface_box(amrex::IntVect(0,0,0),
64 amrex::IntVect(layout.
ncell-1, layout.
nlev, 0));
65 const amrex::Box scal_box(amrex::IntVect(0,0,0),
66 amrex::IntVect(layout.
ncell-1, 0, 0));
68 auto make2 = [&] (amrex::FArrayBox& fab) { fab.resize(cell_box, 1, arena); };
69 auto make2i = [&] (amrex::FArrayBox& fab) { fab.resize(iface_box, 1, arena); };
70 auto make1 = [&] (amrex::FArrayBox& fab) { fab.resize(scal_box, 1, arena); };
72 make2(col.
zt); make2i(col.
zi); make2(col.
dz); make2(col.
p_mid); make2i(col.
p_int);
74 make2(col.
qv); make2(col.
qc); make2(col.
qi); make2(col.
qw); make2(col.
tabs); make2(col.
tke);
75 make2(col.
u); make2(col.
v); make2(col.
w); make2(col.
host_dse);
void reset_shoc_column_data(ShocColumnData &col, shoc::InitRunOn init_run_on=shoc::default_init_run_on())
Definition: ERF_ShocColumnData.H:45
amrex::FArrayBox theta_v
Definition: ERF_ShocTypes.H:97
amrex::FArrayBox theta
Definition: ERF_ShocTypes.H:95
amrex::FArrayBox qc_tend
Definition: ERF_ShocTypes.H:152
amrex::FArrayBox theta_base
Definition: ERF_ShocTypes.H:142
amrex::FArrayBox v_tend
Definition: ERF_ShocTypes.H:155
amrex::FArrayBox shoc_cond
Definition: ERF_ShocTypes.H:127
amrex::FArrayBox qi
Definition: ERF_ShocTypes.H:101
amrex::FArrayBox buoy_prod
Definition: ERF_ShocTypes.H:120
amrex::FArrayBox dz
Definition: ERF_ShocTypes.H:91
amrex::FArrayBox diss_tke
Definition: ERF_ShocTypes.H:121
amrex::FArrayBox w_sec
Definition: ERF_ShocTypes.H:139
amrex::FArrayBox tk
Definition: ERF_ShocTypes.H:117
amrex::FArrayBox w3
Definition: ERF_ShocTypes.H:138
amrex::FArrayBox vw_sec
Definition: ERF_ShocTypes.H:136
amrex::FArrayBox surf_lat_flux
Definition: ERF_ShocTypes.H:158
amrex::FArrayBox ustar
Definition: ERF_ShocTypes.H:113
amrex::FArrayBox shoc_evap
Definition: ERF_ShocTypes.H:128
amrex::FArrayBox shoc_mix
Definition: ERF_ShocTypes.H:114
amrex::FArrayBox v_base
Definition: ERF_ShocTypes.H:147
amrex::FArrayBox wthv_sec
Definition: ERF_ShocTypes.H:122
amrex::FArrayBox shear_prod
Definition: ERF_ShocTypes.H:119
amrex::FArrayBox rho
Definition: ERF_ShocTypes.H:94
amrex::FArrayBox tke_base_state
Definition: ERF_ShocTypes.H:148
amrex::FArrayBox wqw_sec
Definition: ERF_ShocTypes.H:134
amrex::FArrayBox qv_base
Definition: ERF_ShocTypes.H:143
amrex::FArrayBox shoc_ql
Definition: ERF_ShocTypes.H:124
amrex::FArrayBox uw_sec
Definition: ERF_ShocTypes.H:135
amrex::FArrayBox w
Definition: ERF_ShocTypes.H:107
amrex::FArrayBox host_dse
Definition: ERF_ShocTypes.H:108
amrex::FArrayBox pblh
Definition: ERF_ShocTypes.H:111
amrex::FArrayBox qc
Definition: ERF_ShocTypes.H:100
amrex::FArrayBox surf_tau_v
Definition: ERF_ShocTypes.H:160
amrex::FArrayBox isotropy
Definition: ERF_ShocTypes.H:116
amrex::FArrayBox tke
Definition: ERF_ShocTypes.H:104
amrex::FArrayBox p_int
Definition: ERF_ShocTypes.H:93
amrex::FArrayBox qw_sec
Definition: ERF_ShocTypes.H:131
amrex::FArrayBox qi_base
Definition: ERF_ShocTypes.H:145
amrex::FArrayBox tkh
Definition: ERF_ShocTypes.H:118
amrex::FArrayBox exner
Definition: ERF_ShocTypes.H:96
amrex::FArrayBox u_base
Definition: ERF_ShocTypes.H:146
amrex::FArrayBox tke_tend
Definition: ERF_ShocTypes.H:156
amrex::FArrayBox qi_tend
Definition: ERF_ShocTypes.H:153
amrex::FArrayBox qc_base
Definition: ERF_ShocTypes.H:144
amrex::FArrayBox u_tend
Definition: ERF_ShocTypes.H:154
ShocColumnLayout layout
Definition: ERF_ShocTypes.H:86
amrex::FArrayBox zi
Definition: ERF_ShocTypes.H:90
amrex::FArrayBox tabs
Definition: ERF_ShocTypes.H:103
amrex::FArrayBox surf_sens_flux
Definition: ERF_ShocTypes.H:157
amrex::FArrayBox qw
Definition: ERF_ShocTypes.H:102
amrex::FArrayBox v
Definition: ERF_ShocTypes.H:106
amrex::FArrayBox zt
Definition: ERF_ShocTypes.H:89
amrex::FArrayBox qv
Definition: ERF_ShocTypes.H:99
amrex::FArrayBox p_mid
Definition: ERF_ShocTypes.H:92
amrex::FArrayBox wtke_sec
Definition: ERF_ShocTypes.H:137
amrex::FArrayBox u
Definition: ERF_ShocTypes.H:105
amrex::FArrayBox theta_tend
Definition: ERF_ShocTypes.H:150
amrex::FArrayBox obklen
Definition: ERF_ShocTypes.H:112
amrex::FArrayBox wqls_sec
Definition: ERF_ShocTypes.H:126
amrex::FArrayBox surf_tau_u
Definition: ERF_ShocTypes.H:159
amrex::FArrayBox qv_tend
Definition: ERF_ShocTypes.H:151
amrex::FArrayBox wthl_sec
Definition: ERF_ShocTypes.H:133
amrex::FArrayBox thl_sec
Definition: ERF_ShocTypes.H:130
amrex::FArrayBox shoc_ql2
Definition: ERF_ShocTypes.H:125
amrex::FArrayBox thetal_base
Definition: ERF_ShocTypes.H:141
amrex::FArrayBox qwthl_sec
Definition: ERF_ShocTypes.H:132
amrex::FArrayBox brunt
Definition: ERF_ShocTypes.H:115
amrex::FArrayBox shoc_cldfrac
Definition: ERF_ShocTypes.H:123
amrex::FArrayBox thetal
Definition: ERF_ShocTypes.H:98
int nlev
Definition: ERF_ShocTypes.H:77
int ncell
Definition: ERF_ShocTypes.H:76