Changeset 14227 for NEMO/trunk/src/OCE/SBC/sbccpl.F90
- Timestamp:
- 2020-12-20T12:57:00+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/OCE/SBC/sbccpl.F90
r14100 r14227 157 157 INTEGER, PARAMETER :: jps_rnf = 24 ! runoffs 158 158 INTEGER, PARAMETER :: jps_taum = 25 ! wind stress module 159 INTEGER, PARAMETER :: jps_fice2 = 26 ! ice fraction sent to O PA (by SAS when doing SAS-OPAcoupling)159 INTEGER, PARAMETER :: jps_fice2 = 26 ! ice fraction sent to OCE (by SAS when doing SAS-OCE coupling) 160 160 INTEGER, PARAMETER :: jps_e3t1st = 27 ! first level depth (vvl) 161 161 INTEGER, PARAMETER :: jps_fraqsr = 28 ! fraction of solar net radiation absorbed in the first ocean level … … 706 706 ! 707 707 ! ! ------------------------------- ! 708 ! ! O PA-SAS coupling - rcv by opa !708 ! ! OCE-SAS coupling - rcv by opa ! 709 709 ! ! ------------------------------- ! 710 710 srcv(jpr_sflx)%clname = 'O_SFLX' 711 711 srcv(jpr_fice)%clname = 'RIceFrc' 712 712 ! 713 IF( nn_components == jp_iam_o pa ) THEN ! OPA coupled to SAS via OASIS: force received field by OPA(sent by SAS)713 IF( nn_components == jp_iam_oce ) THEN ! OCE coupled to SAS via OASIS: force received field by OCE (sent by SAS) 714 714 srcv(:)%laction = .FALSE. ! force default definition in case of opa <-> sas coupling 715 715 srcv(:)%clgrid = 'T' ! force default definition in case of opa <-> sas coupling … … 727 727 IF(lwp) THEN ! control print 728 728 WRITE(numout,*) 729 WRITE(numout,*)' Special conditions for SAS-O PAcoupling '730 WRITE(numout,*)' O PAcomponent '729 WRITE(numout,*)' Special conditions for SAS-OCE coupling ' 730 WRITE(numout,*)' OCE component ' 731 731 WRITE(numout,*) 732 732 WRITE(numout,*)' received fields from SAS component ' … … 742 742 ENDIF 743 743 ! ! -------------------------------- ! 744 ! ! O PA-SAS coupling - rcv by sas !744 ! ! OCE-SAS coupling - rcv by sas ! 745 745 ! ! -------------------------------- ! 746 746 srcv(jpr_toce )%clname = 'I_SSTSST' … … 762 762 ! Vectors: change of sign at north fold ONLY if on the local grid 763 763 srcv(jpr_ocx1:jpr_ocy1)%nsgn = -1. 764 ! Change first letter to couple with atmosphere if already coupled O PA764 ! Change first letter to couple with atmosphere if already coupled OCE 765 765 ! this is nedeed as each variable name used in the namcouple must be unique: 766 ! for example O_Runoff received by O PAfrom SAS and therefore S_Runoff received by SAS from the Atmosphere766 ! for example O_Runoff received by OCE from SAS and therefore S_Runoff received by SAS from the Atmosphere 767 767 DO jn = 1, jprcv 768 768 IF( srcv(jn)%clname(1:1) == "O" ) srcv(jn)%clname = "S"//srcv(jn)%clname(2:LEN(srcv(jn)%clname)) … … 771 771 IF(lwp) THEN ! control print 772 772 WRITE(numout,*) 773 WRITE(numout,*)' Special conditions for SAS-O PAcoupling '773 WRITE(numout,*)' Special conditions for SAS-OCE coupling ' 774 774 WRITE(numout,*)' SAS component ' 775 775 WRITE(numout,*) 776 776 IF( .NOT. ln_cpl ) THEN 777 WRITE(numout,*)' received fields from O PAcomponent '777 WRITE(numout,*)' received fields from OCE component ' 778 778 ELSE 779 WRITE(numout,*)' Additional received fields from O PAcomponent : '779 WRITE(numout,*)' Additional received fields from OCE component : ' 780 780 ENDIF 781 781 WRITE(numout,*)' sea surface temperature (Celsius) ' … … 1028 1028 1029 1029 ! ! ------------------------------- ! 1030 ! ! O PA-SAS coupling - snd by opa !1030 ! ! OCE-SAS coupling - snd by opa ! 1031 1031 ! ! ------------------------------- ! 1032 1032 ssnd(jps_ssh )%clname = 'O_SSHght' … … 1035 1035 ssnd(jps_fraqsr)%clname = 'O_FraQsr' 1036 1036 ! 1037 IF( nn_components == jp_iam_o pa) THEN1037 IF( nn_components == jp_iam_oce ) THEN 1038 1038 ssnd(:)%laction = .FALSE. ! force default definition in case of opa <-> sas coupling 1039 1039 ssnd( (/jps_toce, jps_soce, jps_ssh, jps_fraqsr, jps_ocx1, jps_ocy1/) )%laction = .TRUE. … … 1059 1059 ENDIF 1060 1060 ! ! ------------------------------- ! 1061 ! ! O PA-SAS coupling - snd by sas !1061 ! ! OCE-SAS coupling - snd by sas ! 1062 1062 ! ! ------------------------------- ! 1063 1063 ssnd(jps_sflx )%clname = 'I_SFLX' … … 1077 1077 ! Change first letter to couple with atmosphere if already coupled with sea_ice 1078 1078 ! this is nedeed as each variable name used in the namcouple must be unique: 1079 ! for example O_SSTSST sent by O PAto SAS and therefore S_SSTSST sent by SAS to the Atmosphere1079 ! for example O_SSTSST sent by OCE to SAS and therefore S_SSTSST sent by SAS to the Atmosphere 1080 1080 DO jn = 1, jpsnd 1081 1081 IF( ssnd(jn)%clname(1:1) == "O" ) ssnd(jn)%clname = "S"//ssnd(jn)%clname(2:LEN(ssnd(jn)%clname)) … … 1085 1085 WRITE(numout,*) 1086 1086 IF( .NOT. ln_cpl ) THEN 1087 WRITE(numout,*)' sent fields to O PAcomponent '1087 WRITE(numout,*)' sent fields to OCE component ' 1088 1088 ELSE 1089 WRITE(numout,*)' Additional sent fields to O PAcomponent : '1089 WRITE(numout,*)' Additional sent fields to OCE component : ' 1090 1090 ENDIF 1091 1091 WRITE(numout,*)' ice cover ' … … 1525 1525 ENDIF 1526 1526 ! update qns over the free ocean with: 1527 IF( nn_components /= jp_iam_o pa) THEN1527 IF( nn_components /= jp_iam_oce ) THEN 1528 1528 zqns(:,:) = zqns(:,:) - zemp(:,:) * sst_m(:,:) * rcp ! remove heat content due to mass flux (assumed to be at SST) 1529 1529 IF( srcv(jpr_snow )%laction ) THEN … … 2275 2275 IF( ssnd(jps_toce)%laction .OR. ssnd(jps_tice)%laction .OR. ssnd(jps_tmix)%laction ) THEN 2276 2276 2277 IF( nn_components == jp_iam_o pa) THEN2277 IF( nn_components == jp_iam_oce ) THEN 2278 2278 ztmp1(:,:) = ts(:,:,1,jp_tem,Kmm) ! send temperature as it is (potential or conservative) -> use of l_useCT on the received part 2279 2279 ELSE … … 2427 2427 ENDIF 2428 2428 2429 ! Send ice fraction field to O PA (sent by SAS in SAS-OPAcoupling)2429 ! Send ice fraction field to OCE (sent by SAS in SAS-OCE coupling) 2430 2430 IF( ssnd(jps_fice2)%laction ) THEN 2431 2431 ztmp3(:,:,1) = fr_i(:,:) … … 2543 2543 ! i-1 i i 2544 2544 ! i i+1 (for I) 2545 IF( nn_components == jp_iam_o pa) THEN2545 IF( nn_components == jp_iam_oce ) THEN 2546 2546 zotx1(:,:) = uu(:,:,1,Kmm) 2547 2547 zoty1(:,:) = vv(:,:,1,Kmm) … … 2700 2700 ENDIF 2701 2701 ! 2702 ! Fields sent by O PA to SAS when doing OPA<->SAS coupling2702 ! Fields sent by OCE to SAS when doing OCE<->SAS coupling 2703 2703 ! ! SSH 2704 2704 IF( ssnd(jps_ssh )%laction ) THEN … … 2724 2724 ENDIF 2725 2725 ! 2726 ! Fields sent by SAS to O PAwhen OASIS coupling2726 ! Fields sent by SAS to OCE when OASIS coupling 2727 2727 ! ! Solar heat flux 2728 2728 IF( ssnd(jps_qsroce)%laction ) CALL cpl_snd( jps_qsroce, isec, RESHAPE ( qsr , (/jpi,jpj,1/) ), info )
Note: See TracChangeset
for help on using the changeset viewer.