# MED23fieldIterators.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 MED23FIELD_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 MED23FIELD_GET_ENTITY_TYPENAME[MED_N_ENTITY_TYPES+2]={
    00034   "MED_UNDEF_ENTITY_TYPE",
    00035   "MED_MAILLE",
    00036   "MED_FACE",
    00037   "MED_ARETE",
    00038   "MED_NOEUD",
    00039   "MED_NOEUD_MAILLE",
    00040   "MED_STRUCT_ELEMENT",
    00041   "MED_UNDEF_ENTITY_TYPE"
    00042 };
    00043
    00044 med_geometry_type MED23FIELD_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_TRIA3,
    00050   MED_QUAD4,
    00051   MED_TRIA6,
    00052   MED_QUAD8,
    00053   MED_TETRA4,
    00054   MED_PYRA5,
    00055   MED_PENTA6,
    00056   MED_HEXA8,
    00057   MED_TETRA10,
    00058   MED_PYRA13,
    00059   MED_PENTA15,
    00060   MED_HEXA20,
    00061   MED_SEG4,
    00062   MED_TRIA7,
    00063   MED_QUAD9,
    00064   MED_OCTA12,
    00065   MED_HEXA27,
    00066   MED_POLYGON,
    00067   MED_POLYHEDRON,
    00068   MED_NO_GEOTYPE
    00069 };
    00070
    00071 const char * const MED23FIELD_GET_CELL_GEOMETRY_TYPENAME[MED_N_CELL_FIXED_GEO+2]={
    00072   "(AUCUN)",
    00073   "MED_POINT1",
    00074   "MED_SEG2",
    00075   "MED_SEG3",
    00076   "MED_TRIA3",
    00077   "MED_QUAD4",
    00078   "MED_TRIA6",
    00079   "MED_QUAD8",
    00080   "MED_TETRA4",
    00081   "MED_PYRA5",
    00082   "MED_PENTA6",
    00083   "MED_HEXA8",
    00084   "MED_TETRA10",
    00085   "MED_PYRA13",
    00086   "MED_PENTA15",
    00087   "MED_HEXA20",
    00088   "MED_SEG4",
    00089   "MED_TRIA7",
    00090   "MED_QUAD9",
    00091   "MED_OCTA12",
    00092   "MED_HEXA27",
    00093   "MED_POLYGONE",
    00094   "MED_POLYEDRE",
    00095   "(AUCUN)"
    00096 };
    00097
    00098
    00099 med_geometry_type MED23FIELD_GET_FACE_GEOMETRY_TYPE[MED_N_FACE_FIXED_GEO+2]={
    00100   MED_NO_GEOTYPE,
    00101   MED_TRIA3,
    00102   MED_TRIA6,
    00103   MED_QUAD4,
    00104   MED_QUAD8,
    00105   MED_TRIA7,
    00106   MED_QUAD9,
    00107   MED_POLYGON,
    00108   MED_NO_GEOTYPE
    00109 };
    00110
    00111 const char * const MED23FIELD_GET_FACE_GEOMETRY_TYPENAME[MED_N_FACE_FIXED_GEO+2]={
    00112   "(AUCUN)",
    00113   "MED_TRIA3",
    00114   "MED_TRIA6",
    00115   "MED_QUAD4",
    00116   "MED_QUAD8",
    00117   "MED_TRIA7",
    00118   "MED_QUAD9",
    00119   "MED_POLYGONE",
    00120   "(AUCUN)"
    00121 };
    00122
    00123 med_geometry_type MED23FIELD_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 * MED23FIELD_GET_EDGE_GEOMETRY_TYPENAME[MED_N_EDGE_FIXED_GEO+2]={
    00132   "(AUCUN)",
    00133   "MED_SEG2",
    00134   "MED_SEG3",
    00135   "MED_SEG4",
    00136   "(AUCUN)"
    00137 };
    00138
    00139 med_geometry_type MED23FIELD_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 * MED23FIELD_GET_NODE_GEOMETRY_TYPENAME[MED_N_NODE_FIXED_GEO+2]={
    00146   "(AUCUN)",
    00147   "(AUCUN)",
    00148   "(AUCUN)"
    00149 };
    00150