Skip to content

Commit

Permalink
update particles after fixing vel in small cells
Browse files Browse the repository at this point in the history
  • Loading branch information
asalmgren committed Jun 16, 2024
1 parent 99cec30 commit fb41722
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/incflo_apply_corrector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,6 @@ void incflo::ApplyCorrector()
bool incremental_projection = false;
ApplyProjection(get_density_nph_const(), new_time,m_dt,incremental_projection);

#ifdef INCFLO_USE_PARTICLES
// **************************************************************************************
// Update the particle positions
// **************************************************************************************
evolveTracerParticles(AMREX_D_DECL(GetVecOfConstPtrs(u_mac), GetVecOfConstPtrs(v_mac),
GetVecOfConstPtrs(w_mac)));
#endif

#ifdef AMREX_USE_EB
// **********************************************************************************************
//
Expand All @@ -182,4 +174,12 @@ void incflo::ApplyCorrector()
AMREX_D_DECL(GetVecOfConstPtrs(u_mac), GetVecOfConstPtrs(v_mac),
GetVecOfConstPtrs(w_mac)));
#endif

#ifdef INCFLO_USE_PARTICLES
// **************************************************************************************
// Update the particle positions
// **************************************************************************************
evolveTracerParticles(AMREX_D_DECL(GetVecOfConstPtrs(u_mac), GetVecOfConstPtrs(v_mac),
GetVecOfConstPtrs(w_mac)));
#endif
}

0 comments on commit fb41722

Please sign in to comment.