Currently, arrays are allocated via reference in 'init_arrays', a subroutine apart of 'roms_init' in main.F This commit works to streamline the initialization process by adding to init_arrays the initialization routines for pipe forcing, river forcing, grid definition, and particles. It is a working version and more is planned to be added. In addition to making the existing init_arrays more readable, the use of ana_grid in the set up of pipes was removed and thus accommodating edits to the example were made.
Currently, arrays are allocated via reference in 'init_arrays', a subroutine apart of 'roms_init' in main.F This commit works to streamline the initialization process by adding to init_arrays the initialization routines for pipe forcing, river forcing, grid definition, and particles. It is a working version and more is planned to be added. In addition to making the existing init_arrays more readable, the use of ana_grid in the set up of pipes was removed and thus accommodating edits to the example were made.