ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
ERF_TI_slow_rhs_post.H
Go to the documentation of this file.
1 #include "ERF_SrcHeaders.H"
2 
3  auto slow_rhs_fun_post = [&,bogus_large_value_d=bogus_large_value](Vector<MultiFab>& S_rhs,
4  Vector<MultiFab>& S_old,
5  Vector<MultiFab>& S_new,
6  Vector<MultiFab>& S_data,
7  const double old_step_time,
8  const double old_stage_time,
9  const double new_stage_time,
10  const int nrk)
11  {
12  // Note that the "old" and "new" metric terms correspond to
13  // t^n and the RK stage (either t^*, t^** or t^{n+1} that this source
14  // will be used to advance to
15  double slow_dt = new_stage_time - old_step_time;
16 
17  if (verbose) amrex::Print() << "Time integration of scalars at level " << level
18  << std::setprecision(timeprecision)
19  << " from " << old_step_time << " to " << new_stage_time
20  << " with dt = " << slow_dt
21  << " using RHS created at " << old_stage_time << std::endl;
22 
23  const GpuArray<Real, AMREX_SPACEDIM> dxInv = fine_geom.InvCellSizeArray();
24 
25  // *************************************************************************
26  // Set up flux registers if using two_way coupling
27  // *************************************************************************
28  YAFluxRegister* fr_as_crse = nullptr;
29  YAFluxRegister* fr_as_fine = nullptr;
30  if (solverChoice.coupling_type == CouplingType::TwoWay && finest_level > 0)
31  {
32  if (level < finest_level) {
33  fr_as_crse = getAdvFluxReg(level+1);
34  }
35  if (level > 0) {
36  fr_as_fine = getAdvFluxReg(level);
37  }
38  }
39 
40  MultiFab* new_detJ =
41  (solverChoice.terrain_type == TerrainType::MovingFittedMesh) ? (detJ_cc_new[level].get()) : (detJ_cc[level].get());
42 
43  // Immersed Forcing
44  MultiFab* terrain_blank = (solverChoice.terrain_type == TerrainType::ImmersedForcing ||
45  solverChoice.buildings_type == BuildingsType::ImmersedForcing) ?
46  terrain_blanking[level].get() : nullptr;
47  MultiFab* terrain_blank_xface = (solverChoice.terrain_type == TerrainType::ImmersedForcing ||
48  solverChoice.buildings_type == BuildingsType::ImmersedForcing) ?
49  terrain_blanking_xface[level].get() : nullptr;
50  MultiFab* terrain_blank_yface = (solverChoice.terrain_type == TerrainType::ImmersedForcing ||
51  solverChoice.buildings_type == BuildingsType::ImmersedForcing) ?
52  terrain_blanking_yface[level].get() : nullptr;
53  MultiFab* terrain_blank_zface = (solverChoice.terrain_type == TerrainType::ImmersedForcing ||
54  solverChoice.buildings_type == BuildingsType::ImmersedForcing) ?
55  terrain_blanking_zface[level].get() : nullptr;
56 
57  erf_sbm::SBMAMRStageParent sbm_parent_stage;
58  const erf_sbm::SBMAMRStageParent* sbm_parent_stage_ptr = nullptr;
59  if (sbm_state_manager != nullptr && level > 0) {
60  sbm_parent_stage.conserved_old =
61  &vars_old[level - 1][Vars::cons];
62  sbm_parent_stage.conserved_new =
63  &vars_new[level - 1][Vars::cons];
64  sbm_parent_stage.old_time = t_old[level - 1];
65  sbm_parent_stage.new_time = t_new[level - 1];
66  sbm_parent_stage.fine_step_dt = dt_advance;
67  sbm_parent_stage.refinement_ratio = refRatio(level - 1);
68  sbm_parent_stage.profile_parent_fill =
69  solverChoice.sbm_amr_qualification_test;
70  sbm_parent_stage.validate_split_ghost_values =
71  solverChoice.sbm_amr_qualification_expect_split;
72  sbm_parent_stage.inject_parent_store_fault =
73  solverChoice.sbm_amr_qualification_parent_store_fault;
74  sbm_parent_stage_ptr = &sbm_parent_stage;
75  }
76 
77  // Pseudo-incompressible: the upwind direction erf_slow_rhs_pre advected with in this stage
78  Array<const MultiFab*,AMREX_SPACEDIM> upw_dir{AMREX_D_DECL(nullptr,nullptr,nullptr)};
79  if (solverChoice.compressibility_type[level] == CompressibilityType::PseudoIncompressible &&
80  solverChoice.terrain_type != TerrainType::EB) {
81  for (int idim = 0; idim < AMREX_SPACEDIM; ++idim) {
82  upw_dir[idim] = pi_upw_dir_stage[level][idim].get();
83  }
84  }
85 
86  erf_slow_rhs_post(level, finest_level, nrk,
87  old_step_time, old_stage_time, new_stage_time, slow_dt,
88  micro->Get_Qstate_Moist_Size(),
89  S_rhs, S_old, S_new, S_data, S_prim, avg_xmom[level], avg_ymom[level], avg_zmom[level],
90  upw_dir,
91  xvel_new, yvel_new, zvel_new, cc_src, terrain_blank,
92  terrain_blank_xface, terrain_blank_yface, terrain_blank_zface,
93  SmnSmn, eddyDiffs,
94  Hfx1, Hfx2, Hfx3, Q1fx1, Q1fx2, Q1fx3, Q2fx3, Diss,
95  Tau[level][TauType::tau13].get(), Tau[level][TauType::tau23].get(),
96  fine_geom, solverChoice, m_SurfaceLayer, domain_bcs_type_d, domain_bcs_type,
97  z_phys_nd[level], z_phys_cc[level], ax[level], ay[level], az[level],
98  detJ_cc[level], new_detJ, stretched_dz_d[level], mapfac[level], get_eb(level),
99  physbnd_mask[IntVars::cons],
100  native_shoc_driver[level].get(),
101  fr_as_crse, fr_as_fine,
102  m_r2d, &base_state[level],
103  cloud_chamber_config.active ? &cloud_chamber_config : nullptr,
104  cloud_chamber_budget.get(), auxiliary_inert_tracer.get(),
105  sbm_state_manager.get(), sbm_transport.get(),
106  ib_wall_face33[level].get(), ib_wall_ktarget[level].get(), ib_wall_qfx[level].get(),
107  sbm_parent_stage_ptr);
108 
109  // One component list for the solve, stage ghosts and implicit reflux.
110  Vector<int> implicit_post_comps;
111  if (solverChoice.vert_implicit_fac[level][nrk] > zero) {
112  if (solverChoice.implicit_ke_diffusion && solverChoice.turbChoice[level].use_tke) {
113  implicit_post_comps.push_back(RhoKE_comp);
114  }
115  if (solverChoice.implicit_moisture_diffusion && solverChoice.moisture_type != MoistureType::None) {
116  const int q_end = (solverChoice.moisture_type == MoistureType::SBM) ?
117  RhoQ1_comp + 1 : S_new[IntVars::cons].nComp();
118  for (int n = RhoQ1_comp; n < q_end; ++n) {
119  if (solverChoice.diffChoice.implicit_q(n)) {
120  implicit_post_comps.push_back(n);
121  }
122  }
123  }
124  }
125 
126  // The ghost cells of S_new still hold the previous stage (S_old at the first stage): only
127  // its valid region has been advanced. At a coarse/fine boundary fill them with the coarse
128  // data at the time we are advancing to, since a column that ends there is closed with the
129  // value on the other side (as for the scratch state in slow_rhs_fun_pre)
130  if (level > 0 && !implicit_post_comps.empty()) {
131  FillCoarseFineGhostsForImplicit(level, new_stage_time, S_new[IntVars::cons], implicit_post_comps,
132  {nullptr, nullptr, nullptr});
133  }
134 
135  // Implicit diffusion of moisture
136  #include "ERF_ImplicitPost.H"
137 
138  // In the stage whose fluxes are refluxed, add the implicit part of the vertical diffusive
139  // fluxes the solves above applied to the flux registers. erf_slow_rhs_post has added the
140  // advective fluxes and the explicit part of the diffusive ones.
141  if (IsRefluxStage(solverChoice, level, finest_level, nrk) && !implicit_post_comps.empty() &&
142  solverChoice.terrain_type != TerrainType::EB)
143  {
144  const Real l_fac = solverChoice.vert_implicit_fac[level][nrk];
145  // weighted as in the step's update (RefluxStageWeight)
146  const Real l_dt = RefluxStageWeight(solverChoice, level, finest_level, nrk) *
147  static_cast<Real>(slow_dt);
148  const bool l_stretched = (solverChoice.mesh_type == MeshType::StretchedDz);
149  const bool l_implicit_metric = solverChoice.implicit_terrain_metric &&
150  l_use_terrain_fitted_coords;
151  const bool l_turb_post = solverChoice.turbChoice[level].use_kturb;
152  // As in ERF_ImplicitPost.H: the moisture solve adds the MRF countergradient flux for q1
153  const bool l_mrf_cg = solverChoice.turbChoice[level].enable_mrf_countergradient &&
154  (solverChoice.turbChoice[level].pbl_type == PBLType::MRF);
155  const Real* l_dx = fine_geom.CellSize();
156  const GpuArray<Real, AMREX_SPACEDIM> l_dxInv = fine_geom.InvCellSizeArray();
157 
158  // The fluxes hold only the components solved for, packed in the order of
159  // implicit_post_comps; each run of consecutive state components goes to the
160  // registers in one call
161  const int l_ncomp = static_cast<int>(implicit_post_comps.size());
162 
163  for (MFIter mfi(S_new[IntVars::cons], false); mfi.isValid(); ++mfi)
164  {
165  const Box& bx = mfi.validbox();
166 
167  // The solves are vertical, so the x and y fluxes are zero
168  FArrayBox fx(surroundingNodes(bx,0), l_ncomp, The_Async_Arena());
169  FArrayBox fy(surroundingNodes(bx,1), l_ncomp, The_Async_Arena());
170  FArrayBox fz(surroundingNodes(bx,2), l_ncomp, The_Async_Arena());
171  fx.setVal<RunOn::Device>(zero);
172  fy.setVal<RunOn::Device>(zero);
173 
174  const Array4<const Real>& cell_data = S_new[IntVars::cons].const_array(mfi);
175  const Array4<const Real>& mu_turb = l_turb_post ? eddyDiffs->const_array(mfi)
176  : Array4<const Real>{};
177  const Array4<const Real>& mf_mx = mapfac[level][MapFacType::m_x]->const_array(mfi);
178  const Array4<const Real>& mf_my = mapfac[level][MapFacType::m_y]->const_array(mfi);
179 
180  for (int m = 0; m < l_ncomp; ++m) {
181  const int c = implicit_post_comps[m];
182  const bool use_cg = l_mrf_cg && (c == RhoQ1_comp);
183  const Array4<Real> fz_arr(fz.array(), m, 1);
184  if (l_stretched) {
185  ImplicitVerticalFluxForReflux_S(bx, fine_geom.Domain(), level, c, l_fac, cell_data,
186  stretched_dz_d[level], mu_turb, solverChoice,
187  mf_mx, mf_my, use_cg, fz_arr);
188  } else if (l_use_terrain_fitted_coords) {
189  ImplicitVerticalFluxForReflux_T(bx, fine_geom.Domain(), level, c, l_fac, cell_data,
190  z_phys_nd[level]->const_array(mfi), l_dxInv, mu_turb,
191  solverChoice, mf_mx, mf_my, l_implicit_metric, use_cg,
192  fz_arr);
193  } else {
194  ImplicitVerticalFluxForReflux_N(bx, fine_geom.Domain(), level, c, l_fac, cell_data,
195  l_dxInv, mu_turb, solverChoice, mf_mx, mf_my, use_cg,
196  fz_arr);
197  }
198  }
199 
200  for (int m = 0; m < l_ncomp; ) {
201  int len = 1;
202  while (m + len < l_ncomp && implicit_post_comps[m+len] == implicit_post_comps[m] + len) {
203  ++len;
204  }
205  if (fr_as_crse) {
206  fr_as_crse->CrseAdd(mfi, {{AMREX_D_DECL(&fx, &fy, &fz)}}, l_dx, l_dt,
207  m, implicit_post_comps[m], len, RunOn::Device);
208  }
209  if (fr_as_fine) {
210  fr_as_fine->FineAdd(mfi, {{AMREX_D_DECL(&fx, &fy, &fz)}}, l_dx, l_dt,
211  m, implicit_post_comps[m], len, RunOn::Device);
212  }
213  m += len;
214  }
215  // The FArrayBoxes come from The_Async_Arena, which frees them only once the
216  // kernels queued on the stream above have finished with them
217  }
218  }
219 
220  // Apply state redistribution for cons states
221 
222  if (solverChoice.terrain_type == TerrainType::EB)
223  {
224  Vector<int> is_valid_slow_var; is_valid_slow_var.resize(RhoQ1_comp+1,0);
225  if (solverChoice.turbChoice[level].use_tke) {is_valid_slow_var[ RhoKE_comp] = 1;}
226  is_valid_slow_var[RhoScalar_comp] = 1;
227  if (solverChoice.moisture_type != MoistureType::None) {
228  is_valid_slow_var[RhoQ1_comp] = 1;
229  }
230  const int num_comp_total = S_rhs[IntVars::cons].nComp();
231  const int num_grow = S_rhs[IntVars::cons].nGrow();
232  const int nvars = S_data[IntVars::cons].nComp();
233  const DiffChoice l_diff_choice = solverChoice.diffChoice;
234 
235  MultiFab dUdt_tmp(ba, dm, num_comp_total, num_grow, MFInfo(), EBFactory(level));
236  dUdt_tmp.setVal(0, 0, num_comp_total, num_grow);
237 
238  int start_comp;
239  int num_comp;
240 
241  for (int ivar(RhoKE_comp); ivar<= RhoQ1_comp; ++ivar)
242  {
243  if (is_valid_slow_var[ivar])
244  {
245  start_comp = ivar;
246  num_comp = 1;
247  if (ivar == RhoQ1_comp) {
248  num_comp = nvars - RhoQ1_comp;
249  } else if (ivar == RhoScalar_comp) {
250  num_comp = NSCALARS;
251  }
252  MultiFab::Copy(dUdt_tmp, S_rhs[IntVars::cons], start_comp, start_comp, num_comp, 0);
253  }
254  }
255  dUdt_tmp.FillBoundary(fine_geom.periodicity());
256  dUdt_tmp.setDomainBndry(bogus_large_value_d, 0, num_comp_total, fine_geom);
257 
258  const BCRec* bc_ptr_d = domain_bcs_type_d.data();
259 
260  // Update S_rhs by Redistribution.
261  // To-do: Currently, redistributing all the scalar variables.
262  // This needs to be redistributed only for num_comp variables starting from ivar, for efficiency.
263  redistribute_term ( num_comp_total, fine_geom, S_rhs[IntVars::cons], dUdt_tmp,
264  S_old[IntVars::cons], EBFactory(level), bc_ptr_d, slow_dt);
265 
266  // Update state using the updated S_rhs. (NOTE: redistribute_term returns RHS not state variables.)
267  //
268  // erf_slow_rhs_post has already advanced S_new with the RHS before redistribution, and
269  // in the second stage of RK2 at an anelastic or pseudo-incompressible level that update
270  // is the Heun average
271  // old + (dt R1 + dt R2) / 2. So add only the change redistribution makes to this
272  // stage's RHS, with this stage's weight: setting S_new = S_old + dt R2 here would
273  // drop R1 and make the scalars first order in time (#4876).
274  const Real stage_wt = (solverChoice.compressibility_type[level] != CompressibilityType::FullyCompressible &&
275  solverChoice.timestepping_type[level] == TimesteppingType::RK2 &&
276  nrk == 1) ? myhalf : one;
277  for ( MFIter mfi(S_new[IntVars::cons],TilingIfNotGPU()); mfi.isValid(); ++mfi)
278  {
279  Box tbx = mfi.tilebox();
280  const Array4<Real>& snew = S_new[IntVars::cons].array(mfi);
281  const Array4<const Real>& srhs = S_rhs[IntVars::cons].const_array(mfi);
282  const Array4<const Real>& srhs_unredist = dUdt_tmp.const_array(mfi);
283  Array4<const Real> detJ_arr = EBFactory(level).getVolFrac().const_array(mfi);
284 
285  for (int ivar(RhoKE_comp); ivar<= RhoQ1_comp; ++ivar)
286  {
287  if (is_valid_slow_var[ivar])
288  {
289  start_comp = ivar;
290  num_comp = 1;
291  if (ivar == RhoQ1_comp) {
292  num_comp = nvars - RhoQ1_comp;
293  } else if (ivar == RhoScalar_comp) {
294  num_comp = NSCALARS;
295  }
296  Real wdt = stage_wt * static_cast<Real>(slow_dt);
297  ParallelFor(tbx, num_comp, [=] AMREX_GPU_DEVICE (int i, int j, int k, int nn)
298  {
299  if (detJ_arr(i,j,k) > zero) {
300  const int n = start_comp + nn;
302  snew(i,j,k,n) += wdt * (srhs(i,j,k,n) - srhs_unredist(i,j,k,n));
303  }
304  }
305  });
306  }
307  }
308  }
309  } // EB
310 
311  // Limit KE and Q now that the explicit update, implicit diffusion and
312  // redistribution have all been applied
313  #include "ERF_ScalarLimitPost.H"
314 
315  // Apply boundary conditions on all the state variables that have been updated
316  // in both the fast and slow integrators
317  apply_bcs(S_new, new_stage_time, S_new[IntVars::cons].nGrow(), S_new[IntVars::xmom].nGrow(),
318  fast_only=false, vel_and_mom_synced=false);
319 
320  if (solverChoice.moisture_tight_coupling) {
321  // TODO: need iteration var for lagrangian microphysics
322  // call signature in ERF::Advance() is
323  //advance_microphysics(lev, S_new, dt_lev, iteration, time);
324  advance_microphysics(level, S_new[0], slow_dt, 123456789, old_step_time);
325  }
326  }; // end slow_rhs_fun_post
constexpr amrex::Real bogus_large_value
Definition: ERF_Constants.H:19
@ tau23
Definition: ERF_DataStruct.H:51
@ tau13
Definition: ERF_DataStruct.H:51
@ nvars
Definition: ERF_DataStruct.H:235
@ m_y
Definition: ERF_DataStruct.H:41
@ m_x
Definition: ERF_DataStruct.H:40
void ImplicitVerticalFluxForReflux_T(const amrex::Box &bx, const amrex::Box &domain, const int level, const int n, const amrex::Real implicit_fac, const amrex::Array4< const amrex::Real > &cell_data, const amrex::Array4< const amrex::Real > &z_nd, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &mu_turb, const SolverChoice &solverChoice, const amrex::Array4< const amrex::Real > &mf_mx, const amrex::Array4< const amrex::Real > &mf_my, const bool implicit_metric, const bool use_mrf_countergradient, const amrex::Array4< amrex::Real > &zflux)
As ImplicitVerticalFluxForReflux_N, on a terrain-following mesh.
void ImplicitVerticalFluxForReflux_N(const amrex::Box &bx, const amrex::Box &domain, const int level, const int n, const amrex::Real implicit_fac, const amrex::Array4< const amrex::Real > &cell_data, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &mu_turb, const SolverChoice &solverChoice, const amrex::Array4< const amrex::Real > &mf_mx, const amrex::Array4< const amrex::Real > &mf_my, const bool use_mrf_countergradient, const amrex::Array4< amrex::Real > &zflux)
The implicit part of the vertical diffusive flux of one component, for refluxing (flat mesh).
void ImplicitVerticalFluxForReflux_S(const amrex::Box &bx, const amrex::Box &domain, const int level, const int n, const amrex::Real implicit_fac, const amrex::Array4< const amrex::Real > &cell_data, const amrex::Gpu::DeviceVector< amrex::Real > &stretched_dz_d, const amrex::Array4< const amrex::Real > &mu_turb, const SolverChoice &solverChoice, const amrex::Array4< const amrex::Real > &mf_mx, const amrex::Array4< const amrex::Real > &mf_my, const bool use_mrf_countergradient, const amrex::Array4< amrex::Real > &zflux)
As ImplicitVerticalFluxForReflux_N, on a vertically stretched mesh.
void redistribute_term(int ncomp, const Geometry &geom, MultiFab &result, MultiFab &result_tmp, MultiFab const &state, EBFactType const &ebfact, BCRec const *bc, double local_dt_d, int const igrid)
Apply EB state redistribution to result_tmp and write the redistributed result.
Definition: ERF_EBRedistribute.cpp:21
#define RhoScalar_comp
Definition: ERF_IndexDefines.H:65
#define NSCALARS
Definition: ERF_IndexDefines.H:34
#define RhoQ1_comp
Definition: ERF_IndexDefines.H:78
#define RhoKE_comp
Definition: ERF_IndexDefines.H:63
pp_for_pert_vels get("prob_type", prob_type)
amrex::GpuArray< Real, AMREX_SPACEDIM > dxInv
Definition: ERF_InitCustomPertVels_ParticleTests.H:16
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);})
constexpr amrex::Real one
Definition: ERF_NumericalConstants.H:37
constexpr amrex::Real zero
Definition: ERF_NumericalConstants.H:36
constexpr amrex::Real myhalf
Definition: ERF_NumericalConstants.H:41
const DiffChoice l_diff_choice
Definition: ERF_ScalarLimitPost.H:17
void erf_slow_rhs_post(int level, int finest_level, int nrk, double step_old_time, double input_time, double target_time, double dt_d, int n_qstate, Vector< MultiFab > &S_rhs, Vector< MultiFab > &S_old, Vector< MultiFab > &S_new, Vector< MultiFab > &S_data, const MultiFab &S_prim, MultiFab &avg_xmom, MultiFab &avg_ymom, MultiFab &avg_zmom, const Array< const MultiFab *, AMREX_SPACEDIM > &upw_dir, const MultiFab &xvel, const MultiFab &yvel, const MultiFab &zvel, const MultiFab &source, MultiFab *terrain_blank, MultiFab *terrain_blank_xface, MultiFab *terrain_blank_yface, MultiFab *terrain_blank_zface, const MultiFab *SmnSmn, const MultiFab *eddyDiffs, MultiFab *Hfx1, MultiFab *Hfx2, MultiFab *Hfx3, MultiFab *Q1fx1, MultiFab *Q1fx2, MultiFab *Q1fx3, MultiFab *Q2fx3, MultiFab *Diss, MultiFab *Tau13, MultiFab *Tau23, const Geometry geom, const SolverChoice &solverChoice, const Vector< std::unique_ptr< SurfaceLayer >> &SurfLayer, const Gpu::DeviceVector< BCRec > &domain_bcs_type_d, const Vector< BCRec > &domain_bcs_type_h, std::unique_ptr< MultiFab > &z_phys_nd, std::unique_ptr< MultiFab > &z_phys_cc, std::unique_ptr< MultiFab > &ax, std::unique_ptr< MultiFab > &ay, std::unique_ptr< MultiFab > &az, std::unique_ptr< MultiFab > &detJ, MultiFab *detJ_new, Gpu::DeviceVector< Real > &stretched_dz_d, Vector< std::unique_ptr< MultiFab >> &mapfac, const eb_ &ebfact, const iMultiFab &physbnd_mask, ShocDriver *native_shoc_lev, YAFluxRegister *fr_as_crse, YAFluxRegister *fr_as_fine, std::unique_ptr< ReadBndryPlanes > &m_r2d, const MultiFab *cloud_chamber_base_state, const erf_cloud_chamber::Config *cloud_chamber_config, CloudChamberBudget *cloud_budget, erf_auxiliary::AuxiliaryInertTracer *auxiliary_inert_tracer, erf_sbm::SBMStateManager *sbm_state_manager, erf_sbm::SBMTransport *sbm_transport, const MultiFab *ib_wall_face33, const MultiFab *ib_wall_ktarget, const MultiFab *ib_wall_qfx, const erf_sbm::SBMAMRStageParent *sbm_parent_stage)
Definition: ERF_SlowRhsPost.cpp:85
bool IsRefluxStage(const SolverChoice &solverChoice, int level, int finest_level, int nrk)
Definition: ERF_TI_slow_headers.H:91
amrex::Real RefluxStageWeight(const SolverChoice &solverChoice, int level, int finest_level, int nrk)
Definition: ERF_TI_slow_headers.H:78
auto slow_rhs_fun_post
Definition: ERF_TI_slow_rhs_post.H:3
auto apply_bcs
Definition: ERF_TI_utils.H:46
@ cons
Definition: ERF_IndexDefines.H:249
@ xmom
Definition: ERF_IndexDefines.H:250
@ None
Definition: ERF_LSM_Types.H:6
@ nn
Definition: ERF_WDM6.H:33
@ cons
Definition: ERF_IndexDefines.H:231
Definition: ERF_DiffStruct.H:25
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool host_transports(int n) const noexcept
Definition: ERF_DiffStruct.H:122
Definition: ERF_SBMTransport.H:68
const amrex::MultiFab * conserved_old
Definition: ERF_SBMTransport.H:69
bool profile_parent_fill
Definition: ERF_SBMTransport.H:76
double new_time
Definition: ERF_SBMTransport.H:72
double old_time
Definition: ERF_SBMTransport.H:71
bool validate_split_ghost_values
Definition: ERF_SBMTransport.H:86
const amrex::MultiFab * conserved_new
Definition: ERF_SBMTransport.H:70
bool inject_parent_store_fault
Definition: ERF_SBMTransport.H:88
double fine_step_dt
Definition: ERF_SBMTransport.H:73
amrex::IntVect refinement_ratio
Definition: ERF_SBMTransport.H:74