Changeset 11527 for NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/TRP/trctrp.F90
- Timestamp:
- 2019-09-10T17:46:18+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/TRP/trctrp.F90
r11480 r11527 53 53 !! - Update the passive tracers 54 54 !!---------------------------------------------------------------------- 55 INTEGER, INTENT( in 56 INTEGER, INTENT( in out ) :: Kbb, Kmm, Krhs, Kaa ! TOP time level indices (swapped in this routine)55 INTEGER, INTENT( in ) :: kt ! ocean time-step index 56 INTEGER, INTENT( in ) :: Kbb, Kmm, Krhs, Kaa ! time level indices (not swapped in this routine) 57 57 !! --------------------------------------------------------------------- 58 58 ! … … 80 80 CALL trc_atf ( kt, Kbb, Kmm, Kaa , tr ) ! time filtering of "now" tracer fields 81 81 ! 82 ! Swap TOP time levels (= Nrhs_trc, Nbb_trc etc) 83 Krhs = Kbb 84 Kbb = Kmm 85 Kmm = Kaa 86 Kaa = Krhs 82 ! Subsequent calls use the filtered values: Kmm and Kaa 83 ! These are used explicitly here since time levels will not be swapped until after tra_atf/dyn_atf/ssh_atf in stp 87 84 ! 88 IF( ln_trcrad ) CALL trc_rad ( kt, K bb, Kmm, tr ) ! Correct artificial negative concentrations89 IF( ln_trcdmp_clo ) CALL trc_dmp_clo( kt, K bb, Kmm) ! internal damping trends on closed seas only85 IF( ln_trcrad ) CALL trc_rad ( kt, Kmm, Kaa, tr ) ! Correct artificial negative concentrations 86 IF( ln_trcdmp_clo ) CALL trc_dmp_clo( kt, Kmm, Kaa ) ! internal damping trends on closed seas only 90 87 91 88 ! … … 96 93 CALL trc_atf( kt, Kbb, Kmm, Kaa , tr ) ! time filtering of "now" tracer fields 97 94 ! 98 ! Swap TOP time levels (= Nrhs_trc, Nbb_trc etc) 99 Krhs = Kbb 100 Kbb = Kmm 101 Kmm = Kaa 102 Kaa = Krhs 95 ! Subsequent calls use the filtered values: Kmm and Kaa 96 ! These are used explicitly here since time levels will not be swapped until after tra_atf/dyn_atf/ssh_atf in stp 103 97 ! 104 IF( ln_trcrad ) CALL trc_rad( kt, K bb, Kmm, tr ) ! Correct artificial negative concentrations98 IF( ln_trcrad ) CALL trc_rad( kt, Kmm, Kaa, tr ) ! Correct artificial negative concentrations 105 99 ! 106 100 END IF
Note: See TracChangeset
for help on using the changeset viewer.