From 453416ae8f48be0720b15468ab182b26a0d56ec9 Mon Sep 17 00:00:00 2001 From: ddundo Date: Sun, 24 Nov 2024 11:56:47 +0000 Subject: [PATCH] #152: Consider steadiness per field --- goalie/mesh_seq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goalie/mesh_seq.py b/goalie/mesh_seq.py index 1a89eb4..1649663 100644 --- a/goalie/mesh_seq.py +++ b/goalie/mesh_seq.py @@ -493,7 +493,7 @@ def _solve_forward(self, update_solutions=True, solver_kwargs=None): next(solver_gen) # Update the solution data for field, sol in self.fields.items(): - if not self.steady: + if not self.field_types[field] == "steady": assert isinstance(sol, tuple) solutions[field].forward[i][j].assign(sol[0]) solutions[field].forward_old[i][j].assign(sol[1])