Changeset 9313 for branches/UKMO/dev_r5518_new_runoff_coupling/NEMOGCM/NEMO/OPA_SRC/SBC/cpl_oasis3.F90
- Timestamp:
- 2018-02-08T15:41:43+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_new_runoff_coupling/NEMOGCM/NEMO/OPA_SRC/SBC/cpl_oasis3.F90
r9242 r9313 31 31 USE in_out_manager ! I/O manager 32 32 USE lbclnk ! ocean lateral boundary conditions (or mpp link) 33 USE cpl_rnf_1d, ONLY: nn_cpl_river, runoff_id ! Variables used in 1D river outflow 33 34 34 35 IMPLICIT NONE … … 68 69 INTEGER, PUBLIC, PARAMETER :: nmaxcat=5 ! Maximum number of coupling fields 69 70 INTEGER, PUBLIC, PARAMETER :: nmaxcpl=5 ! Maximum number of coupling fields 70 INTEGER, PUBLIC, PARAMETER :: n_rivers=2000 ! Total number of rivers in coupled runoff using 1D array 71 72 INTEGER, PUBLIC :: runoff_id 71 72 73 73 74 74 TYPE, PUBLIC :: FLD_CPL !: Type for coupling field information … … 206 206 paral(1) = 0 ! serial partitioning 207 207 paral(2) = 0 208 paral(3) = n _rivers! size of array to couple208 paral(3) = nn_cpl_river ! size of array to couple 209 209 paral(4) = 0 210 210 paral(5) = 0 211 211 212 CALL oasis_def_partition ( id_part_rnf_1d, paral, nerror, n _rivers)212 CALL oasis_def_partition ( id_part_rnf_1d, paral, nerror, nn_cpl_river ) 213 213 214 214 ! ... Announce send variables. … … 305 305 ! Define coupled river runoff using 1D array 306 306 CALL oasis_def_var (runoff_id, 'runoffo', id_part_rnf_1d , (/ 1, 0 /), & 307 & OASIS_In , (/ 1, n _rivers/) , OASIS_REAL, nerror )307 & OASIS_In , (/ 1, nn_cpl_river /) , OASIS_REAL, nerror ) 308 308 IF ( nerror /= OASIS_Ok ) THEN 309 309 WRITE(numout,*) 'Failed to define transient runoffo'
Note: See TracChangeset
for help on using the changeset viewer.