Skip to content
Discussion options

You must be logged in to vote

I think the issue may be caused in the grid search part of the code, where perhaps when iterating through the grid to find which cell the particle is in, it encounters one of these [0,0] cells, and ultimately can't find the right cell and throws an out of bounds error. This is me speculating though, if you can try a corrected grid (or manufacture a grid?) to see if that works?

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@RyMole
Comment options

Comment options

You must be logged in to vote
3 replies
@michaeldenes
Comment options

Answer selected by RyMole
@RyMole
Comment options

@RyMole
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants