Skip to content

Commit

Permalink
Better order of quadrature positions
Browse files Browse the repository at this point in the history
  • Loading branch information
ceriottm committed Dec 24, 2024
1 parent 08a4464 commit 6a913d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipi/utils/mathtools.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ def get_rotation_quadrature_lebedev(L):
for theta_index in range(0, L):
theta = 2 * np.pi * theta_index / L
for w, v, weight in leb_quad:
angles = [theta, v, w] # [w, v, theta]
angles = [w, v, theta]
rotation_matrix = euler_zxz_to_matrix(*angles)
quads.append((rotation_matrix, weight, angles))
return quads
Expand Down

0 comments on commit 6a913d5

Please sign in to comment.