Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement and finish MPAS dynamical core initialization (ESCOMP#267)
This PR implements the `dyn_init` subroutine, which is responsible for initializing MPAS dynamical core by one of the following methods: 1. Setting analytic initial condition. 2. Reading initial condition from a file. 3. Restarting from a file. This should be the last step of MPAS dynamical core initialization. After this PR, MPAS dynamical core is ready for time integration. ## Implementation notes: * More elaborate error checking for the allocation of constituents. * Support for deferring the definition of constituents until run-time. There are no longer assumptions about the index order or position of constituents. * Accessor functions/subroutines for querying: * Local mesh dimensions. * Constituent names and indexes. * Mapping between constituent indexes and MPAS scalar indexes. * Enhancements that enable constructing an arbitrary list of variables to input/output data to/from MPAS dynamical core. * Enhancements and fixes for handling ordinary variables and variable arrays during input. * Finish MPAS dynamical core initialization.
- Loading branch information