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 3289 for branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/EXTERNAL/AGRIF/LIB/UtilListe.c – NEMO

Ignore:
Timestamp:
2012-01-27T15:37:34+01:00 (12 years ago)
Author:
rblod
Message:

Fix agrif for 3_4_beta see ticket #921

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/EXTERNAL/AGRIF/LIB/UtilListe.c

    r2715 r3289  
    147147   Save_Length(curmodulename,6); 
    148148   /* Si cette variable a ete initialisee                                     */ 
    149    if (InitialValueGiven == 1 ) 
     149/*RB*/ 
     150   if ( ! strcmp(InitialValueGiven,"=")  )  
     151/*RBend*/ 
    150152   { 
    151153      strcpy(curvar->v_initialvalue,InitValue); 
     
    153155   } 
    154156   /* Si cette variable est declaree en save                                  */ 
    155    if (SaveDeclare == 1 ) { 
     157/*RB*/ 
     158   if (SaveDeclare == 1 &&  !strcasecmp(curvar->v_typevar,"type")) { 
     159/*RBend*/ 
    156160   curvar->v_save = 1; 
    157161   } 
     
    399403         dims = dims->suiv; 
    400404      } 
    401       if ( dimsempty == 1 ) var->v_dimsempty=1; 
     405/*RB*/ 
     406      if ( dimsempty == 1 || GlobalDeclarationType == 1 ) var->v_dimsempty=1; 
     407/*RBend*/ 
    402408   } 
    403409   strcpy(var->v_readedlistdimension,listdimension); 
Note: See TracChangeset for help on using the changeset viewer.