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_core.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_core.F90

    r1234 r1242  
    166166 
    167167 
    168       CALL fld_read( kt, nn_fsbc, sf )                ! input fields provided at the current time-step 
     168      CALL fld_read( kt, nn_fsbc, sf )                   ! input fields provided at the current time-step 
    169169 
    170170#if defined key_lim3 
     
    173173 
    174174      IF( MOD( kt - 1, nn_fsbc ) == 0 ) THEN 
    175           CALL blk_oce_core( sst_m, ssu_m, ssv_m )    ! compute the surface ocean fluxes using CLIO bulk formulea 
     175          CALL blk_oce_core( sf, sst_m, ssu_m, ssv_m )   ! compute the surface ocean fluxes using CLIO bulk formulea 
    176176      ENDIF 
    177       !                                               ! using CORE bulk formulea 
     177      !                                                  ! using CORE bulk formulea 
    178178   END SUBROUTINE sbc_blk_core 
    179179    
    180180    
    181    SUBROUTINE blk_oce_core( pst, pu, pv ) 
     181   SUBROUTINE blk_oce_core( sf, pst, pu, pv ) 
    182182      !!--------------------------------------------------------------------- 
    183183      !!                     ***  ROUTINE blk_core  *** 
     
    196196      !!              - tprecip : Total precipitation                   (Kg/m2/s) 
    197197      !!              - sprecip : Solid precipitation                   (Kg/m2/s) 
     198      !! 
     199      !!  ** Nota  :   sf has to be a dummy argument for AGRIF on NEC 
    198200      !!--------------------------------------------------------------------- 
    199       REAL(wp), INTENT(in), DIMENSION(jpi,jpj) ::   pst   ! surface temperature                      [Celcius] 
    200       REAL(wp), INTENT(in), DIMENSION(jpi,jpj) ::   pu    ! surface current at U-point (i-component) [m/s] 
    201       REAL(wp), INTENT(in), DIMENSION(jpi,jpj) ::   pv    ! surface current at V-point (j-component) [m/s] 
     201      TYPE(fld), INTENT(in), DIMENSION(:)       ::   sf    ! input data 
     202      REAL(wp),  INTENT(in), DIMENSION(jpi,jpj) ::   pst   ! surface temperature                      [Celcius] 
     203      REAL(wp),  INTENT(in), DIMENSION(jpi,jpj) ::   pu    ! surface current at U-point (i-component) [m/s] 
     204      REAL(wp),  INTENT(in), DIMENSION(jpi,jpj) ::   pv    ! surface current at V-point (j-component) [m/s] 
    202205 
    203206      INTEGER  ::   ji, jj     ! dummy loop indices 
Note: See TracChangeset for help on using the changeset viewer.