Skip to content

Commit

Permalink
black reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-engelstad committed Oct 31, 2023
1 parent d81cc99 commit 243152e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions funtofem/interface/fun3d_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,9 @@ def post(self, scenario, bodies):
"""

# report warning if flow residual too large
resid = self.get_forward_residual(step=scenario.steps, all=True) # step=scenario.steps
resid = self.get_forward_residual(
step=scenario.steps, all=True
) # step=scenario.steps
if self.comm.rank == 0:
print(f"Forward residuals = {resid}")
self._forward_done = True
Expand Down Expand Up @@ -998,7 +1000,7 @@ def get_forward_residual(self, step=0, all=False):
residuals = self.fun3d_flow.get_flow_rms_residual(step)
else:
residuals = self._forward_resid

if all:
return residuals
else:
Expand Down

0 comments on commit 243152e

Please sign in to comment.