Changeset 14 for trunk/NEMO
- Timestamp:
- 2004-02-17T08:20:06+01:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/cpl_oce.F90
r3 r14 27 27 LOGICAL, PUBLIC, PARAMETER :: lk_cpl = .TRUE. !: coupled flag 28 28 29 INTEGER, PARAMETER :: & 29 INTEGER, PARAMETER :: & !: 30 30 jpmaxfld = 40 & !: Number of maximum fields exchange betwwen 31 31 ! ! the ocean and the coupler … … 35 35 !! ----------- 36 36 37 INTEGER, PARAMETER :: & 37 INTEGER, PARAMETER :: & !: 38 38 jpbyteint = 4, & !: number of bytes per integer 39 39 jpbyterea = 8, & !: number of bytes per real 40 40 jpbytecha = 1 !: number of bytes per character 41 41 42 INTEGER, PARAMETER :: & 42 INTEGER, PARAMETER :: & !: 43 43 jptest = 100 & !: The models will test during 2*jptest 44 44 ! ! seconds if the file DUMMY_SIPC has been … … 50 50 !! ----------- 51 51 52 INTEGER, PARAMETER :: & 52 INTEGER, PARAMETER :: & !: 53 53 jpread = 0, & !: 54 54 jpwrit = 1 !: … … 209 209 210 210 # if defined key_ice_lim 211 REAL(wp), DIMENSION(jpi,jpj) :: & 211 REAL(wp), DIMENSION(jpi,jpj) :: & !: 212 212 watm , & !: 213 213 tatm , & !: … … 219 219 !! Coupling 220 220 221 INTEGER :: 222 npioc , & ! process-id of ocean PROGRAM 223 nexco , & ! exchange frequency for fluxes 224 nmodcpl , & ! coupling mode 225 nflxc2o , & ! fluxes field number coupler to ocean 226 ntauc2o , & ! stress field number coupler to ocean 227 nfldo2c ! surface field number ocean to coupler 228 INTEGER :: 229 numlhf = 31 , & ! unit to transfer fluxes 230 numlws = 32 , & ! unit to transfer stress 231 numlts = 34 , & ! unit to transfer sst 232 numlic = 35 ! unit to transfer ice cover 233 234 CHARACTER(len=4) :: cchan ! type of message passing (pipe or clim) 235 CHARACTER(len=6) :: cplmodnam ! model name 236 CHARACTER(len=5) :: cploasis ! coupler name 237 238 CHARACTER(len=8), DIMENSION(jpmaxfld) :: 239 cpl_f_readflx, & ! coupler to ocean file name for flx.coupled 240 cpl_f_readtau, & ! coupler to ocean file name for tau.coupled 241 cpl_f_writ , & ! ocean to coupler file name for stp_cmo 242 cpl_readflx , & ! coupler to ocean field name for flx.coupled 243 cpl_readtau , & ! coupler to ocean field name for tau.coupled 244 cpl_writ ! ocean to coupler field name for stp_cmo 245 246 REAL(wp), DIMENSION(jpi,jpj) :: & 247 sstoc, & ! work array to average sst 248 sieoc, & ! work array to average Ice index 249 alboc, & ! work array to average Ice Albedo 250 ticoc ! work array to average Ice temperature 221 INTEGER :: & !: 222 npioc , & !: process-id of ocean PROGRAM 223 nexco , & !: exchange frequency for fluxes 224 nmodcpl , & !: coupling mode 225 nflxc2o , & !: fluxes field number coupler to ocean 226 ntauc2o , & !: stress field number coupler to ocean 227 nfldo2c !: surface field number ocean to coupler 228 229 CHARACTER(len=4) :: cchan !: type of message passing (pipe or clim) 230 CHARACTER(len=6) :: cplmodnam !: model name 231 CHARACTER(len=5) :: cploasis !: coupler name 232 233 CHARACTER(len=8), DIMENSION(jpmaxfld) :: & !: 234 cpl_f_readflx, & !: coupler to ocean file name for flx.coupled 235 cpl_f_readtau, & !: coupler to ocean file name for tau.coupled 236 cpl_f_writ , & !: ocean to coupler file name for stp_cmo 237 cpl_readflx , & !: coupler to ocean field name for flx.coupled 238 cpl_readtau , & !: coupler to ocean field name for tau.coupled 239 cpl_writ !: ocean to coupler field name for stp_cmo 240 241 REAL(wp), DIMENSION(jpi,jpj) :: & !: 242 sstoc, & !: work array to average sst 243 sieoc, & !: work array to average Ice index 244 alboc, & !: work array to average Ice Albedo 245 ticoc !: work array to average Ice temperature 251 246 252 247 … … 255 250 !! variables describing pools formed of shared memory segments 256 251 257 INTEGER :: & 258 mpoolinitr, & ! handles associated to model pools for passing 259 mpoolinitw ! initial info (r=read, w=write) 260 261 INTEGER, DIMENSION(jpmaxfld) :: 262 mpoolwrit, & ! handles associated to pools used to pass fields 263 ! ! exchanged from model to coupler 264 ! ! (see libsipc/SIPC_Write_Model.f) 265 mpoolread ! handles associated to pools used to pass fields 266 ! ! exchanged from model to coupler 267 ! ! (see libsipc/SIPC_Read_Model.f) 252 INTEGER :: & !: 253 mpoolinitr, & !: handles associated to model pools for passing 254 mpoolinitw !: initial info (r=read, w=write) 255 256 INTEGER, DIMENSION(jpmaxfld) :: & !: 257 mpoolwrit, & !: handles associated to pools used to pass fields 258 ! ! exchanged from model to coupler 259 ! ! (see libsipc/SIPC_Write_Model.f) 260 mpoolread !: handles associated to pools used to pass fields 261 ! ! exchanged from model to coupler 262 ! ! (see libsipc/SIPC_Read_Model.f) 263 268 264 #else 269 265 !!---------------------------------------------------------------------- … … 271 267 !!---------------------------------------------------------------------- 272 268 !! Empty module 273 LOGICAL, PUBLIC, PARAMETER :: lk_cpl = .FALSE. 269 LOGICAL, PUBLIC, PARAMETER :: lk_cpl = .FALSE. !: coupled flag 274 270 #endif 271 275 272 !!---------------------------------------------------------------------- 276 273 END MODULE cpl_oce
Note: See TracChangeset
for help on using the changeset viewer.