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 MEDversionLire(fid, &majeur, &mineur, &release);
00056 func = _MEDversionedApi3(name,majeur,mineur,release);
00057
00058 if ( func != (MedFuncType) NULL )
00059 func (dummy,
00060 fid,
00061 fieldname,
00062 csit,
00063 numdt,
00064 numit,
00065 dt ,
00066 meshnumdt,
00067 meshnumit,
00068 &fret);
00069
00070 return fret;
00071 }