Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mbkuhn committed Oct 21, 2024
1 parent fa7e9d6 commit b6bdc0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions amr-wind/equation_systems/BCOps.H
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ struct BCOp<PDE, std::enable_if_t<std::is_base_of_v<ScalarTransport, PDE>>>
{
amrex::IntVect ng_diff(1);
auto& field = m_fields.field.state(state);
const auto bc_time = (state == FieldState::Old)
? m_time.current_time()
: m_time.new_time();
const auto bc_time = (state == FieldState::Old) ? m_time.current_time()
: m_time.new_time();
if ((state != FieldState::Old && state != FieldState::New)) {
amrex::Abort(
"BCOps.H apply_bcs(): a state other than New or Old was used. "
Expand Down
5 changes: 2 additions & 3 deletions amr-wind/equation_systems/icns/icns_bcop.H
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@ struct BCOp<ICNS>
{
amrex::IntVect ng_diff(1);
auto& field = m_fields.field.state(state);
const auto bc_time = (state == FieldState::Old)
? m_time.current_time()
: m_time.new_time();
const auto bc_time = (state == FieldState::Old) ? m_time.current_time()
: m_time.new_time();
if ((state != FieldState::Old && state != FieldState::New)) {
amrex::Abort(
"icns_bcop.H apply_bcs(): a state other than New or Old was "
Expand Down

0 comments on commit b6bdc0d

Please sign in to comment.