Changeset 12689
- Timestamp:
- 2020-04-06T14:44:27+02:00 (3 years ago)
- Location:
- NEMO/branches/UKMO/NEMO_4.0.1_icesheet_and_river_coupling/src/OCE/SBC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/UKMO/NEMO_4.0.1_icesheet_and_river_coupling/src/OCE/SBC/sbc_oce.F90
r12576 r12689 136 136 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: atm_co2 !: atmospheric pCO2 [ppm] 137 137 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: xcplmask !: coupling mask for ln_mixcpl (warning: allocated in sbccpl) 138 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: greenland_icesheet_mas s_array, greenland_icesheet_mask139 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: antarctica_icesheet_mas s_array, antarctica_icesheet_mask138 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: greenland_icesheet_mask 139 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: antarctica_icesheet_mask 140 140 141 141 !!---------------------------------------------------------------------- … … 212 212 & ssv_m (jpi,jpj) , sss_m(jpi,jpj) , ssh_m(jpi,jpj) , STAT=ierr(4) ) 213 213 ! 214 ALLOCATE( greenland_icesheet_mass_array(jpi,jpj) , antarctica_icesheet_mass_array(jpi,jpj) )215 214 ALLOCATE( greenland_icesheet_mask(jpi,jpj) , antarctica_icesheet_mask(jpi,jpj) ) 216 215 ! -
NEMO/branches/UKMO/NEMO_4.0.1_icesheet_and_river_coupling/src/OCE/SBC/sbccpl.F90
r12675 r12689 501 501 502 502 srcv(jpr_grnm )%clname = 'OGrnmass' 503 IF( TRIM( sn_rcv_grnm%cldes ) == 'coupled' .OR. TRIM( sn_rcv_grnm%cldes ) == 'coupled0d' ) srcv(jpr_grnm)%laction = .TRUE. 504 IF( TRIM( sn_rcv_grnm%cldes ) == 'coupled0d' ) srcv(jpr_grnm )%dimensions = 0 ! Scalar field 503 IF( TRIM( sn_rcv_grnm%cldes ) == 'coupled' ) THEN 504 srcv(jpr_grnm)%laction = .TRUE. 505 srcv(jpr_grnm)%dimensions = 0 ! Scalar field 506 ENDIF 505 507 506 508 srcv(jpr_antm )%clname = 'OAntmass' 507 IF( TRIM( sn_rcv_antm%cldes ) == 'coupled' .OR. TRIM( sn_rcv_antm%cldes ) == 'coupled0d' ) srcv(jpr_antm)%laction = .TRUE. 508 IF( TRIM( sn_rcv_antm%cldes ) == 'coupled0d' ) srcv(jpr_antm )%dimensions = 0 ! Scalar field 509 IF( TRIM( sn_rcv_antm%cldes ) == 'coupled' ) THEN 510 srcv(jpr_antm)%laction = .TRUE. 511 srcv(jpr_antm)%dimensions = 0 ! Scalar field 512 ENDIF 513 509 514 srcv(jpr_isf)%clname = 'OIcshelf' ; IF( TRIM( sn_rcv_isf%cldes) == 'coupled' ) srcv(jpr_isf)%laction = .TRUE. 510 515 srcv(jpr_icb)%clname = 'OIceberg' ; IF( TRIM( sn_rcv_icb%cldes) == 'coupled' ) srcv(jpr_icb)%laction = .TRUE. … … 1112 1117 antarctica_icesheet_mask = 0.0 1113 1118 WHERE( gphit < 0.0 ) antarctica_icesheet_mask = 1.0 1114 1115 ! initialise other variables 1116 greenland_icesheet_mass_array(:,:) = 0.0 1117 antarctica_icesheet_mass_array(:,:) = 0.0 1118 1119 1119 1120 IF( .not. ln_rstart ) THEN 1120 1121 greenland_icesheet_mass = 0.0
Note: See TracChangeset
for help on using the changeset viewer.