- Timestamp:
- 2016-11-01T14:23:51+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2016/dev_r7012_ROBUST5_CNRS/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90
r6722 r7162 20 20 USE dom_oce ! ocean space and time domain 21 21 USE sbc_oce ! Surface boundary condition: ocean fields 22 USE trc_oce ! share SMS/Ocean variables 22 23 USE sbc_ice ! Surface boundary condition: ice fields 23 24 USE sbcapr ! Stochastic param. : ??? … … 36 37 USE albedo ! 37 38 USE eosbn2 ! 38 USE sbcrnf , ONLY : l_rnfcpl 39 #if defined key_cpl_carbon_cycle 40 USE p4zflx, ONLY : oce_co2 41 #endif 39 USE sbcrnf, ONLY : l_rnfcpl 42 40 #if defined key_cice 43 41 USE ice_domain_size, only: ncat … … 467 465 ! ! Atmospheric CO2 ! 468 466 ! ! ------------------------- ! 469 srcv(jpr_co2 )%clname = 'O_AtmCO2' ; IF( TRIM(sn_rcv_co2%cldes ) == 'coupled' ) srcv(jpr_co2 )%laction = .TRUE. 467 srcv(jpr_co2 )%clname = 'O_AtmCO2' 468 IF( TRIM(sn_rcv_co2%cldes ) == 'coupled' ) THEN 469 srcv(jpr_co2 )%laction = .TRUE. 470 l_co2cpl = .TRUE. 471 IF(lwp) WRITE(numout,*) 472 IF(lwp) WRITE(numout,*) ' Atmospheric pco2 received from oasis ' 473 IF(lwp) WRITE(numout,*) 474 ENDIF 470 475 ! ! ------------------------- ! 471 476 ! ! topmelt and botmelt ! … … 984 989 ENDIF 985 990 986 #if defined key_cpl_carbon_cycle987 991 ! ! ================== ! 988 992 ! ! atmosph. CO2 (ppm) ! 989 993 ! ! ================== ! 990 994 IF( srcv(jpr_co2)%laction ) atm_co2(:,:) = frcv(jpr_co2)%z3(:,:,1) 991 #endif992 995 993 996 ! Fields received by SAS when OASIS coupling … … 1919 1922 IF( ssnd(jps_hsnw)%laction ) CALL cpl_snd( jps_hsnw, isec, ztmp4, info ) 1920 1923 ENDIF 1921 !1922 #if defined key_cpl_carbon_cycle1923 1924 ! ! ------------------------- ! 1924 1925 ! ! CO2 flux from PISCES ! 1925 1926 ! ! ------------------------- ! 1926 IF( ssnd(jps_co2)%laction ) CALL cpl_snd( jps_co2, isec, RESHAPE ( oce_co2, (/jpi,jpj,1/) ) , info ) 1927 ! 1928 #endif 1927 IF( ssnd(jps_co2)%laction .AND. l_co2cpl ) CALL cpl_snd( jps_co2, isec, RESHAPE ( oce_co2, (/jpi,jpj,1/) ) , info ) 1928 ! 1929 1929 ! ! ------------------------- ! 1930 1930 IF( ssnd(jps_ocx1)%laction ) THEN ! Surface current !
Note: See TracChangeset
for help on using the changeset viewer.