MEDfieldComputingStepMeshInfo.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
00038 med_err
00039 MEDfieldComputingStepMeshInfo(const med_idt fid,
00040 const char * const fieldname,
00041 const int csit,
00042 med_int * const numdt,
00043 med_int * const numit,
00044 med_float * const dt,
00045 med_int * const meshnumdt,
00046 med_int * const meshnumit)
00047
00048 {
00049 char * name = "_MEDfieldComputingStepMeshInfo";
00050 int dummy=0;
00051 med_err fret=-1;
00052 med_int majeur, mineur, release;
00053 MedFuncType func;
00054
00055 MEDfileNumVersionRd(fid, &majeur, &mineur, &release);
00056
00057 func = _MEDversionedApi3(name,majeur,mineur,release);
00058
00059 if ( func != (MedFuncType) NULL )
00060 func (dummy,
00061 fid,
00062 fieldname,
00063 csit,
00064 numdt,
00065 numit,
00066 dt ,
00067 meshnumdt,
00068 meshnumit,
00069 &fret);
00070
00071 return fret;
00072 }