Skip to content

Commit

Permalink
Put back correct_small_cells. Not sure how we lost this. Perhaps
Browse files Browse the repository at this point in the history
should be off for MEB?
  • Loading branch information
cgilet committed Oct 2, 2023
1 parent 0a06c6a commit 047bbd1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/incflo_apply_predictor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,18 @@ void incflo::ApplyPredictor (bool incremental_projection)
new_time,m_dt,incremental_projection);
#endif

#ifdef AMREX_USE_EB
// **********************************************************************************************
//
// Over-write velocity in cells with vfrac < 1e-4
//
// **********************************************************************************************
if (m_advection_type == "MOL")
incflo_correct_small_cells(get_velocity_new(),
AMREX_D_DECL(GetVecOfConstPtrs(u_mac), GetVecOfConstPtrs(v_mac),
GetVecOfConstPtrs(w_mac)));
#endif

// static int count = 0;
// count++;
// if (count > 2) Abort();
Expand Down

0 comments on commit 047bbd1

Please sign in to comment.