From 206a278cd57809787d9ec87c5b1c6dd2db18fc55 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 15 Nov 2021 14:08:47 +0100 Subject: [PATCH] Update fdsolver xyz explicit reset --- src/compas_fd/solvers/fd_solver.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compas_fd/solvers/fd_solver.py b/src/compas_fd/solvers/fd_solver.py index 7371e89a..01229b60 100644 --- a/src/compas_fd/solvers/fd_solver.py +++ b/src/compas_fd/solvers/fd_solver.py @@ -17,6 +17,7 @@ def solve(self) -> None: nd = self.numdata b = nd.p[nd.free] - nd.Df.dot(nd.xyz[nd.fixed]) nd.xyz[nd.free] = spsolve(nd.Di, b) + nd.reset_xyz() @property def is_converged(self) -> bool: