igfuw / libcloudphxx

libcloudphysics++ - a library of algorithms for representing cloud microphysics in numerical models
http://libcloudphxx.igf.fuw.edu.pl/
Other
20 stars 20 forks source link

optimise i, j, k and ijk update after rcyc #118

Open pdziekan opened 9 years ago

pdziekan commented 9 years ago

Right now if any particles were recycled, i, j, k and ijk vectors are updated for all particles. Instead, their values during recycling could be set to undefined and later updated.

slayoo commented 9 years ago

(same mechanism is now used for invalidating v_term during coalescence)