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 13915 for NEMO/branches/2020/dev_r13327_KERNEL-06_2_techene_e3/src/OCE/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2020-11-30T11:58:34+01:00 (3 years ago)
Author:
techene
Message:

#2574 cosmetics, cleanning and proper display of ocean.output (sette OK)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r13327_KERNEL-06_2_techene_e3/src/OCE/nemogcm.F90

    r13895 r13915  
    328328      IF(lwp) THEN                      ! open listing units 
    329329         ! 
    330          IF( .NOT. lwm )   &            ! alreay opened for narea == 1 
     330         IF( .NOT.lwm )   &            ! alreay opened for narea == 1 
    331331            &            CALL ctl_opn( numout, 'ocean.output', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, -1, .FALSE., narea ) 
    332332         ! 
     
    335335         WRITE(numout,*) '                       NEMO team' 
    336336         WRITE(numout,*) '            Ocean General Circulation Model' 
    337          WRITE(numout,*) '                NEMO version 4.0  (2019) ' 
     337         WRITE(numout,*) '                NEMO version 4.0  (2020) ' 
    338338         WRITE(numout,*) 
    339339         WRITE(numout,*) "           ._      ._      ._      ._      ._    " 
     
    351351         WRITE(numout,*) "     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ " 
    352352         WRITE(numout,*) 
    353           
    354          ! Print the working precision to ocean.output 
    355          IF (wp == dp) THEN 
    356             WRITE(numout,*) "Working precision = double-precision" 
    357          ELSE 
    358             WRITE(numout,*) "Working precision = single-precision" 
     353         ! 
     354         WRITE(numout,cform_aaa)    ! Flag AAAAAAA 
     355         ! 
     356         !                          ! Control print of the working precision 
     357         WRITE(numout,*) 
     358         IF( wp == dp ) THEN   ;   WRITE(numout,*) "par_kind : wp = Working precision = dp = double-precision" 
     359         ELSE                  ;   WRITE(numout,*) "par_kind : wp = Working precision = sp = single-precision" 
    359360         ENDIF 
    360          WRITE(numout,*) 
    361          ! 
    362          WRITE(numout,cform_aaa)                                        ! Flag AAAAAAA 
     361                                   WRITE(numout,*) "~~~~~~~~                                 ****************" 
     362                                   WRITE(numout,*) 
    363363         ! 
    364364      ENDIF 
     
    401401      !                             !-------------------------------! 
    402402 
    403       CALL nemo_ctl                          ! Control prints 
     403      CALL nemo_ctl                          ! Control prints of namctl and namcfg 
    404404      ! 
    405405      !                                      ! General initialization 
     
    415415     CALL Agrif_Declare_Var_ini   !  "      "   "   "      "  DOM 
    416416#endif 
    417                            CALL     dom_init( Nbb, Nnn, Naa, "OCE") ! Domain 
    418       IF( ln_crs       )   CALL     crs_init(      Nnn )       ! coarsened grid: domain initialization  
     417                           CALL     dom_init( Nbb, Nnn, Naa, "OCE")   ! Domain 
     418      IF( ln_crs       )   CALL     crs_init(      Nnn            )   ! coarsened grid: domain initialization  
    419419      IF( sn_cfctl%l_prtctl )   & 
    420420         &                 CALL prt_ctl_init        ! Print control 
     
    500500      IF( lk_asminc    )   CALL asm_inc_init( Nbb, Nnn, Nrhs )   ! Initialize assimilation increments 
    501501      ! 
    502 !!st move iom_close(numror) at the end of nemo_init ==> KO 
    503 !!st      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    504 !!st      ! File manipulation at the end of the first time step 
    505 !!st      !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<                          
    506 !!st                                        CALL iom_close( numror )   ! close input  ocean restart file 
    507 !!st         IF(lwm)                        CALL FLUSH    ( numond )   ! flush output namelist oce 
    508 !!st         IF(lwm .AND. numoni /= -1 )    CALL FLUSH    ( numoni )   ! flush output namelist ice (if exist) 
    509 !!st end 
    510  
    511502      IF(lwp) WRITE(numout,cform_aaa)           ! Flag AAAAAAA 
    512503      ! 
Note: See TracChangeset for help on using the changeset viewer.