Skip to content
Snippets Groups Projects
Select Git revision
  • 1465069e128bec19f54c6e7ae4a37ca986154170
  • master default
  • cgnsUnstructured
  • partitioning
  • poppler
  • HighOrderBLCurving
  • gmsh_3_0_4
  • gmsh_3_0_3
  • gmsh_3_0_2
  • gmsh_3_0_1
  • gmsh_3_0_0
  • gmsh_2_16_0
  • gmsh_2_15_0
  • gmsh_2_14_1
  • gmsh_2_14_0
  • gmsh_2_13_2
  • gmsh_2_13_1
  • gmsh_2_12_0
  • gmsh_2_11_0
  • gmsh_2_10_1
  • gmsh_2_10_0
  • gmsh_2_9_3
  • gmsh_2_9_2
  • gmsh_2_9_1
  • gmsh_2_9_0
  • gmsh_2_8_6
26 results

GmshDefines.h

Blame
  • Forked from gmsh / gmsh
    Source project has a limited visibility.
    GmshDefines.h 2.08 KiB
    #ifndef _GMSH_DEFINES_H_
    #define _GMSH_DEFINES_H_
    
    // IO file formats
    #define FORMAT_MSH           1
    #define FORMAT_UNV           2
    #define FORMAT_GREF          3
    #define FORMAT_XPM           4
    #define FORMAT_PS            5
    #define FORMAT_BMP           6
    #define FORMAT_GIF           7
    #define FORMAT_GEO           8
    #define FORMAT_JPEG          9
    #define FORMAT_AUTO          10
    #define FORMAT_PPM           11
    #define FORMAT_YUV           12
    #define FORMAT_DMG           13
    #define FORMAT_SMS           14
    #define FORMAT_OPT           15
    #define FORMAT_VTK           16
    #define FORMAT_TEX           18
    #define FORMAT_VRML          19
    #define FORMAT_EPS           20
    #define FORMAT_PNG           22
    #define FORMAT_PDF           24
    #define FORMAT_POS           26
    #define FORMAT_STL           27
    #define FORMAT_P3D           28
    #define FORMAT_SVG           29
    #define FORMAT_MESH          30
    #define FORMAT_BDF           31
    #define FORMAT_CGNS          32
    #define FORMAT_MED           33
    
    // Element types in .msh file format
    #define MSH_LIN_2  1
    #define MSH_TRI_3  2
    #define MSH_QUA_4  3
    #define MSH_TET_4  4
    #define MSH_HEX_8  5
    #define MSH_PRI_6  6
    #define MSH_PYR_5  7
    #define MSH_LIN_3  8
    #define MSH_TRI_6  9
    #define MSH_QUA_9  10
    #define MSH_TET_10 11
    #define MSH_HEX_27 12
    #define MSH_PRI_18 13
    #define MSH_PYR_14 14
    #define MSH_PNT    15
    #define MSH_QUA_8  16
    #define MSH_HEX_20 17
    #define MSH_PRI_15 18
    #define MSH_PYR_13 19
    #define MSH_TRI_9  20
    #define MSH_TRI_10 21
    #define MSH_TRI_12 22
    #define MSH_TRI_15 23
    #define MSH_TRI_15I 24
    #define MSH_TRI_21 25
    #define MSH_LIN_4  26
    #define MSH_LIN_5  27
    #define MSH_LIN_6  28
    
    // Geometric entities
    #define ENT_NONE     0
    #define ENT_POINT    (1<<0)
    #define ENT_LINE     (1<<1)
    #define ENT_SURFACE  (1<<2)
    #define ENT_VOLUME   (1<<3)
    #define ENT_ALL      (ENT_POINT | ENT_LINE | ENT_SURFACE | ENT_VOLUME)
    
    // 2D mesh algorithms
    #define ALGO_2D_MESHADAPT 1
    #define ALGO_2D_DELAUNAY  2
    #define ALGO_2D_TRIANGLE  3
    
    // 3D mesh algorithms
    #define ALGO_3D_DELAUNAY  1
    #define ALGO_3D_NETGEN    4
    #define ALGO_3D_TETGEN    5
    
    #define TRANSFINI 1
    #define LIBRE     2
    
    #endif