E3SM-Project / ACME-ECP

E3SM MMF for DoE ECP project
Other
9 stars 1 forks source link

Add derived type to deal with CRM outputs #52

Closed brhillman closed 6 years ago

brhillman commented 6 years ago

Add a derived type (crm_output_type) to handle operations on CRM diagnostic outputs/statistics. This not only helps contain a large number of arrays that were previously being passed as subroutine arguments, but will also allow us to encapsulate operations on the outputs, like aggregating the statistics each timestep. Having all the initialization in one place also significantly cleans up crm_physics_tend().