# MEDiterators.c

Aller à la documentation de ce fichier.

    00001 /*  This file is part of MED.
    00002  *
    00003  *  COPYRIGHT (C) 1999 - 2012  EDF R&D, CEA/DEN
    00004  *  MED is free software: you can redistribute it and/or modify
    00005  *  it under the terms of the GNU Lesser General Public License as published by
    00006  *  the Free Software Foundation, either version 3 of the License, or
    00007  *  (at your option) any later version.
    00008  *
    00009  *  MED is distributed in the hope that it will be useful,
    00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
    00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    00012  *  GNU Lesser General Public License for more details.
    00013  *
    00014  *  You should have received a copy of the GNU Lesser General Public License
    00015  *  along with MED.  If not, see <http://www.gnu.org/licenses/>.
    00016  */
    00017
    00018
    00019 #include <med.h>
    00020 #include <med_config.h>
    00021
    00022 med_entity_type MED_GET_ENTITY_TYPE[MED_N_ENTITY_TYPES+2]={
    00023   MED_UNDEF_ENTITY_TYPE,
    00024   MED_CELL,
    00025   MED_DESCENDING_FACE,
    00026   MED_DESCENDING_EDGE,
    00027   MED_NODE,
    00028   MED_NODE_ELEMENT,
    00029   MED_STRUCT_ELEMENT,
    00030   MED_UNDEF_ENTITY_TYPE
    00031 };
    00032
    00033 const char * const MED_GET_ENTITY_TYPENAME[MED_N_ENTITY_TYPES+2]={
    00034   "MED_UNDEF_ENTITY_TYPE",
    00035   "MED_CELL",
    00036   "MED_DESCENDING_FACE",
    00037   "MED_DESCENDING_EDGE",
    00038   "MED_NODE",
    00039   "MED_NODE_ELEMENT",
    00040   "MED_STRUCT_ELEMENT",
    00041   "MED_UNDEF_ENTITY_TYPE"
    00042 };
    00043
    00044 med_geometry_type MED_GET_CELL_GEOMETRY_TYPE[MED_N_CELL_FIXED_GEO+2]={
    00045   MED_NO_GEOTYPE,
    00046   MED_POINT1,
    00047   MED_SEG2,
    00048   MED_SEG3,
    00049   MED_SEG4,
    00050   MED_TRIA3,
    00051   MED_QUAD4,
    00052   MED_TRIA6,
    00053   MED_TRIA7,
    00054   MED_QUAD8,
    00055   MED_QUAD9,
    00056   MED_TETRA4,
    00057   MED_PYRA5,
    00058   MED_PENTA6,
    00059   MED_HEXA8,
    00060   MED_TETRA10,
    00061   MED_OCTA12,
    00062   MED_PYRA13,
    00063   MED_PENTA15,
    00064   MED_HEXA20,
    00065   MED_HEXA27,
    00066   MED_POLYGON,
    00067   MED_POLYHEDRON,
    00068   MED_NO_GEOTYPE
    00069 };
    00070
    00071 const char * const MED_GET_CELL_GEOMETRY_TYPENAME[MED_N_CELL_FIXED_GEO+2]={
    00072   "MED_NO_GEOTYPE",
    00073   "MED_POINT1",
    00074   "MED_SEG2",
    00075   "MED_SEG3",
    00076   "MED_SEG4",
    00077   "MED_TRIA3",
    00078   "MED_QUAD4",
    00079   "MED_TRIA6",
    00080   "MED_TRIA7",
    00081   "MED_QUAD8",
    00082   "MED_QUAD9",
    00083   "MED_TETRA4",
    00084   "MED_PYRA5",
    00085   "MED_PENTA6",
    00086   "MED_HEXA8",
    00087   "MED_TETRA10",
    00088   "MED_OCTA12",
    00089   "MED_PYRA13",
    00090   "MED_PENTA15",
    00091   "MED_HEXA20",
    00092   "MED_HEXA27",
    00093   "MED_POLYGON",
    00094   "MED_POLYHEDRON",
    00095   "MED_NO_GEOTYPE"
    00096 };
    00097
    00098
    00099 med_geometry_type MED_GET_FACE_GEOMETRY_TYPE[MED_N_FACE_FIXED_GEO+2]={
    00100   MED_NO_GEOTYPE,
    00101   MED_TRIA3,
    00102   MED_QUAD4,
    00103   MED_TRIA6,
    00104   MED_TRIA7,
    00105   MED_QUAD8,
    00106   MED_QUAD9,
    00107   MED_POLYGON,
    00108   MED_NO_GEOTYPE
    00109 };
    00110
    00111 const char * const MED_GET_FACE_GEOMETRY_TYPENAME[MED_N_FACE_FIXED_GEO+2]={
    00112   "MED_NO_GEOTYPE",
    00113   "MED_TRIA3",
    00114   "MED_QUAD4",
    00115   "MED_TRIA6",
    00116   "MED_TRIA7",
    00117   "MED_QUAD8",
    00118   "MED_QUAD9",
    00119   "MED_POLYGON",
    00120   "MED_NO_GEOTYPE"
    00121 };
    00122
    00123 med_geometry_type MED_GET_EDGE_GEOMETRY_TYPE[MED_N_EDGE_FIXED_GEO+2]={
    00124   MED_NO_GEOTYPE,
    00125   MED_SEG2,
    00126   MED_SEG3,
    00127   MED_SEG4,
    00128   MED_NO_GEOTYPE
    00129 };
    00130
    00131 const char * MED_GET_EDGE_GEOMETRY_TYPENAME[MED_N_EDGE_FIXED_GEO+2]={
    00132   "MED_NO_GEOTYPE",
    00133   "MED_SEG2",
    00134   "MED_SEG3",
    00135   "MED_SEG4",
    00136   "MED_NO_GEOTYPE"
    00137 };
    00138
    00139 med_geometry_type MED_GET_NODE_GEOMETRY_TYPE[MED_N_NODE_FIXED_GEO+2]={
    00140   MED_NO_GEOTYPE,
    00141   MED_NO_GEOTYPE,
    00142   MED_NO_GEOTYPE
    00143 };
    00144
    00145 const char * MED_GET_NODE_GEOMETRY_TYPENAME[MED_N_NODE_FIXED_GEO+2]={
    00146   "MED_NO_GEOTYPE",
    00147   "MED_NO_GEOTYPE",
    00148   "MED_NO_GEOTYPE"
    00149 };
    00150