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 1859 for branches/DEV_r1837_mass_heat_salt_fluxes/NEMO/OPA_SRC/SBC/sbcice_if.F90 – NEMO

Ignore:
Timestamp:
2010-05-06T10:40:07+02:00 (14 years ago)
Author:
gm
Message:

ticket:#665 step 2 & 3: heat content in qns & new forcing terms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DEV_r1837_mass_heat_salt_fluxes/NEMO/OPA_SRC/SBC/sbcice_if.F90

    r1730 r1859  
    3030#  include "domzgr_substitute.h90" 
    3131   !!---------------------------------------------------------------------- 
    32    !! NEMO/OPA 3.0 , LOCEAN-IPSL (2008)  
     32   !! NEMO/OPA 3.3 , LOCEAN-IPSL (2010)  
    3333   !! $Id$ 
    3434   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
     
    7272         !             !   file    ! frequency !  variable  ! time intep !  clim  ! 'yearly' or ! weights  ! rotation   ! 
    7373         !             !   name    !  (hours)  !   name     !   (T/F)    !  (T/F) !  'monthly'  ! filename ! pairs      !  
    74          sn_ice = FLD_N('ice_cover',    -1    ,  'ice_cov' ,  .true.    , .true. ,   'yearly'  , ''       , ''         ) 
    75  
    76          REWIND ( numnam )               ! ... read in namlist namiif 
     74         sn_ice = FLD_N('ice_cover',    -1     ,  'ice_cov' ,  .true.    , .true. ,   'yearly'  , ''       , ''         ) 
     75         ! 
     76         REWIND ( numnam )               ! read in namlist namiif 
    7777         READ   ( numnam, namsbc_iif ) 
    78  
     78         ! 
    7979         ALLOCATE( sf_ice(1), STAT=ierror ) 
    8080         IF( ierror > 0 ) THEN 
     
    8383         ALLOCATE( sf_ice(1)%fnow(jpi,jpj) ) 
    8484         ALLOCATE( sf_ice(1)%fdta(jpi,jpj,2) ) 
    85  
    86  
    87          ! fill sf_ice with sn_ice and control print 
     85         ! 
     86         !                               ! fill sf_ice with sn_ice and control print 
    8887         CALL fld_fill( sf_ice, (/ sn_ice /), cn_dir, 'sbc_ice_if', 'ice-if sea-ice model', 'namsbc_iif' ) 
    8988         ! 
    9089      ENDIF 
    9190 
    92       CALL fld_read( kt, nn_fsbc, sf_ice )           ! Read input fields and provides the 
    93       !                                              ! input fields at the current time-step 
     91      CALL fld_read( kt, nn_fsbc, sf_ice )           ! Read input fields at the current time-step 
    9492       
    9593      IF( MOD( kt-1, nn_fsbc) == 0 ) THEN 
     
    10199         fr_i(:,:) = tfreez( sss_m ) * tmask(:,:,1)      ! sea surface freezing temperature [Celcius] 
    102100 
    103          ! Flux and ice fraction computation 
    104101!CDIR COLLAPSE 
    105          DO jj = 1, jpj 
     102         DO jj = 1, jpj          ! Flux and ice fraction computation 
    106103            DO ji = 1, jpi 
    107104               ! 
Note: See TracChangeset for help on using the changeset viewer.