Research Article
Kinetic-Monte-Carlo-Based Parallel Evolution Simulation Algorithm of Dust Particles
Algorithm 5
The visualization algorithm of dust particles’ KMC evolution.
| (1) Begin | | (2) Create a transparent border of virtual campus; | | (3) Render a yellow ground; | | (4) Render the buildings in the virtual campus; | | (5) Set the attributes of dust particles, including their size, color and shape; | | (6) Read the coordinates of dust particles from file Output, calculate NParts; | | (7) If the particles are in the area of sampling points , | | calculate the accumulation amount of dust particles ; | | (8) Render the particles according to the value of NParts; | | (9) Output the accumulation amount of dust particles in five sampling points; | | (10) End |
|