#define MESGERR 1
#ifdef DEF_LECT_ECR
#define MODE_ACCES MED_ACC_RDWR
#elif DEF_LECT_AJOUT
#define MODE_ACCES MED_ACC_RDEXT
#else
#define MODE_ACCES MED_ACC_CREAT
#endif
int main (
int argc,
char **argv)
{
med_float coo[8] = {0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 1.0, 1.0};
MESSAGE(
"Erreur a la creation du fichier test14.med");
return -1;
}
return -1;
}
nufano) < 0) {
MESSAGE(
"Erreur a l'ecriture des noeuds du maillage");
return -1;
}
MESSAGE(
"Erreur a la fermeture du fichier");
return -1;
}
return 0;
}
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 étape de calcul donné...