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 5948 for branches/2014/dev_r4650_UKMO12_CFL_diags_take2/NEMOGCM/NEMO/OPA_SRC/TRD/trdmxl.F90 – NEMO

Ignore:
Timestamp:
2015-11-30T11:47:24+01:00 (8 years ago)
Author:
timgraham
Message:

Merged in head of trunk (r5936)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_r4650_UKMO12_CFL_diags_take2/NEMOGCM/NEMO/OPA_SRC/TRD/trdmxl.F90

    r5947 r5948  
    2222   USE trd_oce         ! trends: ocean variables 
    2323   USE trdmxl_oce      ! ocean variables trends 
    24    USE ldftra_oce      ! ocean active tracers lateral physics 
     24   USE ldftra          ! lateral diffusion: eddy diffusivity & EIV coeff. 
    2525   USE zdf_oce         ! ocean vertical physics 
    26    USE in_out_manager  ! I/O manager 
    2726   USE phycst          ! Define parameters for the routines 
    2827   USE dianam          ! build the name of file (routine) 
     
    3029   USE zdfmxl          ! mixed layer depth 
    3130   USE zdfddm          ! ocean vertical physics: double diffusion 
    32    USE ioipsl          ! NetCDF library 
    3331   USE lbclnk          ! ocean lateral boundary conditions (or mpp link) 
    3432   USE diadimg         ! dimg direct access file format output 
    3533   USE trdmxl_rst      ! restart for diagnosing the ML trends 
     34   ! 
     35   USE in_out_manager  ! I/O manager 
     36   USE ioipsl          ! NetCDF library 
    3637   USE prtctl          ! Print control 
    3738   USE restart         ! for lrst_oce 
     
    7374   !! * Substitutions 
    7475#  include "domzgr_substitute.h90" 
    75 #  include "ldftra_substitute.h90" 
    7676#  include "zdfddm_substitute.h90" 
    7777   !!---------------------------------------------------------------------- 
     
    165165 
    166166 
    167       SELECT CASE( ktrd ) 
    168       CASE( jptra_npc  )               ! non-penetrative convection: regrouped with zdf 
     167         SELECT CASE( ktrd ) 
     168         CASE( jptra_npc  )               ! non-penetrative convection: regrouped with zdf 
    169169!!gm : to be completed !  
    170170!        IF( .... 
    171171!!gm end 
    172       CASE( jptra_zdfp )               ! iso-neutral diffusion: "pure" vertical diffusion 
    173          !                                   ! regroup iso-neutral diffusion in one term 
     172         CASE( jptra_zdfp )               ! iso-neutral diffusion: "pure" vertical diffusion 
     173!                                   ! regroup iso-neutral diffusion in one term 
    174174         tmltrd(:,:,jpmxl_ldf) = tmltrd(:,:,jpmxl_ldf) + ( tmltrd(:,:,jpmxl_zdf) - tmltrd(:,:,jpmxl_zdfp) ) 
    175175         smltrd(:,:,jpmxl_ldf) = smltrd(:,:,jpmxl_ldf) + ( smltrd(:,:,jpmxl_zdf) - smltrd(:,:,jpmxl_zdfp) ) 
     
    801801      END IF 
    802802 
    803       IF( nn_cla == 1 )   CALL ctl_warn( '      You set n_cla = 1. Note that the Mixed-Layer diagnostics  ',   & 
    804          &                               '      are not exact along the corresponding straits.            ') 
    805  
    806803      !                                   ! allocate trdmxl arrays 
    807804      IF( trd_mxl_alloc()    /= 0 )   CALL ctl_stop( 'STOP', 'trd_mxl_init : unable to allocate trdmxl     arrays' ) 
     
    810807 
    811808 
    812  
    813       nkstp     = nit000 - 1              ! current time step indicator initialization 
     809      nkstp     = nit000 - 1              ! current time step indicator initialization 
    814810 
    815811 
     
    851847      IF( nn_ctls == 1 ) THEN 
    852848         CALL ctl_opn( inum, 'ctlsurf_idx', 'OLD', 'UNFORMATTED', 'SEQUENTIAL', -1, numout, lwp ) 
    853          READ ( inum ) nbol 
     849         READ ( inum, * ) nbol 
    854850         CLOSE( inum ) 
    855851      END IF 
Note: See TracChangeset for help on using the changeset viewer.