New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 14227 for NEMO/trunk/src/OCE/SBC/sbccpl.F90 – NEMO

Ignore:
Timestamp:
2020-12-20T12:57:00+01:00 (4 years ago)
Author:
smasson
Message:

trunk: replace remaining OPA by OCE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/SBC/sbccpl.F90

    r14100 r14227  
    157157   INTEGER, PARAMETER ::   jps_rnf    = 24   ! runoffs 
    158158   INTEGER, PARAMETER ::   jps_taum   = 25   ! wind stress module 
    159    INTEGER, PARAMETER ::   jps_fice2  = 26   ! ice fraction sent to OPA (by SAS when doing SAS-OPA coupling) 
     159   INTEGER, PARAMETER ::   jps_fice2  = 26   ! ice fraction sent to OCE (by SAS when doing SAS-OCE coupling) 
    160160   INTEGER, PARAMETER ::   jps_e3t1st = 27   ! first level depth (vvl) 
    161161   INTEGER, PARAMETER ::   jps_fraqsr = 28   ! fraction of solar net radiation absorbed in the first ocean level 
     
    706706      ! 
    707707      !                                                      ! ------------------------------- ! 
    708       !                                                      !   OPA-SAS coupling - rcv by opa ! 
     708      !                                                      !   OCE-SAS coupling - rcv by opa ! 
    709709      !                                                      ! ------------------------------- ! 
    710710      srcv(jpr_sflx)%clname = 'O_SFLX' 
    711711      srcv(jpr_fice)%clname = 'RIceFrc' 
    712712      ! 
    713       IF( nn_components == jp_iam_opa ) 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) 
    714714         srcv(:)%laction = .FALSE.   ! force default definition in case of opa <-> sas coupling 
    715715         srcv(:)%clgrid  = 'T'       ! force default definition in case of opa <-> sas coupling 
     
    727727         IF(lwp) THEN                        ! control print 
    728728            WRITE(numout,*) 
    729             WRITE(numout,*)'               Special conditions for SAS-OPA coupling  ' 
    730             WRITE(numout,*)'               OPA component  ' 
     729            WRITE(numout,*)'               Special conditions for SAS-OCE coupling  ' 
     730            WRITE(numout,*)'               OCE component  ' 
    731731            WRITE(numout,*) 
    732732            WRITE(numout,*)'  received fields from SAS component ' 
     
    742742      ENDIF 
    743743      !                                                      ! -------------------------------- ! 
    744       !                                                      !   OPA-SAS coupling - rcv by sas  ! 
     744      !                                                      !   OCE-SAS coupling - rcv by sas  ! 
    745745      !                                                      ! -------------------------------- ! 
    746746      srcv(jpr_toce  )%clname = 'I_SSTSST' 
     
    762762         ! Vectors: change of sign at north fold ONLY if on the local grid 
    763763         srcv(jpr_ocx1:jpr_ocy1)%nsgn = -1. 
    764          ! Change first letter to couple with atmosphere if already coupled OPA 
     764         ! Change first letter to couple with atmosphere if already coupled OCE 
    765765         ! this is nedeed as each variable name used in the namcouple must be unique: 
    766          ! for example O_Runoff received by OPA from SAS and therefore S_Runoff received by SAS from the Atmosphere 
     766         ! for example O_Runoff received by OCE from SAS and therefore S_Runoff received by SAS from the Atmosphere 
    767767         DO jn = 1, jprcv 
    768768            IF( srcv(jn)%clname(1:1) == "O" ) srcv(jn)%clname = "S"//srcv(jn)%clname(2:LEN(srcv(jn)%clname)) 
     
    771771         IF(lwp) THEN                        ! control print 
    772772            WRITE(numout,*) 
    773             WRITE(numout,*)'               Special conditions for SAS-OPA coupling  ' 
     773            WRITE(numout,*)'               Special conditions for SAS-OCE coupling  ' 
    774774            WRITE(numout,*)'               SAS component  ' 
    775775            WRITE(numout,*) 
    776776            IF( .NOT. ln_cpl ) THEN 
    777                WRITE(numout,*)'  received fields from OPA component ' 
     777               WRITE(numout,*)'  received fields from OCE component ' 
    778778            ELSE 
    779                WRITE(numout,*)'  Additional received fields from OPA component : ' 
     779               WRITE(numout,*)'  Additional received fields from OCE component : ' 
    780780            ENDIF 
    781781            WRITE(numout,*)'               sea surface temperature (Celsius) ' 
     
    10281028 
    10291029      !                                                      ! ------------------------------- ! 
    1030       !                                                      !   OPA-SAS coupling - snd by opa ! 
     1030      !                                                      !   OCE-SAS coupling - snd by opa ! 
    10311031      !                                                      ! ------------------------------- ! 
    10321032      ssnd(jps_ssh   )%clname = 'O_SSHght' 
     
    10351035      ssnd(jps_fraqsr)%clname = 'O_FraQsr' 
    10361036      ! 
    1037       IF( nn_components == jp_iam_opa ) THEN 
     1037      IF( nn_components == jp_iam_oce ) THEN 
    10381038         ssnd(:)%laction = .FALSE.   ! force default definition in case of opa <-> sas coupling 
    10391039         ssnd( (/jps_toce, jps_soce, jps_ssh, jps_fraqsr, jps_ocx1, jps_ocy1/) )%laction = .TRUE. 
     
    10591059      ENDIF 
    10601060      !                                                      ! ------------------------------- ! 
    1061       !                                                      !   OPA-SAS coupling - snd by sas ! 
     1061      !                                                      !   OCE-SAS coupling - snd by sas ! 
    10621062      !                                                      ! ------------------------------- ! 
    10631063      ssnd(jps_sflx  )%clname = 'I_SFLX' 
     
    10771077         ! Change first letter to couple with atmosphere if already coupled with sea_ice 
    10781078         ! this is nedeed as each variable name used in the namcouple must be unique: 
    1079          ! for example O_SSTSST sent by OPA to SAS and therefore S_SSTSST sent by SAS to the Atmosphere 
     1079         ! for example O_SSTSST sent by OCE to SAS and therefore S_SSTSST sent by SAS to the Atmosphere 
    10801080         DO jn = 1, jpsnd 
    10811081            IF( ssnd(jn)%clname(1:1) == "O" ) ssnd(jn)%clname = "S"//ssnd(jn)%clname(2:LEN(ssnd(jn)%clname)) 
     
    10851085            WRITE(numout,*) 
    10861086            IF( .NOT. ln_cpl ) THEN 
    1087                WRITE(numout,*)'  sent fields to OPA component ' 
     1087               WRITE(numout,*)'  sent fields to OCE component ' 
    10881088            ELSE 
    1089                WRITE(numout,*)'  Additional sent fields to OPA component : ' 
     1089               WRITE(numout,*)'  Additional sent fields to OCE component : ' 
    10901090            ENDIF 
    10911091            WRITE(numout,*)'                  ice cover ' 
     
    15251525         ENDIF 
    15261526         ! update qns over the free ocean with: 
    1527          IF( nn_components /= jp_iam_opa ) THEN 
     1527         IF( nn_components /= jp_iam_oce ) THEN 
    15281528            zqns(:,:) =  zqns(:,:) - zemp(:,:) * sst_m(:,:) * rcp         ! remove heat content due to mass flux (assumed to be at SST) 
    15291529            IF( srcv(jpr_snow  )%laction ) THEN 
     
    22752275      IF( ssnd(jps_toce)%laction .OR. ssnd(jps_tice)%laction .OR. ssnd(jps_tmix)%laction ) THEN 
    22762276 
    2277          IF( nn_components == jp_iam_opa ) THEN 
     2277         IF( nn_components == jp_iam_oce ) THEN 
    22782278            ztmp1(:,:) = ts(:,:,1,jp_tem,Kmm)   ! send temperature as it is (potential or conservative) -> use of l_useCT on the received part 
    22792279         ELSE 
     
    24272427      ENDIF 
    24282428 
    2429       ! Send ice fraction field to OPA (sent by SAS in SAS-OPA coupling) 
     2429      ! Send ice fraction field to OCE (sent by SAS in SAS-OCE coupling) 
    24302430      IF( ssnd(jps_fice2)%laction ) THEN 
    24312431         ztmp3(:,:,1) = fr_i(:,:) 
     
    25432543         !                                                              i-1  i   i 
    25442544         !                                                               i      i+1 (for I) 
    2545          IF( nn_components == jp_iam_opa ) THEN 
     2545         IF( nn_components == jp_iam_oce ) THEN 
    25462546            zotx1(:,:) = uu(:,:,1,Kmm) 
    25472547            zoty1(:,:) = vv(:,:,1,Kmm) 
     
    27002700      ENDIF 
    27012701      ! 
    2702       !  Fields sent by OPA to SAS when doing OPA<->SAS coupling 
     2702      !  Fields sent by OCE to SAS when doing OCE<->SAS coupling 
    27032703      !                                                        ! SSH 
    27042704      IF( ssnd(jps_ssh )%laction )  THEN 
     
    27242724      ENDIF 
    27252725      ! 
    2726       !  Fields sent by SAS to OPA when OASIS coupling 
     2726      !  Fields sent by SAS to OCE when OASIS coupling 
    27272727      !                                                        ! Solar heat flux 
    27282728      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.