Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sinobad.d
r3 r7 15 15 #HAT_NAME -----------------------------------------HAT_NAME 16 16 hat_name sinobad 17 17 18 18 #OPTION ----------------------------------------------OPTION 19 19 #option o_parallel … … 24 24 #option O_DBG_TING 25 25 option O_EXTOBJ "../object/ncutil.o" 26 option O_REAL double 26 27 27 28 #TRAJECTOIRES (DIM) -----------------------------------TRAJ -
trunk/src/sinobad.h
r6 r7 91 91 printf("////////////////////////////////////////////////////////////////////////\n"); 92 92 printf("// NEMO/YAO PROJECT //\n"); 93 printf("// M. Berrada 93 printf("// M. Berrada 02-2009 //\n"); 94 94 printf("// LOCEAN-IPSL.UPMC (Paris 6) //\n"); 95 95 printf("//====================================================================//\n"); 96 97 //Vérification du type de réel utilisé 98 #ifdef YFLOAT 99 #ifndef YYFLOAT 100 printf("Incoherent real type between O_REAL option and ncutil.h\n"); 101 exit(1); 102 #endif 103 #endif 104 #ifdef YDOUBLE 105 #ifndef YYDOUBLE 106 printf("Incoherent real type between O_REAL option and ncutil.h\n"); 107 exit(1); 108 #endif 109 #endif 110 96 111 for (int i=0;i<TA+TU;i++) tniter[i]=0;//nmax;// pour backward de solsor_dynspg_flt.h 97 112 phy_cst(); … … 844 859 int dimid[4]; 845 860 strcpy(rest_file,argv[1]); 846 rest_file_id=Ouvre_nc_write(rest_file); 847 write_rst_global_att(rest_file_id); 848 define_dim(rest_file_id,dimid); 849 nc_close( rest_file_id); 850 } 851 } 861 rest_file_id=Ouvre_nc_write(rest_file); //Ouvre le fichier netcds pour l'écriture 862 write_rst_global_att(rest_file_id); //Ecrit les global attributes 863 define_dim(rest_file_id,dimid); //Définit les dimensions 864 write_rst_var(TU,rest_file_id,dimid); //Ecrit les variables 865 nc_close( rest_file_id); //ferme le fichier 866 } 867 }
Note: See TracChangeset
for help on using the changeset viewer.