From 4b82ca1793a0b3bd18e615f71ee58eddc04482f4 Mon Sep 17 00:00:00 2001 From: tanome Date: Tue, 26 Nov 2024 10:59:31 -0700 Subject: [PATCH] style changes in FVFunctionDirichletBC.C and INSFVOutletPressureBC.C Refs #29145 --- framework/src/fvbcs/FVFunctionDirichletBC.C | 2 +- .../navier_stokes/src/fvbcs/INSFVOutletPressureBC.C | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/framework/src/fvbcs/FVFunctionDirichletBC.C b/framework/src/fvbcs/FVFunctionDirichletBC.C index d8bf7583a9db..f3af9f2efcba 100644 --- a/framework/src/fvbcs/FVFunctionDirichletBC.C +++ b/framework/src/fvbcs/FVFunctionDirichletBC.C @@ -34,7 +34,7 @@ FVFunctionDirichletBC::boundaryValue(const FaceInfo & fi, const Moose::StateArg if (state.state != 0 && state.iteration_type == Moose::SolutionIterationType::Time) { - mooseAssert(state.state == 1, "We cannot access values beyond the previous time step."); + mooseAssert(state.state == 1, "We cannot access values beyond the previous time step."); _function.value(_t_old, fi.faceCentroid()); } else diff --git a/modules/navier_stokes/src/fvbcs/INSFVOutletPressureBC.C b/modules/navier_stokes/src/fvbcs/INSFVOutletPressureBC.C index cf606c82c695..5d2d3f53f3a4 100644 --- a/modules/navier_stokes/src/fvbcs/INSFVOutletPressureBC.C +++ b/modules/navier_stokes/src/fvbcs/INSFVOutletPressureBC.C @@ -58,12 +58,12 @@ INSFVOutletPressureBCTempl::boundaryValue(const FaceInfo & fi, else if (_function) { if (state.state != 0 && state.iteration_type == Moose::SolutionIterationType::Time) - { - mooseAssert(state.state == 1, "We cannot access values beyond the previous time step."); - _function->value(_t_old, fi.faceCentroid()); - } - else - _function->value(_t, fi.faceCentroid()); + { + mooseAssert(state.state == 1, "We cannot access values beyond the previous time step."); + _function->value(_t_old, fi.faceCentroid()); + } + else + _function->value(_t, fi.faceCentroid()); } else return *_pp_value;