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 12640 for NEMO/releases/r4.0/r4.0-HEAD/src/OFF – NEMO

Ignore:
Timestamp:
2020-04-01T14:27:05+02:00 (4 years ago)
Author:
smasson
Message:

r4.0-HEAD: numnul with Agrif, see #2378

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/releases/r4.0/r4.0-HEAD/src/OFF/nemogcm.F90

    r12026 r12640  
    198198      IF( lwm )   CALL ctl_opn(     numond, 'output.namelist.dyn', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, -1, .FALSE. ) 
    199199      ! open /dev/null file to be able to supress output write easily 
     200      IF( Agrif_Root() ) THEN 
    200201                  CALL ctl_opn(     numnul,           '/dev/null', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, -1, .FALSE. ) 
     202#ifdef key_agrif 
     203      ELSE 
     204                  numnul = Agrif_Parent(numnul) 
     205#endif 
     206      ENDIF 
    201207      ! 
    202208      !                             !--------------------! 
Note: See TracChangeset for help on using the changeset viewer.