12 | | {{{ |
13 | | define_cloud_mat_number() |
14 | | Use LSF values on octree to define the material number for every cloud particle. This routine should be called in the first grid iteration, after the void has been calculated. The general procedure is |
15 | | * Set material number equal to zero for all cloud particles |
16 | | * Loop through all LSFs |
17 | | * Loop through all cloud particles |
18 | | * If LSF value is negative, give cloud particle current LSF number as material number |
19 | | * In not, do nothing |
20 | | }}} |
| 12 | 1. {{{define_cloud_mat_number()}}} |
| 13 | Use LSF values on octree to define the material number for every cloud particle. This routine should be called in the first grid iteration, after the void has been calculated. The general procedure is |
| 14 | * Set material number equal to zero for all cloud particles |
| 15 | * Loop through all LSFs |
| 16 | * Loop through all cloud particles |
| 17 | * If LSF value is negative, give cloud particle current LSF number as material number |
| 18 | * In not, do nothing |
| 19 | |