ivr Posted June 27, 2019 Share Posted June 27, 2019 (edited) Hello, everyone! I'm trying to calculate some internal forces of some particles using information from 125 neighbouring voxels around each particle. For accessing those voxels, I'm using this array as a shifting index: vector sha[] = array ({ −2 , −2, −2}, {−2, −2, −1}, {−2, −2, 0} , {−2, −2, 1} , {−2, −2, 2} , {−2, −1, −2}, {−2, −1, −1}, {−2, −1, 0} , {−2, −1, 1} , {−2, −1, 2} , {−2, 0 , −2}, {−2, 0 , −1}, {−2, 0 , 0} , {−2, 0 , 1} , {−2, 0 , 2} , {−2, 1 , −2}, {−2, 1 , −1}, {−2, 1 , 0} , {−2, 1 , 1} , {−2, 1 , 2} , {−2, 2 , −2}, {−2, 2 , −1}, {−2, 2 , 0} , {−2, 2 , 1} , {−2, 2 , 2} , {−1, −2, −2}, {−1, −2, −1}, {−1, −2, 0} , {−1, −2, 1} , {−1, −2, 2} , {−1, −1, −2}, {−1, −1, −1}, {−1, −1, 0} , {−1, −1, 1} , {−1, −1, 2} , {−1, 0 , −2}, {−1, 0 , −1}, {−1, 0 , 0} , {−1, 0 , 1} , {−1, 0 , 2} , {−1, 1 , −2}, {−1, 1 , −1}, {−1, 1 , 0} , {−1, 1 , 1} , {−1, 1 , 2} , {−1, 2 , −2}, {−1, 2 , −1}, {−1, 2 , 0} , {−1, 2 , 1} , {−1, 2 , 2} , {0 , −2, −2}, {0 , −2, −1}, {0 , −2, 0} , {0 , −2, 1} , {0 , −2, 2} , {0 , −1, −2}, {0 , −1, −1}, {0 , −1, 0} , {0 , −1, 1} , {0 , −1, 2} , {0 , 0 , −2}, {0 , 0 , −1}, {0 , 0 , 0} , {0 , 0 , 1} , {0 , 0 , 2} , {0 , 1 , −2}, {0 , 1 , −1}, {0 , 1 , 0} , {0 , 1 , 1} , {0 , 1 , 2} , {0 , 2 , −2}, {0 , 2 , −1}, {0 , 2 , 0} , {0 , 2 , 1} , {0 , 2 , 2} , {1 , −2, −2}, {1 , −2, −1}, {1 , −2, 0} , {1 , −2, 1} , {1 , −2, 2} , {1 , −1, −2}, {1 , −1, −1}, {1 , −1, 0} , {1 , −1, 1} , {1 , −1, 2} , {1 , 0 , −2}, {1 , 0 , −1}, {1 , 0 , 0} , {1 , 0 , 1} , {1 , 0 , 2} , {1 , 1 , −2}, {1 , 1 , −1}, {1 , 1 , 0} , {1 , 1 , 1} , {1 , 1 , 2} , {1 , 2 , −2}, {1 , 2 , −1}, {1 , 2 , 0} , {1 , 2 , 1} , {1 , 2 , 2} , {2 , −2, −2}, {2 , −2, −1}, {2 , −2, 0} , {2 , −2, 1} , {2 , −2, 2} , {2 , −1, −2}, {2 , −1, −1}, {2 , −1, 0} , {2 , −1, 1} , {2 , −1, 2} , {2 , 0 , −2}, {2 , 0 , −1}, {2 , 0 , 0} , {2 , 0 , 1} , {2 , 0 , 2} , {2 , 1 , −2}, {2 , 1 , −1}, {2 , 1 , 0} , {2 , 1 , 1} , {2 , 1 , 2} , {2 , 2 , −2}, {2 , 2 , −1}, {2 , 2 , 0} , {2 , 2 , 1} , {2 , 2 , 2}); I isolated it in a separate attribute wrangle and this was indeed what was causing the Houdini crash. Does anyone have any advice on why Houdini crashes because of this array? [SOLVED] the minus signs were dashes instead, the array was fine otherwise Edited June 27, 2019 by ivr SOLVED Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.