Hello, currently i'm working on "transferring" bits and pieces of a C code that I have into perl. The problem is related to finite differences, so I am creating a grid, where "particles" within each cell in the grid are moving based on my specified iterations and timesteps. The loop structures and boundary conditions are relatively straight forward (at least for my purposes). Comparing it to C, how can i set up a structure where there are say 9 particles per each grid unit?
In reply to Particle movement question by koda123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |