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

create functions for variables that appear in multiple portions of code #51

Open jcurtis2 opened 8 years ago

jcurtis2 commented 8 years ago

Some quantities are computed in multiple areas of the code and should be consolidated down to a function call for consistency. Example:

Viscosities and mean free path are computed in various areas - brownian coagulation kernels and dry deposition. These should be replaced with function calls.

In a corresponding change, dynamic viscosity is also located in the constants.F90 and should be removed. It is not currently being used and the function be used to compute it in the future.

Will find and add all such variables here.