Skip to content

Commit

Permalink
fix incompressible build (#1622)
Browse files Browse the repository at this point in the history
  • Loading branch information
asalmgren authored May 15, 2024
1 parent 6fe430b commit 9b33ecc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/TimeIntegration/ERF_advance_dycore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ void ERF::advance_dycore(int level,
mri_integrator.set_post_update(post_update_fun);

#ifdef ERF_USE_POISSON_SOLVE
if (solverChoice.incompressible) {
if (solverChoice.incompressible[level]) {
mri_integrator.set_slow_rhs_inc(slow_rhs_fun_inc);
}
#endif
Expand Down
2 changes: 1 addition & 1 deletion Source/TimeIntegration/TI_no_substep_fun.H
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
apply_bcs(S_sum, time_for_fp, ng_cons, ng_vel, fast_only=true, vel_and_mom_synced=false);

#ifdef ERF_USE_POISSON_SOLVE
if (solverChoice.incompressible) {
if (solverChoice.incompressible[level]) {
bool have_tb = (thin_xforce[0] || thin_yforce[0] || thin_zforce[0]);
if (solverChoice.project_every_stage || (nrk==1)) {
if (have_tb) {
Expand Down

0 comments on commit 9b33ecc

Please sign in to comment.