NCAR / icar

The Intermediate Complexity Atmospheric Research model (ICAR)
MIT License
72 stars 53 forks source link

domain_obj.f90 code cleanup: separted subroutines related tothe verti… #108

Closed bertjebertjek closed 2 years ago

bertjebertjek commented 2 years ago

Divided the subroutine where the vertical grid structure is calculated into smaller ones, and removed some unneccesary code.

TYPE: no impact

KEYWORDS: code cleanup

SOURCE: Bert Kruyt, NCAR

DESCRIPTION OF CHANGES: initialize core variables is split up into several smaller subroutines.

TESTS CONDUCTED: compiled and runs like before.

NOTES: May at some point need to overhaul the domain_obj and domain_h files and structure, as the former is getting rather large. More of a nice-to-have issue than a high priority one.

Checklist

Merging the PR depends on following checklist being completed. Add X between each of the square brackets if they are completed in the PR itself. If a bullet is not relevant to you, please comment on why below the bullet.