@@ -193,7 +193,7 @@ Castro::do_old_sources (Real time, Real dt, bool apply_to_state)
193193 Bx_old, By_old, Bz_old,
194194#endif
195195 old_source, Sborder, S_new, time, dt,
196- apply_to_state);
196+ apply_to_state);
197197
198198 return status;
199199}
@@ -557,41 +557,41 @@ Castro::pre_advance_operators (Real time, Real dt) // NOLINT(readability-conver
557557 FArrayBox q (The_Async_Arena ()), qaux (The_Async_Arena ());
558558
559559 for (MFIter mfi (Sborder, TilingIfNotGPU ()); mfi.isValid (); ++mfi) {
560- const Box& bx = mfi.tilebox ();
561- const Box& obx = mfi.growntilebox (1 );
560+ const Box& bx = mfi.tilebox ();
561+ const Box& obx = mfi.growntilebox (1 );
562562
563- shk.resize (bx, 1 );
563+ shk.resize (bx, 1 );
564564#ifdef RADIATION
565- q.resize (obx, NQ);
565+ q.resize (obx, NQ);
566566#else
567- q.resize (obx, NQTHERM);
567+ q.resize (obx, NQTHERM);
568568#endif
569- qaux.resize (obx, NQAUX);
569+ qaux.resize (obx, NQAUX);
570570
571- Array4<Real> const shk_arr = shk.array ();
572- Array4<Real> const q_arr = q.array ();
573- Array4<Real> const qaux_arr = qaux.array ();
571+ Array4<Real> const shk_arr = shk.array ();
572+ Array4<Real> const q_arr = q.array ();
573+ Array4<Real> const qaux_arr = qaux.array ();
574574
575- Array4<Real const > const Sborder_old_arr = Sborder.array (mfi);
576- Array4<Real> const S_old_arr = S_old.array (mfi);
577- Array4<Real> const old_src_arr = old_source.array (mfi);
575+ Array4<Real const > const Sborder_old_arr = Sborder.array (mfi);
576+ Array4<Real> const S_old_arr = S_old.array (mfi);
577+ Array4<Real> const old_src_arr = old_source.array (mfi);
578578
579- ctoprim (obx, time, Sborder_old_arr, q_arr, qaux_arr);
579+ ctoprim (obx, time, Sborder_old_arr, q_arr, qaux_arr);
580580
581581 shock (bx, q_arr, old_src_arr, shk_arr);
582582
583- // now store it in S_old -- we'll fillpatch into Sborder in a bit
583+ // now store it in S_old -- we'll fillpatch into Sborder in a bit
584584
585- // Note: we still compute the shock flag in the hydro for the
586- // hybrid-Riemann (for now) since that version will have seen the
587- // effect of the burning in the first dt), but that version is
588- // never stored in State_Type
585+ // Note: we still compute the shock flag in the hydro for the
586+ // hybrid-Riemann (for now) since that version will have seen the
587+ // effect of the burning in the first dt), but that version is
588+ // never stored in State_Type
589589
590- amrex::ParallelFor (bx,
590+ amrex::ParallelFor (bx,
591591 [=] AMREX_GPU_DEVICE (int i, int j, int k) noexcept
592592 {
593- S_old_arr (i,j,k,USHK) = shk_arr (i,j,k);
594- });
593+ S_old_arr (i,j,k,USHK) = shk_arr (i,j,k);
594+ });
595595
596596 }
597597
0 commit comments