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 5352 for branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90 – NEMO

Ignore:
Timestamp:
2015-06-04T17:01:01+02:00 (9 years ago)
Author:
smasson
Message:

dev_r5218_CNRS17_coupling: update for fraqsr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90

    r5343 r5352  
    3333   USE cpl_oasis3      ! OASIS3 coupling 
    3434   USE geo2ocean       !  
    35    USE oce   , ONLY : tsn, un, vn, sshn, ub, vb, tsb, sshb, fraqsr_1lev 
     35   USE oce   , ONLY : tsn, un, vn, sshn, ub, vb, tsb, sshb 
    3636   USE albedo          ! 
    3737   USE in_out_manager  ! I/O manager 
     
    10271027      !                                                      !  fraction of solar net radiation ! 
    10281028      !                                                      ! ================================ ! 
    1029       IF( srcv(jpr_fraqsr)%laction ) THEN                      ! received by sas in case of opa <-> sas coupling 
    1030          fraqsr_1lev(:,:) = frcv(jpr_fraqsr)%z3(:,:,1) 
     1029      IF( srcv(jpr_fraqsr)%laction ) THEN                    ! received by sas in case of opa <-> sas coupling 
     1030         frq_m(:,:) = frcv(jpr_fraqsr)%z3(:,:,1) 
    10311031      ENDIF 
    10321032       
     
    18801880         ELSE                    ;   ztmp1(:,:) = sshn(:,:) 
    18811881         ENDIF 
    1882          CALL cpl_snd( jps_ssh, isec, RESHAPE ( ztmp1, (/jpi,jpj,1/) ), info ) 
     1882         CALL cpl_snd( jps_ssh   , isec, RESHAPE ( ztmp1            , (/jpi,jpj,1/) ), info ) 
    18831883 
    18841884      ENDIF 
    18851885      !                                                        ! SSS 
    18861886      IF( ssnd(jps_soce  )%laction )  THEN 
    1887          ztmp1(:,:) =  tsn(:,:,1,jp_sal) 
    1888          CALL cpl_snd( jps_soce ,  isec, RESHAPE ( ztmp1, (/jpi,jpj,1/) ), info ) 
     1887         CALL cpl_snd( jps_soce  , isec, RESHAPE ( tsn(:,:,1,jp_sal), (/jpi,jpj,1/) ), info ) 
    18891888      ENDIF 
    18901889      !                                                        ! first T level thickness  
    18911890      IF( ssnd(jps_e3t1st )%laction )  THEN 
    1892          ztmp1(:,:) =  fse3t_n(:,:,1) 
    1893          CALL cpl_snd( jps_e3t1st,  isec, RESHAPE ( ztmp1, (/jpi,jpj,1/) ), info ) 
     1891         CALL cpl_snd( jps_e3t1st, isec, RESHAPE ( fse3t_n(:,:,1)   , (/jpi,jpj,1/) ), info ) 
    18941892      ENDIF 
    18951893      !                                                        ! Qsr fraction 
    18961894      IF( ssnd(jps_fraqsr)%laction )  THEN 
    1897          ztmp1(:,:) =  fraqsr_1lev(:,:)  
    1898          CALL cpl_snd( jps_fraqsr, isec, RESHAPE ( ztmp1, (/jpi,jpj,1/) ), info ) 
     1895         CALL cpl_snd( jps_fraqsr, isec, RESHAPE ( frq_m            , (/jpi,jpj,1/) ), info ) 
    18991896      ENDIF 
    19001897      ! 
Note: See TracChangeset for help on using the changeset viewer.