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

Restructure reading of simulation input in partmc.F90 #184

Closed jcurtis2 closed 5 months ago

jcurtis2 commented 1 year ago

As suggested in https://github.com/open-atmos/PyPartMC/pull/191, it would be cleaner and beneficial to restructure input reading code found in partmc.F90 to a new place to avoid code duplication in PyPartMC (and possibly other applications) and clean up partmc_part()

https://github.com/compdyn/partmc/blob/a5bfbe1b4b2d23c3105d8917b2eab8b9e2a02034/src/partmc.F90#L456-L625

This is similar to how https://github.com/compdyn/partmc/pull/176 cleans up much of the time stepping in run_part.F90