Skip to content

Commit

Permalink
Remove redundant E_ind calculation.
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Jul 31, 2024
1 parent 2515ab6 commit f4ab339
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion emle/calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -2176,7 +2176,6 @@ def _get_mu_ind(self, r_data, mesh_data, q, s, q_val, k_Z):
).flatten()

mu_ind = _torch.linalg.solve(A, fields)
E_ind = mu_ind @ fields * 0.5
return mu_ind.reshape((-1, 3))

def _get_A_thole(self, r_data, s, q_val, k_Z):
Expand Down

0 comments on commit f4ab339

Please sign in to comment.