koda123 has asked for the wisdom of the Perl Monks concerning the following question:
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Particle movement question
by GrandFather (Saint) on Apr 24, 2017 at 06:48 UTC | |
|
Re: Particle movement question
by Anonymous Monk on Apr 23, 2017 at 23:02 UTC | |
by koda123 (Initiate) on Apr 24, 2017 at 02:00 UTC | |
by Anonymous Monk on Apr 24, 2017 at 16:02 UTC | |
by koda123 (Initiate) on Apr 25, 2017 at 18:37 UTC | |
by huck (Prior) on Apr 25, 2017 at 20:00 UTC | |
|
Re: Particle movement question
by BillKSmith (Monsignor) on Apr 24, 2017 at 14:50 UTC | |
|
Re: Particle movement question
by koda123 (Initiate) on Apr 25, 2017 at 22:09 UTC | |
by Anonymous Monk on Apr 25, 2017 at 23:03 UTC | |
by koda123 (Initiate) on Apr 26, 2017 at 00:23 UTC | |
by koda123 (Initiate) on Apr 26, 2017 at 00:34 UTC | |
by BrowserUk (Patriarch) on Apr 26, 2017 at 01:03 UTC |