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 1242 for trunk/NEMO/OPA_SRC/SBC/sbcblk_clio.F90 – NEMO

Ignore:
Timestamp:
2009-01-06T11:21:38+01:00 (15 years ago)
Author:
rblod
Message:

Fix runtime issues with AGRIF on NEC and add the ability to run without sea-ice on the fine grid hierarchy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/SBC/sbcblk_clio.F90

    r1207 r1242  
    215215 
    216216      IF( MOD( kt - 1, nn_fsbc ) == 0 ) THEN 
    217           CALL blk_oce_clio( sst_m )                  ! compute the surface ocean fluxes using CLIO bulk formulea 
    218       ENDIF                                           !  
     217          CALL blk_oce_clio( sf, sst_m )                  ! compute the surface ocean fluxes using CLIO bulk formulea 
     218      ENDIF                                               !  
    219219      ! 
    220220   END SUBROUTINE sbc_blk_clio 
    221221 
    222222 
    223    SUBROUTINE blk_oce_clio( pst ) 
     223   SUBROUTINE blk_oce_clio( sf, pst ) 
    224224      !!--------------------------------------------------------------------------- 
    225225      !!                     ***  ROUTINE blk_oce_clio  *** 
     
    242242      !!               - qns, qsr    non-slor and solar heat flux 
    243243      !!               - emp, emps   evaporation minus precipitation 
     244      !!  ** Nota    :   sf has to be a dummy argument for AGRIF on NEC 
    244245      !!---------------------------------------------------------------------- 
    245       REAL(wp), INTENT(in), DIMENSION(jpi,jpj) ::   pst   ! surface temperature                      [Celcius] 
     246      TYPE(fld), INTENT(in), DIMENSION(:)       ::   sf    ! input data 
     247      REAL(wp) , INTENT(in), DIMENSION(jpi,jpj) ::   pst   ! surface temperature                      [Celcius] 
    246248      !! 
    247249      INTEGER  ::   ji, jj   ! dummy loop indices 
     
    284286         END DO 
    285287      END DO 
    286  
    287288 
    288289      !------------------------------------------------! 
Note: See TracChangeset for help on using the changeset viewer.