Skip to content

Commit

Permalink
Update fdsolver xyz explicit reset
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Bouten committed Nov 15, 2021
1 parent 4ff216f commit 206a278
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compas_fd/solvers/fd_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 206a278

Please sign in to comment.