Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hgopalan committed Dec 27, 2024
1 parent 9ea5486 commit 18c27ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions amr-wind/equation_systems/tke/source_terms/KransAxell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void KransAxell::operator()(
(tlscale_arr(i, j, k) + tiny);
src_term(i, j, k) += shear_prod_arr(i, j, k) + buoy_prod_arr(i, j, k) -
dissip_arr(i, j, k) - sponge_forcing +
(1 - has_terrain) * bcforcing;
(1 - static_cast<int>(has_terrain)) * bcforcing;
});
// Add terrain components
if (has_terrain) {
Expand Down Expand Up @@ -134,7 +134,7 @@ void KransAxell::operator()(
zi * zi * (tke_arr(i, j, k) - ref_tke);
src_term(i, j, k) += drag_arr(i, j, k) * terrainforcing +
blank_arr(i, j, k) * dragforcing +
has_terrain * sponge_forcing;
static_cast<int>(has_terrain) * sponge_forcing;
});
}
}
Expand Down

0 comments on commit 18c27ff

Please sign in to comment.