Finalize MPAS dynamical core as well as its framework. (KCW, 2024-10-04)
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=*), | private, | parameter | :: | subname | = | 'dyn_comp::dyn_final' |
subroutine dyn_final() ! Module(s) from CAM-SIMA. use cam_logfile, only: debugout_debug, debugout_info character(*), parameter :: subname = 'dyn_comp::dyn_final' call dyn_debug_print(debugout_debug, subname // ' entered') call dyn_debug_print(debugout_info, 'Finalizing MPAS dynamical core') ! Quick hack for dumping variables from MPAS dynamical core. ! Remove it once history and restart are wired up in CAM-SIMA. call dyn_variable_dump() ! After this point, do not access anything under MPAS dynamical core or runtime errors will ensue. call mpas_dynamical_core % final() call dyn_debug_print(debugout_debug, subname // ' completed') end subroutine dyn_final