pptx file (Modified.zip) including captures of all modifications,
zip file of inputs file (inputs.zip), for execution.
In 25th slide, there are simple calculation codes of impulsion,
and other modifications are of initialization and writing output file about impulsion data variable.
What I focused in was data saving cell, which is outermost or no-slip wall boundary cell.
I needed to identify with which point the parcels collide. So I made an algorithm to accomplish this, see 24th slide. After finding “collision cell,” stack the impulsion vector in the identified cell.
Through this algorithm, the data should be stacked in only the outermost cells, but not in the inner cells. But the result told me “inner cells have data too.”
I couldn’t find the problem.. Please let me know how I can fix this.
I’m sorry, @DOGEONOH , but PowerPoint screen captures of modified code are a very awkward way to look at code. It would be much better to attach output of git diff
Also, as @wdf said, it would be helpful to have some mathematical details. You said you are trying to “calculate impulsion vectors when parcels collide with walls for each parcels”, what is the equation you are using to calculate this?