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 11869 for NEMO/branches/2019/fix_sn_cfctl_ticket2328/src/SAO/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2019-11-06T17:01:36+01:00 (4 years ago)
Author:
acc
Message:

Branch 2019/fix_sn_cfctl_ticket2328. Changes to enable correct functionality for the sn_cfctl%l_mppout and sn_cfctl%l_mpptop options. These changes also introduce a sn_cfctl%l_oasout option to toggle the OASIS setup information (sbccpl.F90, only) which was yet another misuse of ln_ctl. The next step may be to remove most references to ln_ctl altogether and provide a single control mechanism. TBD. See ticket #2328

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/fix_sn_cfctl_ticket2328/src/SAO/nemogcm.F90

    r11866 r11869  
    242242 
    243243      IF( ln_ctl .OR. sn_cfctl%l_mppout )   & 
    244          &                 CALL prt_ctl_init        ! Print control 
    245  
    246                            CALL istate_init     ! ocean initial state (Dynamics and tracers) 
     244         &                 CALL prt_ctl_init       ! Print control 
     245 
     246                           CALL istate_init        ! ocean initial state (Dynamics and tracers) 
    247247   END SUBROUTINE nemo_init 
    248248 
     
    307307      !                             ! Parameter control 
    308308      ! 
    309       IF( ln_ctl ) THEN                 ! sub-domain area indices for the control prints 
     309      IF( ln_ctl .OR. sn_cfctl%l_mppout ) THEN                         ! sub-domain area indices for the control prints 
    310310         IF( lk_mpp .AND. jpnij > 1 ) THEN 
    311311            isplt = jpni   ;   jsplt = jpnj   ;   ijsplt = jpni*jpnj   ! the domain is forced to the real split domain 
     
    429429      sn_cfctl%l_mppout  = setto 
    430430      sn_cfctl%l_mpptop  = setto 
     431      sn_cfctl%l_oasout  = setto 
    431432   END SUBROUTINE nemo_set_cfctl 
    432433 
Note: See TracChangeset for help on using the changeset viewer.