Skip to content

Gmsh SDK

tgregov edited this page Feb 16, 2019 · 6 revisions

See the Gmsh doc for more complete information


Frequent variables

  • eleTypes: type of an element, e.g. for a T3 eleTypes equals 2
  • name: name of an element, e.g. for a T3 name equals Triangle 3
  • dim: dimension of an element, e.g. for a T3 dim equals 2
  • order: order of an element, e.g. for a T3 order equals 1
  • tag: tag of an element; tags are used to distinguish elements that have the same dimension dim. tag goes from 0, 1, ...
  • numNodes: numbers of nodes of an element, e.g. for a T3, numNodes equals 3
  • paramCoord: vector that contains the concatenation of the coordinates of the elements in the reference space; for a T3, we get {0, 0, 1, 0, 0, 1}, that is, (0, 0), (1, 0) and (0, 1), i.e. the three coordinates of the vertices of the triangle

Frequent functions

  • gmsh::model::getEntities
  • gmsh::model::mesh::getElementTypes
  • gmsh::model::mesh::getElementProperties
  • gmsh::model::mesh::getElementEdgeNodes
  • gmsh::model::mesh::setElementsByType
  • gmsh::model::mesh::getBasisFunctions
  • gmsh::model::mesh::getJacobians

Home

Clone this wiki locally