Changes between Version 1 and Version 2 of 2019WP/KERNEL-02_Storkey_Coward_IMMERSE_first_steps/Report
- Timestamp:
- 2019-12-04T17:33:13+01:00 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
2019WP/KERNEL-02_Storkey_Coward_IMMERSE_first_steps/Report
v1 v2 85 85 Notes: 86 86 87 Exceptions had to be made to the passing of time-levels through subroutine arguments for 88 AGRIF routines. The time-levels need to be known in some of the routines in the NST 89 directory but these routines are called by several layers of generated interfaces and passing 90 arguments all the way down the calling chain proved problematic. The less-invasive solution 91 was to allow agrif_oce.F90 to store its own copies of the time-level variables within it�s own 92 module. These copies are used within AGRIF routines and need to be set prior to calling the 93 AGRIF routines. 94 87 * Exceptions had to be made to the passing of time-levels through subroutine arguments for AGRIF routines. The time-levels need to be known in some of the routines in the NST directory but these routines are called by several layers of generated interfaces and passing arguments all the way down the calling chain proved problematic. The less-invasive solution was to allow agrif_oce.F90 to store its own copies of the time-level variables within it's own module. These copies are used within AGRIF routines and need to be set prior to calling the AGRIF routines. 95 88 {{{ 96 89 agrif_oce.F90: … … 99 92 }}} 100 93 101 These are typically set in nemogcm and step: 102 94 These are typically set in nemogcm and step: 103 95 {{{ 104 96 Kbb_a = Nbb; Kmm_a = Nnn; Krhs_a = Nrhs 105 97 }}} 106 98 107 Or can be set explicitly before a call to an AGRIF routine:99 Or can be set explicitly before a call to an AGRIF routine: 108 100 {{{ 109 101 ./DYN/sshwzv.F90: … … 128 120 129 121 The "nxt" modules and routines are renamed to reflect the fact that their main function is 130 now just to do the Asselin time filtering, so dynnxt.F90 ? dynatf.F90, dyn_nxt ?dyn_atf etc.122 now just to do the Asselin time filtering, so dynnxt.F90 ? dynatf.F90, dyn_nxt -> dyn_atf etc. 131 123 Note that other functionality apart from the filtering and the time-level swapping has been 132 124 retained in the "atf" routines; for example the code to adjust the barotropic part of the