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

Move environment-dependent parameters to rxn data #93

Closed mattldawson closed 5 years ago

mattldawson commented 5 years ago

Per-grid cell parameters should be in the reaction data, but in a separate array from rxn_int_data and rxn_float_data. The new array rxn_cell_data will be arranged by grid cell then by reaction to avoid memory misses as it's scanned during solving.

Sub models and aerosol representations should have the same functionality.