32 #define MODE_ACCES MED_ACC_RDWR
34 #define MODE_ACCES MED_ACC_RDEXT
36 #define MODE_ACCES MED_ACC_CREAT
39 int main (
int argc,
char **argv)
52 med_float coo[8] = {0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 1.0, 1.0};
68 MESSAGE(
"Erreur a la creation du fichier test14.med");
90 MESSAGE(
"Erreur a l'ecriture des noeuds du maillage");
96 MESSAGE(
"Erreur a la fermeture du fichier");
MEDC_EXPORT med_idt MEDfileOpen(const char *const filename, const med_access_mode accessmode)
Ouverture d'un fichier MED.
MEDC_EXPORT med_err MEDfileClose(med_idt fid)
Fermeture d'un fichier MED.
MEDC_EXPORT med_err MEDmeshCr(const med_idt fid, const char *const meshname, const med_int spacedim, const med_int meshdim, const med_mesh_type meshtype, const char *const description, const char *const dtunit, const med_sorting_type sortingtype, const med_axis_type axistype, const char *const axisname, const char *const axisunit)
Cette routine permet de créer un maillage dans un fichier.
MEDC_EXPORT med_err MEDmeshNodeWr(const med_idt fid, const char *const meshname, const med_int numdt, const med_int numit, const med_float dt, const med_switch_mode switchmode, const med_int nentity, const med_float *const coordinate, const med_bool withnodename, const char *const nodename, const med_bool withnodenumber, const med_int *const nodenumber, const med_bool withfamnumber, const med_int *const famnumber)
Cette routine permet l'écriture des noeuds d'un maillage non structuré pour une séquence de calcul do...
int main(int argc, char **argv)