930 amrex::ignore_unused(geom, dt_d);
1003 const auto hfx3_host = hfx3 ?
copy_fab_to_host((*hfx3)[mfi]) : FArrayBox();
1004 const auto qfx3_host = qfx3 ?
copy_fab_to_host((*qfx3)[mfi]) : FArrayBox();
1008 const auto z_arr = z_host.const_array();
1009 const auto cons_arr = cons_host.const_array();
1010 const auto theta_tend_arr = theta_tend_host.const_array();
1011 const auto qv_tend_arr = qv_tend_host.const_array();
1012 const auto qc_tend_arr = qc_tend_host.const_array();
1013 const auto qi_tend_arr = qi_tend_host.const_array();
1014 const auto tke_tend_arr = tke_tend_host.const_array();
1015 const auto u_tend_arr = u_tend_host.const_array();
1016 const auto v_tend_arr = v_tend_host.const_array();
1017 const auto dz_arr = dz_host.const_array();
1019 std::vector<ShocBadColumnReport> reports;
1022 auto maybe_add = [&] (
int i,
int j,
int k,
int kk,
int ic,
1023 const char*
name, Real value, Real threshold) {
1024 if (!std::isfinite(value)) {
1026 std::numeric_limits<Real>::infinity(),
1027 std::string(
name) +
" nonfinite",
1028 mfi.index(), i, j, k, kk, ic
1032 const Real abs_value = amrex::Math::abs(value);
1033 const Real ratio = abs_value / threshold;
1034 if (ratio > 1.0_rt) {
1035 std::ostringstream oss;
1036 oss <<
name <<
" |value|=" << abs_value <<
" threshold=" << threshold;
1041 auto maybe_add_geom = [&] (
int i,
int j,
int k,
int kk,
int ic, Real dz_val) {
1042 if (!std::isfinite(dz_val)) {
1044 std::numeric_limits<Real>::infinity(),
1046 mfi.index(), i, j, k, kk, ic
1048 }
else if (dz_val <= 0.0_rt) {
1050 std::numeric_limits<Real>::infinity(),
1052 mfi.index(), i, j, k, kk, ic
1055 std::ostringstream oss;
1056 oss <<
"dz below minimum |dz|=" << dz_val
1061 mfi.index(), i, j, k, kk, ic
1069 for (
int kk = 0; kk < col.
layout.
nlev; ++kk) {
1071 const Real dz_val = dz_arr(ic, kk, 0);
1072 maybe_add_geom(i, j, k, kk, ic, dz_val);
1086 const Real key_values[] = {
1087 rho_host.const_array()(ic, kk, 0),
1088 theta_host.const_array()(ic, kk, 0),
1089 thetal_host.const_array()(ic, kk, 0),
1090 theta_v_host.const_array()(ic, kk, 0),
1091 qv_host.const_array()(ic, kk, 0),
1092 qc_host.const_array()(ic, kk, 0),
1093 qi_host.const_array()(ic, kk, 0),
1094 qw_host.const_array()(ic, kk, 0),
1095 tabs_host.const_array()(ic, kk, 0),
1096 exner_host.const_array()(ic, kk, 0),
1097 p_mid_host.const_array()(ic, kk, 0),
1098 host_dse_host.const_array()(ic, kk, 0),
1099 pblh_host.const_array()(ic, 0, 0),
1100 obklen_host.const_array()(ic, 0, 0),
1101 ustar_host.const_array()(ic, 0, 0),
1102 shoc_mix_host.const_array()(ic, kk, 0),
1103 isotropy_host.const_array()(ic, kk, 0),
1104 tk_host.const_array()(ic, kk, 0),
1105 tkh_host.const_array()(ic, kk, 0),
1106 shear_prod_host.const_array()(ic, kk, 0),
1107 buoy_prod_host.const_array()(ic, kk, 0),
1108 diss_tke_host.const_array()(ic, kk, 0),
1109 w_sec_host.const_array()(ic, kk, 0),
1110 wthv_sec_host.const_array()(ic, kk, 0),
1111 shoc_cldfrac_host.const_array()(ic, kk, 0),
1112 shoc_ql_host.const_array()(ic, kk, 0),
1113 shoc_ql2_host.const_array()(ic, kk, 0),
1114 shoc_cond_host.const_array()(ic, kk, 0),
1115 shoc_evap_host.const_array()(ic, kk, 0),
1116 wqls_sec_host.const_array()(ic, kk, 0),
1117 thl_sec_host.const_array()(ic, kk, 0),
1118 qw_sec_host.const_array()(ic, kk, 0),
1119 qwthl_sec_host.const_array()(ic, kk, 0),
1120 wthl_sec_host.const_array()(ic, kk, 0),
1121 wqw_sec_host.const_array()(ic, kk, 0),
1122 uw_sec_host.const_array()(ic, kk, 0),
1123 vw_sec_host.const_array()(ic, kk, 0),
1124 wtke_sec_host.const_array()(ic, kk, 0),
1125 w3_host.const_array()(ic, kk, 0),
1126 theta_tend_arr(ic, kk, 0),
1127 qv_tend_arr(ic, kk, 0),
1128 qc_tend_arr(ic, kk, 0),
1129 qi_tend_arr(ic, kk, 0),
1130 tke_tend_arr(ic, kk, 0),
1131 u_tend_arr(ic, kk, 0),
1132 v_tend_arr(ic, kk, 0)
1134 for (Real value : key_values) {
1135 if (!std::isfinite(value)) {
1137 std::numeric_limits<Real>::infinity(),
1138 "key field nonfinite",
1139 mfi.index(), i, j, k, kk, ic
1148 if (reports.empty()) {
1152 std::stable_sort(reports.begin(), reports.end(),
1154 return a.score > b.score;
1158 static_cast<int>(reports.size()));
1160 const auto rho_arr = rho_host.const_array();
1161 const auto theta_arr = theta_host.const_array();
1162 const auto thetal_arr = thetal_host.const_array();
1163 const auto theta_base_arr = theta_base_host.const_array();
1164 const auto thetal_base_arr = thetal_base_host.const_array();
1165 const auto qv_base_arr = qv_base_host.const_array();
1166 const auto qc_base_arr = qc_base_host.const_array();
1167 const auto qi_base_arr = qi_base_host.const_array();
1168 const auto theta_v_arr = theta_v_host.const_array();
1169 const auto qv_arr = qv_host.const_array();
1170 const auto qc_arr = qc_host.const_array();
1171 const auto qi_arr = qi_host.const_array();
1172 const auto qw_arr = qw_host.const_array();
1173 const auto tabs_arr = tabs_host.const_array();
1174 const auto exner_arr = exner_host.const_array();
1175 const auto p_mid_arr = p_mid_host.const_array();
1176 const auto p_int_arr = p_int_host.const_array();
1177 const auto host_dse_arr = host_dse_host.const_array();
1178 const auto pblh_arr = pblh_host.const_array();
1179 const auto obklen_arr = obklen_host.const_array();
1180 const auto ustar_arr = ustar_host.const_array();
1181 const auto shoc_mix_arr = shoc_mix_host.const_array();
1182 const auto brunt_arr = brunt_host.const_array();
1183 const auto isotropy_arr = isotropy_host.const_array();
1184 const auto tk_arr = tk_host.const_array();
1185 const auto tkh_arr = tkh_host.const_array();
1186 const auto shear_prod_arr = shear_prod_host.const_array();
1187 const auto buoy_prod_arr = buoy_prod_host.const_array();
1188 const auto diss_tke_arr = diss_tke_host.const_array();
1189 const auto tke_state_arr = tke_host.const_array();
1190 const auto tke_base_arr = tke_base_host.const_array();
1191 const auto w_sec_arr = w_sec_host.const_array();
1192 const auto wthv_sec_arr = wthv_sec_host.const_array();
1193 const auto shoc_cldfrac_arr = shoc_cldfrac_host.const_array();
1194 const auto shoc_ql_arr = shoc_ql_host.const_array();
1195 const auto shoc_ql2_arr = shoc_ql2_host.const_array();
1196 const auto shoc_cond_arr = shoc_cond_host.const_array();
1197 const auto shoc_evap_arr = shoc_evap_host.const_array();
1198 const auto wqls_sec_arr = wqls_sec_host.const_array();
1199 const auto thl_sec_arr = thl_sec_host.const_array();
1200 const auto qw_sec_arr = qw_sec_host.const_array();
1201 const auto qwthl_sec_arr = qwthl_sec_host.const_array();
1202 const auto wthl_sec_arr = wthl_sec_host.const_array();
1203 const auto wqw_sec_arr = wqw_sec_host.const_array();
1204 const auto uw_sec_arr = uw_sec_host.const_array();
1205 const auto vw_sec_arr = vw_sec_host.const_array();
1206 const auto wtke_sec_arr = wtke_sec_host.const_array();
1207 const auto w3_arr = w3_host.const_array();
1208 const auto surf_sens_flux_arr = surf_sens_flux_host.const_array();
1209 const auto surf_lat_flux_arr = surf_lat_flux_host.const_array();
1210 const auto surf_tau_u_arr = surf_tau_u_host.const_array();
1211 const auto surf_tau_v_arr = surf_tau_v_host.const_array();
1212 const bool has_hfx3 = hfx3 && hfx3_host.box().ok();
1213 const bool has_qfx3 = qfx3 && qfx3_host.box().ok();
1214 const bool has_tau13 =
tau13 && tau13_host.box().ok();
1215 const bool has_tau23 =
tau23 && tau23_host.box().ok();
1217 for (
int n = 0; n < max_reports; ++n) {
1218 const auto& rep = reports[
static_cast<std::size_t
>(n)];
1219 const int i = rep.i;
1220 const int j = rep.j;
1221 const int k = rep.k;
1222 const int kk = rep.kk;
1223 const int ic = rep.ic;
1225 const auto node_value = [&] (
int iii,
int jjj,
int kkk) -> Real {
1226 const IntVect iv(iii, jjj, kkk);
1227 return z_host.box().contains(iv) ? z_arr(iii, jjj, kkk) : std::numeric_limits<Real>::quiet_NaN();
1230 const Real z_nd_ijk = node_value(i, j, k);
1231 const Real z_nd_ip1jk = node_value(i + 1, j, k);
1232 const Real z_nd_ijp1k = node_value(i, j + 1, k);
1233 const Real z_nd_ip1jp1k = node_value(i + 1, j + 1, k);
1234 const Real z_nd_ijkp1 = node_value(i, j, k + 1);
1235 const Real z_nd_ip1jkp1 = node_value(i + 1, j, k + 1);
1236 const Real z_nd_ijp1kp1 = node_value(i, j + 1, k + 1);
1237 const Real z_nd_ip1jp1kp1 = node_value(i + 1, j + 1, k + 1);
1238 const Real four_node_zlo = 0.25_rt * (z_nd_ijk + z_nd_ip1jk + z_nd_ijp1k + z_nd_ip1jp1k);
1239 const Real four_node_zhi = 0.25_rt * (z_nd_ijkp1 + z_nd_ip1jkp1 + z_nd_ijp1kp1 + z_nd_ip1jp1kp1);
1240 const Real four_node_dz = four_node_zhi - four_node_zlo;
1241 const Real corner_dz = z_nd_ijkp1 - z_nd_ijk;
1242 const Real theta_base_val = theta_base_arr(ic, kk, 0);
1243 const Real theta_new_val = theta_arr(ic, kk, 0);
1244 const Real thetal_base_val = thetal_base_arr(ic, kk, 0);
1245 const Real thetal_new_val = thetal_arr(ic, kk, 0);
1246 const Real qv_base_val = qv_base_arr(ic, kk, 0);
1247 const Real qc_base_val = qc_base_arr(ic, kk, 0);
1248 const Real qi_base_val = qi_base_arr(ic, kk, 0);
1249 const Real qv_new_val =
qv_arr(ic, kk, 0);
1250 const Real qc_new_val = qc_arr(ic, kk, 0);
1251 const Real qi_new_val = qi_arr(ic, kk, 0);
1252 const Real ql_base = qc_base_val + qi_base_val;
1253 const Real ql_new = qc_new_val + qi_new_val;
1254 const Real qw_base = qv_base_val + qc_base_val + qi_base_val;
1255 const Real qw_new = qv_new_val + qc_new_val + qi_new_val;
1256 const Real delta_theta = theta_new_val - theta_base_val;
1257 const Real delta_qv = qv_new_val - qv_base_val;
1258 const Real delta_qc = qc_new_val - qc_base_val;
1259 const Real delta_qi = qi_new_val - qi_base_val;
1260 const Real delta_ql = ql_new - ql_base;
1261 const Real delta_qw = qw_new - qw_base;
1263 const Real dt =
static_cast<Real
>(dt_d);
1265 const Real dt_theta_tend = theta_tend_arr(ic, kk, 0) * dt;
1266 const Real dt_qv_tend = qv_tend_arr(ic, kk, 0) * dt;
1267 const Real dt_qc_tend = qc_tend_arr(ic, kk, 0) * dt;
1268 const Real dt_qi_tend = qi_tend_arr(ic, kk, 0) * dt;
1269 const Real dt_tke_tend = tke_tend_arr(ic, kk, 0) * dt;
1270 const Real cond_dt = shoc_cond_arr(ic, kk, 0) * dt;
1271 const Real evap_dt = shoc_evap_arr(ic, kk, 0) * dt;
1272 const Real tke_base_val = tke_base_arr(ic, kk, 0);
1273 std::ostringstream msg;
1274 msg <<
"NATIVE_SHOC_BAD_COLUMN_BEGIN\n"
1275 <<
" rank=" << ParallelDescriptor::MyProc()
1276 <<
" level=" <<
m_lev
1278 <<
" mfi_index=" << rep.mfi_index
1279 <<
" box_valid_lo=(" << mfi.validbox().smallEnd(0) <<
","
1280 << mfi.validbox().smallEnd(1) <<
","
1281 << mfi.validbox().smallEnd(2) <<
")"
1282 <<
" box_valid_hi=(" << mfi.validbox().bigEnd(0) <<
","
1283 << mfi.validbox().bigEnd(1) <<
","
1284 << mfi.validbox().bigEnd(2) <<
")"
1294 <<
" i=" << i <<
" j=" << j <<
" k=" << k
1295 <<
" kk=" << kk <<
" ic=" << ic
1296 <<
" score=" << rep.score
1297 <<
" reason=" << rep.reason
1299 <<
" geometry z_nd(i,j,k)=" << z_nd_ijk
1300 <<
" z_nd(i+1,j,k)=" << z_nd_ip1jk
1301 <<
" z_nd(i,j+1,k)=" << z_nd_ijp1k
1302 <<
" z_nd(i+1,j+1,k)=" << z_nd_ip1jp1k
1303 <<
" z_nd(i,j,k+1)=" << z_nd_ijkp1
1304 <<
" z_nd(i+1,j,k+1)=" << z_nd_ip1jkp1
1305 <<
" z_nd(i,j+1,k+1)=" << z_nd_ijp1kp1
1306 <<
" z_nd(i+1,j+1,k+1)=" << z_nd_ip1jp1kp1
1308 <<
" four_node_zlo=" << four_node_zlo
1309 <<
" four_node_zhi=" << four_node_zhi
1310 <<
" four_node_dz=" << four_node_dz
1311 <<
" corner_dz=" << corner_dz
1312 <<
" dz=" << dz_arr(ic, kk, 0)
1314 <<
" rho=" <<
rho_arr(ic, kk, 0)
1315 <<
" theta=" << theta_arr(ic, kk, 0)
1316 <<
" thetal=" << thetal_arr(ic, kk, 0)
1317 <<
" theta_v=" << theta_v_arr(ic, kk, 0)
1318 <<
" qv=" <<
qv_arr(ic, kk, 0)
1319 <<
" qc=" << qc_arr(ic, kk, 0)
1320 <<
" qi=" << qi_arr(ic, kk, 0)
1321 <<
" qw=" << qw_arr(ic, kk, 0)
1322 <<
" tabs=" << tabs_arr(ic, kk, 0)
1323 <<
" exner=" << exner_arr(ic, kk, 0)
1324 <<
" p_mid=" << p_mid_arr(ic, kk, 0)
1325 <<
" p_int_lower=" << p_int_arr(ic, kk, 0)
1326 <<
" p_int_upper=" << p_int_arr(ic, kk + 1, 0)
1327 <<
" host_dse=" << host_dse_arr(ic, kk, 0)
1329 <<
" pblh=" << pblh_arr(ic, 0, 0)
1330 <<
" obklen=" << obklen_arr(ic, 0, 0)
1331 <<
" ustar=" << ustar_arr(ic, 0, 0)
1332 <<
" shoc_mix=" << shoc_mix_arr(ic, kk, 0)
1333 <<
" Lturb=" << shoc_mix_arr(ic, kk, 0)
1334 <<
" brunt=" << brunt_arr(ic, kk, 0)
1335 <<
" isotropy=" << isotropy_arr(ic, kk, 0)
1336 <<
" tk=" << tk_arr(ic, kk, 0)
1337 <<
" tkh=" << tkh_arr(ic, kk, 0)
1338 <<
" shear_prod=" << shear_prod_arr(ic, kk, 0)
1339 <<
" buoy_prod=" << buoy_prod_arr(ic, kk, 0)
1340 <<
" diss_tke=" << diss_tke_arr(ic, kk, 0)
1341 <<
" tke=" << tke_state_arr(ic, kk, 0)
1343 <<
" w_sec=" << w_sec_arr(ic, kk, 0)
1344 <<
" wthv_sec=" << wthv_sec_arr(ic, kk, 0)
1345 <<
" shoc_cldfrac=" << shoc_cldfrac_arr(ic, kk, 0)
1346 <<
" shoc_ql=" << shoc_ql_arr(ic, kk, 0)
1347 <<
" shoc_ql2=" << shoc_ql2_arr(ic, kk, 0)
1348 <<
" shoc_cond=" << shoc_cond_arr(ic, kk, 0)
1349 <<
" shoc_evap=" << shoc_evap_arr(ic, kk, 0)
1350 <<
" wqls_sec=" << wqls_sec_arr(ic, kk, 0)
1352 <<
" thl_sec_lower=" << thl_sec_arr(ic, kk, 0)
1353 <<
" thl_sec_upper=" << thl_sec_arr(ic, kk + 1, 0)
1354 <<
" qw_sec_lower=" << qw_sec_arr(ic, kk, 0)
1355 <<
" qw_sec_upper=" << qw_sec_arr(ic, kk + 1, 0)
1356 <<
" qwthl_sec_lower=" << qwthl_sec_arr(ic, kk, 0)
1357 <<
" qwthl_sec_upper=" << qwthl_sec_arr(ic, kk + 1, 0)
1358 <<
" wthl_sec_lower=" << wthl_sec_arr(ic, kk, 0)
1359 <<
" wthl_sec_upper=" << wthl_sec_arr(ic, kk + 1, 0)
1360 <<
" wqw_sec_lower=" << wqw_sec_arr(ic, kk, 0)
1361 <<
" wqw_sec_upper=" << wqw_sec_arr(ic, kk + 1, 0)
1362 <<
" w3_lower=" << w3_arr(ic, kk, 0)
1363 <<
" w3_upper=" << w3_arr(ic, kk + 1, 0)
1364 <<
" uw_sec_lower=" << uw_sec_arr(ic, kk, 0)
1365 <<
" uw_sec_upper=" << uw_sec_arr(ic, kk + 1, 0)
1366 <<
" vw_sec_lower=" << vw_sec_arr(ic, kk, 0)
1367 <<
" vw_sec_upper=" << vw_sec_arr(ic, kk + 1, 0)
1368 <<
" wtke_sec_lower=" << wtke_sec_arr(ic, kk, 0)
1369 <<
" wtke_sec_upper=" << wtke_sec_arr(ic, kk + 1, 0)
1371 <<
" theta_tend=" << theta_tend_arr(ic, kk, 0)
1372 <<
" qv_tend=" << qv_tend_arr(ic, kk, 0)
1373 <<
" qc_tend=" << qc_tend_arr(ic, kk, 0)
1374 <<
" qi_tend=" << qi_tend_arr(ic, kk, 0)
1375 <<
" tke_tend=" << tke_tend_arr(ic, kk, 0)
1376 <<
" u_tend=" << u_tend_arr(ic, kk, 0)
1377 <<
" v_tend=" << v_tend_arr(ic, kk, 0)
1379 <<
" baseline theta=" << theta_base_val
1380 <<
" thetal=" << thetal_base_val
1381 <<
" qv=" << qv_base_val
1382 <<
" qc=" << qc_base_val
1383 <<
" qi=" << qi_base_val
1384 <<
" ql=" << ql_base
1385 <<
" qw=" << qw_base
1386 <<
" tke=" << tke_base_val
1388 <<
" updated theta=" << theta_new_val
1389 <<
" thetal=" << thetal_new_val
1390 <<
" qv=" << qv_new_val
1391 <<
" qc=" << qc_new_val
1392 <<
" qi=" << qi_new_val
1395 <<
" tke=" << tke_state_arr(ic, kk, 0)
1397 <<
" deltas dtheta=" << delta_theta
1398 <<
" dqv=" << delta_qv
1399 <<
" dqc=" << delta_qc
1400 <<
" dqi=" << delta_qi
1401 <<
" dql=" << delta_ql
1402 <<
" dqw=" << delta_qw
1404 <<
" tend_dt theta=" << dt_theta_tend
1405 <<
" qv=" << dt_qv_tend
1406 <<
" qc=" << dt_qc_tend
1407 <<
" qi=" << dt_qi_tend
1408 <<
" tke=" << dt_tke_tend
1410 <<
" consistency dtheta_minus_tenddt=" << (delta_theta - dt_theta_tend)
1411 <<
" dqv_minus_tenddt=" << (delta_qv - dt_qv_tend)
1412 <<
" dqc_minus_tenddt=" << (delta_qc - dt_qc_tend)
1413 <<
" dqi_minus_tenddt=" << (delta_qi - dt_qi_tend)
1415 <<
" pdf_cloud shoc_ql=" << shoc_ql_arr(ic, kk, 0)
1416 <<
" shoc_cond_dt=" << cond_dt
1417 <<
" shoc_evap_dt=" << evap_dt
1418 <<
" delta_ql=" << delta_ql
1419 <<
" delta_ql_minus_cond_minus_evap=" << (delta_ql - (cond_dt - evap_dt))
1421 <<
" surf_sens_flux=" << surf_sens_flux_arr(ic, 0, 0)
1422 <<
" surf_lat_flux=" << surf_lat_flux_arr(ic, 0, 0)
1423 <<
" surf_tau_u=" << surf_tau_u_arr(ic, 0, 0)
1424 <<
" surf_tau_v=" << surf_tau_v_arr(ic, 0, 0)
1425 <<
" rho_sfc=" << cons_arr(i, j, k,
Rho_comp)
1429 msg <<
" raw hfx3(i,j,klo)=" << hfx3_host.const_array()(rep.i, rep.j, rep.k) <<
"\n";
1432 msg <<
" raw qfx3(i,j,klo)=" << qfx3_host.const_array()(rep.i, rep.j, rep.k) <<
"\n";
1435 msg <<
" raw tau13(i,j,klo)=" << tau13_host.const_array()(rep.i, rep.j, rep.k)
1436 <<
" raw tau13(i+1,j,klo)=" << tau13_host.const_array()(rep.i + 1, rep.j, rep.k)
1440 msg <<
" raw tau23(i,j,klo)=" << tau23_host.const_array()(rep.i, rep.j, rep.k)
1441 <<
" raw tau23(i,j+1,klo)=" << tau23_host.const_array()(rep.i, rep.j + 1, rep.k)
1444 msg <<
"NATIVE_SHOC_BAD_COLUMN_END\n";
1445 amrex::AllPrint() << msg.str() << std::flush;
1449 amrex::Abort(
"Native SHOC debug_bad_column abort: bad SHOC column detected before state update");
#define Rho_comp
Definition: ERF_IndexDefines.H:61
auto qv_arr
Definition: ERF_InitCustomPert_MultiSpeciesBubble.H:222
std::string name
Definition: ERF_Plotfile2DCatalog.cpp:139
auto rho_arr
Definition: ERF_UpdateWSubsidence_SineMassFlux.H:3
void print_shoc_debug_settings_once(const ShocRuntimeOptions &opts)
Definition: ERF_ShocDriver.cpp:75
FArrayBox copy_fab_to_host(const Fab &src)
Definition: ERF_ShocDriver.cpp:51
amrex::FArrayBox theta_v
Definition: ERF_ShocTypes.H:82
amrex::FArrayBox theta
Definition: ERF_ShocTypes.H:80
amrex::FArrayBox theta_base
Definition: ERF_ShocTypes.H:131
amrex::FArrayBox qi
Definition: ERF_ShocTypes.H:86
amrex::FArrayBox dz
Definition: ERF_ShocTypes.H:76
amrex::FArrayBox vw_sec
Definition: ERF_ShocTypes.H:125
amrex::FArrayBox shoc_evap
Definition: ERF_ShocTypes.H:117
amrex::FArrayBox tke_base_state
Definition: ERF_ShocTypes.H:137
amrex::FArrayBox qv_base
Definition: ERF_ShocTypes.H:132
amrex::FArrayBox uw_sec
Definition: ERF_ShocTypes.H:124
amrex::FArrayBox host_dse
Definition: ERF_ShocTypes.H:93
amrex::FArrayBox qc
Definition: ERF_ShocTypes.H:85
amrex::FArrayBox surf_tau_v
Definition: ERF_ShocTypes.H:149
amrex::FArrayBox tke
Definition: ERF_ShocTypes.H:89
amrex::FArrayBox p_int
Definition: ERF_ShocTypes.H:78
amrex::FArrayBox qi_base
Definition: ERF_ShocTypes.H:134
amrex::FArrayBox exner
Definition: ERF_ShocTypes.H:81
amrex::FArrayBox qc_base
Definition: ERF_ShocTypes.H:133
amrex::FArrayBox tabs
Definition: ERF_ShocTypes.H:88
amrex::FArrayBox qw
Definition: ERF_ShocTypes.H:87
amrex::FArrayBox qv
Definition: ERF_ShocTypes.H:84
amrex::FArrayBox p_mid
Definition: ERF_ShocTypes.H:77
amrex::FArrayBox wtke_sec
Definition: ERF_ShocTypes.H:126
amrex::FArrayBox surf_tau_u
Definition: ERF_ShocTypes.H:148
amrex::FArrayBox thetal_base
Definition: ERF_ShocTypes.H:130
amrex::FArrayBox thetal
Definition: ERF_ShocTypes.H:83
int imin
Definition: ERF_ShocTypes.H:63
int nlev
Definition: ERF_ShocTypes.H:62
int kmax
Definition: ERF_ShocTypes.H:66
int ncell
Definition: ERF_ShocTypes.H:61
int jmin
Definition: ERF_ShocTypes.H:64
int ny
Definition: ERF_ShocTypes.H:60
int nx
Definition: ERF_ShocTypes.H:59
int kmin
Definition: ERF_ShocTypes.H:65
int debug_bad_column_max_reports
Definition: ERF_ShocTypes.H:45
amrex::Real debug_bad_column_q_tend_threshold
Definition: ERF_ShocTypes.H:47
amrex::Real debug_bad_column_scalar_moment_threshold
Definition: ERF_ShocTypes.H:50
amrex::Real debug_bad_column_min_dz
Definition: ERF_ShocTypes.H:49
amrex::Real debug_bad_column_theta_tend_threshold
Definition: ERF_ShocTypes.H:46
bool debug_bad_column
Definition: ERF_ShocTypes.H:43
amrex::Real debug_bad_column_brunt_threshold
Definition: ERF_ShocTypes.H:48
bool debug_bad_column_abort
Definition: ERF_ShocTypes.H:44
Definition: ERF_ShocDriver.cpp:38