File: medenum_long.py

package info (click to toggle)
med-fichier 4.0.0+repack-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 55,660 kB
  • sloc: cpp: 679,525; ansic: 72,977; python: 37,983; fortran: 12,925; sh: 6,821; f90: 5,531; makefile: 5,136; tcl: 216; xml: 173
file content (805 lines) | stat: -rw-r--r-- 33,981 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.

from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (2, 7, 0):
    def swig_import_helper():
        import importlib
        pkg = __name__.rpartition('.')[0]
        mname = '.'.join((pkg, '_medenum')).lstrip('.')
        try:
            return importlib.import_module(mname)
        except ImportError:
            return importlib.import_module('_medenum')
    _medenum = swig_import_helper()
    del swig_import_helper
elif _swig_python_version_info >= (2, 6, 0):
    def swig_import_helper():
        from os.path import dirname
        import imp
        fp = None
        try:
            fp, pathname, description = imp.find_module('_medenum', [dirname(__file__)])
        except ImportError:
            import _medenum
            return _medenum
        try:
            _mod = imp.load_module('_medenum', fp, pathname, description)
        finally:
            if fp is not None:
                fp.close()
        return _mod
    _medenum = swig_import_helper()
    del swig_import_helper
else:
    import _medenum
del _swig_python_version_info

try:
    _swig_property = property
except NameError:
    pass  # Python < 2.2 doesn't have 'property'.

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
    if (name == "thisown"):
        return self.this.own(value)
    if (name == "this"):
        if type(value).__name__ == 'SwigPyObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name, None)
    if method:
        return method(self, value)
    if (not static):
        if _newclass:
            object.__setattr__(self, name, value)
        else:
            self.__dict__[name] = value
    else:
        raise AttributeError("You cannot add attributes to %s" % self)


def _swig_setattr(self, class_type, name, value):
    return _swig_setattr_nondynamic(self, class_type, name, value, 0)


def _swig_getattr(self, class_type, name):
    if (name == "thisown"):
        return self.this.own()
    method = class_type.__swig_getmethods__.get(name, None)
    if method:
        return method(self)
    raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))


def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except __builtin__.Exception:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)

try:
    _object = object
    _newclass = 1
except __builtin__.Exception:
    class _object:
        pass
    _newclass = 0

ABSOLUTE_H5IPUBLIC_H = _medenum.ABSOLUTE_H5IPUBLIC_H
ABSOLUTE_H5PUBLIC_H = _medenum.ABSOLUTE_H5PUBLIC_H
HAVE_CC_C99 = _medenum.HAVE_CC_C99
HAVE_CUSERID = _medenum.HAVE_CUSERID
HAVE_DLFCN_H = _medenum.HAVE_DLFCN_H
HAVE_FTIME = _medenum.HAVE_FTIME
HAVE_GETEUID = _medenum.HAVE_GETEUID
HAVE_GETPWUID = _medenum.HAVE_GETPWUID
HAVE_GETTIMEOFDAY = _medenum.HAVE_GETTIMEOFDAY
HAVE_H5IPUBLIC_H = _medenum.HAVE_H5IPUBLIC_H
HAVE_H5PUBLIC_H = _medenum.HAVE_H5PUBLIC_H
HAVE_INTTYPES_H = _medenum.HAVE_INTTYPES_H
HAVE_LIBHDF5 = _medenum.HAVE_LIBHDF5
HAVE_MALLOC_H = _medenum.HAVE_MALLOC_H
HAVE_MEMORY_H = _medenum.HAVE_MEMORY_H
HAVE_PWD_H = _medenum.HAVE_PWD_H
HAVE_PYTHON = _medenum.HAVE_PYTHON
HAVE_STDBOOL_H = _medenum.HAVE_STDBOOL_H
HAVE_STDINT_H = _medenum.HAVE_STDINT_H
HAVE_STDLIB_H = _medenum.HAVE_STDLIB_H
HAVE_STRINGS_H = _medenum.HAVE_STRINGS_H
HAVE_STRING_H = _medenum.HAVE_STRING_H
HAVE_SYS_STAT_H = _medenum.HAVE_SYS_STAT_H
HAVE_SYS_TIMEB_H = _medenum.HAVE_SYS_TIMEB_H
HAVE_SYS_TIME_H = _medenum.HAVE_SYS_TIME_H
HAVE_SYS_TYPES_H = _medenum.HAVE_SYS_TYPES_H
HAVE_UNISTD_H = _medenum.HAVE_UNISTD_H
HAVE__BOOL = _medenum.HAVE__BOOL
LT_OBJDIR = _medenum.LT_OBJDIR
MED_API_23 = _medenum.MED_API_23
MED_CHECK_23FORMAT = _medenum.MED_CHECK_23FORMAT
MED_HAVE_FORTRAN = _medenum.MED_HAVE_FORTRAN
MED_HAVE_PYTHON = _medenum.MED_HAVE_PYTHON
MESGERR = _medenum.MESGERR
PACKAGE = _medenum.PACKAGE
PACKAGE_BUGREPORT = _medenum.PACKAGE_BUGREPORT
PACKAGE_NAME = _medenum.PACKAGE_NAME
PACKAGE_STRING = _medenum.PACKAGE_STRING
PACKAGE_TARNAME = _medenum.PACKAGE_TARNAME
PACKAGE_URL = _medenum.PACKAGE_URL
PACKAGE_VERSION = _medenum.PACKAGE_VERSION
SIZEOF_FORTRAN_INTEGER = _medenum.SIZEOF_FORTRAN_INTEGER
SIZEOF_FORTRAN_INTEGERp8 = _medenum.SIZEOF_FORTRAN_INTEGERp8
SIZEOF_HID_T = _medenum.SIZEOF_HID_T
SIZEOF_INT = _medenum.SIZEOF_INT
SIZEOF_LONG = _medenum.SIZEOF_LONG
SIZEOF_LONG_LONG = _medenum.SIZEOF_LONG_LONG
STDC_HEADERS = _medenum.STDC_HEADERS
TIME_WITH_SYS_TIME = _medenum.TIME_WITH_SYS_TIME
VERSION = _medenum.VERSION
HDF_VERSION_MAJOR_REF = _medenum.HDF_VERSION_MAJOR_REF
HDF_VERSION_MINOR_REF = _medenum.HDF_VERSION_MINOR_REF
HDF_VERSION_RELEASE_REF = _medenum.HDF_VERSION_RELEASE_REF
HDF_VERSION_NUM_REF = _medenum.HDF_VERSION_NUM_REF
H5F_LIBVER_18 = _medenum.H5F_LIBVER_18
MED_MAJOR_NUM = _medenum.MED_MAJOR_NUM
MED_MINOR_NUM = _medenum.MED_MINOR_NUM
MED_RELEASE_NUM = _medenum.MED_RELEASE_NUM
MED_3_LATEST_MINOR = _medenum.MED_3_LATEST_MINOR
MED_4_LATEST_MINOR = _medenum.MED_4_LATEST_MINOR
MED_NUM_MAJEUR = _medenum.MED_NUM_MAJEUR
MED_NUM_MINEUR = _medenum.MED_NUM_MINEUR
MED_NUM_RELEASE = _medenum.MED_NUM_RELEASE
MED_VERSION_STR = _medenum.MED_VERSION_STR
MED_MAX_PARA = _medenum.MED_MAX_PARA
MED_COMMENT_SIZE = _medenum.MED_COMMENT_SIZE
MED_IDENT_SIZE = _medenum.MED_IDENT_SIZE
MED_NAME_SIZE = _medenum.MED_NAME_SIZE
MED_SNAME_SIZE = _medenum.MED_SNAME_SIZE
MED_LNAME_SIZE = _medenum.MED_LNAME_SIZE
MED_SNAME_BLANK = _medenum.MED_SNAME_BLANK
MED_NAME_BLANK = _medenum.MED_NAME_BLANK
MED_PATHNAME_SIZE = _medenum.MED_PATHNAME_SIZE
MED_MAX_CHFID_PATH = _medenum.MED_MAX_CHFID_PATH
MED_FULL_INTERLACE = _medenum.MED_FULL_INTERLACE
MED_NO_INTERLACE = _medenum.MED_NO_INTERLACE
MED_UNDEF_INTERLACE = _medenum.MED_UNDEF_INTERLACE
MED_UNDEF_STMODE = _medenum.MED_UNDEF_STMODE
MED_GLOBAL_STMODE = _medenum.MED_GLOBAL_STMODE
MED_COMPACT_STMODE = _medenum.MED_COMPACT_STMODE
MED_GLOBAL_PFLMODE = _medenum.MED_GLOBAL_PFLMODE
MED_COMPACT_PFLMODE = _medenum.MED_COMPACT_PFLMODE
MED_UNDEF_PFLMODE = _medenum.MED_UNDEF_PFLMODE
MED_ACC_RDONLY = _medenum.MED_ACC_RDONLY
MED_ACC_RDWR = _medenum.MED_ACC_RDWR
MED_ACC_RDEXT = _medenum.MED_ACC_RDEXT
MED_ACC_CREAT = _medenum.MED_ACC_CREAT
MED_ACC_UNDEF = _medenum.MED_ACC_UNDEF
MED_UNSTRUCTURED_MESH = _medenum.MED_UNSTRUCTURED_MESH
MED_STRUCTURED_MESH = _medenum.MED_STRUCTURED_MESH
MED_UNDEF_MESH_TYPE = _medenum.MED_UNDEF_MESH_TYPE
MED_CARTESIAN_GRID = _medenum.MED_CARTESIAN_GRID
MED_POLAR_GRID = _medenum.MED_POLAR_GRID
MED_CURVILINEAR_GRID = _medenum.MED_CURVILINEAR_GRID
MED_UNDEF_GRID_TYPE = _medenum.MED_UNDEF_GRID_TYPE
MED_CELL = _medenum.MED_CELL
MED_DESCENDING_FACE = _medenum.MED_DESCENDING_FACE
MED_DESCENDING_EDGE = _medenum.MED_DESCENDING_EDGE
MED_NODE = _medenum.MED_NODE
MED_NODE_ELEMENT = _medenum.MED_NODE_ELEMENT
MED_STRUCT_ELEMENT = _medenum.MED_STRUCT_ELEMENT
MED_ALL_ENTITY_TYPE = _medenum.MED_ALL_ENTITY_TYPE
MED_UNDEF_ENTITY_TYPE = _medenum.MED_UNDEF_ENTITY_TYPE
MED_N_ENTITY_TYPES = _medenum.MED_N_ENTITY_TYPES
MED_COORDINATE = _medenum.MED_COORDINATE
MED_CONNECTIVITY = _medenum.MED_CONNECTIVITY
MED_NAME = _medenum.MED_NAME
MED_NUMBER = _medenum.MED_NUMBER
MED_FAMILY_NUMBER = _medenum.MED_FAMILY_NUMBER
MED_COORDINATE_AXIS1 = _medenum.MED_COORDINATE_AXIS1
MED_COORDINATE_AXIS2 = _medenum.MED_COORDINATE_AXIS2
MED_COORDINATE_AXIS3 = _medenum.MED_COORDINATE_AXIS3
MED_INDEX_FACE = _medenum.MED_INDEX_FACE
MED_INDEX_NODE = _medenum.MED_INDEX_NODE
MED_GLOBAL_NUMBER = _medenum.MED_GLOBAL_NUMBER
MED_VARIABLE_ATTRIBUTE = _medenum.MED_VARIABLE_ATTRIBUTE
MED_COORDINATE_TRSF = _medenum.MED_COORDINATE_TRSF
MED_UNDEF_DATATYPE = _medenum.MED_UNDEF_DATATYPE
MED_INTERNAL_FLOAT32 = _medenum.MED_INTERNAL_FLOAT32
MED_INTERNAL_FLOAT64 = _medenum.MED_INTERNAL_FLOAT64
MED_INTERNAL_INT32 = _medenum.MED_INTERNAL_INT32
MED_INTERNAL_INT64 = _medenum.MED_INTERNAL_INT64
MED_INTERNAL_INT = _medenum.MED_INTERNAL_INT
MED_INTERNAL_NAME = _medenum.MED_INTERNAL_NAME
MED_INTERNAL_SNAME = _medenum.MED_INTERNAL_SNAME
MED_INTERNAL_LNAME = _medenum.MED_INTERNAL_LNAME
MED_INTERNAL_IDENT = _medenum.MED_INTERNAL_IDENT
MED_INTERNAL_CHAR = _medenum.MED_INTERNAL_CHAR
MED_INTERNAL_UNDEF = _medenum.MED_INTERNAL_UNDEF
MED_DOUBLE = _medenum.MED_DOUBLE
MED_FLOAT64 = _medenum.MED_FLOAT64
MED_FLOAT32 = _medenum.MED_FLOAT32
MED_INT32 = _medenum.MED_INT32
MED_INT64 = _medenum.MED_INT64
MED_INT = _medenum.MED_INT
MED_ATT_FLOAT64 = _medenum.MED_ATT_FLOAT64
MED_ATT_INT = _medenum.MED_ATT_INT
MED_ATT_NAME = _medenum.MED_ATT_NAME
MED_ATT_UNDEF = _medenum.MED_ATT_UNDEF
MED_MESH = _medenum.MED_MESH
MED_FIELD = _medenum.MED_FIELD
MED_LIBRARY = _medenum.MED_LIBRARY
MED_FILE = _medenum.MED_FILE
MED_MESH_SUPPORT = _medenum.MED_MESH_SUPPORT
MED_ELSTRUCT = _medenum.MED_ELSTRUCT
MED_FAMILY = _medenum.MED_FAMILY
MED_EQUIVALENCE = _medenum.MED_EQUIVALENCE
MED_GROUP = _medenum.MED_GROUP
MED_JOINT = _medenum.MED_JOINT
MED_LOCALIZATION = _medenum.MED_LOCALIZATION
MED_PROFILE = _medenum.MED_PROFILE
MED_FILTER = _medenum.MED_FILTER
MED_INTERPOLATION = _medenum.MED_INTERPOLATION
MED_NUMERICAL_DATA = _medenum.MED_NUMERICAL_DATA
MED_LINK = _medenum.MED_LINK
MED_CLASS_UNDEF = _medenum.MED_CLASS_UNDEF
MED_CLASS_ALL = _medenum.MED_CLASS_ALL
MED_POINT1 = _medenum.MED_POINT1
MED_SEG2 = _medenum.MED_SEG2
MED_SEG3 = _medenum.MED_SEG3
MED_SEG4 = _medenum.MED_SEG4
MED_TRIA3 = _medenum.MED_TRIA3
MED_QUAD4 = _medenum.MED_QUAD4
MED_TRIA6 = _medenum.MED_TRIA6
MED_TRIA7 = _medenum.MED_TRIA7
MED_QUAD8 = _medenum.MED_QUAD8
MED_QUAD9 = _medenum.MED_QUAD9
MED_TETRA4 = _medenum.MED_TETRA4
MED_PYRA5 = _medenum.MED_PYRA5
MED_PENTA6 = _medenum.MED_PENTA6
MED_HEXA8 = _medenum.MED_HEXA8
MED_TETRA10 = _medenum.MED_TETRA10
MED_OCTA12 = _medenum.MED_OCTA12
MED_PYRA13 = _medenum.MED_PYRA13
MED_PENTA15 = _medenum.MED_PENTA15
MED_PENTA18 = _medenum.MED_PENTA18
MED_HEXA20 = _medenum.MED_HEXA20
MED_HEXA27 = _medenum.MED_HEXA27
MED_POLYGON = _medenum.MED_POLYGON
MED_POLYGON2 = _medenum.MED_POLYGON2
MED_POLYHEDRON = _medenum.MED_POLYHEDRON
MED_STRUCT_GEO_INTERNAL = _medenum.MED_STRUCT_GEO_INTERNAL
MED_STRUCT_GEO_SUP_INTERNAL = _medenum.MED_STRUCT_GEO_SUP_INTERNAL
MED_NONE = _medenum.MED_NONE
MED_NO_GEOTYPE = _medenum.MED_NO_GEOTYPE
MED_UNDEF_GEOTYPE = _medenum.MED_UNDEF_GEOTYPE
MED_UNDEF_GEOMETRY_TYPE = _medenum.MED_UNDEF_GEOMETRY_TYPE
MED_ALL_GEOTYPE = _medenum.MED_ALL_GEOTYPE
MED_GEO_ALL = _medenum.MED_GEO_ALL
MED_N_CELL_GEO = _medenum.MED_N_CELL_GEO
MED_N_CELL_FIXED_GEO = _medenum.MED_N_CELL_FIXED_GEO
MED_N_CELL_GEO_FIXED_CON = _medenum.MED_N_CELL_GEO_FIXED_CON
MED_N_FACE_GEO = _medenum.MED_N_FACE_GEO
MED_N_FACE_FIXED_GEO = _medenum.MED_N_FACE_FIXED_GEO
MED_N_FACE_GEO_FIXED_CON = _medenum.MED_N_FACE_GEO_FIXED_CON
MED_N_EDGE_TYPES = _medenum.MED_N_EDGE_TYPES
MED_N_EDGE_FIXED_GEO = _medenum.MED_N_EDGE_FIXED_GEO
MED_N_EDGE_GEO_FIXED_CON = _medenum.MED_N_EDGE_GEO_FIXED_CON
MED_N_NODE_GEO = _medenum.MED_N_NODE_GEO
MED_N_NODE_FIXED_GEO = _medenum.MED_N_NODE_FIXED_GEO
MED_N_NODE_GEO_FIXED_CON = _medenum.MED_N_NODE_GEO_FIXED_CON
MED_NODAL = _medenum.MED_NODAL
MED_DESCENDING = _medenum.MED_DESCENDING
MED_UNDEF_CONNECTIVITY_MODE = _medenum.MED_UNDEF_CONNECTIVITY_MODE
MED_NO_CMODE = _medenum.MED_NO_CMODE
MED_CARTESIAN = _medenum.MED_CARTESIAN
MED_CYLINDRICAL = _medenum.MED_CYLINDRICAL
MED_SPHERICAL = _medenum.MED_SPHERICAL
MED_UNDEF_AXIS_TYPE = _medenum.MED_UNDEF_AXIS_TYPE
MED_FALSE = _medenum.MED_FALSE
MED_TRUE = _medenum.MED_TRUE
MED_GAUSS_ELNO = _medenum.MED_GAUSS_ELNO
MED_IPOINT_ELNO = _medenum.MED_IPOINT_ELNO
MED_NO_NAME = _medenum.MED_NO_NAME
MED_NO_MESHNAME = _medenum.MED_NO_MESHNAME
MED_NO_MESH = _medenum.MED_NO_MESH
MED_NO_MESH_SUPPORT = _medenum.MED_NO_MESH_SUPPORT
MED_NO_LOCALIZATION = _medenum.MED_NO_LOCALIZATION
MED_NO_INTERPOLATION = _medenum.MED_NO_INTERPOLATION
MED_NO_IPOINT_INTERNAL = _medenum.MED_NO_IPOINT_INTERNAL
MED_NO_PROFILE = _medenum.MED_NO_PROFILE
MED_NO_GROUP = _medenum.MED_NO_GROUP
MED_ALLENTITIES_PROFILE = _medenum.MED_ALLENTITIES_PROFILE
MED_NO_PROFILE_INTERNAL = _medenum.MED_NO_PROFILE_INTERNAL
MED_SAME_PROFILE_INTERNAL = _medenum.MED_SAME_PROFILE_INTERNAL
MED_ALL_CONSTITUENT = _medenum.MED_ALL_CONSTITUENT
MED_UNDEF_SIZE = _medenum.MED_UNDEF_SIZE
MED_NO_PROFILE_SIZE = _medenum.MED_NO_PROFILE_SIZE
MED_SORT_DTIT = _medenum.MED_SORT_DTIT
MED_SORT_ITDT = _medenum.MED_SORT_ITDT
MED_SORT_UNDEF = _medenum.MED_SORT_UNDEF
MED_NO_DT = _medenum.MED_NO_DT
MED_NO_IT = _medenum.MED_NO_IT
MED_UNDEF_DT = _medenum.MED_UNDEF_DT
MED_ATT_NOT_FILLED = _medenum.MED_ATT_NOT_FILLED
MED_MAX_FILTER_SPACES = _medenum.MED_MAX_FILTER_SPACES
class med_filter(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, med_filter, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, med_filter, name)
    __repr__ = _swig_repr
    __swig_setmethods__["nspaces"] = _medenum.med_filter_nspaces_set
    __swig_getmethods__["nspaces"] = _medenum.med_filter_nspaces_get
    if _newclass:
        nspaces = _swig_property(_medenum.med_filter_nspaces_get, _medenum.med_filter_nspaces_set)
    __swig_setmethods__["memspace"] = _medenum.med_filter_memspace_set
    __swig_getmethods__["memspace"] = _medenum.med_filter_memspace_get
    if _newclass:
        memspace = _swig_property(_medenum.med_filter_memspace_get, _medenum.med_filter_memspace_set)
    __swig_setmethods__["diskspace"] = _medenum.med_filter_diskspace_set
    __swig_getmethods__["diskspace"] = _medenum.med_filter_diskspace_get
    if _newclass:
        diskspace = _swig_property(_medenum.med_filter_diskspace_get, _medenum.med_filter_diskspace_set)
    __swig_setmethods__["nentity"] = _medenum.med_filter_nentity_set
    __swig_getmethods__["nentity"] = _medenum.med_filter_nentity_get
    if _newclass:
        nentity = _swig_property(_medenum.med_filter_nentity_get, _medenum.med_filter_nentity_set)
    __swig_setmethods__["nvaluesperentity"] = _medenum.med_filter_nvaluesperentity_set
    __swig_getmethods__["nvaluesperentity"] = _medenum.med_filter_nvaluesperentity_get
    if _newclass:
        nvaluesperentity = _swig_property(_medenum.med_filter_nvaluesperentity_get, _medenum.med_filter_nvaluesperentity_set)
    __swig_setmethods__["nconstituentpervalue"] = _medenum.med_filter_nconstituentpervalue_set
    __swig_getmethods__["nconstituentpervalue"] = _medenum.med_filter_nconstituentpervalue_get
    if _newclass:
        nconstituentpervalue = _swig_property(_medenum.med_filter_nconstituentpervalue_get, _medenum.med_filter_nconstituentpervalue_set)
    __swig_setmethods__["constituentselect"] = _medenum.med_filter_constituentselect_set
    __swig_getmethods__["constituentselect"] = _medenum.med_filter_constituentselect_get
    if _newclass:
        constituentselect = _swig_property(_medenum.med_filter_constituentselect_get, _medenum.med_filter_constituentselect_set)
    __swig_setmethods__["switchmode"] = _medenum.med_filter_switchmode_set
    __swig_getmethods__["switchmode"] = _medenum.med_filter_switchmode_get
    if _newclass:
        switchmode = _swig_property(_medenum.med_filter_switchmode_get, _medenum.med_filter_switchmode_set)
    __swig_setmethods__["filterarraysize"] = _medenum.med_filter_filterarraysize_set
    __swig_getmethods__["filterarraysize"] = _medenum.med_filter_filterarraysize_get
    if _newclass:
        filterarraysize = _swig_property(_medenum.med_filter_filterarraysize_get, _medenum.med_filter_filterarraysize_set)
    __swig_setmethods__["filterarray23v30"] = _medenum.med_filter_filterarray23v30_set
    __swig_getmethods__["filterarray23v30"] = _medenum.med_filter_filterarray23v30_get
    if _newclass:
        filterarray23v30 = _swig_property(_medenum.med_filter_filterarray23v30_get, _medenum.med_filter_filterarray23v30_set)
    __swig_setmethods__["profilearraysize"] = _medenum.med_filter_profilearraysize_set
    __swig_getmethods__["profilearraysize"] = _medenum.med_filter_profilearraysize_get
    if _newclass:
        profilearraysize = _swig_property(_medenum.med_filter_profilearraysize_get, _medenum.med_filter_profilearraysize_set)
    __swig_setmethods__["storagemode"] = _medenum.med_filter_storagemode_set
    __swig_getmethods__["storagemode"] = _medenum.med_filter_storagemode_get
    if _newclass:
        storagemode = _swig_property(_medenum.med_filter_storagemode_get, _medenum.med_filter_storagemode_set)
    __swig_setmethods__["profilename"] = _medenum.med_filter_profilename_set
    __swig_getmethods__["profilename"] = _medenum.med_filter_profilename_get
    if _newclass:
        profilename = _swig_property(_medenum.med_filter_profilename_get, _medenum.med_filter_profilename_set)

    def __init__(self):
        this = _medenum.new_med_filter()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _medenum.delete_med_filter
    __del__ = lambda self: None
med_filter_swigregister = _medenum.med_filter_swigregister
med_filter_swigregister(med_filter)

MED_NO_FILTER_SIZE = _medenum.MED_NO_FILTER_SIZE
MED_NO_PROFILE_F = _medenum.MED_NO_PROFILE_F
class med_file_version(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, med_file_version, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, med_file_version, name)
    __repr__ = _swig_repr
    __swig_setmethods__["majeur"] = _medenum.med_file_version_majeur_set
    __swig_getmethods__["majeur"] = _medenum.med_file_version_majeur_get
    if _newclass:
        majeur = _swig_property(_medenum.med_file_version_majeur_get, _medenum.med_file_version_majeur_set)
    __swig_setmethods__["mineur"] = _medenum.med_file_version_mineur_set
    __swig_getmethods__["mineur"] = _medenum.med_file_version_mineur_get
    if _newclass:
        mineur = _swig_property(_medenum.med_file_version_mineur_get, _medenum.med_file_version_mineur_set)
    __swig_setmethods__["release"] = _medenum.med_file_version_release_set
    __swig_getmethods__["release"] = _medenum.med_file_version_release_get
    if _newclass:
        release = _swig_property(_medenum.med_file_version_release_get, _medenum.med_file_version_release_set)

    def __init__(self):
        this = _medenum.new_med_file_version()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _medenum.delete_med_file_version
    __del__ = lambda self: None
med_file_version_swigregister = _medenum.med_file_version_swigregister
med_file_version_swigregister(med_file_version)

class med_memfile(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, med_memfile, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, med_memfile, name)
    __repr__ = _swig_repr
    __swig_setmethods__["app_image_ptr"] = _medenum.med_memfile_app_image_ptr_set
    __swig_getmethods__["app_image_ptr"] = _medenum.med_memfile_app_image_ptr_get
    if _newclass:
        app_image_ptr = _swig_property(_medenum.med_memfile_app_image_ptr_get, _medenum.med_memfile_app_image_ptr_set)
    __swig_setmethods__["app_image_size"] = _medenum.med_memfile_app_image_size_set
    __swig_getmethods__["app_image_size"] = _medenum.med_memfile_app_image_size_get
    if _newclass:
        app_image_size = _swig_property(_medenum.med_memfile_app_image_size_get, _medenum.med_memfile_app_image_size_set)
    __swig_setmethods__["ref_count"] = _medenum.med_memfile_ref_count_set
    __swig_getmethods__["ref_count"] = _medenum.med_memfile_ref_count_get
    if _newclass:
        ref_count = _swig_property(_medenum.med_memfile_ref_count_get, _medenum.med_memfile_ref_count_set)
    __swig_setmethods__["fapl_image_ptr"] = _medenum.med_memfile_fapl_image_ptr_set
    __swig_getmethods__["fapl_image_ptr"] = _medenum.med_memfile_fapl_image_ptr_get
    if _newclass:
        fapl_image_ptr = _swig_property(_medenum.med_memfile_fapl_image_ptr_get, _medenum.med_memfile_fapl_image_ptr_set)
    __swig_setmethods__["fapl_image_size"] = _medenum.med_memfile_fapl_image_size_set
    __swig_getmethods__["fapl_image_size"] = _medenum.med_memfile_fapl_image_size_get
    if _newclass:
        fapl_image_size = _swig_property(_medenum.med_memfile_fapl_image_size_get, _medenum.med_memfile_fapl_image_size_set)
    __swig_setmethods__["fapl_ref_count"] = _medenum.med_memfile_fapl_ref_count_set
    __swig_getmethods__["fapl_ref_count"] = _medenum.med_memfile_fapl_ref_count_get
    if _newclass:
        fapl_ref_count = _swig_property(_medenum.med_memfile_fapl_ref_count_get, _medenum.med_memfile_fapl_ref_count_set)
    __swig_setmethods__["vfd_image_ptr"] = _medenum.med_memfile_vfd_image_ptr_set
    __swig_getmethods__["vfd_image_ptr"] = _medenum.med_memfile_vfd_image_ptr_get
    if _newclass:
        vfd_image_ptr = _swig_property(_medenum.med_memfile_vfd_image_ptr_get, _medenum.med_memfile_vfd_image_ptr_set)
    __swig_setmethods__["vfd_image_size"] = _medenum.med_memfile_vfd_image_size_set
    __swig_getmethods__["vfd_image_size"] = _medenum.med_memfile_vfd_image_size_get
    if _newclass:
        vfd_image_size = _swig_property(_medenum.med_memfile_vfd_image_size_get, _medenum.med_memfile_vfd_image_size_set)
    __swig_setmethods__["vfd_ref_count"] = _medenum.med_memfile_vfd_ref_count_set
    __swig_getmethods__["vfd_ref_count"] = _medenum.med_memfile_vfd_ref_count_get
    if _newclass:
        vfd_ref_count = _swig_property(_medenum.med_memfile_vfd_ref_count_get, _medenum.med_memfile_vfd_ref_count_set)
    __swig_setmethods__["flags"] = _medenum.med_memfile_flags_set
    __swig_getmethods__["flags"] = _medenum.med_memfile_flags_get
    if _newclass:
        flags = _swig_property(_medenum.med_memfile_flags_get, _medenum.med_memfile_flags_set)

    def __init__(self):
        this = _medenum.new_med_memfile()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _medenum.delete_med_memfile
    __del__ = lambda self: None
med_memfile_swigregister = _medenum.med_memfile_swigregister
med_memfile_swigregister(med_memfile)

MED_PARTICLE_NAME = _medenum.MED_PARTICLE_NAME
MED_BALL_NAME = _medenum.MED_BALL_NAME
MED_BEAM_NAME = _medenum.MED_BEAM_NAME
MED_PARTICLE_LABEL = _medenum.MED_PARTICLE_LABEL
MED_BALL_DIAMETER = _medenum.MED_BALL_DIAMETER
MED_BEAM_THICKNESS = _medenum.MED_BEAM_THICKNESS
class MED_MESH_TYPE(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, MED_MESH_TYPE, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, MED_MESH_TYPE, name)
    __repr__ = _swig_repr
    __swig_setmethods__["val"] = _medenum.MED_MESH_TYPE_val_set
    __swig_getmethods__["val"] = _medenum.MED_MESH_TYPE_val_get
    if _newclass:
        val = _swig_property(_medenum.MED_MESH_TYPE_val_get, _medenum.MED_MESH_TYPE_val_set)

    def __init__(self, *args):
        this = _medenum.new_MED_MESH_TYPE(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def __str__(self):
        return _medenum.MED_MESH_TYPE___str__(self)
    __swig_destroy__ = _medenum.delete_MED_MESH_TYPE
    __del__ = lambda self: None
MED_MESH_TYPE_swigregister = _medenum.MED_MESH_TYPE_swigregister
MED_MESH_TYPE_swigregister(MED_MESH_TYPE)
cvar = _medenum.cvar
MED_GET_ENTITY_TYPENAME = cvar.MED_GET_ENTITY_TYPENAME
MED_GET_CELL_GEOMETRY_TYPENAME = cvar.MED_GET_CELL_GEOMETRY_TYPENAME
MED_GET_FACE_GEOMETRY_TYPENAME = cvar.MED_GET_FACE_GEOMETRY_TYPENAME


MED_MESH_TYPE.__repr__= lambda self:"MED_MESH_TYPE" +"("+str(self.val)+")"

class MED_SORTING_TYPE(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, MED_SORTING_TYPE, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, MED_SORTING_TYPE, name)
    __repr__ = _swig_repr
    __swig_setmethods__["val"] = _medenum.MED_SORTING_TYPE_val_set
    __swig_getmethods__["val"] = _medenum.MED_SORTING_TYPE_val_get
    if _newclass:
        val = _swig_property(_medenum.MED_SORTING_TYPE_val_get, _medenum.MED_SORTING_TYPE_val_set)

    def __init__(self, *args):
        this = _medenum.new_MED_SORTING_TYPE(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def __str__(self):
        return _medenum.MED_SORTING_TYPE___str__(self)
    __swig_destroy__ = _medenum.delete_MED_SORTING_TYPE
    __del__ = lambda self: None
MED_SORTING_TYPE_swigregister = _medenum.MED_SORTING_TYPE_swigregister
MED_SORTING_TYPE_swigregister(MED_SORTING_TYPE)


MED_SORTING_TYPE.__repr__= lambda self:"MED_SORTING_TYPE" +"("+str(self.val)+")"

class MED_GRID_TYPE(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, MED_GRID_TYPE, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, MED_GRID_TYPE, name)
    __repr__ = _swig_repr
    __swig_setmethods__["val"] = _medenum.MED_GRID_TYPE_val_set
    __swig_getmethods__["val"] = _medenum.MED_GRID_TYPE_val_get
    if _newclass:
        val = _swig_property(_medenum.MED_GRID_TYPE_val_get, _medenum.MED_GRID_TYPE_val_set)

    def __init__(self, *args):
        this = _medenum.new_MED_GRID_TYPE(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def __str__(self):
        return _medenum.MED_GRID_TYPE___str__(self)
    __swig_destroy__ = _medenum.delete_MED_GRID_TYPE
    __del__ = lambda self: None
MED_GRID_TYPE_swigregister = _medenum.MED_GRID_TYPE_swigregister
MED_GRID_TYPE_swigregister(MED_GRID_TYPE)


MED_GRID_TYPE.__repr__= lambda self:"MED_GRID_TYPE" +"("+str(self.val)+")"

class MED_ENTITY_TYPE(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, MED_ENTITY_TYPE, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, MED_ENTITY_TYPE, name)
    __repr__ = _swig_repr
    __swig_setmethods__["val"] = _medenum.MED_ENTITY_TYPE_val_set
    __swig_getmethods__["val"] = _medenum.MED_ENTITY_TYPE_val_get
    if _newclass:
        val = _swig_property(_medenum.MED_ENTITY_TYPE_val_get, _medenum.MED_ENTITY_TYPE_val_set)

    def __init__(self, *args):
        this = _medenum.new_MED_ENTITY_TYPE(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def __str__(self):
        return _medenum.MED_ENTITY_TYPE___str__(self)
    __swig_destroy__ = _medenum.delete_MED_ENTITY_TYPE
    __del__ = lambda self: None
MED_ENTITY_TYPE_swigregister = _medenum.MED_ENTITY_TYPE_swigregister
MED_ENTITY_TYPE_swigregister(MED_ENTITY_TYPE)


MED_ENTITY_TYPE.__repr__= lambda self:"MED_ENTITY_TYPE" +"("+str(self.val)+")"

class MED_FIELD_TYPE(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, MED_FIELD_TYPE, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, MED_FIELD_TYPE, name)
    __repr__ = _swig_repr
    __swig_setmethods__["val"] = _medenum.MED_FIELD_TYPE_val_set
    __swig_getmethods__["val"] = _medenum.MED_FIELD_TYPE_val_get
    if _newclass:
        val = _swig_property(_medenum.MED_FIELD_TYPE_val_get, _medenum.MED_FIELD_TYPE_val_set)

    def __init__(self, *args):
        this = _medenum.new_MED_FIELD_TYPE(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def __str__(self):
        return _medenum.MED_FIELD_TYPE___str__(self)
    __swig_destroy__ = _medenum.delete_MED_FIELD_TYPE
    __del__ = lambda self: None
MED_FIELD_TYPE_swigregister = _medenum.MED_FIELD_TYPE_swigregister
MED_FIELD_TYPE_swigregister(MED_FIELD_TYPE)


MED_FIELD_TYPE.__repr__= lambda self:"MED_FIELD_TYPE" +"("+str(self.val)+")"

class MED_ATTRIBUTE_TYPE(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, MED_ATTRIBUTE_TYPE, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, MED_ATTRIBUTE_TYPE, name)
    __repr__ = _swig_repr
    __swig_setmethods__["val"] = _medenum.MED_ATTRIBUTE_TYPE_val_set
    __swig_getmethods__["val"] = _medenum.MED_ATTRIBUTE_TYPE_val_get
    if _newclass:
        val = _swig_property(_medenum.MED_ATTRIBUTE_TYPE_val_get, _medenum.MED_ATTRIBUTE_TYPE_val_set)

    def __init__(self, *args):
        this = _medenum.new_MED_ATTRIBUTE_TYPE(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def __str__(self):
        return _medenum.MED_ATTRIBUTE_TYPE___str__(self)
    __swig_destroy__ = _medenum.delete_MED_ATTRIBUTE_TYPE
    __del__ = lambda self: None
MED_ATTRIBUTE_TYPE_swigregister = _medenum.MED_ATTRIBUTE_TYPE_swigregister
MED_ATTRIBUTE_TYPE_swigregister(MED_ATTRIBUTE_TYPE)


MED_ATTRIBUTE_TYPE.__repr__= lambda self:"MED_ATTRIBUTE_TYPE" +"("+str(self.val)+")"

class MED_AXIS_TYPE(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, MED_AXIS_TYPE, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, MED_AXIS_TYPE, name)
    __repr__ = _swig_repr
    __swig_setmethods__["val"] = _medenum.MED_AXIS_TYPE_val_set
    __swig_getmethods__["val"] = _medenum.MED_AXIS_TYPE_val_get
    if _newclass:
        val = _swig_property(_medenum.MED_AXIS_TYPE_val_get, _medenum.MED_AXIS_TYPE_val_set)

    def __init__(self, *args):
        this = _medenum.new_MED_AXIS_TYPE(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def __str__(self):
        return _medenum.MED_AXIS_TYPE___str__(self)
    __swig_destroy__ = _medenum.delete_MED_AXIS_TYPE
    __del__ = lambda self: None
MED_AXIS_TYPE_swigregister = _medenum.MED_AXIS_TYPE_swigregister
MED_AXIS_TYPE_swigregister(MED_AXIS_TYPE)


MED_AXIS_TYPE.__repr__= lambda self:"MED_AXIS_TYPE" +"("+str(self.val)+")"



MED_GET_ENTITY_TYPE=[
#    (MED_UNDEF_ENTITY_TYPE,"MED_UNDEF_ENTITY_TYPE"),
    (MED_NODE,		   "MED_NODE"),
    (MED_CELL,		   "MED_CELL"),
    (MED_DESCENDING_FACE,  "MED_DESCENDING_FACE"),
    (MED_DESCENDING_EDGE,  "MED_DESCENDING_EDGE"),
    (MED_NODE_ELEMENT,	   "MED_NODE_ELEMENT"),
    (MED_STRUCT_ELEMENT,   "MED_STRUCT_ELEMENT")
#    (MED_UNDEF_ENTITY_TYPE,"MED_UNDEF_ENTITY_TYPE")
]

MED_GET_NODAL_ENTITY_TYPE=[
#    (MED_UNDEF_ENTITY_TYPE,"MED_UNDEF_ENTITY_TYPE"),
    (MED_NODE,		   "MED_NODE"),
    (MED_CELL,		   "MED_CELL"),
    (MED_NODE_ELEMENT,	   "MED_NODE_ELEMENT"),
    (MED_STRUCT_ELEMENT,   "MED_STRUCT_ELEMENT")
#    (MED_UNDEF_ENTITY_TYPE,"MED_UNDEF_ENTITY_TYPE")
]

MED_GET_DESCENDING_ENTITY_TYPE=[
#    (MED_UNDEF_ENTITY_TYPE,"MED_UNDEF_ENTITY_TYPE"),
    (MED_NODE,		   "MED_NODE"),
    (MED_CELL,		   "MED_CELL"),
    (MED_DESCENDING_FACE,  "MED_DESCENDING_FACE"),
    (MED_DESCENDING_EDGE,  "MED_DESCENDING_EDGE"),
    (MED_NODE_ELEMENT,	   "MED_NODE_ELEMENT"),
    (MED_STRUCT_ELEMENT,   "MED_STRUCT_ELEMENT")
#    (MED_UNDEF_ENTITY_TYPE,"MED_UNDEF_ENTITY_TYPE")
]

#Ordre iteration important pour la numerotation globale induite
MED_GET_CELL_GEOMETRY_TYPE=[
# (MED_NO_GEOTYPE, "MED_NO_GEOTYPE"),
 (MED_POINT1,     "MED_POINT1"),
 (MED_SEG2,       "MED_SEG2"),
 (MED_SEG3,       "MED_SEG3"),
 (MED_SEG4,       "MED_SEG4"),
 (MED_TRIA3,      "MED_TRIA3"),
 (MED_QUAD4,      "MED_QUAD4"),
 (MED_TRIA6,      "MED_TRIA6"),
 (MED_TRIA7,      "MED_TRIA7"),
 (MED_QUAD8,      "MED_QUAD8"),
 (MED_QUAD9,      "MED_QUAD9"),
 (MED_TETRA4,     "MED_TETRA4"),
 (MED_PYRA5,      "MED_PYRA5"),
 (MED_PENTA6,     "MED_PENTA6"),
 (MED_HEXA8,      "MED_HEXA8"),
 (MED_TETRA10,    "MED_TETRA10"),
 (MED_OCTA12,     "MED_OCTA12"),
 (MED_PYRA13,     "MED_PYRA13"),
 (MED_PENTA15,    "MED_PENTA15"),
 (MED_PENTA18,    "MED_PENTA18"),
 (MED_HEXA20,     "MED_HEXA20"),
 (MED_HEXA27,     "MED_HEXA27"),
 (MED_POLYGON,    "MED_POLYGON"),
 (MED_POLYGON2,    "MED_POLYGON2"),
 (MED_POLYHEDRON, "MED_POLYHEDRON")
# (MED_NO_GEOTYPE, "MED_NO_GEOTYPE")
]

#Ordre iteration important pour la numerotation globale induite
MED_GET_FACE_GEOMETRY_TYPE=[
#  (MED_NO_GEOTYPE, "MED_NO_GEOTYPE"),
  (MED_TRIA3,	   "MED_TRIA3"),
  (MED_QUAD4,	   "MED_QUAD4"),
  (MED_TRIA6,	   "MED_TRIA6"),
  (MED_TRIA7,	   "MED_TRIA7"),
  (MED_QUAD8,	   "MED_QUAD8"),
  (MED_QUAD9,	   "MED_QUAD9"),
  (MED_POLYGON,	   "MED_POLYGON")
#  (MED_NO_GEOTYPE, "MED_NO_GEOTYPE")
]

#Ordre iteration important pour la numerotation globale induite
MED_GET_EDGE_GEOMETRY_TYPE=[
#  (MED_NO_GEOTYPE,"MED_NO_GEOTYPE"),
  (MED_SEG2,	 "MED_SEG2"),
  (MED_SEG3,	 "MED_SEG3"),
  (MED_SEG4,	 "MED_SEG4")
#  (MED_NO_GEOTYPE,"MED_NO_GEOTYPE")
]

#Ordre iteration important pour la numerotation globale induite
MED_GET_NODE_GEOMETRY_TYPE=[
# (MED_NO_GEOTYPE,"MED_NO_GEOTYPE"),
 (MED_NO_GEOTYPE,"MED_NO_GEOTYPE")
# (MED_NO_GEOTYPE,"MED_NO_GEOTYPE")
]


MED_GET_GEOTYPE=dict([
    (MED_NODE,		   MED_GET_NODE_GEOMETRY_TYPE),
    (MED_DESCENDING_FACE,  MED_GET_FACE_GEOMETRY_TYPE),
    (MED_DESCENDING_EDGE,  MED_GET_EDGE_GEOMETRY_TYPE),
    (MED_CELL,		   MED_GET_CELL_GEOMETRY_TYPE),
    (MED_NODE_ELEMENT,	   MED_GET_CELL_GEOMETRY_TYPE),
    (MED_STRUCT_ELEMENT,   [(MED_NO_GEOTYPE,"MED_NO_GEOTYPE")])
])


# This file is compatible with both classic and new-style classes.