ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
ERF_TI_substep_fun.H
Go to the documentation of this file.
1 #include "ERF_SrcHeaders.H"
2 
3 /**
4  * Wrapper for calling the routine that creates the fast RHS
5  */
6 auto acoustic_substepping_fun = [&,one_d=one,zero_d=zero](int fast_step, int n_sub, int nrk,
7  Vector<MultiFab>& S_slow_rhs,
8  const Vector<MultiFab>& S_old,
9  Vector<MultiFab>& S_stage,
10  Vector<MultiFab>& S_data,
11  const double dtau,
12  const double /*slow_dt*/, // MRI's full timestep: use n_sub*dtau for this stage
13  const Real inv_fac,
14  const double old_substep_time,
15  const double new_substep_time)
16 {
17  BL_PROFILE("acoustic_substepping_fun");
18  if (verbose) amrex::Print() << "Fast time integration at level " << level
19  << std::setprecision(timeprecision)
20  << " from " << old_substep_time << " to " << new_substep_time
21  << " with dt = " << dtau << std::endl;
22 
23  // Define beta_s here so that it is consistent between where we make the fast coefficients
24  // and where we use them
25  // Per p2902 of Klemp-Skamarock-Dudhia-2007
26  // beta_s = -one : fully explicit
27  // beta_s = one : fully implicit
28  Real beta_s;
29  if (solverChoice.substepping_type[level] == SubsteppingType::Implicit) {
30  beta_s = solverChoice.beta_s;
31  } else { // Fully explicit
32  beta_s = -one_d;
33  }
34 
35  const GpuArray<Real, AMREX_SPACEDIM> dxInv = fine_geom.InvCellSizeArray();
36 
37  // Canopy data for mom sources
38  MultiFab* forest_drag = (solverChoice.do_forest_drag) ?
39  m_forest_drag[level]->get_drag_field() : nullptr;
40 
41  // Immersed Forcing
42  MultiFab* terrain_blank = (solverChoice.terrain_type == TerrainType::ImmersedForcing ||
43  solverChoice.buildings_type == BuildingsType::ImmersedForcing ) ?
44  terrain_blanking[level].get() : nullptr;
45  MultiFab* terrain_blank_xface = (solverChoice.terrain_type == TerrainType::ImmersedForcing ||
46  solverChoice.buildings_type == BuildingsType::ImmersedForcing ) ?
47  terrain_blanking_xface[level].get() : nullptr;
48  MultiFab* terrain_blank_yface = (solverChoice.terrain_type == TerrainType::ImmersedForcing ||
49  solverChoice.buildings_type == BuildingsType::ImmersedForcing ) ?
50  terrain_blanking_yface[level].get() : nullptr;
51  MultiFab* terrain_blank_zface = (solverChoice.terrain_type == TerrainType::ImmersedForcing ||
52  solverChoice.buildings_type == BuildingsType::ImmersedForcing ) ?
53  terrain_blanking_zface[level].get() : nullptr;
54 
55  Vector<MultiFab> Svec_to_use;
56  if (fast_step == 0) {
57  // If this is the first substep we pass in S_old as the previous step's solution
58  Svec_to_use.push_back(MultiFab(S_old[IntVars::cons],make_alias,0,S_old[IntVars::cons].nComp()));
59  Svec_to_use.push_back(MultiFab(S_old[IntVars::xmom],make_alias,0,1));
60  Svec_to_use.push_back(MultiFab(S_old[IntVars::ymom],make_alias,0,1));
61  Svec_to_use.push_back(MultiFab(S_old[IntVars::zmom],make_alias,0,1));
62  } else {
63  // If this is not the first substep we pass in S_data as the previous step's solution
64  Svec_to_use.push_back(MultiFab(S_data[IntVars::cons],make_alias,0,S_data[IntVars::cons].nComp()));
65  Svec_to_use.push_back(MultiFab(S_data[IntVars::xmom],make_alias,0,1));
66  Svec_to_use.push_back(MultiFab(S_data[IntVars::ymom],make_alias,0,1));
67  Svec_to_use.push_back(MultiFab(S_data[IntVars::zmom],make_alias,0,1));
68  }
69 
70  // Get planar averages from persistent storage for immersed forcing in fast substeps
71  bool l_use_IF = (solverChoice.terrain_type == TerrainType::ImmersedForcing ||
72  solverChoice.buildings_type == BuildingsType::ImmersedForcing);
73  Table1D<Real> r_avg_to_pass = l_use_IF ? r_plane_avg[level].table() : Table1D<Real>();
74  Table1D<Real> t_avg_to_pass = l_use_IF ? t_plane_avg[level].table() : Table1D<Real>();
75 
76  make_sources(level, nrk, dtau, old_substep_time,
77  Svec_to_use, S_prim, cc_src, base_state[level], z_phys_cc[level].get(),
78  xvel_new, yvel_new, zvel_new,
79  qheating_rates[level].get(),
80  terrain_blank, fine_geom, solverChoice,
81  mapfac[level],
82  rhotheta_src[level].get(), rhoqt_src[level].get(),
83  dptr_wbar_sub, d_rayleigh_ptrs_at_lev,
84  d_sinesq_at_lev,
85  turbPert,
86  r_avg_to_pass, t_avg_to_pass,
87  false);
88 
89  // *************************************************************************
90  // Set up flux registers if using two_way coupling
91  // *************************************************************************
92  const bool l_reflux = ( (solverChoice.coupling_type == CouplingType::TwoWay) && (nrk == 2) && (finest_level > 0) );
93 
94  YAFluxRegister* fr_as_crse = nullptr;
95  YAFluxRegister* fr_as_fine = nullptr;
96  if (l_reflux) {
97  if (level < finest_level) {
98  fr_as_crse = getAdvFluxReg(level+1);
99  }
100  if (level > 0) {
101  fr_as_fine = getAdvFluxReg(level);
102  }
103  }
104 
105  MultiFab base_to_use;
106  if ( solverChoice.terrain_type == TerrainType::MovingFittedMesh ) {
107  base_to_use = MultiFab(base_state_new[level], make_alias, 0, BaseState::num_comps);
108  } else {
109  base_to_use = MultiFab(base_state[level], make_alias, 0, BaseState::num_comps);
110  }
111 
112  make_mom_sources(old_substep_time, dtau, Svec_to_use,
113  z_phys_nd[level].get(), z_phys_cc[level].get(), stretched_dz_h[level],
114  xvel_new, yvel_new, zvel_new,
115  xmom_src, ymom_src, zmom_src,
116  base_to_use, forest_drag, terrain_blank,
117  terrain_blank_xface, terrain_blank_yface, terrain_blank_zface,
118  cosPhi_m[level].get(), sinPhi_m[level].get(), fine_geom, solverChoice,
119  mapfac[level],
120  (solverChoice.have_geo_wind_profile) ? d_u_geos[level].data() : nullptr,
121  (solverChoice.have_geo_wind_profile) ? d_v_geos[level].data() : nullptr,
122  dptr_wbar_sub, d_rayleigh_ptrs_at_lev,
123  d_sinesq_at_lev, d_sinesq_stag_at_lev, d_sponge_ptrs_at_lev,
124  (solverChoice.hindcast_lateral_forcing? &forecast_state_interp[level] : nullptr),
125  input_sounding_data, lsf, lsf_data[level],
126  get_eb(level), false);
127 
128  // Moving terrain
129  std::unique_ptr<MultiFab> z_t_pert;
130  if ( solverChoice.terrain_type == TerrainType::MovingFittedMesh )
131  {
132  z_t_pert = std::make_unique<MultiFab>(S_data[IntVars::zmom].boxArray(), S_data[IntVars::zmom].DistributionMap(), 1, 1);
133  update_terrain_substep(level, old_substep_time, new_substep_time, dtau, S_data, z_t_pert);
134  }
135 
136  bool l_use_moisture = ( solverChoice.moisture_type != MoistureType::None );
137 
138  if ( (fast_step == 0) || (solverChoice.terrain_type == TerrainType::MovingFittedMesh) )
139  {
140  make_fast_coeffs(level, fast_coeffs, S_stage, S_prim, pi_stage, fine_geom,
141  l_use_moisture, SolverChoice::mesh_type, solverChoice.gravity, solverChoice.c_p,
142  detJ_cc[level], dtau, beta_s, phys_bc_type);
143  }
144 
145  bool l_rayleigh_implicit = (solverChoice.dampingChoice.rayleigh_damping_type == RayleighDampingType::FastImplicit);
146  Real l_damp_coef = solverChoice.dampingChoice.rayleigh_dampcoef;
147 
148  if ( solverChoice.terrain_type == TerrainType::MovingFittedMesh )
149  {
150  erf_substep_MT(fast_step, nrk, level, finest_level,
151  S_slow_rhs, Svec_to_use, S_stage, S_prim, qt, pi_stage, fast_coeffs,
152  S_data, lagged_delta_rt[level], avg_xmom[level], avg_ymom[level], avg_zmom[level],
153  cc_src, xmom_src, ymom_src, zmom_src,
154  fine_geom,
155  solverChoice.gravity, solverChoice.use_lagged_delta_rt,
156  z_t_rk[level], z_t_pert.get(),
157  z_phys_nd[level], z_phys_nd_new[level], z_phys_nd_src[level],
158  detJ_cc[level], detJ_cc_new[level], detJ_cc_src[level],
159  dtau, beta_s, inv_fac, mapfac[level],
160  fr_as_crse, fr_as_fine, l_use_moisture, l_reflux, solverChoice.use_real_bcs,
161  (l_rayleigh_implicit) ? d_sinesq_stag_ptrs[level].data() : nullptr, l_damp_coef);
162 
163  } else if (solverChoice.mesh_type == MeshType::VariableDz) {
164 
165  erf_substep_T(fast_step, nrk, level, finest_level,
166  S_slow_rhs, Svec_to_use, S_stage, S_prim, qt, pi_stage, fast_coeffs,
167  S_data, lagged_delta_rt[level], avg_xmom[level], avg_ymom[level], avg_zmom[level],
168  cc_src, xmom_src, ymom_src, zmom_src,
169  fine_geom, solverChoice.gravity,
170  z_phys_nd[level], detJ_cc[level], dtau, beta_s, inv_fac,
171  mapfac[level],
172  fr_as_crse, fr_as_fine, l_use_moisture, l_reflux, solverChoice.use_real_bcs,
173  (l_rayleigh_implicit) ? d_sinesq_stag_ptrs[level].data() : nullptr, l_damp_coef);
174 
175  } else {
176 
177  erf_substep_NS(fast_step, nrk, level, finest_level,
178  S_slow_rhs, Svec_to_use, S_stage, S_prim, qt, pi_stage, fast_coeffs,
179  S_data, lagged_delta_rt[level], avg_xmom[level], avg_ymom[level], avg_zmom[level],
180  cc_src, xmom_src, ymom_src, zmom_src,
181  fine_geom, solverChoice.gravity, stretched_dz_d[level],
182  dtau, beta_s, inv_fac, mapfac[level],
183  fr_as_crse, fr_as_fine, l_use_moisture, l_reflux, solverChoice.use_real_bcs,
184  (l_rayleigh_implicit) ? d_sinesq_stag_ptrs[level].data() : nullptr, l_damp_coef);
185  }
186 
187  // Even if we update all the conserved variables we don't need
188  // to fillpatch the slow ones every acoustic substep
189 
190  if ( (solverChoice.vert_implicit_fac[level][nrk] > zero_d) &&
191  !solverChoice.implicit_before_substep &&
192  (fast_step == n_sub-1) )
193  {
194  // The interval actually advanced by this RK stage -- NOT the full MRI timestep
195  const Real stage_dt = static_cast<Real>(n_sub * dtau);
196  MultiFab scratch(S_data[IntVars::cons], make_alias, 0, 2);
197  MultiFab scratch_xmom(S_data[IntVars::xmom], make_alias, 0, 1);
198  MultiFab scratch_ymom(S_data[IntVars::ymom], make_alias, 0, 1);
199 #ifdef ERF_IMPLICIT_W
200  MultiFab scratch_zmom(S_data[IntVars::zmom], make_alias, 0, 1);
201 #endif
202 #include "ERF_ImplicitPre.H"
203  }
204 
205  // Apply vertical velocity damping at the end of the timestep
206  if ( (solverChoice.dampingChoice.w_damping) &&
207  (nrk == 2) &&
208  (fast_step == n_sub-1))
209  {
210  amrex::Real w_damping_const = solverChoice.dampingChoice.w_damping_const;
211  amrex::Real w_damping_coeff = solverChoice.dampingChoice.w_damping_coeff;
212  amrex::Real cflw_lim = solverChoice.dampingChoice.w_damping_cfl;
213 
214  for ( MFIter mfi(S_data[IntVars::cons]); mfi.isValid(); ++mfi)
215  {
216  Box tbz = mfi.nodaltilebox(2);
217 
218  const Array4<const Real>& z_nd_arr = z_phys_nd[level]->const_array(mfi);
219 
220  const Array4<const Real>& cell_data = S_data[IntVars::cons].const_array(mfi);
221  const Array4< Real>& rho_w = S_data[IntVars::zmom].array(mfi);
222 
223  ParallelFor(tbz, [=] AMREX_GPU_DEVICE (int i, int j, int k)
224  {
225  Real dzInv;
226  if (z_nd_arr) {
227  // average z_nd to face then diff
228  if (k == domain.smallEnd(2)) {
229  dzInv = amrex::Real(4.0) / (
230  z_nd_arr(i ,j ,k+1) - z_nd_arr(i ,j ,k)
231  + z_nd_arr(i+1,j ,k+1) - z_nd_arr(i+1,j ,k)
232  + z_nd_arr(i ,j+1,k+1) - z_nd_arr(i ,j+1,k)
233  + z_nd_arr(i+1,j+1,k+1) - z_nd_arr(i+1,j+1,k) );
234  } else if (k == domain.bigEnd(2)+1) {
235  dzInv = amrex::Real(4.0) / (
236  z_nd_arr(i ,j ,k) - z_nd_arr(i ,j ,k-1)
237  + z_nd_arr(i+1,j ,k) - z_nd_arr(i+1,j ,k-1)
238  + z_nd_arr(i ,j+1,k) - z_nd_arr(i ,j+1,k-1)
239  + z_nd_arr(i+1,j+1,k) - z_nd_arr(i+1,j+1,k-1) );
240  } else {
241  // dz = myhalf * (dz[i,j,k] + dz[i,j,k+1])
242  // = myhalf * (z_nd_face[i,j,k+1] - z_nd_face[i,j,k-1])
243  dzInv = amrex::Real(8.0) / (
244  z_nd_arr(i ,j ,k+1) - z_nd_arr(i ,j ,k-1)
245  + z_nd_arr(i+1,j ,k+1) - z_nd_arr(i+1,j ,k-1)
246  + z_nd_arr(i ,j+1,k+1) - z_nd_arr(i ,j+1,k-1)
247  + z_nd_arr(i+1,j+1,k+1) - z_nd_arr(i+1,j+1,k-1) );
248  }
249  } else {
250  dzInv = dxInv[2];
251  }
252 
253  Real dt_adv = static_cast<Real>(dt_advance);
254 
255  Real dampcoef = (w_damping_const > 0) ? w_damping_const
256  : w_damping_coeff / (dzInv * dt_adv * dt_adv);
257 
258  Real rho_on_w_face = myhalf * ( cell_data(i,j,k,Rho_comp) + cell_data(i,j,k-1,Rho_comp) );
259  Real wmag = std::abs(rho_w(i,j,k) / rho_on_w_face);
260 
261  // This is the dynamics timestep, not the slow or fast dt
262  Real cflw = wmag * dt_adv * dzInv;
263 
264  if (cflw > cflw_lim) {
265  Real sgn_w = (rho_w(i,j,k) > 0) ? one : -one;
266  rho_w(i, j, k) -= rho_on_w_face * sgn_w * dampcoef * (cflw - cflw_lim) * dt_adv;
267  // Note: These prints are not immediately flushed to screen
268 #ifdef AMREX_USE_GPU
269  AMREX_DEVICE_PRINTF("t=%f w-damping applied at (%d,%d,%d) for w-CFL = %f > %f : %f --> %f\n",
270  old_time+dt_adv, i,j,k, cflw, cflw_lim, sgn_w*wmag, rho_w(i,j,k)/rho_on_w_face);
271 #else
272  printf("t=%f w-damping applied at (%d,%d,%d) for w-CFL = %f > %f : %f --> %f\n",
273  old_time+dt_adv, i,j,k, cflw, cflw_lim, sgn_w*wmag, rho_w(i,j,k)/rho_on_w_face);
274 #endif
275  }
276  });
277  }
278  }
279 
280  // NOTE: Numerical diffusion is tested on in FillPatchIntermediate and dictates the size of the
281  // box over which VelocityToMomentum is computed. V2M requires one more ghost cell be
282  // filled for rho than velocity. This logical condition ensures we fill enough ghost cells
283  // when use_num_diff is true.
284  int ng_cons = S_data[IntVars::cons].nGrowVect().max() - 1;
285  int ng_vel = S_data[IntVars::xmom].nGrowVect().max();
286  if (!solverChoice.use_num_diff) {
287  ng_cons = 1;
288  ng_vel = 1;
289  }
290  apply_bcs(S_data, new_substep_time, ng_cons, ng_vel, fast_only=true, vel_and_mom_synced=false);
291 };
if(l_use_mynn &&start_comp<=RhoKE_comp &&end_comp >=RhoKE_comp)
Definition: ERF_AddQKESources.H:2
constexpr amrex::Real one
Definition: ERF_Constants.H:9
constexpr amrex::Real zero
Definition: ERF_Constants.H:8
constexpr amrex::Real myhalf
Definition: ERF_Constants.H:13
#define Rho_comp
Definition: ERF_IndexDefines.H:39
amrex::GpuArray< Real, AMREX_SPACEDIM > dxInv
Definition: ERF_InitCustomPertVels_ParticleTests.H:17
pp get("wavelength", wavelength)
void make_fast_coeffs(int, MultiFab &fast_coeffs, Vector< MultiFab > &S_stage_data, const MultiFab &S_stage_prim, const MultiFab &pi_stage, const amrex::Geometry geom, bool l_use_moisture, MeshType mesh_type, Real gravity, Real c_p, std::unique_ptr< MultiFab > &detJ_cc, const double dtau, Real beta_s, amrex::GpuArray< ERF_BC, AMREX_SPACEDIM *2 > &phys_bc_type)
Definition: ERF_MakeFastCoeffs.cpp:27
void make_mom_sources(double time_d, double dt, const Vector< MultiFab > &S_data, const MultiFab *z_phys_nd, const MultiFab *z_phys_cc, Vector< Real > &stretched_dz_h, const MultiFab &xvel, const MultiFab &yvel, const MultiFab &wvel, MultiFab &xmom_src, MultiFab &ymom_src, MultiFab &zmom_src, const MultiFab &base_state, MultiFab *forest_drag, MultiFab *terrain_blank, MultiFab *terrain_blank_xface, MultiFab *terrain_blank_yface, MultiFab *terrain_blank_zface, MultiFab *cosPhi_mf, MultiFab *sinPhi_mf, const Geometry geom, const SolverChoice &solverChoice, Vector< std::unique_ptr< MultiFab >> &, const Real *dptr_u_geos, const Real *dptr_v_geos, const Real *dptr_wbar_sub, const Vector< Real * > d_rayleigh_ptrs_at_lev, const amrex::Real *d_sinesq_at_lev, const amrex::Real *d_sinesq_stag_at_lev, const Vector< Real * > d_sponge_ptrs_at_lev, const Vector< MultiFab > *forecast_state_at_lev, InputSoundingData &input_sounding_data, LargeScaleForcingData &lsf_data, std::unique_ptr< amrex::MultiFab > &lsf_tendencies, const eb_ &ebfact, bool is_slow_step)
Definition: ERF_MakeMomSources.cpp:38
void make_sources(int level, int, double dt, double time_d, const Vector< MultiFab > &S_data, const MultiFab &S_prim, MultiFab &source, const MultiFab &base_state, const MultiFab *z_phys_cc, const MultiFab &xvel, const MultiFab &yvel, const MultiFab &zvel, const MultiFab *qheating_rates, MultiFab *terrain_blank, const Geometry geom, const SolverChoice &solverChoice, Vector< std::unique_ptr< MultiFab >> &mapfac, const MultiFab *rhotheta_src, const MultiFab *rhoqt_src, const Real *dptr_wbar_sub, const Vector< Real * > d_rayleigh_ptrs_at_lev, const Real *d_sinesq_at_lev, TurbulentPerturbation &turbPert, const Table1D< Real > r_plane_avg, const Table1D< Real > t_plane_avg, bool is_slow_step)
Definition: ERF_MakeSources.cpp:35
ParallelFor(fab_box, [=] AMREX_GPU_DEVICE(int i, int j, int k) { qrcuten_arr(i, j, k)=Real(0);qscuten_arr(i, j, k)=Real(0);qicuten_arr(i, j, k)=Real(0);})
amrex::Real Real
Definition: ERF_ShocInterface.H:19
void erf_substep_MT(int step, int, int level, int finest_level, Vector< MultiFab > &S_slow_rhs, const Vector< MultiFab > &S_prev, Vector< MultiFab > &S_stg_data, const MultiFab &S_stg_prim, const MultiFab &qt, const MultiFab &pi_stage, const MultiFab &fast_coeffs, Vector< MultiFab > &S_data, MultiFab &lagged_delta_rt, MultiFab &avg_xmom, MultiFab &avg_ymom, MultiFab &avg_zmom, const MultiFab &cc_src, const MultiFab &xmom_src, const MultiFab &ymom_src, const MultiFab &zmom_src, const Geometry geom, const Real gravity, const bool use_lagged_delta_rt, std::unique_ptr< MultiFab > &z_t_rk, const MultiFab *z_t_pert, std::unique_ptr< MultiFab > &z_phys_nd_old, std::unique_ptr< MultiFab > &z_phys_nd_new, std::unique_ptr< MultiFab > &z_phys_nd_stg, std::unique_ptr< MultiFab > &detJ_cc_old, std::unique_ptr< MultiFab > &detJ_cc_new, std::unique_ptr< MultiFab > &detJ_cc_stg, const double dtau_d, const Real beta_s, const Real facinv, Vector< std::unique_ptr< MultiFab >> &mapfac, YAFluxRegister *fr_as_crse, YAFluxRegister *fr_as_fine, bool l_use_moisture, bool l_reflux, bool, const Real *sinesq_stag_d, const Real l_damp_coef)
Definition: ERF_Substep_MT.cpp:50
void erf_substep_NS(int step, int nrk, int level, int finest_level, Vector< MultiFab > &S_slow_rhs, const Vector< MultiFab > &S_prev, Vector< MultiFab > &S_stage_data, const MultiFab &S_stage_prim, const MultiFab &qt, const MultiFab &pi_stage, const MultiFab &fast_coeffs, Vector< MultiFab > &S_data, MultiFab &lagged_delta_rt, MultiFab &avg_xmom, MultiFab &avg_ymom, MultiFab &avg_zmom, const MultiFab &cc_src, const MultiFab &xmom_src, const MultiFab &ymom_src, const MultiFab &zmom_src, const Geometry geom, const Real gravity, amrex::Gpu::DeviceVector< amrex::Real > &stretched_dz_d, const double dtau_d, const Real beta_s, const Real facinv, Vector< std::unique_ptr< MultiFab >> &mapfac, YAFluxRegister *fr_as_crse, YAFluxRegister *fr_as_fine, bool l_use_moisture, bool l_reflux, bool l_real_bc, const amrex::Real *sinesq_stag_d, const Real l_damp_coef)
Definition: ERF_Substep_NS.cpp:42
void erf_substep_T(int step, int, int level, int finest_level, Vector< MultiFab > &S_slow_rhs, const Vector< MultiFab > &S_prev, Vector< MultiFab > &S_stage_data, const MultiFab &S_stage_prim, const MultiFab &qt, const MultiFab &pi_stage, const MultiFab &fast_coeffs, Vector< MultiFab > &S_data, MultiFab &lagged_delta_rt, MultiFab &avg_xmom, MultiFab &avg_ymom, MultiFab &avg_zmom, const MultiFab &cc_src, const MultiFab &xmom_src, const MultiFab &ymom_src, const MultiFab &zmom_src, const Geometry geom, const Real gravity, std::unique_ptr< MultiFab > &z_phys_nd, std::unique_ptr< MultiFab > &detJ_cc, const double dtau_d, const Real beta_s, const Real facinv, Vector< std::unique_ptr< MultiFab >> &mapfac, YAFluxRegister *fr_as_crse, YAFluxRegister *fr_as_fine, bool l_use_moisture, bool l_reflux, bool l_real_bc, const Real *sinesq_stag_d, const Real l_damp_coef)
Definition: ERF_Substep_T.cpp:43
auto acoustic_substepping_fun
Definition: ERF_TI_substep_fun.H:6
auto apply_bcs
Definition: ERF_TI_utils.H:34
auto update_terrain_substep
Definition: ERF_TI_utils.H:202
@ num_comps
Definition: ERF_IndexDefines.H:81
@ ymom
Definition: ERF_IndexDefines.H:234
@ cons
Definition: ERF_IndexDefines.H:232
@ zmom
Definition: ERF_IndexDefines.H:235
@ xmom
Definition: ERF_IndexDefines.H:233
@ qt
Definition: ERF_Kessler.H:29
static MeshType mesh_type
Vertical mesh representation.
Definition: ERF_DataStruct.H:1848