Skip to content

Commit

Permalink
another spray update
Browse files Browse the repository at this point in the history
  • Loading branch information
baperry2 committed Dec 20, 2023
1 parent 1fce7c7 commit c2964dc
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Source/PeleLMeX_SprayParticles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,7 @@ PeleLM::SprayInit()
Warning(warn_msg);
}
}
ProbParm const* lprobparm = prob_parm;
SprayPC->SprayInitialize(*lprobparm, restart_file);
SprayPC->SprayInitialize(restart_file);
SprayPostRegrid();
SprayInjectRedist();
if (spray_verbose >= 1) {
Expand Down Expand Up @@ -375,12 +374,11 @@ PeleLM::SprayInjectRedist()
}
bool injected = false;
for (int lev = 0; lev <= finest_level; ++lev) {
int nstep = 0; // Unused
ProbParm const* lprobparm = prob_parm;
int nstep = 0; // Unused
Real cur_time = m_t_new[lev]; // Still the time from the last time step
Real dt = m_dt;
bool lev_injected = SprayPC->injectParticles(
cur_time, dt, nstep, lev, finest_level, *lprobparm);
bool lev_injected =
SprayPC->injectParticles(cur_time, dt, nstep, lev, finest_level);
if (lev_injected) {
injected = true;
}
Expand Down

0 comments on commit c2964dc

Please sign in to comment.