compdyn / partmc

Particle-resolved stochastic atmospheric aerosol model
http://lagrange.mechse.illinois.edu/partmc/
GNU General Public License v2.0
28 stars 16 forks source link

Halving and doubling #8

Closed jcurtis2 closed 9 years ago

jcurtis2 commented 9 years ago

Code halves and doubles when halving and doubling is off.

Code can halve and double. Or code can try to maintain ideal number of particles. Example: 10000 is the n part ideal. You 4600 particles which can double to get to 9200 or be balanced to 10000 (and scale weight appropriately)

mwest1066 commented 9 years ago

Fixed in 52ee6340f84fbc64bfde12b5d2b559661a5ea1e9