Changeset 3648
- Timestamp:
- 2012-11-25T22:37:13+01:00 (12 years ago)
- Location:
- branches/2012/dev_LOCEAN_2012/NEMOGCM/NEMO/OPA_SRC
- Files:
-
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2012/dev_LOCEAN_2012/NEMOGCM/NEMO/OPA_SRC/DOM/daymod.F90
r3294 r3648 32 32 USE ioipsl, ONLY : ymds2ju ! for calendar 33 33 USE prtctl ! Print control 34 USE restart !35 34 USE trc_oce, ONLY : lk_offline ! offline flag 36 35 USE timing ! Timing -
branches/2012/dev_LOCEAN_2012/NEMOGCM/NEMO/OPA_SRC/DOM/istate.F90
r3294 r3648 32 32 USE phycst ! physical constants 33 33 USE dtatsd ! data temperature and salinity (dta_tsd routine) 34 USE restart ! ocean restart (rst_read routine)35 34 USE in_out_manager ! I/O manager 36 35 USE iom ! I/O library -
branches/2012/dev_LOCEAN_2012/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_exp.F90
r3294 r3648 27 27 USE prtctl ! Print control 28 28 USE iom ! I/O library 29 USE restart ! only for lrst_oce30 29 USE timing ! Timing 31 30 -
branches/2012/dev_LOCEAN_2012/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_flt.F90
r3294 r3648 45 45 USE prtctl ! Print control 46 46 USE iom 47 USE restart ! only for lrst_oce48 47 USE lib_fortran 49 48 #if defined key_agrif -
branches/2012/dev_LOCEAN_2012/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_ts.F90
r3294 r3648 41 41 USE in_out_manager ! I/O manager 42 42 USE iom ! IOM library 43 USE restart ! only for lrst_oce44 43 USE zdf_oce ! Vertical diffusion 45 44 USE wrk_nemo ! Memory Allocation -
branches/2012/dev_LOCEAN_2012/NEMOGCM/NEMO/OPA_SRC/DYN/sshwzv.F90
r3294 r3648 20 20 USE divcur ! hor. divergence and curl (div & cur routines) 21 21 USE iom ! I/O library 22 USE restart ! only for lrst_oce23 22 USE in_out_manager ! I/O manager 24 23 USE prtctl ! Print control -
branches/2012/dev_LOCEAN_2012/NEMOGCM/NEMO/OPA_SRC/IOM/in_out_manager.F90
r3294 r3648 80 80 !! was in restart but moved here because of the OFF line... better solution should be found... 81 81 !!---------------------------------------------------------------------- 82 INTEGER :: nitrst !: time step at which restart file should be written 82 INTEGER :: nitrst !: time step at which restart file should be written 83 LOGICAL :: lrst_oce !: logical to control the oce restart write 84 INTEGER :: numror, numrow !: logical unit for cean restart (read and write) 83 85 84 86 !!---------------------------------------------------------------------- -
branches/2012/dev_LOCEAN_2012/NEMOGCM/NEMO/OPA_SRC/IOM/restart.F90
r3294 r3648 24 24 USE trdmld_oce ! ocean active mixed layer tracers trends variables 25 25 USE domvvl ! variable volume 26 USE divcur ! hor. divergence and curl (div & cur routines) 26 27 27 28 IMPLICIT NONE … … 31 32 PUBLIC rst_write ! routine called by step module 32 33 PUBLIC rst_read ! routine called by opa module 33 34 LOGICAL, PUBLIC :: lrst_oce = .FALSE. !: logical to control the oce restart write35 INTEGER, PUBLIC :: numror, numrow !: logical unit for cean restart (read and write)36 34 37 35 !! * Substitutions … … 183 181 ENDIF 184 182 ! 185 CALL iom_get( numror, jpdom_autoglo, 'ub' , ub ) ! before fields 186 CALL iom_get( numror, jpdom_autoglo, 'vb' , vb ) 187 CALL iom_get( numror, jpdom_autoglo, 'tb' , tsb(:,:,:,jp_tem) ) 188 CALL iom_get( numror, jpdom_autoglo, 'sb' , tsb(:,:,:,jp_sal) ) 189 CALL iom_get( numror, jpdom_autoglo, 'rotb' , rotb ) 190 CALL iom_get( numror, jpdom_autoglo, 'hdivb' , hdivb ) 191 CALL iom_get( numror, jpdom_autoglo, 'sshb' , sshb ) 192 IF( lk_vvl ) CALL iom_get( numror, jpdom_autoglo, 'fse3t_b', fse3t_b(:,:,:) ) 193 ! 194 CALL iom_get( numror, jpdom_autoglo, 'un' , un ) ! now fields 195 CALL iom_get( numror, jpdom_autoglo, 'vn' , vn ) 196 CALL iom_get( numror, jpdom_autoglo, 'tn' , tsn(:,:,:,jp_tem) ) 197 CALL iom_get( numror, jpdom_autoglo, 'sn' , tsn(:,:,:,jp_sal) ) 198 CALL iom_get( numror, jpdom_autoglo, 'rotn' , rotn ) 199 CALL iom_get( numror, jpdom_autoglo, 'hdivn' , hdivn ) 200 CALL iom_get( numror, jpdom_autoglo, 'sshn' , sshn ) 201 CALL iom_get( numror, jpdom_autoglo, 'rhop' , rhop ) ! now potential density 183 IF( iom_varid( numror, 'ub', ldstop = .FALSE. ) > 0 ) THEN 184 CALL iom_get( numror, jpdom_autoglo, 'ub' , ub ) ! before fields 185 CALL iom_get( numror, jpdom_autoglo, 'vb' , vb ) 186 CALL iom_get( numror, jpdom_autoglo, 'tb' , tsb(:,:,:,jp_tem) ) 187 CALL iom_get( numror, jpdom_autoglo, 'sb' , tsb(:,:,:,jp_sal) ) 188 CALL iom_get( numror, jpdom_autoglo, 'rotb' , rotb ) 189 CALL iom_get( numror, jpdom_autoglo, 'hdivb' , hdivb ) 190 CALL iom_get( numror, jpdom_autoglo, 'sshb' , sshb ) 191 IF( lk_vvl ) CALL iom_get( numror, jpdom_autoglo, 'fse3t_b', fse3t_b(:,:,:) ) 192 ELSE 193 neuler = 0 194 ENDIF 195 ! 196 CALL iom_get( numror, jpdom_autoglo, 'un' , un ) ! now fields 197 CALL iom_get( numror, jpdom_autoglo, 'vn' , vn ) 198 CALL iom_get( numror, jpdom_autoglo, 'tn' , tsn(:,:,:,jp_tem) ) 199 CALL iom_get( numror, jpdom_autoglo, 'sn' , tsn(:,:,:,jp_sal) ) 200 CALL iom_get( numror, jpdom_autoglo, 'sshn' , sshn ) 201 IF( iom_varid( numror, 'rotn', ldstop = .FALSE. ) > 0 ) THEN 202 CALL iom_get( numror, jpdom_autoglo, 'rotn' , rotn ) 203 CALL iom_get( numror, jpdom_autoglo, 'hdivn' , hdivn ) 204 ELSE 205 CALL div_cur( 0 ) ! Horizontal divergence & Relative vorticity 206 ENDIF 207 IF( iom_varid( numror, 'rhop', ldstop = .FALSE. ) > 0 ) THEN 208 CALL iom_get( numror, jpdom_autoglo, 'rhop' , rhop ) ! now potential density 209 ELSE 210 CALL eos ( tsn, rhd, rhop ) 211 ENDIF 202 212 #if defined key_zdfkpp 203 213 IF( iom_varid( numror, 'rhd', ldstop = .FALSE. ) > 0 ) THEN 204 205 ELSE 206 214 CALL iom_get( numror, jpdom_autoglo, 'rhd' , rhd ) ! now in situ density anomaly 215 ELSE 216 CALL eos( tsn, rhd ) ! compute rhd 207 217 ENDIF 208 218 #endif -
branches/2012/dev_LOCEAN_2012/NEMOGCM/NEMO/OPA_SRC/SBC/sbcapr.F90
r3294 r3648 20 20 USE iom ! IOM library 21 21 USE lib_mpp ! MPP library 22 USE restart ! ocean restart23 22 24 23 IMPLICIT NONE -
branches/2012/dev_LOCEAN_2012/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90
r3647 r3648 41 41 #endif 42 42 USE geo2ocean ! 43 USE restart !44 43 USE oce , ONLY : tsn, un, vn 45 44 USE albedo ! -
branches/2012/dev_LOCEAN_2012/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90
r3421 r3648 45 45 46 46 USE prtctl ! Print control (prt_ctl routine) 47 USE restart ! ocean restart48 47 USE iom ! IOM library 49 48 USE in_out_manager ! I/O manager -
branches/2012/dev_LOCEAN_2012/NEMOGCM/NEMO/OPA_SRC/SBC/sbcrnf.F90
r3421 r3648 21 21 USE closea ! closed seas 22 22 USE fldread ! read input field at current time step 23 USE restart ! restart24 23 USE in_out_manager ! I/O manager 25 24 USE iom ! I/O module -
branches/2012/dev_LOCEAN_2012/NEMOGCM/NEMO/OPA_SRC/SBC/sbcssm.F90
r3294 r3648 18 18 USE sbcapr ! surface boundary condition: atmospheric pressure 19 19 USE prtctl ! Print control (prt_ctl routine) 20 USE restart ! ocean restart21 20 USE iom 22 21 USE in_out_manager ! I/O manager -
branches/2012/dev_LOCEAN_2012/NEMOGCM/NEMO/OPA_SRC/TRA/traadv_cen2.F90
r3294 r3648 29 29 USE diaptr ! poleward transport diagnostics 30 30 USE zdf_oce ! ocean vertical physics 31 USE restart ! ocean restart32 31 USE trc_oce ! share passive tracers/Ocean variables 33 32 USE lib_mpp ! MPP library -
branches/2012/dev_LOCEAN_2012/NEMOGCM/NEMO/OPA_SRC/TRA/traqsr.F90
r3294 r3648 27 27 USE iom ! I/O manager 28 28 USE fldread ! read input fields 29 USE restart ! ocean restart30 29 USE lib_mpp ! MPP library 31 30 USE wrk_nemo ! Memory Allocation -
branches/2012/dev_LOCEAN_2012/NEMOGCM/NEMO/OPA_SRC/TRA/trasbc.F90
r3294 r3648 23 23 USE in_out_manager ! I/O manager 24 24 USE prtctl ! Print control 25 USE restart ! ocean restart26 25 USE sbcrnf ! River runoff 27 26 USE sbcmod ! ln_rnf -
branches/2012/dev_LOCEAN_2012/NEMOGCM/NEMO/OPA_SRC/TRD/trdmld.F90
r3294 r3648 36 36 USE trdmld_rst ! restart for diagnosing the ML trends 37 37 USE prtctl ! Print control 38 USE restart ! for lrst_oce39 38 USE lib_mpp ! MPP library 40 39 USE wrk_nemo ! Memory allocation -
branches/2012/dev_LOCEAN_2012/NEMOGCM/NEMO/OPA_SRC/TRD/trdmld_rst.F90
r2528 r3648 12 12 USE in_out_manager ! I/O manager 13 13 USE iom ! I/O module 14 USE restart ! only for lrst_oce15 14 16 15 IMPLICIT NONE -
branches/2012/dev_LOCEAN_2012/NEMOGCM/NEMO/OPA_SRC/ZDF/zdfgls.F90
r3294 r3648 23 23 USE phycst ! physical constants 24 24 USE zdfmxl ! mixed layer 25 USE restart ! only for lrst_oce26 25 USE lbclnk ! ocean lateral boundary conditions (or mpp link) 27 26 USE lib_mpp ! MPP manager -
branches/2012/dev_LOCEAN_2012/NEMOGCM/NEMO/OPA_SRC/ZDF/zdfini.F90
r2715 r3648 26 26 USE tranpc ! convection: non penetrative adjustment 27 27 USE ldfslp ! iso-neutral slopes 28 USE restart ! ocean restart29 28 30 29 USE in_out_manager ! I/O manager -
branches/2012/dev_LOCEAN_2012/NEMOGCM/NEMO/OPA_SRC/ZDF/zdftke.F90
r3406 r3648 44 44 USE zdf_oce ! vertical physics: ocean variables 45 45 USE zdfmxl ! vertical physics: mixed layer 46 USE restart ! ocean restart47 46 USE lbclnk ! ocean lateral boundary conditions (or mpp link) 48 47 USE prtctl ! Print control -
branches/2012/dev_LOCEAN_2012/NEMOGCM/NEMO/OPA_SRC/step_oce.F90
r3294 r3648 95 95 96 96 USE stpctl ! time stepping control (stp_ctl routine) 97 USE restart ! ocean restart (rst_wri routine)98 97 USE prtctl ! Print control (prt_ctl routine) 99 98
Note: See TracChangeset
for help on using the changeset viewer.