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 774 for trunk/AGRIF/LIB/UtilNotGridDep.c – NEMO

Ignore:
Timestamp:
2007-12-18T17:45:53+01:00 (16 years ago)
Author:
rblod
Message:

Update Agrif, see ticket:#39

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/AGRIF/LIB/UtilNotGridDep.c

    r663 r774  
    3131/* knowledge of the CeCILL-C license and that you accept its terms.           */ 
    3232/******************************************************************************/ 
    33 /* version 1.6                                                                */ 
     33/* version 1.7                                                                */ 
    3434/******************************************************************************/ 
    3535#include <stdio.h> 
     
    7474   newvar->var=(variable *)malloc(sizeof(variable)); 
    7575   strcpy(newvar->var->v_nomvar,name); 
     76   Save_Length(name,4); 
    7677   strcpy(newvar->var->v_commoninfile,mainfile); 
     78   Save_Length(mainfile,10); 
    7779   strcpy(newvar->var->v_subroutinename,subroutinename); 
     80   Save_Length(subroutinename,11); 
    7881   newvar->var->v_notgrid = 1 ; 
    7982   newvar->suiv = List_NotGridDepend_Var; 
Note: See TracChangeset for help on using the changeset viewer.