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 5348 for branches/2015/dev_r5204_CNRS_PISCES_dcy/NEMOGCM/NEMO/TOP_SRC/PISCES/P4Z/p4zopt.F90 – NEMO

Ignore:
Timestamp:
2015-06-04T13:10:38+02:00 (9 years ago)
Author:
cetlod
Message:

dev_r5204_CNRS_PISCES_dcy : Add a leapfrog temporal scheme in PISCES model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5204_CNRS_PISCES_dcy/NEMOGCM/NEMO/TOP_SRC/PISCES/P4Z/p4zopt.F90

    r5236 r5348  
    6060CONTAINS 
    6161 
    62    SUBROUTINE p4z_opt( kt, jnt ) 
     62   SUBROUTINE p4z_opt( kt, knt ) 
    6363      !!--------------------------------------------------------------------- 
    6464      !!                     ***  ROUTINE p4z_opt  *** 
     
    7070      !!--------------------------------------------------------------------- 
    7171      ! 
    72       INTEGER, INTENT(in) ::   kt, jnt   ! ocean time step 
     72      INTEGER, INTENT(in) ::   kt, knt   ! ocean time step 
    7373      ! 
    7474      INTEGER  ::   ji, jj, jk 
     
    8686      CALL wrk_alloc( jpi, jpj, jpk, zpar, ze0, ze1, ze2, ze3 ) 
    8787 
    88       IF( jnt == 1 .AND. ln_varpar ) CALL p4z_opt_sbc( kt ) 
     88      IF( knt == 1 .AND. ln_varpar ) CALL p4z_opt_sbc( kt ) 
    8989 
    9090      !     Initialisation of variables used to compute PAR 
     
    9999!CDIR NOVERRCHK 
    100100            DO ji = 1, jpi 
    101                zchl = ( trn(ji,jj,jk,jpnch) + trn(ji,jj,jk,jpdch) + rtrn ) * 1.e6 
     101               zchl = ( trb(ji,jj,jk,jpnch) + trb(ji,jj,jk,jpdch) + rtrn ) * 1.e6 
    102102               zchl = MIN(  10. , MAX( 0.05, zchl )  ) 
    103103               irgb = NINT( 41 + 20.* LOG10( zchl ) + rtrn ) 
     
    214214      ! 
    215215      IF( lk_iomput ) THEN 
    216         IF( jnt == nrdttrc ) THEN 
     216        IF( knt == nrdttrc ) THEN 
    217217           IF( iom_use( "Heup"  ) ) CALL iom_put( "Heup" , heup(:,:  ) * tmask(:,:,1) )  ! euphotic layer deptht 
    218218           IF( iom_use( "PARDM" ) ) CALL iom_put( "PARDM", zpar(:,:,:) * tmask(:,:,:) )  ! Photosynthetically Available Radiation 
Note: See TracChangeset for help on using the changeset viewer.