FieldKit.cpp
FieldKit.cpp copied to clipboard
Iterate over particle once on update
When iterating over the particles on update I have moved the particle iteration to the top level. This reduces the number of particle list iterations to one.
Needs to be done for the OMP loop too although I am uncertain if this will work in this case. Therefore understandable if this is not suitable for FieldKit