CESR-lab / ucla-roms

GNU General Public License v3.0
5 stars 11 forks source link

New branch working to streamline initialization #47

Open garrettstaller opened 1 month ago

garrettstaller commented 1 month ago

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.