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 14137 for NEMO/trunk/src – NEMO

Changeset 14137 for NEMO/trunk/src


Ignore:
Timestamp:
2020-12-09T10:55:03+01:00 (3 years ago)
Author:
techene
Message:

#2385 : swe is now working (SWE/restart.F90 and SWE/stpctl.F90 moved as subroutines of OCE/IOM/restart.F90 and OCE/stpctl.F90)

Location:
NEMO/trunk/src/SWE
Files:
2 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/SWE/nemogcm.F90

    r14053 r14137  
    3333   USE lbcnfd  , ONLY : isendto, nsndto  ! Setup of north fold exchanges  
    3434   USE lib_fortran    ! Fortran utilities (allows no signed zero when 'key_nosignedzero' defined) 
    35    USE halo_mng       ! Halo manager 
     35   USE halo_mng       ! halo manager 
    3636 
    3737   IMPLICIT NONE 
     
    127127      IF( nstop /= 0 .AND. lwp ) THEN        ! error print 
    128128         WRITE(ctmp1,*) '   ==>>>   nemo_gcm: a total of ', nstop, ' errors have been found' 
    129          CALL ctl_stop( ctmp1 ) 
     129         WRITE(ctmp2,*) '           Look for "E R R O R" messages in all existing ocean_output* files' 
     130         CALL ctl_stop( ' ', ctmp1, ' ', ctmp2 ) 
    130131      ENDIF 
    131132      ! 
     
    216217         WRITE(numout,*) '                       NEMO team' 
    217218         WRITE(numout,*) '            Ocean General Circulation Model' 
    218          WRITE(numout,*) '                NEMO version 4.0  (2019) ' 
     219         WRITE(numout,*) '                NEMO version 4.0  (2020) ' 
     220         WRITE(numout,*) 
     221         WRITE(numout,*) '                 Shallow Water Equation' 
     222         WRITE(numout,*) '                 ======================' 
    219223         WRITE(numout,*) 
    220224         WRITE(numout,*) "           ._      ._      ._      ._      ._    " 
     
    232236         WRITE(numout,*) "     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ " 
    233237         WRITE(numout,*) 
    234           
    235          ! Print the working precision to ocean.output 
    236          IF (wp == dp) THEN 
    237             WRITE(numout,*) "Working precision = double-precision" 
    238          ELSE 
    239             WRITE(numout,*) "Working precision = single-precision" 
     238         ! 
     239         WRITE(numout,cform_aaa)    ! Flag AAAAAAA 
     240         ! 
     241         !                          ! Control print of the working precision 
     242         WRITE(numout,*) 
     243         IF( wp == dp ) THEN   ;   WRITE(numout,*) "par_kind : wp = Working precision = dp = double-precision" 
     244         ELSE                  ;   WRITE(numout,*) "par_kind : wp = Working precision = sp = single-precision" 
    240245         ENDIF 
    241          WRITE(numout,*) 
    242          ! 
    243          WRITE(numout,cform_aaa)                                        ! Flag AAAAAAA 
     246                                   WRITE(numout,*) "~~~~~~~~                                 ****************" 
     247                                   WRITE(numout,*) 
    244248         ! 
    245249      ENDIF 
     
    280284      !                             !-------------------------------! 
    281285 
    282       CALL nemo_ctl                          ! Control prints 
     286      CALL nemo_ctl                          ! Control prints of namctl and namcfg 
    283287      ! 
    284288      !                                      ! General initialization 
     
    429433   END SUBROUTINE nemo_alloc 
    430434 
    431     
     435 
    432436   SUBROUTINE nemo_set_cfctl(sn_cfctl, setto ) 
    433437      !!---------------------------------------------------------------------- 
  • NEMO/trunk/src/SWE/stp_oce.F90

    r14053 r14137  
    9393   !                                                   (dyn_asm_inc routine) 
    9494   USE asmbkg          ! writing out state trajectory 
    95    USE stpctl          ! time stepping control            (stp_ctl routine) 
     95   USE stpctl          ! time stepping control            (stp_ctl_SWE routine) 
    9696   USE restart         ! ocean restart                    (rst_wri routine) 
    9797   USE prtctl          ! Print control                    (prt_ctl routine) 
  • NEMO/trunk/src/SWE/stpmlf.F90

    r14053 r14137  
    7070      ENDIF 
    7171 
    72       IF( kstp == nit000 )   ww(:,:,:) = 0._wp   ! initialize vertical velocity one for all to zero 
     72      IF( kstp == nit000 )   ww(:,:,:) = 0._wp   ! initialize vertical velocity once for all to zero 
    7373 
    7474      ! 
     
    222222      ! Control 
    223223      !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
    224                          CALL stp_ctl      ( kstp, Nnn ) 
     224                         CALL stp_ctl_SWE   ( kstp, Nnn ) 
    225225 
    226226      IF( kstp == nit000 ) THEN                          ! 1st time step only 
     
    235235!!st : cxios_context needed ? because opened earlier ???          
    236236         CALL iom_context_finalize( cxios_context ) ! needed for XIOS+AGRIF 
    237 !!st : crxios_context not needed associated with coarsening !  
    238          IF(lrxios) CALL iom_context_finalize( crxios_context ) 
    239237      ENDIF 
    240238#endif 
  • NEMO/trunk/src/SWE/stprk3.F90

    r14053 r14137  
    355355      ! Control 
    356356      !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
    357                          CALL stp_ctl      ( kstp, Nnn ) 
     357                         CALL stp_ctl_SWE  ( kstp, Nnn ) 
    358358 
    359359      IF( kstp == nit000 ) THEN                          ! 1st time step only 
Note: See TracChangeset for help on using the changeset viewer.