Skip to content
Snippets Groups Projects
Select Git revision
  • f94a96f07ed475e3f5edc75147855b8a7bfa4b02
  • master default protected
  • alphashapes
  • quadMeshingTools
  • cygwin_conv_path
  • macos_arm64
  • add-transfiniteautomatic-to-geo
  • patch_releases_4_10
  • HierarchicalHDiv
  • isuruf-master-patch-63355
  • hyperbolic
  • hexdom
  • hxt_update
  • jf
  • 1618-pythonocc-and-gmsh-api-integration
  • octreeSizeField
  • hexbl
  • alignIrregularVertices
  • getEdges
  • patch_releases_4_8
  • isuruf-master-patch-51992
  • gmsh_4_11_0
  • gmsh_4_10_5
  • gmsh_4_10_4
  • gmsh_4_10_3
  • gmsh_4_10_2
  • gmsh_4_10_1
  • gmsh_4_10_0
  • gmsh_4_9_5
  • gmsh_4_9_4
  • gmsh_4_9_3
  • gmsh_4_9_2
  • gmsh_4_9_1
  • gmsh_4_9_0
  • gmsh_4_8_4
  • gmsh_4_8_3
  • gmsh_4_8_2
  • gmsh_4_8_1
  • gmsh_4_8_0
  • gmsh_4_7_1
  • gmsh_4_7_0
41 results

ElementType.h

Blame
  • Forked from gmsh / gmsh
    Source project has a limited visibility.
    ElementType.h 841 B
    // Gmsh - Copyright (C) 1997-2017 C. Geuzaine, J.-F. Remacle
    //
    // See the LICENSE.txt file for license information. Please report all
    // bugs and problems to the public mailing list <gmsh@onelab.info>.
    
    #ifndef _ELEMENTTYPE_H_
    #define _ELEMENTTYPE_H_
    
    namespace ElementType
    {
      // Give parent type, order & dimension corresponding to any element type.
      int ParentTypeFromTag(int tag);
      int OrderFromTag(int tag);
      int DimensionFromTag(int tag);
    
      // Gives > 0 if element tag is in Serendipity Family.
      // Gives < 2 if element tag is in 'Normal' Family.
      // 1 is for element that is either Serendipity or not !
      int SerendipityFromTag(int tag);
    
      // Give element tag from type, order & serendip
      int getTag(int parentTag, int order, bool serendip = false);
    
      // Give first order element tag
      int getPrimaryTag(int tag);
    }
    
    #endif