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 8974 for branches/2017/dev_CNRS_2017/NEMOGCM/NEMO/OPA_SRC – NEMO

Ignore:
Timestamp:
2017-12-11T13:55:33+01:00 (6 years ago)
Author:
clem
Message:

put back an IF(.NOT. Agrif_root) in nemogcm that was removed in the trunk at r8570 for timing purpose. See also ticket #1836. This fix is needed for the SETTE test AGRIF NOZOOM otherwise core files are created (because of the call to Agrif_ParentGrid_To_ChildGrid())

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_CNRS_2017/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90

    r8970 r8974  
    202202      ! 
    203203#if defined key_agrif 
    204       CALL Agrif_ParentGrid_To_ChildGrid() 
    205       IF( ln_diaobs )        CALL dia_obs_wri 
    206       IF( nn_timing == 1 )   CALL timing_finalize 
    207       CALL Agrif_ChildGrid_To_ParentGrid() 
     204      IF( .NOT. Agrif_Root() ) THEN 
     205         CALL Agrif_ParentGrid_To_ChildGrid() 
     206         IF( ln_diaobs )        CALL dia_obs_wri 
     207         IF( nn_timing == 1 )   CALL timing_finalize 
     208         CALL Agrif_ChildGrid_To_ParentGrid() 
     209      ENDIF 
    208210#endif 
    209211      IF( ln_timing    )   CALL timing_finalize 
Note: See TracChangeset for help on using the changeset viewer.