From 9cb9312078b50e7e5e9d3a2baaa083313218ead8 Mon Sep 17 00:00:00 2001 From: Logan Bishop-Van Horn Date: Wed, 20 Sep 2023 15:28:27 -0700 Subject: [PATCH] Update solve.py --- tdgl/solver/solve.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tdgl/solver/solve.py b/tdgl/solver/solve.py index 86c9528..f5ffc53 100644 --- a/tdgl/solver/solve.py +++ b/tdgl/solver/solve.py @@ -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