MEDmeshGlobalNumberWr.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 
00041 med_err MEDmeshGlobalNumberWr(const med_idt               fid,
00042                               const char*  const          meshname,
00043                               const med_int               numdt,
00044                               const med_int               numit,
00045                               const med_entity_type       entitype,
00046                               const med_geometry_type     geotype,
00047                               const med_int               nentity,
00048                               const med_int * const       number)
00049 {
00050   med_err _ret = -1;
00051   med_entity_type _entitytype=entitype;
00052 
00053   if ( entitype == MED_NODE_ELEMENT ) _entitytype=MED_NODE ;
00054 
00055   _ret= _MEDmeshAdvancedWr(fid,
00056                            meshname,
00057                            MED_GLOBAL_NUMBER,
00058                            MED_NO_NAME,
00059                            MED_INTERNAL_UNDEF,
00060                            numdt,
00061                            numit,
00062                            MED_UNDEF_DT, 
00063                            _entitytype,
00064                            geotype,
00065                            MED_NODAL,
00066                            MED_UNDEF_PFLMODE,
00067                            MED_SAME_PROFILE_INTERNAL,
00068                            MED_NO_INTERLACE,  
00069                            MED_ALL_CONSTITUENT,
00070                            NULL,
00071                            nentity,
00072                            number);
00073   return _ret;
00074 
00075 }