diff --git a/funtofem/interface/fun3d_interface.py b/funtofem/interface/fun3d_interface.py index 84b7444b..cd63f32d 100644 --- a/funtofem/interface/fun3d_interface.py +++ b/funtofem/interface/fun3d_interface.py @@ -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 @@ -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: