Divided the subroutine where the vertical grid structure is calculated into smaller ones, and removed some unneccesary code.
separate subroutine for the sleve coordinate, and one for all non-sleve vertical coordinates.
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.
[ ] Closes issue #xxxx (An issue must exist or be created to be closed. The
issue describes and documents the problem and general solution, the PR
describes the technical details of the solution.)
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.