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 13762 for NEMO/branches/2020/dev_r13327_KERNEL-06_2_techene_e3/tests/BENCH – NEMO

Ignore:
Timestamp:
2020-11-09T19:55:21+01:00 (4 years ago)
Author:
techene
Message:

#2385 set ssh separately from istate variables to remove domqco.F90 duplicates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r13327_KERNEL-06_2_techene_e3/tests/BENCH/MY_SRC/usrdef_istate.F90

    r13295 r13762  
    2727 
    2828   PUBLIC   usr_def_istate   ! called by istate.F90 
     29   PUBLIC   usr_def_ssh      ! called by domqco.F90 
    2930 
    3031   !! * Substitutions 
     
    102103   END SUBROUTINE usr_def_istate 
    103104 
     105 
     106   SUBROUTINE usr_def_ssh( ptmask, pssh ) 
     107      !!---------------------------------------------------------------------- 
     108      !!                   ***  ROUTINE usr_def_ssh  *** 
     109      !!  
     110      !! ** Purpose :   Initialization of ssh 
     111      !!                Here BENCH configuration  
     112      !! 
     113      !! ** Method  :   Set ssh 
     114      !!---------------------------------------------------------------------- 
     115      REAL(wp), DIMENSION(jpi,jpj,jpk)     , INTENT(in   ) ::   ptmask  ! t-point ocean mask   [m] 
     116      REAL(wp), DIMENSION(jpi,jpj)         , INTENT(  out) ::   pssh    ! sea-surface height   [m] 
     117      !!---------------------------------------------------------------------- 
     118      ! 
     119      IF(lwp) WRITE(numout,*) 
     120      IF(lwp) WRITE(numout,*) 'usr_def_ssh : BENCH configuration, analytical definition of initial state' 
     121      ! 
     122      pssh(:,:)   = 0._wp   
     123      ! 
     124   END SUBROUTINE usr_def_ssh 
     125    
    104126   !!====================================================================== 
    105127END MODULE usrdef_istate 
Note: See TracChangeset for help on using the changeset viewer.