Changeset 10905 for NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP
- Timestamp:
- 2019-04-29T13:50:19+02:00 (5 years ago)
- Location:
- NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/trcini.F90
r10880 r10905 40 40 CONTAINS 41 41 42 SUBROUTINE trc_init 42 SUBROUTINE trc_init( Kbb, Kmm, Kaa ) 43 43 !!--------------------------------------------------------------------- 44 44 !! *** ROUTINE trc_init *** … … 52 52 !! or read data or analytical formulation 53 53 !!--------------------------------------------------------------------- 54 !! Time level indices only required for call to update_pointers_trc 55 !! To be removed after IMMERSE development finished. 56 INTEGER, INTENT( in ) :: Kbb, Kmm, Kaa ! time level indices 54 57 ! 55 58 IF( ln_timing ) CALL timing_start('trc_init') … … 63 66 CALL top_alloc() ! allocate TOP arrays 64 67 65 ! Initialise time level indices66 Nbb = 1; Nnn = 2; Naa = 3; Nrhs = Naa67 68 68 ! Initialisation of temporary pointers (to be deleted after development finished) 69 CALL update_pointers_trc( )69 CALL update_pointers_trc( Kbb, Kmm, Kaa ) 70 70 ! 71 71 IF(.NOT.ln_trcdta ) ln_trc_ini(:) = .FALSE. -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/trcstp.F90
r10880 r10905 32 32 PUBLIC update_pointers_trc ! called in initialisation 33 33 34 !!----------------------------------------------------------------------35 !! time level indices36 !!----------------------------------------------------------------------37 INTEGER, PUBLIC :: Nbb, Nnn, Naa, Nrhs !! used by trc_init38 39 34 LOGICAL :: llnew ! ??? 40 35 REAL(wp) :: rdt_sampl ! ??? … … 50 45 CONTAINS 51 46 52 SUBROUTINE trc_stp( kt )47 SUBROUTINE trc_stp( kt, Kbb, Kmm, Krhs, Kaa ) 53 48 !!------------------------------------------------------------------- 54 49 !! *** ROUTINE trc_stp *** … … 59 54 !! Update the passive tracers 60 55 !!------------------------------------------------------------------- 61 INTEGER, INTENT( in ) :: kt ! ocean time-step index 56 INTEGER, INTENT( in ) :: kt ! ocean time-step index 57 INTEGER, INTENT( in ) :: Kbb, Kmm, Krhs, Kaa ! time level indices 62 58 ! 63 59 INTEGER :: jk, jn ! dummy loop indices … … 106 102 CALL trc_wri ( kt ) ! output of passive tracers with iom I/O manager 107 103 CALL trc_sms ( kt ) ! tracers: sinks and sources 108 CALL trc_trp ( kt, Nbb, Nnn, Nrhs, Naa ) ! transport of passive tracers104 CALL trc_trp ( kt, Kbb, Kmm, Krhs, Kaa ) ! transport of passive tracers 109 105 IF( kt == nittrc000 ) THEN 110 106 CALL iom_close( numrtr ) ! close input tracer restart file … … 131 127 END SUBROUTINE trc_stp 132 128 133 SUBROUTINE update_pointers_trc 129 SUBROUTINE update_pointers_trc( Kbb, Kmm, Kaa ) 134 130 !!---------------------------------------------------------------------- 135 131 !! *** ROUTINE update_pointers_trc *** … … 140 136 !! ** Method : 141 137 !!---------------------------------------------------------------------- 142 143 trb => tr(:,:,:,:,Nbb); trn => tr(:,:,:,:,Nnn); tra => tr(:,:,:,:,Naa) 138 INTEGER, INTENT( in ) :: Kbb, Kmm, Kaa ! time level indices 139 140 trb => tr(:,:,:,:,Kbb); trn => tr(:,:,:,:,Kmm); tra => tr(:,:,:,:,Kaa) 144 141 145 142 END SUBROUTINE update_pointers_trc
Note: See TracChangeset
for help on using the changeset viewer.