Skip to content

Commit

Permalink
Update solve.py
Browse files Browse the repository at this point in the history
  • Loading branch information
loganbvh committed Sep 20, 2023
1 parent 4f8c70e commit 9cb9312
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tdgl/solver/solve.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,9 @@ def update(
new_A_induced = pypardiso.spsolve(A_laplacian, rhs)
else:
new_A_induced = A_laplacian_lu(rhs)
import pdb

pdb.set_trace()
new_A_induced = new_A_induced[edges].mean(axis=1)
# Update induced vector potential using Polyak's method
dA = new_A_induced - A_induced
Expand Down

0 comments on commit 9cb9312

Please sign in to comment.