compdyn / partmc

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

Change update data objects to include index for model element #102

Closed mattldawson closed 4 years ago

mattldawson commented 4 years ago

Now that reactions, aerosol representations, and sub models have arrays of pointers to their data available during solving, update the update_data_t objects to include this index and avoid scanning all models elements during updates.