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 5956 for branches/2015/dev_r5151_UKMO_ISF/NEMOGCM/NEMO/OPA_SRC/SBC/sbcisf.F90 – NEMO

Ignore:
Timestamp:
2015-11-30T20:55:41+01:00 (8 years ago)
Author:
mathiot
Message:

ISF : merged trunk (5936) into branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5151_UKMO_ISF/NEMOGCM/NEMO/OPA_SRC/SBC/sbcisf.F90

    r5953 r5956  
    1818   USE eosbn2          ! equation of state 
    1919   USE sbc_oce         ! surface boundary condition: ocean fields 
     20   USE zdfbfr          ! 
     21   ! 
     22   USE in_out_manager  ! I/O manager 
     23   USE iom             ! I/O manager library 
     24   USE fldread         ! read input field at current time step 
    2025   USE lbclnk          ! 
    21    USE iom             ! I/O manager library 
    22    USE in_out_manager  ! I/O manager 
    2326   USE wrk_nemo        ! Memory allocation 
    2427   USE timing          ! Timing 
    2528   USE lib_fortran     ! glob_sum 
    26    USE zdfbfr 
    27    USE fldread         ! read input field at current time step 
    28  
    29  
    3029 
    3130   IMPLICIT NONE 
    3231   PRIVATE 
    3332 
    34    PUBLIC   sbc_isf, sbc_isf_div, sbc_isf_alloc  ! routine called in sbcmod and divcur 
     33   PUBLIC   sbc_isf, sbc_isf_div, sbc_isf_alloc  ! routine called in sbcmod and divhor 
    3534 
    3635   ! public in order to be able to output then  
     
    5150   REAL(wp)   , PUBLIC, ALLOCATABLE, SAVE, DIMENSION (:,:)     ::  risfLeff               !:effective length (Leff) BG03 nn_isf==2 
    5251   REAL(wp)   , PUBLIC, ALLOCATABLE, SAVE, DIMENSION (:,:)     ::  ttbl, stbl, utbl, vtbl !:top boundary layer variable at T point 
    53 #if defined key_agrif 
    54    ! AGRIF can not handle these arrays as integers. The reason is a mystery but problems avoided by declaring them as reals 
    55    REAL(wp),    PUBLIC, ALLOCATABLE, SAVE, DIMENSION (:,:)     ::  misfkt, misfkb         !:Level of ice shelf base 
    56                                                                                           !: (first wet level and last level include in the tbl) 
    57 #else 
    5852   INTEGER,    PUBLIC, ALLOCATABLE, SAVE, DIMENSION (:,:)      ::  misfkt, misfkb         !:Level of ice shelf base 
    59 #endif 
    60  
    6153 
    6254   REAL(wp), PUBLIC, SAVE ::   rcpi     = 2000.0_wp     ! specific heat of ice shelf             [J/kg/K] 
     
    7971#  include "domzgr_substitute.h90" 
    8072   !!---------------------------------------------------------------------- 
    81    !! NEMO/OPA 3.0 , LOCEAN-IPSL (2008) 
     73   !! NEMO/OPA 3.7 , LOCEAN-IPSL (2015) 
    8274   !! $Id$ 
    8375   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
    8476   !!---------------------------------------------------------------------- 
    85  
    8677CONTAINS 
    8778  
     
    195186         CALL wrk_dealloc( jpi,jpj, zt_frz, zdep  ) 
    196187      END IF 
    197    
     188      !   
    198189  END SUBROUTINE sbc_isf 
     190 
    199191 
    200192  INTEGER FUNCTION sbc_isf_alloc() 
     
    408400      ! 
    409401      IF( nn_timing == 1 )  CALL timing_stop('sbc_isf_bg03') 
    410  
     402      ! 
    411403  END SUBROUTINE sbc_isf_bg03 
    412404 
     
    543535      ! 
    544536      IF( nn_timing == 1 )  CALL timing_stop('sbc_isf_cav') 
    545  
     537      ! 
    546538   END SUBROUTINE sbc_isf_cav 
    547539 
     
    664656      END SELECT 
    665657      CALL wrk_dealloc( jpi,jpj, zustar ) 
    666  
     658      ! 
    667659   END SUBROUTINE sbc_isf_gammats 
    668660 
     
    777769      ! deallocation 
    778770      CALL wrk_dealloc( jpi,jpj, zhisf_tbl )       
    779  
     771      ! 
    780772   END SUBROUTINE sbc_isf_tbl 
    781773       
Note: See TracChangeset for help on using the changeset viewer.