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 5870 for branches/2015/dev_r5803_NOC_WAD/NEMOGCM/NEMO/OPA_SRC/LBC – NEMO

Ignore:
Timestamp:
2015-11-09T18:33:54+01:00 (9 years ago)
Author:
acc
Message:

Branch 2015/dev_r5803_NOC_WAD. Merge in trunk changes from 5803 to 5869 in preparation for merge. Also tidied and reorganised some wetting and drying code. Renamed wadlmt.F90 to wetdry.F90. Wetting drying code changes restricted to domzgr.F90, domvvl.F90 nemogcm.F90 sshwzv.F90, dynspg_ts.F90, wetdry.F90 and dynhpg.F90. Code passes full SETTE tests with ln_wd=.false.. Still awaiting test case for checking with ln_wd=.false.

Location:
branches/2015/dev_r5803_NOC_WAD/NEMOGCM/NEMO/OPA_SRC/LBC
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5803_NOC_WAD/NEMOGCM/NEMO/OPA_SRC/LBC/lib_mpp.F90

    r5656 r5870  
    37443744      LOGICAL          , INTENT(in   ) ::   ldwp      ! boolean term for print 
    37453745      INTEGER, OPTIONAL, INTENT(in   ) ::   karea     ! proc number 
    3746       !! 
     3746      ! 
    37473747      CHARACTER(len=80) ::   clfile 
    37483748      INTEGER           ::   iost 
    37493749      !!---------------------------------------------------------------------- 
    3750  
     3750      ! 
    37513751      ! adapt filename 
    37523752      ! ---------------- 
     
    37613761      knum=get_unit() 
    37623762#endif 
    3763  
     3763      ! 
    37643764      iost=0 
    37653765      IF( cdacce(1:6) == 'DIRECT' )  THEN 
     
    37943794         STOP 'ctl_opn bad opening' 
    37953795      ENDIF 
    3796  
     3796      ! 
    37973797   END SUBROUTINE ctl_opn 
    37983798 
     3799 
    37993800   SUBROUTINE ctl_nam ( kios, cdnam, ldwp ) 
    38003801      !!---------------------------------------------------------------------- 
     
    38053806      !! ** Method  :   Fortan open 
    38063807      !!---------------------------------------------------------------------- 
    3807       INTEGER          , INTENT(inout) ::   kios      ! IO status after reading the namelist 
    3808       CHARACTER(len=*) , INTENT(in   ) ::   cdnam     ! group name of namelist for which error occurs 
    3809       CHARACTER(len=4)                 ::   clios     ! string to convert iostat in character for print 
    3810       LOGICAL          , INTENT(in   ) ::   ldwp      ! boolean term for print 
    3811       !!---------------------------------------------------------------------- 
    3812  
    3813       !  
    3814       ! ---------------- 
    3815       WRITE (clios, '(I4.0)') kios 
     3808      INTEGER         , INTENT(inout) ::   kios    ! IO status after reading the namelist 
     3809      CHARACTER(len=*), INTENT(in   ) ::   cdnam   ! group name of namelist for which error occurs 
     3810      CHARACTER(len=4)                ::   clios   ! string to convert iostat in character for print 
     3811      LOGICAL         , INTENT(in   ) ::   ldwp    ! boolean term for print 
     3812      !!---------------------------------------------------------------------- 
     3813      ! 
     3814      WRITE (clios, '(I4.0)')   kios 
    38163815      IF( kios < 0 ) THEN          
    3817          CALL ctl_warn( 'W A R N I N G:  end of record or file while reading namelist ' & 
    3818  &           // TRIM(cdnam) // ' iostat = ' // TRIM(clios) ) 
    3819       ENDIF 
    3820  
     3816         CALL ctl_warn( 'end of record or file while reading namelist '  & 
     3817            &           // TRIM(cdnam) // ' iostat = ' // TRIM(clios) ) 
     3818      ENDIF 
     3819      ! 
    38213820      IF( kios > 0 ) THEN 
    3822          CALL ctl_stop( 'E R R O R :   misspelled variable in namelist ' & 
    3823  &           // TRIM(cdnam) // ' iostat = ' // TRIM(clios) ) 
     3821         CALL ctl_stop( 'misspelled variable in namelist '  & 
     3822            &           // TRIM(cdnam) // ' iostat = ' // TRIM(clios) ) 
    38243823      ENDIF 
    38253824      kios = 0 
    38263825      RETURN 
    3827        
     3826      ! 
    38283827   END SUBROUTINE ctl_nam 
     3828 
    38293829 
    38303830   INTEGER FUNCTION get_unit() 
Note: See TracChangeset for help on using the changeset viewer.