MEDmeshGridIndexCoordinateRd.c
Aller à la documentation de ce fichier.00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 #include <med.h>
00020 #include <med_config.h>
00021 #include <med_outils.h>
00022 #include <string.h>
00023 #include <stdlib.h>
00024 
00038 med_err
00039 MEDmeshGridIndexCoordinateRd(const med_idt               fid,
00040                              const char*  const          meshname,
00041                              const med_int               numdt,
00042                              const med_int               numit,
00043                              const med_int               axis,
00044                              med_float * const           gridindex)
00045 {
00046   char *  name = "_MEDmeshGridIndexCoordinateRd";
00047   int     dummy=0;
00048   med_err fret=-1;
00049   med_int majeur, mineur, release;
00050   MedFuncType func;
00051 
00052   MEDfileNumVersionRd(fid, &majeur, &mineur, &release);
00053   func = _MEDversionedApi3(name,majeur,mineur,release);
00054   if ( func != (MedFuncType) NULL )
00055     func (dummy,
00056           fid,
00057           meshname,
00058           numdt,
00059           numit,
00060           axis,
00061           gridindex,
00062           &fret);
00063   return fret;
00064 }