Skip to content

Commit

Permalink
uncomment parralel jit- speeds up function
Browse files Browse the repository at this point in the history
  • Loading branch information
tf17270 committed Jul 6, 2023
1 parent 5d81154 commit 8a058d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lyceanem/raycasting/rayfunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ def angle_pop(hit_directions, source_normals, angles):
return angles


#@njit(parallel=True)
@njit(parallel=True)
def patternsort(visible_patterns, sourcenum, sinknum, portion, hit_index):
# faster method of summing the array contributions to each farfield point
for n in range(sinknum):
Expand Down

1 comment on commit 8a058d5

@tf17270
Copy link
Collaborator Author

@tf17270 tf17270 commented on 8a058d5 Jul 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

71-54seconds with 95^2 sink points

Please sign in to comment.