1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<html> 3<!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ --> 4<head> 5<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 6<title>Gmsh 4.15.2</title> 7 8<meta name="description" content="Gmsh 4.15.2"> 9<meta name="keywords" content="Gmsh 4.15.2"> 10<meta name="resource-type" content="document"> 11<meta name="distribution" content="global"> 12<meta name="Generator" content="makeinfo"> 13<link href="#Top" rel="start" title="Top"> 14<link href="#Concept-index" rel="index" title="Concept index"> 15<link href="#SEC_Contents" rel="contents" title="Table of Contents"> 16<link href="dir.html#Top" rel="up" title="(dir)"> 17<style type="text/css"> 18<!-- 19a.summary-letter {text-decoration: none} 20blockquote.indentedblock {margin-right: 0em} 21div.display {margin-left: 3.2em} 22div.example {margin-left: 3.2em} 23div.lisp {margin-left: 3.2em} 24kbd {font-style: oblique} 25pre.display {font-family: inherit} 26pre.format {font-family: inherit} 27pre.menu-comment {font-family: serif} 28pre.menu-preformatted {font-family: serif} 29span.nolinebreak {white-space: nowrap} 30span.roman {font-family: initial; font-weight: normal} 31span.sansserif {font-family: sans-serif; font-weight: normal} 32ul.no-bullet {list-style: none} 33--> 34</style> 35<link rel="stylesheet" type="text/css" href="/gmsh.css"> 36 37<meta name="viewport" content="width=device-width,initial-scale=1.0"><style type="text/css"><!-- img { width:66%; max-width:768px } --></style> 38</head> 39 40<body lang="en"> 41<div class="news"><a href="/news/" class="news-link"></a></div><h1 class="settitle" align="center">Gmsh 4.15.2</h1> 42 43 44 45 46 47 48 49 50 51 52<span id="SEC_Contents"></span> 53<h2 class="contents-heading">Table of Contents</h2> 54 55<div class="contents"> 56 57<ul class="no-bullet"> 58 <li><a id="toc-Obtaining-Gmsh-1" href="#Obtaining-Gmsh">Obtaining Gmsh</a></li> 59 <li><a id="toc-Copying-conditions-1" href="#Copying-conditions">Copying conditions</a></li> 60 <li><a id="toc-Reporting-a-bug-1" href="#Reporting-a-bug">Reporting a bug</a></li> 61 <li><a id="toc-Overview-of-Gmsh-1" href="#Overview-of-Gmsh">1 Overview of Gmsh</a> 62 <ul class="no-bullet"> 63 <li><a id="toc-Geometry-module-1" href="#Geometry-module">1.1 Geometry module</a></li> 64 <li><a id="toc-Mesh-module-1" href="#Mesh-module">1.2 Mesh module</a> 65 <ul class="no-bullet"> 66 <li><a id="toc-Choosing-the-right-unstructured-algorithm-1" href="#Choosing-the-right-unstructured-algorithm">1.2.1 Choosing the right unstructured algorithm</a></li> 67 <li><a id="toc-Specifying-mesh-element-sizes-1" href="#Specifying-mesh-element-sizes">1.2.2 Specifying mesh element sizes</a></li> 68 <li><a id="toc-Elementary-entities-vs_002e-physical-groups" href="#Elementary-entities-vs-physical-groups">1.2.3 Elementary entities vs. physical groups</a></li> 69 </ul></li> 70 <li><a id="toc-Solver-module-1" href="#Solver-module">1.3 Solver module</a></li> 71 <li><a id="toc-Post_002dprocessing-module-1" href="#Post_002dprocessing-module">1.4 Post-processing module</a></li> 72 <li><a id="toc-What-Gmsh-is-pretty-good-at-_2026" href="#What-Gmsh-is-pretty-good-at">1.5 What Gmsh is pretty good at …</a></li> 73 <li><a id="toc-_2026-and-what-Gmsh-is-not-so-good-at" href="#and-what-Gmsh-is-not-so-good-at">1.6 … and what Gmsh is not so good at</a></li> 74 <li><a id="toc-Installing-and-running-Gmsh-on-your-computer-1" href="#Installing-and-running-Gmsh-on-your-computer">1.7 Installing and running Gmsh on your computer</a></li> 75 </ul></li> 76 <li><a id="toc-Gmsh-tutorial-1" href="#Gmsh-tutorial">2 Gmsh tutorial</a> 77 <ul class="no-bullet"> 78 <li><a id="toc-t1_003a-Geometry-basics_002c-elementary-entities_002c-physical-groups" href="#t1">2.1 <code>t1</code>: Geometry basics, elementary entities, physical groups</a></li> 79 <li><a id="toc-t2_003a-Transformations_002c-extruded-geometries_002c-volumes" href="#t2">2.2 <code>t2</code>: Transformations, extruded geometries, volumes</a></li> 80 <li><a id="toc-t3_003a-Extruded-meshes_002c-ONELAB-parameters_002c-options" href="#t3">2.3 <code>t3</code>: Extruded meshes, ONELAB parameters, options</a></li> 81 <li><a id="toc-t4_003a-Built_002din-functions_002c-holes-in-surfaces_002c-annotations_002c-entity-colors" href="#t4">2.4 <code>t4</code>
81: Built-in functions, holes in surfaces, annotations, entity colors</a></li> 82 <li><a id="toc-t5_003a-Mesh-sizes_002c-macros_002c-loops_002c-holes-in-volumes" href="#t5">2.5 <code>t5</code>: Mesh sizes, macros, loops, holes in volumes</a></li> 83 <li><a id="toc-t6_003a-Transfinite-meshes_002c-deleting-entities" href="#t6">2.6 <code>t6</code>: Transfinite meshes, deleting entities</a></li> 84 <li><a id="toc-t7_003a-Background-meshes" href="#t7">2.7 <code>t7</code>: Background meshes</a></li> 85 <li><a id="toc-t8_003a-Post_002dprocessing_002c-image-export-and-animations" href="#t8">2.8 <code>t8</code>: Post-processing, image export and animations</a></li> 86 <li><a id="toc-t9_003a-Plugins" href="#t9">2.9 <code>t9</code>: Plugins</a></li> 87 <li><a id="toc-t10_003a-Mesh-size-fields" href="#t10">2.10 <code>t10</code>: Mesh size fields</a></li> 88 <li><a id="toc-t11_003a-Unstructured-quadrangular-meshes" href="#t11">2.11 <code>t11</code>: Unstructured quadrangular meshes</a></li> 89 <li><a id="toc-t12_003a-Cross_002dpatch-meshing-with-compounds" href="#t12">2.12 <code>t12</code>: Cross-patch meshing with compounds</a></li> 90 <li><a id="toc-t13_003a-Remeshing-an-STL-file-without-an-underlying-CAD-model" href="#t13">2.13 <code>t13</code>: Remeshing an STL file without an underlying CAD model</a></li> 91 <li><a id="toc-t14_003a-Homology-and-cohomology-computation" href="#t14">2.14 <code>t14</code>: Homology and cohomology computation</a></li> 92 <li><a id="toc-t15_003a-Embedded-points_002c-lines-and-surfaces" href="#t15">2.15 <code>t15</code>: Embedded points, lines and surfaces</a></li> 93 <li><a id="toc-t16_003a-Constructive-Solid-Geometry_002c-OpenCASCADE-geometry-kernel" href="#t16">2.16 <code>t16</code>: Constructive Solid Geometry, OpenCASCADE geometry kernel</a></li> 94 <li><a id="toc-t17_003a-Anisotropic-background-mesh" href="#t17">2.17 <code>t17</code>: Anisotropic background mesh</a></li> 95 <li><a id="toc-t18_003a-Periodic-meshes" href="#t18">2.18 <code>t18</code>: Periodic meshes</a></li> 96 <li><a id="toc-t19_003a-Thrusections_002c-fillets_002c-pipes_002c-mesh-size-from-curvature" href="#t19">2.19 <code>t19</code>: Thrusections, fillets, pipes, mesh size from curvature</a></li> 97 <li><a id="toc-t20_003a-STEP-import-and-manipulation_002c-geometry-partitioning" href="#t20">2.20 <code>t20</code>: STEP import and manipulation, geometry partitioning</a></li> 98 <li><a id="toc-t21_003a-Mesh-partitioning" href="#t21">2.21 <code>t21</code>: Mesh partitioning</a></li> 99 <li><a id="toc-x1_003a-Geometry-and-mesh-data" href="#x1">2.22 <code>x1</code>: Geometry and mesh data</a></li> 100 <li><a id="toc-x2_003a-Mesh-import_002c-discrete-entities_002c-hybrid-models_002c-terrain-meshing" href="#x2">2.23 <code>x2</code>: Mesh import, discrete entities, hybrid models, terrain meshing</a></li> 101 <li><a id="toc-x3_003a-Post_002dprocessing-data-import_003a-list_002dbased" href="#x3">2.24 <code>x3</code>: Post-processing data import: list-based</a></li> 102 <li><a id="toc-x4_003a-Post_002dprocessing-data-import_003a-model_002dbased" href="#x4">2.25 <code>x4</code>: Post-processing data import: model-based</a></li> 103 <li><a id="toc-x5_003a-Additional-geometrical-data_003a-parametrizations_002c-normals_002c-curvatures" href="#x5">2.26 <code>x5</code>: Additional geometrical data: parametrizations, normals, curvatures</a></li> 104 <li><a id="toc-x6_003a-Additional-mesh-data_003a-integration-points_002c-Jacobians-and-basis-functions" href="#x6">2.27 <code>x6</code>: Additional mesh data: integration points, Jacobians and basis functions</a></li> 105 <li><a id="toc-x7_003a-Additional-mesh-data_003a-internal-edges-and-faces" href="#x7">2.28 <code>x7</code>: Additional mesh data: internal edges and faces</a></li> 106 </ul></li> 107 <li><a id="toc-Gmsh-graphical-user-interface-1" href="#Gmsh-graphical-user-interface">3 Gmsh graphical user interface</a> 108 <ul class="no-bullet"> 109 <li><a id="toc-Mouse-actions-1" href="#Mouse-actions">3.1 Mouse actions</a></li> 110 <li><a id="toc-Keyboard-shortcuts-1" href="#Keyboard-shortcuts">
1103.2 Keyboard shortcuts</a></li> 111 </ul></li> 112 <li><a id="toc-Gmsh-command_002dline-interface-1" href="#Gmsh-command_002dline-interface">4 Gmsh command-line interface</a></li> 113 <li><a id="toc-Gmsh-scripting-language-1" href="#Gmsh-scripting-language">5 Gmsh scripting language</a> 114 <ul class="no-bullet"> 115 <li><a id="toc-General-scripting-commands-1" href="#General-scripting-commands">5.1 General scripting commands</a> 116 <ul class="no-bullet"> 117 <li><a id="toc-Comments-1" href="#Comments">5.1.1 Comments</a></li> 118 <li><a id="toc-Floating-point-expressions-1" href="#Floating-point-expressions">5.1.2 Floating point expressions</a></li> 119 <li><a id="toc-String-expressions-1" href="#String-expressions">5.1.3 String expressions</a></li> 120 <li><a id="toc-Color-expressions-1" href="#Color-expressions">5.1.4 Color expressions</a></li> 121 <li><a id="toc-Operators-1" href="#Operators">5.1.5 Operators</a></li> 122 <li><a id="toc-Built_002din-functions-1" href="#Built_002din-functions">5.1.6 Built-in functions</a></li> 123 <li><a id="toc-User_002ddefined-macros-1" href="#User_002ddefined-macros">5.1.7 User-defined macros</a></li> 124 <li><a id="toc-Loops-and-conditionals-1" href="#Loops-and-conditionals">5.1.8 Loops and conditionals</a></li> 125 <li><a id="toc-Other-general-commands-1" href="#Other-general-commands">5.1.9 Other general commands</a></li> 126 </ul></li> 127 <li><a id="toc-Geometry-scripting-commands-1" href="#Geometry-scripting-commands">5.2 Geometry scripting commands</a> 128 <ul class="no-bullet"> 129 <li><a id="toc-Points-1" href="#Points">5.2.1 Points</a></li> 130 <li><a id="toc-Curves-1" href="#Curves">5.2.2 Curves</a></li> 131 <li><a id="toc-Surfaces-1" href="#Surfaces">5.2.3 Surfaces</a></li> 132 <li><a id="toc-Volumes-1" href="#Volumes">5.2.4 Volumes</a></li> 133 <li><a id="toc-Extrusions-1" href="#Extrusions">5.2.5 Extrusions</a></li> 134 <li><a id="toc-Boolean-operations-1" href="#Boolean-operations">5.2.6 Boolean operations</a></li> 135 <li><a id="toc-Transformations-1" href="#Transformations">5.2.7 Transformations</a></li> 136 <li><a id="toc-Other-geometry-commands-1" href="#Other-geometry-commands">5.2.8 Other geometry commands</a></li> 137 </ul></li> 138 <li><a id="toc-Mesh-scripting-commands-1" href="#Mesh-scripting-commands">5.3 Mesh scripting commands</a> 139 <ul class="no-bullet"> 140 <li><a id="toc-Mesh-element-sizes-1" href="#Mesh-element-sizes">5.3.1 Mesh element sizes</a></li> 141 <li><a id="toc-Structured-grids-1" href="#Structured-grids">5.3.2 Structured grids</a></li> 142 <li><a id="toc-Other-mesh-commands-1" href="#Other-mesh-commands">5.3.3 Other mesh commands</a></li> 143 </ul></li> 144 <li><a id="toc-Post_002dprocessing-scripting-commands-1" href="#Post_002dprocessing-scripting-commands">5.4 Post-processing scripting commands</a></li> 145 </ul></li> 146 <li><a id="toc-Gmsh-application-programming-interface-1" href="#Gmsh-application-programming-interface">6 Gmsh application programming interface</a> 147 <ul class="no-bullet"> 148 <li><a id="toc-Namespace-gmsh_003a-top_002dlevel-functions" href="#Namespace-gmsh">6.1 Namespace <code>gmsh</code>: top-level functions</a></li> 149 <li><a id="toc-Namespace-gmsh_002foption_003a-option-handling-functions" href="#Namespace-gmsh_002foption">6.2 Namespace <code>gmsh/option</code>: option handling functions</a></li> 150 <li><a id="toc-Namespace-gmsh_002fmodel_003a-model-functions" href="#Namespace-gmsh_002fmodel">6.3 Namespace <code>gmsh/model</code>: model functions</a></li> 151 <li><a id="toc-Namespace-gmsh_002fmodel_002fmesh_003a-mesh-functions" href="#Namespace-gmsh_002fmodel_002fmesh">6.4 Namespace <code>gmsh/model/mesh</code>: mesh functions</a></li> 152 <li><a id="toc-Namespace-gmsh_002fmodel_002fmesh_002ffield_003a-mesh-size-field-functions" href="#Namespace-gmsh_002fmodel_002fmesh_002ffield">6.5 Namespace <code>gmsh/model/mesh/field</code>: mesh size field functions</a></li> 153 <li><a id="toc-Namespace-gmsh_002fmodel_002fgeo_003a-built_002din-CAD-kernel-functions" href="#Namespace-gmsh_002fmodel_002fgeo">6.6 Namespace <code>gmsh/model/geo</code>: built-in CAD kernel functions</a></li> 154 <li><a id="toc-Namespace-gmsh_002fmodel_002fgeo_002fmesh_003a-built_002din-CAD-kernel-meshing-constraints" href="#Namespace-gmsh_002fmodel_002fgeo_002fmesh">6.7 Namespace <code>gmsh/model/geo/mesh</code>: built-in CAD kernel meshing constraints</a></li> 155 <li><a id="toc-Namespace-gmsh_002fmodel_002focc_003a-OpenCASCADE-CAD-kernel-functions" href="#Namespace-gmsh_002fmodel_002focc">6.8 Namespace <code>gmsh/model/occ</code>: OpenCASCADE CAD kernel functions</a></li> 156 <li><a id="toc-Namespace-gmsh_002fmodel_002focc_002fmesh_003a-OpenCASCADE-CAD-kernel-meshing-constraints" href="#Namespace-gmsh_002fmodel_002focc_002fmesh">6.9 Namespace <code>gmsh/model/occ/mesh</code>: OpenCASCADE CAD kernel meshing constraints</a></li> 157 <li><a id="toc-Namespace-gmsh_002fview_003a-post_002dprocessing-view-functions" href="#Namespace-gmsh_002fview">6.10 Namespace <code>gmsh/view</code>: post-processing view functions</a></li> 158 <li><a id="toc-Namespace-gmsh_002fview_002foption_003a-view-option-handling-functions" href="#Namespace-gmsh_002fview_002foption">6.11 Namespace <code>gmsh/view/option</code>: view option handling functions</a></li> 159 <li><a id="toc-Namespace-gmsh_002falgorithm_003a-raw-algorithms" href="#Namespace-gmsh_002falgorithm">6.12 Namespace <code>gmsh/algorithm</code>: raw algorithms</a></li> 160 <li><a id="toc-Namespace-gmsh_002fplugin_003a-plugin-functions" href="#Namespace-gmsh_002fplugin">6.13 Namespace <code>gmsh/plugin</code>: plugin functions</a></li> 161 <li><a id="toc-Namespace-gmsh_002fgraphics_003a-graphics-functions" href="#Namespace-gmsh_002fgraphics">6.14 Namespace <code>gmsh/graphics</code>: graphics functions</a></li> 162 <li><a id="toc-Namespace-gmsh_002ffltk_003a-FLTK-graphical-user-interface-functions" href="#Namespace-gmsh_002ffltk">6.15 Namespace <code>gmsh/fltk</code>: FLTK graphical user interface functions</a></li> 163 <li><a id="toc-Namespace-gmsh_002fparser_003a-parser-functions" href="#Namespace-gmsh_002fparser">6.16 Namespace <code>gmsh/parser</code>: parser functions</a></li> 164 <li><a id="toc-Namespace-gmsh_002fonelab_003a-ONELAB-server-functions" href="#Namespace-gmsh_002fonelab">6.17 Namespace <code>
164gmsh/onelab</code>: ONELAB server functions</a></li> 165 <li><a id="toc-Namespace-gmsh_002flogger_003a-information-logging-functions" href="#Namespace-gmsh_002flogger">6.18 Namespace <code>gmsh/logger</code>: information logging functions</a></li> 166 </ul></li> 167 <li><a id="toc-Gmsh-options-1" href="#Gmsh-options">7 Gmsh options</a> 168 <ul class="no-bullet"> 169 <li><a id="toc-General-options-1" href="#General-options">7.1 General options</a></li> 170 <li><a id="toc-Print-options-1" href="#Print-options">7.2 Print options</a></li> 171 <li><a id="toc-Geometry-options-1" href="#Geometry-options">7.3 Geometry options</a></li> 172 <li><a id="toc-Mesh-options-1" href="#Mesh-options">7.4 Mesh options</a></li> 173 <li><a id="toc-Solver-options-1" href="#Solver-options">7.5 Solver options</a></li> 174 <li><a id="toc-Post_002dprocessing-options-1" href="#Post_002dprocessing-options">7.6 Post-processing options</a></li> 175 <li><a id="toc-Post_002dprocessing-view-options-1" href="#Post_002dprocessing-view-options">7.7 Post-processing view options</a></li> 176 </ul></li> 177 <li><a id="toc-Gmsh-mesh-size-fields-1" href="#Gmsh-mesh-size-fields">8 Gmsh mesh size fields</a></li> 178 <li><a id="toc-Gmsh-plugins-1" href="#Gmsh-plugins">9 Gmsh plugins</a></li> 179 <li><a id="toc-Gmsh-file-formats-1" href="#Gmsh-file-formats">10 Gmsh file formats</a> 180 <ul class="no-bullet"> 181 <li><a id="toc-MSH-file-format-1" href="#MSH-file-format">10.1 MSH file format</a></li> 182 <li><a id="toc-Node-ordering-1" href="#Node-ordering">10.2 Node ordering</a> 183 <ul class="no-bullet"> 184 <li><a id="toc-Low-order-elements" href="#Low-order-elements">10.2.1 Low order elements</a></li> 185 <li><a id="toc-High_002dorder-elements" href="#High_002dorder-elements">10.2.2 High-order elements</a></li> 186 </ul></li> 187 <li><a id="toc-Legacy-formats-1" href="#Legacy-formats">10.3 Legacy formats</a> 188 <ul class="no-bullet"> 189 <li><a id="toc-MSH-file-format-version-2-_0028Legacy_0029-1" href="#MSH-file-format-version-2-_0028Legacy_0029">10.3.1 MSH file format version 2 (Legacy)</a></li> 190 <li><a id="toc-MSH-file-format-version-1-_0028Legacy_0029-1" href="#MSH-file-format-version-1-_0028Legacy_0029">10.3.2 MSH file format version 1 (Legacy)</a></li> 191 <li><a id="toc-POS-ASCII-file-format-_0028Legacy_0029-1" href="#POS-ASCII-file-format-_0028Legacy_0029">10.3.3 POS ASCII file format (Legacy)</a></li> 192 <li><a id="toc-POS-binary-file-format-_0028Legacy_0029-1" href="#POS-binary-file-format-_0028Legacy_0029">10.3.4 POS binary file format (Legacy)</a></li> 193 </ul></li> 194 </ul></li> 195 <li><a id="toc-Compiling-the-source-code-1" href="#Compiling-the-source-code">Appendix A Compiling the source code</a></li> 196 <li><a id="toc-Information-for-developers-1" href="#Information-for-developers">Appendix B Information for developers</a> 197 <ul class="no-bullet"> 198 <li><a id="toc-Source-code-structure-1" href="#Source-code-structure">B.1 Source code structure</a></li> 199 <li><a id="toc-Coding-style-1" href="#Coding-style">B.2 Coding style</a></li> 200 <li><a id="toc-Adding-a-new-option-1" href="#Adding-a-new-option">B.3 Adding a new option</a></li> 201 </ul></li> 202 <li><a id="toc-Frequently-asked-questions-1" href="#Frequently-asked-questions">Appendix C Frequently asked questions</a> 203 <ul class="no-bullet"> 204 <li><a id="toc-The-basics-1" href="#The-basics">C.1 The basics</a></li> 205 <li><a id="toc-Installation-problems-1" href="#Installation-problems">C.2 Installation problems</a></li> 206 <li><a id="toc-General-questions-1" href="#General-questions">C.3 General questions</a></li> 207 <li><a id="toc-Geometry-module-2" href="#Geometry-module-questions">C.4 Geometry module</a></li> 208 <li><a id="toc-Mesh-module-2" href="#Mesh-module-questions">C.5 Mesh module</a></li> 209 <li><a id="toc-Solver-module-2" href="#Solver-module-questions">C.6 Solver module</a></li> 210 <li><a id="toc-Post_002dprocessing-module-2" href="#Post_002dprocessing-module-questions">C.7 Post-processing module</a></li> 211 </ul></li> 212 <li><a id="toc-Version-history-1" href="#Version-history">Appendix D Version history</a></li> 213 <li><a id="toc-Copyright-and-credits-1" href="#Copyright-and-credits">Appendix E Copyright and credits</a></li> 214 <li><a id="toc-License-1" href="#License">Appendix F License</a></li> 215 <li><a id="toc-Concept-index-1" href="#Concept-index" rel="index">Concept index</a></li> 216 <li><a id="toc-Syntax-index-1" href="#Syntax-index" rel="index">Syntax index</a></li> 217</ul> 218</div> 219 220 221 222<span id="Top"></span><div class="header"> 223<p> 224Next: <a href="#Obtaining-Gmsh" accesskey="n" rel="next">Obtaining Gmsh</a>, Previous: <a href="dir.html#Top" accesskey="p" rel="prev">(dir)</a>, Up: <a href="dir.html#Top" accesskey="u" rel="up">(dir)</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 225</div> 226<span id="Gmsh"></span><h1 class="top">Gmsh</h1> 227 228<p>Christophe Geuzaine and Jean-François Remacle 229</p> 230<p>Gmsh is an automatic 3D finite element mesh generator with build-in pre- 231and post-processing facilities. This is the <cite>Gmsh Reference Manual</cite> 232for Gmsh 4.15.2 (March 24, 2026). 233</p> 234 235<table class="menu" border="0" cellspacing="0"> 236<tr><td align="left" valign="top">• <a href="#Obtaining-Gmsh" accesskey="1">Obtaining Gmsh</a></td><td> </td><td align="left" valign="top">Where to get your copy of Gmsh 237</td></tr> 238<tr><td align="left" valign="top">• <a href="#Copying-conditions" accesskey="2">Copying conditions</a></td><td> </td><td align="left" valign="top">Terms and conditions of use 239</td></tr> 240<tr><td align="left" valign="top">• <a href="#Reporting-a-bug" accesskey="3">
240Reporting a bug</a></td><td> </td><td align="left" valign="top">Where to report issues 241</td></tr> 242<tr><td align="left" valign="top">• <a href="#Overview-of-Gmsh" accesskey="4">Overview of Gmsh</a></td><td> </td><td align="left" valign="top">High-level overview of Gmsh 243</td></tr> 244<tr><td align="left" valign="top">• <a href="#Gmsh-tutorial" accesskey="5">Gmsh tutorial</a></td><td> </td><td align="left" valign="top">A step-by-step tutorial for both <samp>.geo</samp> files and the API 245</td></tr> 246<tr><td align="left" valign="top">• <a href="#Gmsh-graphical-user-interface" accesskey="6">Gmsh graphical user interface</a></td><td> </td><td align="left" valign="top">Description of Gmsh’s GUI 247</td></tr> 248<tr><td align="left" valign="top">• <a href="#Gmsh-command_002dline-interface" accesskey="7">Gmsh command-line interface</a></td><td> </td><td align="left" valign="top">Description of Gmsh’s command-line interface 249</td></tr> 250<tr><td align="left" valign="top">• <a href="#Gmsh-scripting-language" accesskey="8">Gmsh scripting language</a></td><td> </td><td align="left" valign="top">Description of Gmsh’s built-in scripting language (<samp>.geo</samp> files) 251</td></tr> 252<tr><td align="left" valign="top">• <a href="#Gmsh-application-programming-interface" accesskey="9">Gmsh application programming interface</a></td><td> </td><td align="left" valign="top">Description of Gmsh’s multi-language API 253</td></tr> 254<tr><td align="left" valign="top">• <a href="#Gmsh-options">Gmsh options</a></td><td> </td><td align="left" valign="top">Description of all Gmsh options 255</td></tr> 256<tr><td align="left" valign="top">• <a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td><td> </td><td align="left" valign="top">Description of all Gmsh mesh size fields 257</td></tr> 258<tr><td align="left" valign="top">• <a href="#Gmsh-plugins">Gmsh plugins</a></td><td> </td><td align="left" valign="top">Description of all built-in Gmsh plugins 259</td></tr> 260<tr><td align="left" valign="top">• <a href="#Gmsh-file-formats">Gmsh file formats</a></td><td> </td><td align="left" valign="top">Description of Gmsh’s native file formats 261</td></tr> 262<tr><td align="left" valign="top">• <a href="#Compiling-the-source-code">Compiling the source code</a></td><td> </td><td align="left" valign="top">Information on how to compile Gmsh from source 263</td></tr> 264<tr><td align="left" valign="top">• <a href="#Information-for-developers">Information for developers</a></td><td> </td><td align="left" valign="top">Information for Gmsh developers 265</td></tr> 266<tr><td align="left" valign="top">• <a href="#Frequently-asked-questions">Frequently asked questions</a></td><td> </td><td align="left" valign="top">The Gmsh FAQ 267</td></tr> 268<tr><td align="left" valign="top">• <a href="#Version-history">Version history</a></td><td> </td><td align="left" valign="top">Changelog 269</td></tr> 270<tr><td align="left" valign="top">• <a href="#Copyright-and-credits">Copyright and credits</a></td><td> </td><td align="left" valign="top">Copyright information and list of contributors 271</td></tr> 272<tr><td align="left" valign="top">• <a href="#License">License</a></td><td> </td><td align="left" valign="top">Complete copy of the license 273</td></tr> 274<tr><td align="left" valign="top">• <a href="#Concept-index" rel="index">Concept index</a></td><td> </td><td align="left" valign="top">Index of concepts 275</td></tr> 276<tr><td align="left" valign="top">• <a href="#Syntax-index" rel="index">Syntax index</a></td><td> </td><td align="left" valign="top">Index of command-line, scripting and API syntax 277</td></tr> 278</table> 279 280 281<hr> 282<span id="Obtaining-Gmsh"></span><div class="header"> 283<p> 284Next: <a href="#Copying-conditions" accesskey="n" rel="next">Copying conditions</a>, Previous: <a href="#Top" accesskey="p" rel="prev">Top</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 285</div> 286<span id="Obtaining-Gmsh-1"></span><h2 class="unnumbered">Obtaining Gmsh</h2> 287 288<span id="index-Web-site"></span> 289<span id="index-Internet-address"></span> 290<span id="index-Download"></span> 291 292<p>The source code and pre-compiled binary versions of Gmsh (for Windows, 293macOS and Linux) can be downloaded from <a href="https://gmsh.info">https://gmsh.info</a>. Gmsh 294packages are also directly available in various Linux and BSD 295distributions (Debian, Fedora, Ubuntu, FreeBSD, ...). 296</p> 297<p>If you use Gmsh, we would appreciate that you mention it in your work by 298citing the following paper: C. Geuzaine and J.-F. Remacle, <em>Gmsh: a 299three-dimensional finite element mesh generator with built-in pre- and 300post-processing facilities</em>. International Journal for Numerical Methods
301in Engineering, Volume 79, Issue 11, pages 1309-1331, 2009. A preprint 302of that paper as well as other references and the latest news about Gmsh 303development are available on <a href="https://gmsh.info">https://gmsh.info</a>. 304</p> 305 306<hr> 307<span id="Copying-conditions"></span><div class="header"> 308<p> 309Next: <a href="#Reporting-a-bug" accesskey="n" rel="next">Reporting a bug</a>, Previous: <a href="#Obtaining-Gmsh" accesskey="p" rel="prev">Obtaining Gmsh</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 310</div> 311<span id="Copying-conditions-1"></span><h2 class="unnumbered">Copying conditions</h2> 312 313<span id="index-Copyright"></span> 314<span id="index-License"></span> 315 316<p>Gmsh is <em>free software</em>; this means that everyone is free to use it 317and to redistribute it on a free basis. Gmsh is not in the public 318domain; it is copyrighted and there are restrictions on its 319distribution, but these restrictions are designed to permit everything 320that a good cooperating citizen would want to do. What is not allowed 321is to try to prevent others from further sharing any version of Gmsh 322that they might get from you. 323</p> 324<p>Specifically, we want to make sure that you have the right to give away 325copies of Gmsh, that you receive source code or else can get it if you 326want it, that you can change Gmsh or use pieces of Gmsh in new free 327programs, and that you know you can do these things. 328</p> 329<p>To make sure that everyone has such rights, we have to forbid you to 330deprive anyone else of these rights. For example, if you distribute 331copies of Gmsh, you must give the recipients all the rights that you 332have. You must make sure that they, too, receive or can get the source 333code. And you must tell them their rights. 334</p> 335<p>Also, for our own protection, we must make certain that everyone finds 336out that there is no warranty for Gmsh. If Gmsh is modified by someone 337else and passed on, we want their recipients to know that what they have 338is not what we distributed, so that any problems introduced by others 339will not reflect on our reputation. 340</p> 341<p>The precise conditions of the license for Gmsh are found in the General 342Public License that accompanies the source code 343(see <a href="#License">License</a>). Further information about this license is available 344from the GNU Project webpage 345<a href="https://www.gnu.org/copyleft/gpl-faq.html">https://www.gnu.org/copyleft/gpl-faq.html</a>. Detailed copyright 346information can be found in <a href="#Copyright-and-credits">Copyright and credits</a>. 347</p> 348<p>If you want to integrate parts of Gmsh into a closed-source software, or 349want to sell a modified closed-source version of Gmsh, you will need to 350obtain a different license. Please <a href="http://geuz.org">contact us 351directly</a> for more information. 352</p> 353 354<hr> 355<span id="Reporting-a-bug"></span><div class="header"> 356<p> 357Next: <a href="#Overview-of-Gmsh" accesskey="n" rel="next">Overview of Gmsh</a>, Previous: <a href="#Copying-conditions" accesskey="p" rel="prev">Copying conditions</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 358</div> 359<span id="Reporting-a-bug-1"></span><h2 class="unnumbered">Reporting a bug</h2> 360 361<span id="index-Issues_002c-reporting"></span> 362<span id="index-Bugs_002c-reporting"></span> 363<span id="index-Reporting-bugs"></span> 364 365<p>If, after reading this reference manual, you think you have found a bug 366in Gmsh, please file an issue on 367<a href="https://gitlab.onelab.info/gmsh/gmsh/issues">https://gitlab.onelab.info/gmsh/gmsh/issues</a>. Provide as precise a 368description of the problem as you can, including sample input files that 369produce the bug. Don’t forget to mention both the version of Gmsh and 370your operation system. 371</p> 372<p>See <a href="#Frequently-asked-questions">Frequently asked questions</a>, and the 373<a href="https://gitlab.onelab.info/gmsh/gmsh/issues">bug tracking system</a> to 374see which problems we already know about. 375</p> 376 377<hr> 378<span id="Overview-of-Gmsh"></span><div class="header"> 379<p> 380Next: <a href="#Gmsh-tutorial" accesskey="n" rel="next">
380Gmsh tutorial</a>, Previous: <a href="#Reporting-a-bug" accesskey="p" rel="prev">Reporting a bug</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 381</div> 382<span id="Overview-of-Gmsh-1"></span><h2 class="chapter">1 Overview of Gmsh</h2> 383 384<span id="index-Introduction"></span> 385<span id="index-Overview"></span> 386 387<p>Gmsh is a three-dimensional finite element mesh generator with a 388build-in CAD engine and post-processor. Its design goal is to provide a 389fast, light and user-friendly meshing tool with parametric input and 390flexible visualization capabilities. 391</p> 392<p>Gmsh is built around four modules (geometry, mesh, solver and 393post-processing), which can be controlled with the graphical user 394interface (GUI; see <a href="#Gmsh-graphical-user-interface">Gmsh graphical user interface</a>), from the 395command line (see <a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a>), using text files 396written in Gmsh’s own scripting language (<samp>.geo</samp> files; see 397<a href="#Gmsh-scripting-language">Gmsh scripting language</a>), or through the C++, C, Python, Julia and 398Fortran application programming interface (API; see <a href="#Gmsh-application-programming-interface">Gmsh application programming interface</a>). 399</p> 400<p>A brief description of the four modules is given hereafter, before an 401overview of what Gmsh does best (... and what it is not so good at), and 402some practical information on how to install and run Gmsh on your 403computer. 404</p> 405<table class="menu" border="0" cellspacing="0"> 406<tr><td align="left" valign="top">• <a href="#Geometry-module" accesskey="1">Geometry module</a></td><td> </td><td align="left" valign="top"> 407</td></tr> 408<tr><td align="left" valign="top">• <a href="#Mesh-module" accesskey="2">Mesh module</a></td><td> </td><td align="left" valign="top"> 409</td></tr> 410<tr><td align="left" valign="top">• <a href="#Solver-module" accesskey="3">Solver module</a></td><td> </td><td align="left" valign="top"> 411</td></tr> 412<tr><td align="left" valign="top">• <a href="#Post_002dprocessing-module" accesskey="4">Post-processing module</a></td><td> </td><td align="left" valign="top"> 413</td></tr> 414<tr><td align="left" valign="top">• <a href="#What-Gmsh-is-pretty-good-at" accesskey="5">What Gmsh is pretty good at</a></td><td> </td><td align="left" valign="top"> 415</td></tr> 416<tr><td align="left" valign="top">• <a href="#and-what-Gmsh-is-not-so-good-at" accesskey="6">and what Gmsh is not so good at</a></td><td> </td><td align="left" valign="top"> 417</td></tr> 418<tr><td align="left" valign="top">• <a href="#Installing-and-running-Gmsh-on-your-computer" accesskey="7">Installing and running Gmsh on your computer</a></td><td> </td><td align="left" valign="top"> 419</td></tr> 420</table> 421 422 423<hr> 424<span id="Geometry-module"></span><div class="header"> 425<p> 426Next: <a href="#Mesh-module" accesskey="n" rel="next">Mesh module</a>, Previous: <a href="#Overview-of-Gmsh" accesskey="p" rel="prev">Overview of Gmsh</a>, Up: <a href="#Overview-of-Gmsh" accesskey="u" rel="up">Overview of Gmsh</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 427</div> 428<span id="Geometry-module-1"></span><h3 class="section">1.1 Geometry module</h3> 429 430<p>A model in Gmsh is defined using its Boundary Representation (BRep): a 431volume is bounded by a set of surfaces, a surface is bounded by a series 432of curves, and a curve is bounded by two end points. Model entities are 433topological entities, i.e., they only deal with adjacencies in the 434model, and are implemented as a set of abstract topological 435classes. This BRep is extended by the definition of <em>embedded</em>, or 436internal, model entities: internal points, curves and surfaces can be 437embedded in volumes; and internal points and curves can be embedded in 438surfaces. 439</p> 440<p>The geometry of model entities can be provided by different CAD 441kernels. The two default kernels interfaced by Gmsh are the 442<em>built-in</em> kernel and the <em>OpenCASCADE</em> kernel. Gmsh does not 443translate the geometrical representation from one kernel to another, or 444from these kernels to some neutral representation. Instead, Gmsh 445directly queries the native data for each CAD kernel, which avoids data 446loss and is crucial for complex models where translations invariably 447introduce issues linked to slightly different representations. Selecting 448the CAD kernel in <samp>.geo</samp> scripts is done with the <code>SetFactory</code> 449command (see <a href="#Geometry-scripting-commands">Geometry scripting commands</a>), while in the Gmsh API the 450kernel appears explicitly in all the relevant functions from the 451<code>gmsh/model</code> namespace, with <code>geo</code> or <code>occ</code> prefixes for 452the built-in and OpenCASCADE kernel, respectively (see <a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a>). 453</p> 454<p>Entities can either be built in a <em>bottom-up</em> manner (first points, 455then curves, surfaces and volumes) with the built-in and OpenCASCADE 456kernels, or in a <em>top-down</em> constructive solid geometry fashion 457(solids on which boolean operations are performed) with the OpenCASCADE
458kernel. Both methodologies can also be combined. Finally, groups of 459model entities (called “physical groups”) can be defined, based on the 460elementary geometric entities. (See <a href="#Elementary-entities-vs-physical-groups">Elementary entities vs physical groups</a>, for more information about how physical groups affect the way 461meshes are saved.) 462</p> 463<p>Both model entities (also referred to as “elementary entities”) and 464physical groups are uniquely defined by a pair of integers: their 465dimension (0 for points, 1 for curves, 2 for surfaces, 3 for volumes) 466and their <em>tag</em>, a strictly positive global identification 467number. Entity and group tags are unique per dimension: 468</p><ol> 469<li> each point must possess a unique tag; 470</li><li> each curve must possess a unique tag; 471</li><li> each surface must possess a unique tag; 472</li><li> each volume must possess a unique tag. 473</li></ol> 474<p>Zero or negative tags are reserved by Gmsh for internal use. 475</p> 476<p>Model entities can be manipulated and transformed in a variety of ways 477within the geometry module, but operations are always performed directly 478within their respective CAD kernels. As explained above, there is no 479common internal geometrical representation: rather, Gmsh directly 480performs the operations (translation, rotation, intersection, union, 481fragments, ...) on the native geometrical representation using each CAD 482kernel’s own API. In the same philosophy, models can be imported in the 483geometry module through each CAD kernel’s own import mechanisms. For 484example, by default Gmsh imports STEP and IGES files through 485OpenCASCADE, which will lead to the creation of model entities with an 486internal OpenCASCADE representation. Models represented with the 487built-in CAD kernel can be serialized to disk by exporting them as 488<samp>.geo_unrolled</samp> files, while models contructed with the OpenCASCADE 489kernel can be serialized as <samp>.brep</samp> or <samp>.xao</samp> files. 490</p> 491<p>The <a href="#Gmsh-tutorial">Gmsh tutorial</a>, starting with <a href="#t1">t1</a>, is the best place to 492learn how to use the geometry module: it contains examples of increasing 493complexity based on both the built-in and the OpenCASCADE kernel. Note 494that many features of the geometry module can be used interactively in 495the GUI (see <a href="#Gmsh-graphical-user-interface">Gmsh graphical user interface</a>), which is also a good 496way to learn about both Gmsh’s scripting language and the API, as 497actions in the geometry module automatically append the related command 498in the input script file, and can optionally also generate input for the 499languages supported by the API (see the 500<code>General.ScriptingLanguages</code> option; this is still work-in-progress 501as of Gmsh 4.14.) 502</p> 503<p>In addition to CAD-type geometrical entities, whose geometry is provided 504by a CAD kernel, Gmsh also supports <em>discrete</em> model entities, 505which are defined by a mesh (e.g. STL). Gmsh does not perform 506geometrical operations on such discrete entities, but they can be 507equipped with a geometry through a so-called “reparametrization” 508procedure<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>. The parametrization is then 509used for meshing, in exactly the same way as for CAD entities. See 510<a href="#t13">t13</a> for an example. 511</p> 512 513<hr> 514<span id="Mesh-module"></span><div class="header"> 515<p> 516Next: <a href="#Solver-module" accesskey="n" rel="next">Solver module</a>, Previous: <a href="#Geometry-module" accesskey="p" rel="prev">Geometry module</a>, Up: <a href="#Overview-of-Gmsh" accesskey="u" rel="up">Overview of Gmsh</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 517</div> 518<span id="Mesh-module-1"></span><h3 class="section">1.2 Mesh module</h3> 519 520<p>A finite element mesh of a model is a tessellation of its geometry by 521simple geometrical elements of various shapes (in Gmsh: lines, 522triangles, quadrangles, tetrahedra, prisms, hexahedra and pyramids), 523arranged in such a way that if two of them intersect, they do so along a 524face, an edge or a node, and never otherwise. This defines a so-called 525conformal mesh. The mesh module implements several algorithms to 526generate such meshes automatically. By default, meshes produced by Gmsh 527are considered as <em>unstructured</em>, even if they were generated in a 528<em>structured</em> way (e.g., by extrusion). This implies that the mesh 529elements are completely defined simply by an ordered list of their 530nodes, and that no predefined ordering relation is assumed between any 531two elements. 532</p> 533<p>In order to guarantee the conformity of the mesh, mesh generation is 534performed in a bottom-up flow: curves are discretized first; the mesh of 535the curves is then used to mesh the surfaces; then the mesh of the 536surfaces is used to mesh the volumes. In this process, the mesh of an 537entity is only constrained by the mesh of its boundary, unless entities 538of lower dimensions are explicitly embedded in entities of higher 539dimension. For example, in three dimensions, the triangles discretizing 540a surface will be forced to be faces of tetrahedra in the final 3D mesh 541only if the surface is part of the boundary of a volume, or if that 542surface has been explicitly embedded in the volume. This automatically 543ensures the conformity of the mesh when, for example, two volumes share 544a common surface. Mesh elements are oriented according to the 545geometrical orientation of the underlying entity. Every meshing step is 546constrained by a <em>mesh size field</em>, which prescribes the desired 547size of the elements in the mesh. This size field can be uniform, 548specified by values associated with points in the geometry, or defined 549by general mesh size fields (for example related to the distance to some 550boundary, to a arbitrary scalar field defined on another mesh, etc.): 551see <a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a>. For each meshing step, all structured 552mesh directives are executed first, and serve as additional constraints 553for the unstructured parts. (The generation and handling of conformal 554meshes has important consequences on how meshes are stored internally in 555Gmsh, and how they are accessed through the API: see <a href="#Gmsh-application-programming-interface">Gmsh application programming interface</a>.) 556</p> 557<p>Gmsh’s mesh module regroups several 1D, 2D and 3D meshing algorithms: 558</p> 559<ul> 560<li> The 2D <em>unstructured</em> algorithms generate triangles and/or 561quadrangles (when recombination commands or options are used). The 3D 562<em>unstructured</em> algorithms generate tetrahedra, or tetrahedra and
563pyramids (when the boundary mesh contains quadrangles). 564</li><li> The 2D <em>structured</em> algorithms (transfinite and extrusion) generate 565triangles by default, but quadrangles can be obtained by using the 566recombination commands or options. The 3D <em>structured</em> algorithms 567generate tetrahedra, hexahedra, prisms and pyramids, depending on the 568type of the surface meshes they are based on. 569</li></ul> 570 571<p>All meshes can be subdivided to generate fully quadrangular or fully 572hexahedral meshes with the <code>Mesh.SubdivisionAlgorithm</code> option 573(see <a href="#Mesh-options">Mesh options</a>). 574</p> 575<table class="menu" border="0" cellspacing="0"> 576<tr><td align="left" valign="top">• <a href="#Choosing-the-right-unstructured-algorithm" accesskey="1">Choosing the right unstructured algorithm</a></td><td> </td><td align="left" valign="top"> 577</td></tr> 578<tr><td align="left" valign="top">• <a href="#Specifying-mesh-element-sizes" accesskey="2">Specifying mesh element sizes</a></td><td> </td><td align="left" valign="top"> 579</td></tr> 580<tr><td align="left" valign="top">• <a href="#Elementary-entities-vs-physical-groups" accesskey="3">Elementary entities vs physical groups</a></td><td> </td><td align="left" valign="top"> 581</td></tr> 582</table> 583 584 585<hr> 586<span id="Choosing-the-right-unstructured-algorithm"></span><div class="header"> 587<p> 588Next: <a href="#Specifying-mesh-element-sizes" accesskey="n" rel="next">Specifying mesh element sizes</a>, Previous: <a href="#Mesh-module" accesskey="p" rel="prev">Mesh module</a>, Up: <a href="#Mesh-module" accesskey="u" rel="up">Mesh module</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 589</div> 590<span id="Choosing-the-right-unstructured-algorithm-1"></span><h4 class="subsection">1.2.1 Choosing the right unstructured algorithm</h4> 591 592<p>Gmsh provides a choice between several 2D and 3D unstructured 593algorithms. Each algorithm has its own advantages and disadvantages. 594</p> 595<p>For all 2D unstructured algorithms a Delaunay mesh that contains all the 596points of the 1D mesh is initially constructed using a 597divide-and-conquer algorithm<a id="DOCF2" href="#FOOT2"><sup>2</sup></a>. Missing 598edges are recovered using edge swaps<a id="DOCF3" href="#FOOT3"><sup>3</sup></a>. After this initial step several algorithms can be 599applied to generate the final mesh: 600</p> 601<ul> 602<li> The “MeshAdapt” algorithm<a id="DOCF4" href="#FOOT4"><sup>4</sup></a> is based 603on local mesh modifications. This technique makes use of edge swaps, 604splits, and collapses: long edges are split, short edges are collapsed, 605and edges are swapped if a better geometrical configuration is obtained. 606</li><li> The “Delaunay” algorithm is inspired by the work of the GAMMA team at 607INRIA<a id="DOCF5" href="#FOOT5"><sup>5</sup></a>. New points are inserted sequentially at the circumcenter 608of the element that has the largest adimensional circumradius. The mesh 609is then reconnected using an anisotropic Delaunay criterion. 610</li><li> The “Frontal-Delaunay” algorithm is inspired by the work of 611S. Rebay<a id="DOCF6" href="#FOOT6"><sup>6</sup></a>. 612</li><li> Other experimental algorithms with specific features are also 613available. In particular, “Frontal-Delaunay for 614Quads”<a id="DOCF7" href="#FOOT7"><sup>7</sup></a> is a 615variant of the “Frontal-Delaunay” algorithm aiming at generating 616right-angle triangles suitable for recombination; and 617“BAMG”<a id="DOCF8" href="#FOOT8"><sup>8</sup></a> allows to generate 618anisotropic triangulations. 619</li></ul> 620 621<p>For very complex curved surfaces the “MeshAdapt” algorithm is the most 622robust. When high element quality is important, the “Frontal-Delaunay” 623algorithm should be tried. For very large meshes of plane surfaces the 624“Delaunay” algorithm is the fastest; it usually also handles complex 625mesh size fields better than the “Frontal-Delaunay”. When the 626“Delaunay” or “Frontal-Delaunay” algorithms fail, “MeshAdapt” is 627automatically triggered. The “Automatic” algorithm uses “Delaunay” 628for plane surfaces and “MeshAdapt” for all other surfaces. 629</p> 630<p>Several 3D unstructured algorithms are also available: 631</p> 632<ul> 633<li> The “Delaunay” algorithm is split into three separate steps. First, an 634initial mesh of the union of all the volumes in the model is performed, 635without inserting points in the volume. The surface mesh is then 636recovered using H. Si’s boundary recovery algorithm Tetgen/BR. Then a 637three-dimensional version of the 2D Delaunay algorithm described above 638is applied to insert points in the volume to respect the mesh size 639constraints. 640</li><li> The “Frontal” algorithm uses J. Schoeberl’s Netgen algorithm 641<a id="DOCF9" href="#FOOT9"><sup>9</sup></a>. 642</li><li> The “HXT” algorithm<a id="DOCF10" href="#FOOT10"><sup>10</sup></a>
643is a new efficient and parallel reimplementaton of the Delaunay 644algorithm. 645</li><li> Other experimental algorithms with specific features are also available. 646In particular, “MMG3D”<a id="DOCF11" href="#FOOT11"><sup>11</sup></a> allows to generate anisotropic 647tetrahedralizations. 648</li></ul> 649 650<p>The “Delaunay” algorithm is currently the most robust and is the only 651one that supports the automatic generation of hybrid meshes with 652pyramids. Embedded model entities and general mesh size fields 653(see <a href="#Specifying-mesh-element-sizes">Specifying mesh element sizes</a>) are currently only supported by 654the “Delaunay” and “HXT” algorithms. 655</p> 656<p>When Gmsh is configured with OpenMP support (see <a href="#Compiling-the-source-code">Compiling the source code</a>), most of the meshing steps can be performed in parallel: 657</p><ul> 658<li> 1D and 2D meshing is parallelized using a coarse-grained approach, 659i.e. curves (resp. surfaces) are each meshed sequentially, but several 660curves (resp. surfaces) can be meshed at the same time. 661</li><li> 3D meshing using HXT is parallelized using a fine-grained approach, 662i.e. the actual meshing procedure for a single volume is done is 663parallel. 664</li></ul> 665<p>The number of threads can be controlled with the <code>-nt</code> flag on the 666command line (see <a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a>), or with the 667<code>General.NumThreads</code>, <code>Mesh.MaxNumThreads1D</code>, 668<code>Mesh.MaxNumThreads2D</code> and <code>Mesh.MaxNumThreads3D</code> options (see 669<a href="#General-options">General options</a> and <a href="#Mesh-options">Mesh options</a>). 670</p> 671 672<hr> 673<span id="Specifying-mesh-element-sizes"></span><div class="header"> 674<p> 675Next: <a href="#Elementary-entities-vs-physical-groups" accesskey="n" rel="next">Elementary entities vs physical groups</a>, Previous: <a href="#Choosing-the-right-unstructured-algorithm" accesskey="p" rel="prev">Choosing the right unstructured algorithm</a>, Up: <a href="#Mesh-module" accesskey="u" rel="up">Mesh module</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 676</div> 677<span id="Specifying-mesh-element-sizes-1"></span><h4 class="subsection">1.2.2 Specifying mesh element sizes</h4> 678 679<span id="index-Mesh-size"></span> 680<span id="index-Mesh_002c-element-size"></span> 681<span id="index-Size_002c-elements"></span> 682<span id="index-Mesh_002c-background"></span> 683<span id="index-Background-mesh"></span> 684 685<p>To determine the size of mesh elements, Gmsh locally computes the minimum of 686</p><ol> 687<li> the size of the model bounding box; 688</li><li> if <code>Mesh.MeshSizeFromPoints</code> is set, the mesh size specified at 689geometrical points; 690</li><li> if <code>Mesh.MeshSizeFromCurvature</code> is positive, the mesh size based on 691the curvature of the curves and surfaces (the specified value is the 692number of elements per 2 Pi radians); 693</li><li> the background mesh size field, expressed as a combination of mesh size 694fields (see <a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a>): 695<ul> 696<li> <code>Box</code> fields specify the size inside and outside of a 697parallelepipedic region; 698</li><li> <code>Distance</code> fields specify the size according to the distance to 699model entities; 700</li><li> <code>MathEval</code> fields specify the size using an explicit mathematical 701function; 702</li><li> <code>PostView</code> fields specify an explicit background mesh in the form 703of a scalar post-processing view (see <a href="#Post_002dprocessing-module">Post-processing module</a>, and 704<a href="#Gmsh-file-formats">Gmsh file formats</a>) in which the nodal values represent the target 705sizes. This method is very general but it requires a first (usually 706rough) mesh and a way to compute the target sizes on this mesh (usually 707through an error estimation procedure, e.g. in an iterative process of 708mesh adaptation); 709</li><li> <code>Extend</code> fields compute an extension of the sizes from a given 710boundary entity inside the enclosed surfaces or volumes; 711</li><li> <code>Min</code> and <code>Max</code> fields specify the size as the minimum or 712maximum of the sizes computed using other fields; 713</li><li> … 714</li></ul> 715</li><li> any per-entity mesh size constraint. 716</li></ol> 717 718<p>Using the Gmsh API, this value can then be further modified using a C++, 719C, Python, Julia or Fortran mesh size callback function provided via 720<code>gmsh/model/mesh/setSizeCallback</code> (see <a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a>). 721</p> 722<p>The resulting value is then constrained in the interval 723[<code>Mesh.MeshSizeMin</code>, <code>Mesh.MeshSizeMax</code>] (which can also be
724provided on the command line with <code>-clmin</code> and <code>-clmax</code>) and 725multiplied by <code>Mesh.MeshSizeFactor</code> (<code>-clscale</code> on the command 726line). 727</p> 728<p>Boundary mesh sizes are automatically interpolated during mesh 729generation inside surfaces and/or volumes if 730<code>Mesh.MeshSizeExtendFromBoundary</code> is set (it is set by default; see 731<a href="#Mesh-options">Mesh options</a> for the default values of all the options). If only 732specific parts of the model should use a different mesh size 733(e.g. refinement of the mesh along an edge or within a fillet/surface), 734you may want to set <code>Mesh.MeshSizeExtendFromBoundary</code> to 0 to avoid 735unintentional refinement in nearby entities. Typically, when the mesh 736element sizes are fully specified by a mesh size field, it is often 737desirable to set 738</p><div class="example"> 739<pre class="example">Mesh.MeshSizeFromPoints = 0; 740Mesh.MeshSizeFromCurvature = 0; 741Mesh.MeshSizeExtendFromBoundary = 0; 742</pre></div> 743<p>to prevent over-refinement inside an entity due to small mesh sizes on 744its boundary. 745</p> 746<p>In all cases, meshes are constrained by structured meshing constraints 747(e.g. transfinite or extruded meshes) as well as by any discrete model 748entity that is not equipped with a geometry (which will thus preserve 749its mesh during mesh generation). Meshes on curves are further 750constrainted by the <code>Mesh.MinLineNodes</code>, <code>Mesh.MinCircleNodes</code> 751and <code>Mesh.MinCurveNodes</code> options. 752</p> 753 754<hr> 755<span id="Elementary-entities-vs-physical-groups"></span><div class="header"> 756<p> 757Previous: <a href="#Specifying-mesh-element-sizes" accesskey="p" rel="prev">Specifying mesh element sizes</a>, Up: <a href="#Mesh-module" accesskey="u" rel="up">Mesh module</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 758</div> 759<span id="Elementary-entities-vs_002e-physical-groups"></span><h4 class="subsection">1.2.3 Elementary entities vs. physical groups</h4> 760 761<p>It is usually convenient to combine elementary geometrical entities into 762more meaningful groups, e.g. to define some mathematical (“domain”, 763“boundary with Neumann condition”), functional (“left wing”, 764“fuselage”) or material (“steel”, “carbon”) properties. Such 765grouping is done in Gmsh’s geometry module (see <a href="#Geometry-module">Geometry module</a>) 766through the definition of “physical groups”. 767</p> 768<p>By default in the native Gmsh MSH mesh file format (see <a href="#Gmsh-file-formats">Gmsh file formats</a>), as well as in most other mesh formats, if physical groups are 769defined, the output mesh only contains those elements that belong to at 770least one physical group. (Different mesh file formats treat physical 771groups in slightly different ways, depending on their capability to 772define groups.) To save all mesh elements whether or not physical groups 773are defined, use the <code>Mesh.SaveAll</code> option (see <a href="#Mesh-options">Mesh options</a>) 774or specify <code>-save_all</code> on the command line. In some formats 775(e.g. MSH2), setting <code>Mesh.SaveAll</code> will however discard all 776physical group definitions. 777</p> 778 779<hr> 780<span id="Solver-module"></span><div class="header"> 781<p> 782Next: <a href="#Post_002dprocessing-module" accesskey="n" rel="next">Post-processing module</a>, Previous: <a href="#Mesh-module" accesskey="p" rel="prev">Mesh module</a>, Up: <a href="#Overview-of-Gmsh" accesskey="u" rel="up">Overview of Gmsh</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 783</div> 784<span id="Solver-module-1"></span><h3 class="section">1.3 Solver module</h3> 785 786<p>Gmsh implements a ONELAB (<a href="http://onelab.info">http://onelab.info</a>) server to exchange 787data with external solvers or other codes (called “clients”). The 788ONELAB interface allows to call such clients and have them share 789parameters and modeling information. 790</p> 791<p>The implementation is based on a client-server model, with a server-side
792database and local or remote clients communicating in-memory or through 793TCP/IP sockets. Contrary to most solver interfaces, the ONELAB server 794has no a priori knowledge about any specifics (input file format, 795syntax, ...) of the clients. This is made possible by having any 796simulation preceded by an analysis phase, during which the clients are 797asked to upload their parameter set to the server. The issues of 798completeness and consistency of the parameter sets are completely dealt 799with on the client side: the role of ONELAB is limited to data 800centralization, modification and re-dispatching. 801</p> 802<p>Using the Gmsh API, you can directly embed Gmsh in your C++, C, Python, 803Julia or Fortran solver, use ONELAB for interactive parameter definition 804and modification, and to create post-processing data on the fly. See 805<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/prepro.py">prepro.py</a>, 806<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/custom_gui.py">custom_gui.py</a> and 807<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/custom_gui.cpp">custom_gui.cpp</a> 808for examples. 809</p> 810<p>If you prefer to keep codes separate, you can also communicate with Gmsh 811through a socket by providing the solver name (<code>Solver.Name0</code>, 812<code>Solver.Name1</code>, etc.) and the path to the executable 813(<code>Solver.Executable0</code>, <code>Solver.Executable1</code>, etc.). Parameters 814can then be exchanged using the ONELAB protocol: see the 815<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/utils/solvers">utils/solvers</a> directory for 816examples. A full-featured solver interfaced in this manner is GetDP 817(<a href="https://getdp.info">https://getdp.info</a>), a general finite element solver using mixed 818finite elements. 819</p> 820 821<hr> 822<span id="Post_002dprocessing-module"></span><div class="header"> 823<p> 824Next: <a href="#What-Gmsh-is-pretty-good-at" accesskey="n" rel="next">What Gmsh is pretty good at</a>, Previous: <a href="#Solver-module" accesskey="p" rel="prev">Solver module</a>, Up: <a href="#Overview-of-Gmsh" accesskey="u" rel="up">Overview of Gmsh</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 825</div> 826<span id="Post_002dprocessing-module-1"></span><h3 class="section">1.4 Post-processing module</h3> 827 828<p>The post-processing module can handle multiple scalar, vector or tensor 829datasets along with the geometry and the mesh. The datasets can be given 830in several formats: in human-readable “parsed” format (these are just 831part of a standard input script, but are usually put in separate files 832with a <samp>.pos</samp> extension – see <a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a>), in native MSH files (ASCII or binary files with <samp>.msh</samp> 833extensions: see <a href="#Gmsh-file-formats">Gmsh file formats</a>), or in standard third-party 834formats such as CGNS or MED. Datasets can also be directly imported 835using the Gmsh API (see <a href="#Namespace-gmsh_002fview">Namespace gmsh/view</a>). 836</p> 837<p>Once loaded into Gmsh, scalar fields can be displayed as iso-curves, 838iso-surfaces or color maps, whereas vector fields can be represented 839either by three-dimensional arrows or by displacement maps. Tensor 840fields can be displayed as Von-Mises effective stresses, min/max 841eigenvalues, eigenvectors, ellipses or ellipsoids. (To display other 842combinations of components, you can use the 843<code>View.ForceNumComponents</code> option – see <a href="#Post_002dprocessing-options">Post-processing options</a>.) 844</p> 845<p>Each dataset, along with the visualization options, is called a 846“post-processing view”, or simply a “view”. Each view is given a 847name, and can be manipulated either individually (each view has its own 848button in the GUI and can be referred to by its index or its unique tag 849in a script or in the API) or globally (see the 850<code>PostProcessing.Link</code> option in <a href="#Post_002dprocessing-options">Post-processing options</a>). 851Possible operations on post-processing views include section 852computation, offset, elevation, boundary and component extraction, color 853map and range modification, animation, vector graphic output, etc. 854These operations are either carried out nondestructively through the 855modification of post-processing options, or can lead to the actual 856modification of the view data or the creation of new views when done 857using post-processing plugins (see <a href="#Gmsh-plugins">Gmsh plugins</a>). Both can be fully 858automated in scripts or through the API (see e.g., <a href="#t8">t8</a>, and 859<a href="#t9">t9</a>). 860</p> 861<p>By default, Gmsh treats all post-processing views as three-dimensional 862plots, i.e., draws the scalar, vector and tensor primitives (points, 863curves, triangles, tetrahedra, etc.) in 3D space. But Gmsh can also 864represent each post-processing view containing <em>scalar points</em> as 865two-dimensional (“X-Y”) plots, either space- or time-oriented: 866</p><ul> 867<li> in a ‘2D space’ plot, the scalar points are taken in the same order as they 868are defined in the post-processing view: the abscissa of the 2D graph is 869the curvilinear abscissa of the curve defined by the point series, and only 870one curve is drawn using the values associated with the points. If several 871time steps are available, each time step generates a new curve; 872</li><li> in a ‘2D time’ plot, one curve is drawn for each scalar point in the 873view and the abscissa is the time step. 874</li></ul> 875 876 877<hr> 878<span id="What-Gmsh-is-pretty-good-at"></span><div class="header"> 879<p> 880Next: <a href="#and-what-Gmsh-is-not-so-good-at" accesskey="n" rel="next">and what Gmsh is not so good at</a>, Previous: <a href="#Post_002dprocessing-module" accesskey="p" rel="prev">Post-processing module</a>, Up: <a href="#Overview-of-Gmsh" accesskey="u" rel="up">Overview of Gmsh</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 881</div> 882<span id="What-Gmsh-is-pretty-good-at-_2026"></span>
882<h3 class="section">1.5 What Gmsh is pretty good at …</h3> 883 884<p>Here is a tentative list of what Gmsh does best: 885</p> 886<ul> 887<li> quickly describe simple and/or “repetitive” geometries with the 888built-in scripting language, thanks to user-defined macros, loops, 889conditionals and includes (see <a href="#User_002ddefined-macros">User-defined macros</a>, <a href="#Loops-and-conditionals">Loops and conditionals</a>, and <a href="#Other-general-commands">Other general commands</a>). For more advanced 890geometries, using the Gmsh API (see <a href="#Gmsh-application-programming-interface">Gmsh application programming interface</a>) in the language of your choice (C++, C, Python, Julia or 891Fortran) brings even greater flexibility, the only downside being that 892you need to either compile your code (for C++, C and Fortran) or to 893configure and install an interpreter (Python or Julia) in addition to 894Gmsh. A binary Software Development Kit (SDK) is distributed on the Gmsh 895web site to make the process easier (see <a href="#Installing-and-running-Gmsh-on-your-computer">Installing and running Gmsh on your computer</a>); 896</li><li> parametrize these geometries. Gmsh’s scripting language or the Gmsh API 897enable all commands and command arguments to depend on previous 898calculations. Using the OpenCASCADE geometry kernel, Gmsh gives access 899to all the usual constructive solid geometry operations (see 900e.g. <a href="#t16">t16</a>); 901</li><li> import geometries from other CAD software in standard exchange 902formats. Gmsh uses OpenCASCADE to import such files, including label and 903color information from STEP and IGES files (see e.g. <a href="#t20">t20</a>); 904</li><li> generate unstructured 1D, 2D and 3D simplicial (i.e., using line 905segments, triangles and tetrahedra) finite element meshes (see <a href="#Mesh-module">Mesh module</a>), with fine control over the element size (see <a href="#Specifying-mesh-element-sizes">Specifying mesh element sizes</a>); 906</li><li> create simple extruded geometries and meshes, and allow to automatically 907couple such structured meshes with unstructured ones (using a layer of 908pyramids in 3D); 909</li><li> generate high-order (curved) meshes that conform to the CAD model 910geometry. High-order mesh optimization tools allow to guarantee the 911validity of such curved meshes; 912</li><li> interact with external solvers by defining ONELAB parameters, shared 913between Gmsh and the solvers and easily modifiable in the GUI 914(see <a href="#Solver-module">Solver module</a>); 915</li><li> visualize and export computational results in a great variety of 916ways. Gmsh can display scalar, vector and tensor datasets, perform 917various operations on the resulting post-processing views 918(see <a href="#Post_002dprocessing-module">Post-processing module</a>), can export plots in many different 919formats, and can generate complex animations (see e.g. <a href="#t8">t8</a>); 920</li><li> run on low end machines and/or machines with no graphical 921interface. Gmsh can be compiled with or without the GUI 922(see <a href="#Compiling-the-source-code">Compiling the source code</a>), and all versions can be used either 923interactively or directly from the command line; 924</li><li> configure your preferred options. Gmsh has a large number of 925configuration options that can be set interactively using the GUI, 926scattered inside script files, changed through the API, set in per-user 927configuration files and specified on the command line (see <a href="#Gmsh-options">Gmsh options</a>); 928</li><li> and do all the above on various platforms (Windows, macOS and Linux), 929for free (see <a href="#Copying-conditions">Copying conditions</a>)! 930</li></ul> 931 932 933<hr> 934<span id="and-what-Gmsh-is-not-so-good-at"></span><div class="header"> 935<p> 936Next: <a href="#Installing-and-running-Gmsh-on-your-computer" accesskey="n" rel="next">Installing and running Gmsh on your computer</a>, Previous: <a href="#What-Gmsh-is-pretty-good-at" accesskey="p" rel="prev">What Gmsh is pretty good at</a>, Up: <a href="#Overview-of-Gmsh" accesskey="u" rel="up">Overview of Gmsh</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 937</div> 938<span id="g_t_2026-and-what-Gmsh-is-not-so-good-at"></span>
938<h3 class="section">1.6 … and what Gmsh is not so good at</h3> 939 940<p>Here are some known weaknesses of Gmsh: 941</p> 942<ul> 943<li> Gmsh is not a multi-bloc mesh generator: all meshes produced by Gmsh are 944conforming in the sense of finite element meshes; 945</li><li> Gmsh’s graphical user interface is only exposing a limited number of the 946available features, and many aspects of the interface could be enhanced 947(especially manipulators). 948</li><li> While Gmsh can create and manipulate geometries interactively, it is in 949no way a full-fledged replacement for an advanced CAD system. 950</li><li> Gmsh uses straightforward OpenGL 1.1 for graphics, without specific 951tricks to handle very large meshes and post-processing datasets 952(decimation and automatic level of detail, culling, advanced 953transparency, etc.). 954</li><li> Your complaints about Gmsh here :-) 955</li></ul> 956 957<p>If you have the skills and some free time, feel free to join the 958project: we gladly accept any code contributions (see <a href="#Information-for-developers">Information for developers</a>) to remedy the aforementioned (and all other) shortcomings! 959</p> 960 961<hr> 962<span id="Installing-and-running-Gmsh-on-your-computer"></span><div class="header"> 963<p> 964Previous: <a href="#and-what-Gmsh-is-not-so-good-at" accesskey="p" rel="prev">and what Gmsh is not so good at</a>, Up: <a href="#Overview-of-Gmsh" accesskey="u" rel="up">Overview of Gmsh</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 965</div> 966<span id="Installing-and-running-Gmsh-on-your-computer-1"></span><h3 class="section">1.7 Installing and running Gmsh on your computer</h3> 967 968<span id="index-Running-Gmsh"></span> 969<span id="index-Installation"></span> 970 971<p>Gmsh can be used either as a standalone application, or as a library. 972</p> 973<p>As a standalone application, Gmsh can be controlled with the GUI 974(see <a href="#Gmsh-graphical-user-interface">Gmsh graphical user interface</a>), through the command line 975(see <a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a>) and through <samp>.geo</samp> script 976files (see <a href="#Gmsh-scripting-language">Gmsh scripting language</a>). In addition, the ONELAB 977interface (see <a href="#Solver-module">Solver module</a>) allows to interact with the Gmsh 978application through Unix or TCP/IP sockets. Binary versions of the Gmsh 979app for Windows, Linux and macOS can be downloaded from 980<a href="https://gmsh.info/#Download">https://gmsh.info/#Download</a>. Several Linux distributions also ship 981the Gmsh app. See <a href="#Compiling-the-source-code">Compiling the source code</a> for instructions on 982how to compile the Gmsh app from source. 983</p> 984<p>As a library, Gmsh can still be used in the same way as the standalone 985Gmsh app, but in addition it can also be embedded in external codes 986using the Gmsh API (see <a href="#Gmsh-application-programming-interface">Gmsh application programming interface</a>). 987The API is available in C++, C, Python, Julia and Fortran. A binary 988Software Development Kit (SDK) for Windows, Linux and macOS, that 989contains the dynamic Gmsh library and the associated header and module 990files, can be downloaded from <a href="https://gmsh.info/#Download">https://gmsh.info/#Download</a>. Python 991users can use 992</p><div class="example"> 993<pre class="example">pip install --upgrade gmsh 994</pre></div> 995<p>which will download the binary SDK and install the files in the 996appropriate system directories. Several Linux distributions also ship 997the Gmsh SDK. See <a href="#Compiling-the-source-code">Compiling the source code</a> for instructions on 998how to compile the dynamic Gmsh library from source. 999</p> 1000 1001<hr> 1002<span id="Gmsh-tutorial"></span><div class="header"> 1003<p> 1004Next: <a href="#Gmsh-graphical-user-interface" accesskey="n" rel="next">Gmsh graphical user interface</a>, Previous: <a href="#Overview-of-Gmsh" accesskey="p" rel="prev">Overview of Gmsh</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 1005</div> 1006<span id="Gmsh-tutorial-1"></span><h2 class="chapter">2 Gmsh tutorial</h2> 1007 1008<span id="index-Examples"></span> 1009<span id="index-Tutorial"></span> 1010 1011<p>The following tutorials introduce new features gradually, starting with 1012the first tutorial <code>t1</code> (see <a href="#t1">t1</a>). The corresponding files are 1013available in the <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials">tutorials</a> 1014directory of the Gmsh distribution. 1015</p> 1016<p>The <samp>.geo</samp> files (e.g. <samp>t1.geo</samp>) are written in Gmsh’s 1017built-in scripting language (see <a href="#Gmsh-scripting-language">Gmsh scripting language</a>). You can 1018open them directly with the Gmsh app: in the GUI (see <a href="#Gmsh-graphical-user-interface">Gmsh graphical user interface</a>), use the ‘File->Open’ menu and select 1019e.g. <samp>t1.geo</samp>. Or on the command line, run 1020</p><div class="example"> 1021<pre class="example">> gmsh t1.geo 1022</pre></div> 1023<p>which will launch the GUI, or run 1024</p><div class="example"> 1025<pre class="example">> gmsh t1.geo -2
1026</pre></div> 1027<p>to perform 2D meshing in batch mode (see <a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a>). 1028</p> 1029<p>The <samp>c++</samp>, <samp>c</samp>, <samp>python</samp>, <samp>julia</samp> and <samp>fortran</samp> 1030subdirectories of the <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials">tutorials</a> 1031directory contain the C++, C, Python, Julia and Fortran versions of the 1032tutorials, written using the Gmsh API (see <a href="#Gmsh-application-programming-interface">Gmsh application programming interface</a>). You will need the Gmsh dynamic library and the 1033associated header files (for C++ and C) or modules (for Python, Julia 1034and Fortran) to run them (see <a href="#Installing-and-running-Gmsh-on-your-computer">Installing and running Gmsh on your computer</a>). Each subdirectory contains additional information on how to 1035run the tutorials for each supported language. 1036</p> 1037<p>All the tutorials starting with the letter <samp>t</samp> are available both 1038using the scripting language and the API. Extended tutorials, starting 1039with the letter <samp>x</samp>, introduce features that are only available 1040through the API. 1041</p> 1042<p>Note that besides these tutorials, the Gmsh distribution contains many 1043other examples written using both the built-in scripting language and 1044the API: see <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples">examples</a> and 1045<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/benchmarks">benchmarks</a>. 1046</p> 1047<table class="menu" border="0" cellspacing="0"> 1048<tr><td align="left" valign="top">• <a href="#t1" accesskey="1">t1</a></td><td> </td><td align="left" valign="top">Geometry basics, elementary entities, physical groups 1049</td></tr> 1050<tr><td align="left" valign="top">• <a href="#t2" accesskey="2">t2</a></td><td> </td><td align="left" valign="top">Transformations, extruded geometries, volumes 1051</td></tr> 1052<tr><td align="left" valign="top">• <a href="#t3" accesskey="3">t3</a></td><td> </td><td align="left" valign="top">Extruded meshes, ONELAB parameters, options 1053</td></tr> 1054<tr><td align="left" valign="top">• <a href="#t4" accesskey="4">t4</a></td><td> </td><td align="left" valign="top">Built-in functions, holes in surfaces, annotations, entity colors 1055</td></tr> 1056<tr><td align="left" valign="top">• <a href="#t5" accesskey="5">t5</a></td><td> </td><td align="left" valign="top">Mesh sizes, macros, loops, holes in volumes 1057</td></tr> 1058<tr><td align="left" valign="top">• <a href="#t6" accesskey="6">t6</a></td><td> </td><td align="left" valign="top">Transfinite meshes, deleting entities 1059</td></tr> 1060<tr><td align="left" valign="top">• <a href="#t7" accesskey="7">t7</a></td><td> </td><td align="left" valign="top">Background meshes 1061</td></tr> 1062<tr><td align="left" valign="top">• <a href="#t8" accesskey="8">t8</a></td><td> </td><td align="left" valign="top">Post-processing, image export and animations 1063</td></tr> 1064<tr><td align="left" valign="top">• <a href="#t9" accesskey="9">t9</a></td><td> </td><td align="left" valign="top">Plugins 1065</td></tr> 1066<tr><td align="left" valign="top">• <a href="#t10">t10</a></td><td> </td><td align="left" valign="top">Mesh size fields 1067</td></tr> 1068<tr><td align="left" valign="top">• <a href="#t11">t11</a></td><td> </td><td align="left" valign="top">Unstructured quadrangular meshes 1069</td></tr> 1070<tr><td align="left" valign="top">• <a href="#t12">t12</a></td><td> </td><td align="left" valign="top">Cross-patch meshing with compounds 1071</td></tr> 1072<tr><td align="left" valign="top">• <a href="#t13">t13</a></td><td> </td><td align="left" valign="top">Remeshing an STL file without an underlying CAD model 1073</td></tr> 1074<tr><td align="left" valign="top">• <a href="#t14">t14</a></td><td> </td><td align="left" valign="top">Homology and cohomology computation 1075</td></tr> 1076<tr><td align="left" valign="top">• <a href="#t15">t15</a></td><td> </td><td align="left" valign="top">Embedded points, lines and surfaces 1077</td></tr> 1078<tr><td align="left" valign="top">• <a href="#t16">t16</a></td><td> </td><td align="left" valign="top">Constructive Solid Geometry, OpenCASCADE geometry kernel 1079</td></tr> 1080<tr><td align="left" valign="top">• <a href="#t17">t17</a></td><td> </td><td align="left" valign="top">Anisotropic background mesh 1081</td></tr> 1082<tr><td align="left" valign="top">• <a href="#t18">t18</a></td><td> </td><td align="left" valign="top">Periodic meshes 1083</td></tr> 1084<tr><td align="left" valign="top">• <a href="#t19">t19</a></td><td> </td><td align="left" valign="top">Thrusections, fillets, pipes, mesh size from curvature 1085</td></tr> 1086<tr><td align="left" valign="top">• <a href="#t20">t20</a></td><td> </td><td align="left" valign="top">STEP import and manipulation, geometry partitioning 1087</td></tr> 1088<tr><td align="left" valign="top">• <a href="#t21">t21</a></td><td> </td><td align="left" valign="top">Mesh partitioning 1089</td></tr> 1090<tr><td align="left" valign="top">• <a href="#x1">x1</a></td><td> </td><td align="left" valign="top">Geometry and mesh data 1091</td></tr> 1092<tr><td align="left" valign="top">• <a href="#x2">x2</a></td><td> </td><td align="left" valign="top">Mesh import, discrete entities, hybrid models, terrain meshing 1093</td></tr> 1094<tr><td align="left" valign="top">• <a href="#x3">x3</a></td><td> </td><td align="left" valign="top">Post-processing data import: list-based 1095</td></tr> 1096<tr><td align="left" valign="top">• <a href="#x4">x4</a></td><td> </td><td align="left" valign="top">Post-processing data import: model-based 1097</td></tr> 1098<tr><td align="left" valign="top">• <a href="#x5">x5</a></td><td> </td><td align="left" valign="top">Additional geometrical data: parametrizations, normals, curvatures 1099</td></tr> 1100<tr><td align="left" valign="top">• <a href="#x6">x6</a></td><td> </td><td align="left" valign="top">Additional mesh data: integration points, Jacobians and basis functions 1101</td></tr> 1102<tr><td align="left" valign="top">• <a href="#x7">x7</a></td><td> </td><td align="left" valign="top">Additional mesh data: internal edges and faces 1103</td></tr> 1104</table> 1105 1106 1107<hr> 1108<span id="t1"></span><div class="header"> 1109<p> 1110Next: <a href="#t2" accesskey="n" rel="next">
1110t2</a>, Previous: <a href="#Gmsh-tutorial" accesskey="p" rel="prev">Gmsh tutorial</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 1111</div> 1112<span id="t1_003a-Geometry-basics_002c-elementary-entities_002c-physical-groups"></span><h3 class="section">2.1 <code>t1</code>: Geometry basics, elementary entities, physical groups</h3> 1113 1114<p>See 1115<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/t1.geo">t1.geo</a>. Also 1116available in C++ 1117(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t1.cpp">t1.cpp</a>), 1118C 1119(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c/t1.c">t1.c</a>), 1120Python 1121(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t1.py">t1.py</a>), 1122Julia 1123(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t1.jl">t1.jl</a>) 1124and Fortran 1125(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t1.f90">t1.f90</a>). 1126</p> 1127<div align="center"><img src="images/t1.png" alt="Screenshot of tutorial t1"> 1128</div> 1129<div class="format"> 1130<pre class="verbatim">// ----------------------------------------------------------------------------- 1131// 1132// Gmsh GEO tutorial 1 1133// 1134// Geometry basics, elementary entities, physical groups 1135// 1136// ----------------------------------------------------------------------------- 1137
1138// The simplest construction in Gmsh's scripting language is the 1139// `affectation'. The following command defines a new variable `lc': 1140 1141lc = 1e-2; 1142 1143// This variable can then be used in the definition of Gmsh's simplest 1144// `elementary entity', a `Point'. A Point is uniquely identified by a tag (a 1145// strictly positive integer; here `1') and defined by a list of four numbers: 1146// three coordinates (X, Y and Z) and the target mesh size (lc) close to the 1147// point: 1148 1149Point(1) = {0, 0, 0, lc}; 1150 1151// The distribution of the mesh element sizes will then be obtained by 1152// interpolation of these mesh sizes throughout the geometry. Another method to 1153// specify mesh sizes is to use general mesh size Fields (see `t10.geo'). A 1154// particular case is the use of a background mesh (see `t7.geo'). 1155 1156// If no target mesh size of provided, a default uniform coarse size will be 1157// used for the model, based on the overall model size. 1158 1159// We can then define some additional points. All points should have different 1160// tags: 1161 1162Point(2) = {.1, 0, 0, lc}; 1163Point(3) = {.1, .3, 0, lc}; 1164Point(4) = {0, .3, 0, lc}; 1165 1166// Curves are Gmsh's second type of elementary entities, and, amongst curves, 1167// straight lines are the simplest. A straight line is identified by a tag and 1168// is defined by a list of two point tags. In the commands below, for example, 1169// the line 1 starts at point 1 and ends at point 2. 1170// 1171// Note that curve tags are separate from point tags - hence we can reuse tag 1172// `1' for our first curve. And as a general rule, elementary entity tags in 1173// Gmsh have to be unique per geometrical dimension. 1174 1175Line(1) = {1, 2}; 1176Line(2) = {3, 2}; 1177Line(3) = {3, 4}; 1178Line(4) = {4, 1}; 1179 1180// The third elementary entity is the surface. In order to define a simple 1181// rectangular surface from the four curves defined above, a curve loop has 1182// first to be defined. A curve loop is also identified by a tag (unique amongst 1183// curve loops) and defined by an ordered list of connected curves, a sign being 1184// associated with each curve (depending on the orientation of the curve to form 1185// a loop): 1186 1187Curve Loop(1) = {4, 1, -2, 3}; 1188 1189// We can then define the surface as a list of curve loops (only one here, 1190// representing the external contour, since there are no holes--see `t4.geo' for 1191// an example of a surface with a hole): 1192 1193Plane Surface(1) = {1}; 1194 1195// At this level, Gmsh knows everything to display the rectangular surface 1 and 1196// to mesh it. An optional step is needed if we want to group elementary 1197// geometrical entities into more meaningful groups, e.g. to define some 1198// mathematical ("domain", "boundary"), functional ("left wing", "fuselage") or 1199// material ("steel", "carbon") properties. 1200// 1201// Such groups are called "Physical Groups" in Gmsh. By default, if physical 1202// groups are defined, Gmsh will export in output files only mesh elements that 1203// belong to at least one physical group. (To force Gmsh to save all elements, 1204// whether they belong to physical groups or not, set `Mesh.SaveAll=1;', or 1205// specify `-save_all' on the command line.) Physical groups are also identified 1206// by tags, i.e. strictly positive integers, that should be unique per dimension 1207// (0D, 1D, 2D or 3D). Physical groups can also be given names. 1208// 1209// Here we define a physical curve that groups the left, bottom and right curves 1210// in a single group (with prescribed tag 5); and a physical surface with name 1211// "My surface" (with an automatic tag) containing the geometrical surface 1: 1212 1213Physical Curve(5) = {1, 2, 4}; 1214Physical Surface("My surface") = {1}; 1215 1216// Now that the geometry is complete, you can 1217// - either open this file with Gmsh and select `2D' in the `Mesh' module to 1218// create a mesh; then select `Save' to save it to disk in the default format 1219// (or use `File->Export' to export in other formats); 1220// - or run `gmsh t1.geo -2` to mesh in batch mode on the command line. 1221 1222// You could also uncomment the following lines in this script: 1223// 1224// Mesh 2; 1225// Save "t1.msh"; 1226// 1227// which would lead Gmsh to mesh and save the mesh every time the file is 1228// parsed. (To simply parse the file from the command line, you can use `gmsh 1229// t1.geo -') 1230 1231// By default, Gmsh saves meshes in the latest version of the Gmsh mesh file 1232// format (the `MSH' format). You can save meshes in other mesh formats by 1233// specifying a filename with a different extension in the GUI, on the command 1234// line or in scripts. For example 1235// 1236// Save "t1.unv"; 1237// 1238// will save the mesh in the UNV format. You can also save the mesh in older 1239// versions of the MSH format: 1240// 1241// - In the GUI: open `File->Export', enter your `filename.msh' and then pick 1242// the version in the dropdown menu. 1243// - On the command line: use the `-format' option (e.g. `gmsh file.geo -format 1244// msh2 -2'). 1245// - In a `.geo' script: add `Mesh.MshFileVersion = x.y;' for any version 1246// number `x.y'. 1247// - As an alternative method, you can also not specify the format explicitly, 1248// and just choose a filename with the `.msh2' or `.msh4' extension. 1249
1250// Note that starting with Gmsh 3.0, models can be built using other geometry 1251// kernels than the default built-in kernel. By specifying 1252// 1253// SetFactory("OpenCASCADE"); 1254// 1255// any subsequent command in the `.geo' file would be handled by the OpenCASCADE 1256// geometry kernel instead of the built-in kernel. Different geometry kernels 1257// have different features. With OpenCASCADE, instead of defining the surface by 1258// successively defining 4 points, 4 curves and 1 curve loop, one can define the 1259// rectangular surface directly with 1260// 1261// Rectangle(2) = {.2, 0, 0, .1, .3}; 1262// 1263// The underlying curves and points could be accessed with the `Boundary' or 1264// `CombinedBoundary' operators. 1265// 1266// See e.g. `t16.geo', `t18.geo', `t19.geo' or `t20.geo' for complete examples 1267// based on OpenCASCADE, and `examples/boolean' for more. 1268</pre></div> 1269 1270 1271<hr> 1272<span id="t2"></span><div class="header"> 1273<p> 1274Next: <a href="#t3" accesskey="n" rel="next">t3</a>, Previous: <a href="#t1" accesskey="p" rel="prev">t1</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 1275</div> 1276<span id="t2_003a-Transformations_002c-extruded-geometries_002c-volumes"></span><h3 class="section">2.2 <code>t2</code>: Transformations, extruded geometries, volumes</h3> 1277 1278<p>See 1279<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/t2.geo">t2.geo</a>. Also 1280available in C++ 1281(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t2.cpp">t2.cpp</a>), 1282C 1283(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c/t2.c">t2.c</a>), 1284Python 1285(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t2.py">t2.py</a>), 1286Julia 1287(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t2.jl">t2.jl</a>) 1288and Fortran 1289(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t2.f90">t2.f90</a>). 1290</p> 1291<div align="center"><img src="images/t2.png" alt="Screenshot of tutorial t2"> 1292</div> 1293<div class="format"> 1294<pre class="verbatim">// ----------------------------------------------------------------------------- 1295// 1296// Gmsh GEO tutorial 2 1297// 1298// Transformations, extruded geometries, volumes 1299// 1300// ----------------------------------------------------------------------------- 1301 1302// We first include the previous tutorial file, in order to use it as a basis 1303// for this one. Including a file is equivalent to copy-pasting its contents: 1304 1305Include "t1.geo"; 1306 1307// We can then add new points and curves in the same way as we did in `t1.geo': 1308 1309Point(5) = {0, .4, 0, lc}; 1310Line(5) = {4, 5}; 1311 1312// Gmsh also provides tools to transform (translate, rotate, etc.) 1313// elementary entities or copies of elementary entities. For example, point 1314// 5 can be moved by 0.02 to the left with: 1315 1316Translate {-0.02, 0, 0} { Point{5}; } 1317 1318// And it can be further rotated by -Pi/4 around (0, 0.3, 0) (with the rotation 1319// along the z axis) with: 1320 1321Rotate {{0,0,1}, {0,0.3,0}, -Pi/4} { Point{5}; } 1322 1323// Note that there are no units in Gmsh: coordinates are just numbers - it's up 1324// to the user to associate a meaning to them. 1325 1326// Point 3 can be duplicated and translated by 0.05 along the y axis: 1327 1328Translate {0, 0.05, 0} { Duplicata{ Point{3}; } } 1329 1330// This command created a new point with an automatically assigned tag. This tag 1331// can be obtained using the graphical user interface by hovering the mouse over 1332// the point: in this case, the new point has tag `6'. 1333 1334Line(7) = {3, 6}; 1335Line(8) = {6, 5}; 1336Curve Loop(10) = {5,-8,-7,3}; 1337Plane Surface(11) = {10}; 1338 1339// To automate the workflow, instead of using the graphical user interface to 1340// obtain the tags of newly created entities, one can use the return value of 1341// the transformation commands directly. For example, the `Translate' command 1342// returns a list containing the tags of the translated entities. Let's 1343// translate copies of the two surfaces 1 and 11 to the right with the following 1344// command: 1345 1346my_new_surfs[] = Translate {0.12, 0, 0} { Duplicata{ Surface{1, 11}; } }; 1347 1348// my_new_surfs[] (note the square brackets, and the `;' at the end of the 1349// command) denotes a list, which contains the tags of the two new surfaces 1350// (check `Tools->Message console' to see the message): 1351 1352Printf("New surfaces '%g' and '%g'", my_new_surfs[0], my_new_surfs[1]); 1353 1354// In Gmsh lists use square brackets for their definition (mylist[] = {1, 2, 1355// 3};) as well as to access their elements (myotherlist[] = {mylist[0], 1356// mylist[2]}; mythirdlist[] = myotherlist[];), with list indexing starting at 1357// 0. To get the size of a list, use the hash (pound): len = #mylist[]. 1358// 1359// Note that parentheses can also be used instead of square brackets, so that we 1360// could also write `myfourthlist() = {mylist(0), mylist(1)};'. 1361 1362// Volumes are the fourth type of elementary entities in Gmsh. In the same way 1363// one defines curve loops to build surfaces, one has to define surface loops 1364// (i.e. `shells') to build volumes. The following volume does not have holes 1365// and thus consists of a single surface loop: 1366 1367Point(100) = {0., 0.3, 0.12, lc}; Point(101) = {0.1, 0.3, 0.12, lc}; 1368Point(102) = {0.1, 0.35, 0.12, lc}; 1369 1370xyz[] = Point{5}; // Get coordinates of point 5 1371Point(103) = {xyz[0], xyz[1], 0.12, lc}; 1372 1373Line(110) = {4, 100}; Line(111) = {3, 101}; 1374Line(112) = {6, 102}; Line(113) = {5, 103};
1375Line(114) = {103, 100}; Line(115) = {100, 101}; 1376Line(116) = {101, 102}; Line(117) = {102, 103}; 1377 1378Curve Loop(118) = {115, -111, 3, 110}; Plane Surface(119) = {118}; 1379Curve Loop(120) = {111, 116, -112, -7}; Plane Surface(121) = {120}; 1380Curve Loop(122) = {112, 117, -113, -8}; Plane Surface(123) = {122}; 1381Curve Loop(124) = {114, -110, 5, 113}; Plane Surface(125) = {124}; 1382Curve Loop(126) = {115, 116, 117, 114}; Plane Surface(127) = {126}; 1383 1384Surface Loop(128) = {127, 119, 121, 123, 125, 11}; 1385Volume(129) = {128}; 1386 1387// When a volume can be extruded from a surface, it is usually easier to use the 1388// `Extrude' command directly instead of creating all the points, curves and 1389// surfaces by hand. For example, the following command extrudes the surface 11 1390// along the z axis and automatically creates a new volume (as well as all the 1391// needed points, curves and surfaces): 1392 1393Extrude {0, 0, 0.12} { Surface{my_new_surfs[1]}; } 1394 1395// The following command permits to manually assign a mesh size to some of the 1396// new points: 1397 1398MeshSize {103, 105, 109, 102, 28, 24, 6, 5} = lc * 3; 1399 1400// We finally group volumes 129 and 130 in a single physical group with tag `1' 1401// and name "The volume": 1402 1403Physical Volume("The volume", 1) = {129,130}; 1404 1405// Note that, if the transformation tools are handy to create complex 1406// geometries, it is also sometimes useful to generate the `flat' geometry, with 1407// an explicit representation of all the elementary entities. 1408// 1409// This can be achieved with `File->Export' by selecting the `Gmsh Unrolled GEO' 1410// format, or by adding 1411// 1412// Save "file.geo_unrolled"; 1413// 1414// in the script. It can also be achieved with `gmsh t2.geo -0' on the command 1415// line. 1416</pre></div> 1417 1418 1419<hr> 1420<span id="t3"></span><div class="header"> 1421<p> 1422Next: <a href="#t4" accesskey="n" rel="next">t4</a>, Previous: <a href="#t2" accesskey="p" rel="prev">
1422t2</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 1423</div> 1424<span id="t3_003a-Extruded-meshes_002c-ONELAB-parameters_002c-options"></span><h3 class="section">2.3 <code>t3</code>: Extruded meshes, ONELAB parameters, options</h3> 1425 1426<p>See 1427<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/t3.geo">t3.geo</a>. 1428Also available in C++ 1429(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp">t3.cpp</a>), 1430Python 1431(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py">t3.py</a>), 1432Julia 1433(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl">t3.jl</a>) 1434and Fortran 1435(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90">t3.f90</a>). 1436</p> 1437<div align="center"><img src="images/t3.png" alt="Screenshot of tutorial t3"> 1438</div> 1439<div class="format"> 1440<pre class="verbatim">// ----------------------------------------------------------------------------- 1441// 1442// Gmsh GEO tutorial 3 1443// 1444// Extruded meshes, ONELAB parameters, options 1445// 1446// ----------------------------------------------------------------------------- 1447 1448// Again, we start by including the first tutorial: 1449 1450Include "t1.geo"; 1451 1452// As in `t2.geo', we plan to perform an extrusion along the z axis. But here, 1453// instead of only extruding the geometry, we also want to extrude the 2D 1454// mesh. This is done with the same `Extrude' command, but by specifying element 1455// 'Layers' (2 layers in this case, the first one with 8 subdivisions and the 1456// second one with 2 subdivisions, both with a height of h/2): 1457 1458h = 0.1; 1459 1460Extrude {0,0,h} { 1461 Surface{1}; Layers{ {8,2}, {0.5,1} }; 1462} 1463 1464// The extrusion can also be performed with a rotation instead of a translation, 1465// and the resulting mesh can be recombined into prisms (we use only one layer 1466// here, with 7 subdivisions). All rotations are specified by an axis direction 1467// ({0,1,0}), an axis point ({-0.1,0,0.1}) and a rotation angle (-Pi/2): 1468 1469Extrude { {0,1,0} , {-0.1,0,0.1} , -Pi/2 } { 1470 Surface{28}; Layers{7}; Recombine; 1471} 1472 1473// Using the built-in geometry kernel, only rotations with angles < Pi are 1474// supported. To do a full turn, you will thus need to apply at least 3 1475// rotations. The OpenCASCADE geometry kernel does not have this limitation. 1476 1477// Note that a translation ({-2*h,0,0}) and a rotation ({1,0,0}, {0,0.15,0.25},
1478// Pi/2) can also be combined to form a "twist". Here the angle is specified as 1479// a ONELAB parameter, using the `DefineConstant' syntax. ONELAB parameters can 1480// be modified interactively in the GUI, and can be exchanged with other codes 1481// connected to the same ONELAB database: 1482 1483DefineConstant[ angle = {90, Min 0, Max 120, Step 1, 1484 Name "Parameters/Twisting angle"} ]; 1485 1486// In more details, `DefineConstant' allows you to assign the value of the 1487// ONELAB parameter "Parameters/Twisting angle" to the variable `angle'. If the 1488// ONELAB parameter does not exist in the database, `DefineConstant' will create 1489// it and assign the default value `90'. Moreover, if the variable `angle' was 1490// defined before the call to `DefineConstant', the `DefineConstant' call would 1491// simply be skipped. This allows to build generic parametric models, whose 1492// parameters can be frozen from the outside - the parameters ceasing to be 1493// "parameters". 1494// 1495// An interesting use of this feature is in conjunction with the `-setnumber 1496// name value' command line switch, which defines a variable `name' with value 1497// `value'. Calling `gmsh t3.geo -setnumber angle 30' would define `angle' 1498// before the `DefineConstant', making `t3.geo' non-parametric 1499// ("Parameters/Twisting angle" will not be created in the ONELAB database and 1500// will not be available for modification in the graphical user interface). 1501 1502out[] = Extrude { {-2*h,0,0}, {1,0,0} , {0,0.15,0.25} , angle * Pi / 180 } { 1503 Surface{50}; Layers{10}; Recombine; 1504}; 1505 1506// In this last extrusion command we retrieved the volume number 1507// programmatically by using the return value (a list) of the `Extrude' 1508// command. This list contains the "top" of the extruded surface (in `out[0]'), 1509// the newly created volume (in `out[1]') and the tags of the lateral surfaces 1510// (in `out[2]', `out[3]', ...). 1511 1512// We can then define a new physical volume (with tag 101) to group all the 1513// elementary volumes: 1514 1515Physical Volume(101) = {1, 2, out[1]}; 1516 1517// Let us now change some options... Since all interactive options are 1518// accessible in Gmsh's scripting language, we can for example make point tags 1519// visible or redefine some colors directly in the input file: 1520 1521Geometry.PointNumbers = 1; 1522Geometry.Color.Points = Orange; 1523General.Color.Text = White; 1524Mesh.Color.Points = {255, 0, 0}; 1525 1526// Note that all colors can be defined literally or numerically, i.e. 1527// `Mesh.Color.Points = Red' is equivalent to `Mesh.Color.Points = {255,0,0}'; 1528// and also note that, as with user-defined variables, the options can be used 1529// either as right or left hand sides, so that the following command will set 1530// the surface color to the same color as the points: 1531 1532Geometry.Color.Surfaces = Geometry.Color.Points; 1533 1534// You can use the `Help->Current Options and Workspace' menu to see the current 1535// values of all options. To save all the options in a file, use 1536// `File->Export->Gmsh Options'. To associate the current options with the 1537// current file use `File->Save Model Options'. To save the current options for 1538// all future Gmsh sessions use `File->Save Options As Default'. 1539</pre></div> 1540 1541 1542<hr> 1543<span id="t4"></span><div class="header"> 1544<p> 1545Next: <a href="#t5" accesskey="n" rel="next">t5</a>, Previous: <a href="#t3" accesskey="p" rel="prev">t3</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 1546</div> 1547<span id="t4_003a-Built_002din-functions_002c-holes-in-surfaces_002c-annotations_002c-entity-colors"></span><h3 class="section">2.4 <code>t4</code>: Built-in functions, holes in surfaces, annotations, entity colors</h3> 1548 1549<p>See 1550<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/t4.geo">t4.geo</a>. 1551Also available in C++ 1552(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t4.cpp">t4.cpp</a>), 1553Python 1554(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t4.py">t4.py</a>), 1555Julia 1556(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t4.jl">
1556t4.jl</a>) 1557and Fortran 1558(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t4.f90">t4.f90</a>). 1559</p> 1560<div align="center"><img src="images/t4.png" alt="Screenshot of tutorial t4"> 1561</div> 1562<div class="format"> 1563<pre class="verbatim">// ----------------------------------------------------------------------------- 1564// 1565// Gmsh GEO tutorial 4 1566// 1567// Built-in functions, holes in surfaces, annotations, entity colors 1568// 1569// ----------------------------------------------------------------------------- 1570 1571// As usual, we start by defining some variables: 1572 1573cm = 1e-02; 1574e1 = 4.5 * cm; e2 = 6 * cm / 2; e3 = 5 * cm / 2; 1575h1 = 5 * cm; h2 = 10 * cm; h3 = 5 * cm; h4 = 2 * cm; h5 = 4.5 * cm; 1576R1 = 1 * cm; R2 = 1.5 * cm; r = 1 * cm; 1577Lc1 = 0.01; 1578Lc2 = 0.003; 1579 1580// We can use all the usual mathematical functions (note the capitalized first 1581// letters), plus some useful functions like Hypot(a, b) := Sqrt(a^2 + b^2): 1582 1583ccos = (-h5*R1 + e2 * Hypot(h5, Hypot(e2, R1))) / (h5^2 + e2^2); 1584ssin = Sqrt(1 - ccos^2); 1585 1586// Then we define some points and some lines using these variables: 1587 1588Point(1) = {-e1-e2, 0 , 0, Lc1}; Point(2) = {-e1-e2, h1 , 0, Lc1}; 1589Point(3) = {-e3-r , h1 , 0, Lc2}; Point(4) = {-e3-r , h1+r , 0, Lc2}; 1590Point(5) = {-e3 , h1+r , 0, Lc2}; Point(6) = {-e3 , h1+h2, 0, Lc1}; 1591Point(7) = { e3 , h1+h2, 0, Lc1}; Point(8) = { e3 , h1+r , 0, Lc2}; 1592Point(9) = { e3+r , h1+r , 0, Lc2}; Point(10)= { e3+r , h1 , 0, Lc2}; 1593Point(11)= { e1+e2, h1 , 0, Lc1}; Point(12)= { e1+e2, 0 , 0, Lc1}; 1594Point(13)= { e2 , 0 , 0, Lc1}; 1595 1596Point(14)= { R1 / ssin, h5+R1*ccos, 0, Lc2}; 1597Point(15)= { 0 , h5 , 0, Lc2}; 1598Point(16)= {-R1 / ssin, h5+R1*ccos, 0, Lc2}; 1599Point(17)= {-e2 , 0.0 , 0, Lc1}; 1600 1601Point(18)= {-R2 , h1+h3 , 0, Lc2}; Point(19)= {-R2 , h1+h3+h4, 0, Lc2}; 1602Point(20)= { 0 , h1+h3+h4, 0, Lc2}; Point(21)= { R2 , h1+h3+h4, 0, Lc2}; 1603Point(22)= { R2 , h1+h3 , 0, Lc2}; Point(23)= { 0 , h1+h3 , 0, Lc2}; 1604 1605Point(24)= { 0, h1+h3+h4+R2, 0, Lc2}; Point(25)= { 0, h1+h3-R2, 0, Lc2}; 1606 1607Line(1) = {1 , 17}; 1608Line(2) = {17, 16}; 1609 1610// Gmsh provides other curve primitives than straight lines: splines, B-splines, 1611// circle arcs, ellipse arcs, etc. Here we define a new circle arc, starting at 1612// point 14 and ending at point 16, with the circle's center being the point 15: 1613 1614Circle(3) = {14,15,16}; 1615 1616// Note that, in Gmsh, circle arcs should always be smaller than Pi. The 1617// OpenCASCADE geometry kernel does not have this limitation. 1618 1619// We can then define additional lines and circles, as well as a new surface: 1620 1621Line(4) = {14, 13}; Line(5) = {13, 12}; Line(6) = {12, 11}; 1622Line(7) = {11, 10}; Circle(8) = {8, 9, 10}; Line(9) = {8, 7}; 1623Line(10) = {7, 6}; Line(11) = {6, 5}; Circle(12) = {3, 4, 5}; 1624Line(13) = {3, 2}; Line(14) = {2, 1}; Line(15) = {18, 19}; 1625Circle(16) = {21, 20, 24}; Circle(17) = {24, 20, 19}; 1626Circle(18) = {18, 23, 25}; Circle(19) = {25, 23, 22}; 1627Line(20) = {21,22}; 1628 1629Curve Loop(21) = {17, -15, 18, 19, -20, 16}; 1630Plane Surface(22) = {21}; 1631 1632// But we still need to define the exterior surface. Since this surface has a 1633// hole, its definition now requires two curves loops: 1634 1635Curve Loop(23) = {11, -12, 13, 14, 1, 2, -3, 4, 5, 6, 7, -8, 9, 10}; 1636Plane Surface(24) = {23, 21}; 1637 1638// As a general rule, if a surface has N holes, it is defined by N+1 curve loops: 1639// the first loop defines the exterior boundary; the other loops define the 1640// boundaries of the holes. 1641 1642// Finally, we can add some comments by embedding a post-processing view 1643// containing some strings: 1644 1645View "comments" { 1646 // Add a text string in window coordinates, 10 pixels from the left and 10 1647 // pixels from the bottom, using the `StrCat' function to concatenate strings: 1648 T2(10, -10, 0){ StrCat("Created on ", Today, " with Gmsh") }; 1649 1650 // Add a text string in model coordinates centered at (X,Y,Z) = (0, 0.11, 0): 1651 T3(0, 0.11, 0, TextAttributes("Align", "Center", "Font", "Helvetica")){ 1652 "Hole" 1653 }; 1654 1655 // If a string starts with `file://', the rest is interpreted as an image
1656 // file. For 3D annotations, the size in model coordinates can be specified 1657 // after a `@' symbol in the form `widthxheight' (if one of `width' or 1658 // `height' is zero, natural scaling is used; if both are zero, original image 1659 // dimensions in pixels are used): 1660 T3(0, 0.09, 0, TextAttributes("Align", "Center")){ 1661 "file://[email protected]" 1662 }; 1663 1664 // The 3D orientation of the image can be specified by proving the direction 1665 // of the bottom and left edge of the image in model space: 1666 T3(-0.01, 0.09, 0, 0){ "file://[email protected],0,0,1,0,1,0" }; 1667 1668 // The image can also be drawn in "billboard" mode, i.e. always parallel to 1669 // the camera, by using the `#' symbol: 1670 T3(0, 0.12, 0, TextAttributes("Align", "Center")){ 1671 "file://[email protected]#" 1672 }; 1673 1674 // The size of 2D annotations is given directly in pixels: 1675 T2(350, -7, 0){ "file://t4_image.png@20x0" }; 1676}; 1677 1678// This post-processing view is in the "parsed" format, i.e. it is interpreted 1679// using the same parser as the `.geo' file. For large post-processing datasets, 1680// that contain actual field values defined on a mesh, you should use the MSH 1681// file format instead, which allows to efficiently store continuous or 1682// discontinuous scalar, vector and tensor fields, or arbitrary polynomial 1683// order. 1684 1685// Views and geometrical entities can be made to respond to double-click events, 1686// here to print some messages to the console: 1687 1688View[0].DoubleClickedCommand = "Printf('View[0] has been double-clicked!');"; 1689Geometry.DoubleClickedCurveCommand = "Printf('Curve %g has been double-clicked!', 1690 Geometry.DoubleClickedEntityTag);"; 1691 1692// We can also change the color of some entities: 1693 1694Color Grey50{ Surface{ 22 }; } 1695Color Purple{ Surface{ 24 }; } 1696Color Red{ Curve{ 1:14 }; } 1697Color Yellow{ Curve{ 15:20 }; } 1698</pre></div> 1699 1700 1701<hr> 1702<span id="t5"></span><div class="header"> 1703<p> 1704Next: <a href="#t6" accesskey="n" rel="next">t6</a>, Previous: <a href="#t4" accesskey="p" rel="prev">t4</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 1705</div> 1706<span id="t5_003a-Mesh-sizes_002c-macros_002c-loops_002c-holes-in-volumes"></span><h3 class="section">2.5 <code>t5</code>: Mesh sizes, macros, loops, holes in volumes</h3> 1707 1708<p>See 1709<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/t5.geo">t5.geo</a>. 1710Also available in C++ 1711(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t5.cpp">t5.cpp</a>), 1712Python 1713(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t5.py">t5.py</a>), 1714Julia 1715(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t5.jl">t5.jl</a>) 1716and Fortran 1717(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t5.f90">t5.f90</a>). 1718</p> 1719<div align="center"><img src="images/t5.png" alt="Screenshot of tutorial t5"> 1720</div> 1721<div class="format"> 1722<pre class="verbatim">// ----------------------------------------------------------------------------- 1723// 1724// Gmsh GEO tutorial 5 1725// 1726// Mesh sizes, macros, loops, holes in volumes 1727// 1728// ----------------------------------------------------------------------------- 1729 1730// We start by defining some target mesh sizes: 1731 1732lcar1 = .1; 1733lcar2 = .0005; 1734lcar3 = .055; 1735 1736// If we wanted to change these mesh sizes globally (without changing the above 1737// definitions), we could give a global scaling factor for all mesh sizes on the 1738// command line with the `-clscale' option (or with `Mesh.MeshSizeFactor' in an 1739// option file). For example, with: 1740// 1741// > gmsh t5.geo -clscale 1 1742// 1743// this input file produces a mesh of approximately 3000 nodes and 14,000 1744// tetrahedra. With 1745// 1746// > gmsh t5.geo -clscale 0.2 1747// 1748// the mesh counts approximately 231,000 nodes and 1,360,000 tetrahedra. You can 1749// check mesh statistics in the graphical user interface with the 1750// `Tools->Statistics' menu. 1751// 1752// See `t10.geo' for more information about mesh sizes. 1753 1754// We proceed by defining some elementary entities describing a truncated cube: 1755 1756Point(1) = {0.5,0.5,0.5,lcar2}; Point(2) = {0.5,0.5,0,lcar1}; 1757Point(3) = {0,0.5,0.5,lcar1}; Point(4) = {0,0,0.5,lcar1}; 1758Point(5) = {0.5,0,0.5,lcar1}; Point(6) = {0.5,0,0,lcar1}; 1759Point(7) = {0,0.5,0,lcar1}; Point(8) = {0,1,0,lcar1}; 1760Point(9) = {1,1,0,lcar1}; Point(10) = {0,0,1,lcar1}; 1761Point(11) = {0,1,1,lcar1}; Point(12) = {1,1,1,lcar1};
1762Point(13) = {1,0,1,lcar1}; Point(14) = {1,0,0,lcar1}; 1763 1764Line(1) = {8,9}; Line(2) = {9,12}; Line(3) = {12,11}; 1765Line(4) = {11,8}; Line(5) = {9,14}; Line(6) = {14,13}; 1766Line(7) = {13,12}; Line(8) = {11,10}; Line(9) = {10,13}; 1767Line(10) = {10,4}; Line(11) = {4,5}; Line(12) = {5,6}; 1768Line(13) = {6,2}; Line(14) = {2,1}; Line(15) = {1,3}; 1769Line(16) = {3,7}; Line(17) = {7,2}; Line(18) = {3,4}; 1770Line(19) = {5,1}; Line(20) = {7,8}; Line(21) = {6,14}; 1771 1772Curve Loop(22) = {-11,-19,-15,-18}; Plane Surface(23) = {22}; 1773Curve Loop(24) = {16,17,14,15}; Plane Surface(25) = {24}; 1774Curve Loop(26) = {-17,20,1,5,-21,13}; Plane Surface(27) = {26}; 1775Curve Loop(28) = {-4,-1,-2,-3}; Plane Surface(29) = {28}; 1776Curve Loop(30) = {-7,2,-5,-6}; Plane Surface(31) = {30}; 1777Curve Loop(32) = {6,-9,10,11,12,21}; Plane Surface(33) = {32}; 1778Curve Loop(34) = {7,3,8,9}; Plane Surface(35) = {34}; 1779Curve Loop(36) = {-10,18,-16,-20,4,-8}; Plane Surface(37) = {36}; 1780Curve Loop(38) = {-14,-13,-12,19}; Plane Surface(39) = {38}; 1781 1782// Instead of using included files, we now use a user-defined macro in order 1783// to carve some holes in the cube: 1784 1785Macro CheeseHole 1786 1787 // In the following commands we use the reserved variable name `newp', which 1788 // automatically selects a new point tag. Analogously to `newp', the special 1789 // variables `newc', `newcl, `news', `newsl' and `newv' select new curve, 1790 // curve loop, surface, surface loop and volume tags. 1791 // 1792 // If `Geometry.OldNewReg' is set to 0, the new tags are chosen as the highest 1793 // current tag for each category (points, curves, curve loops, ...), plus 1794 // one. By default, for backward compatibility, `Geometry.OldNewReg' is set 1795 // to 1, and only two categories are used: one for points and one for the 1796 // rest. 1797 1798 p1 = newp; Point(p1) = {x, y, z, lcar3}; 1799 p2 = newp; Point(p2) = {x+r,y, z, lcar3}; 1800 p3 = newp; Point(p3) = {x, y+r,z, lcar3}; 1801 p4 = newp; Point(p4) = {x, y, z+r,lcar3}; 1802 p5 = newp; Point(p5) = {x-r,y, z, lcar3}; 1803 p6 = newp; Point(p6) = {x, y-r,z, lcar3}; 1804 p7 = newp; Point(p7) = {x, y, z-r,lcar3}; 1805 1806 c1 = newc; Circle(c1) = {p2,p1,p7}; c2 = newc; Circle(c2) = {p7,p1,p5}; 1807 c3 = newc; Circle(c3) = {p5,p1,p4}; c4 = newc; Circle(c4) = {p4,p1,p2}; 1808 c5 = newc; Circle(c5) = {p2,p1,p3}; c6 = newc; Circle(c6) = {p3,p1,p5}; 1809 c7 = newc; Circle(c7) = {p5,p1,p6}; c8 = newc; Circle(c8) = {p6,p1,p2}; 1810 c9 = newc; Circle(c9) = {p7,p1,p3}; c10 = newc; Circle(c10) = {p3,p1,p4}; 1811 c11 = newc; Circle(c11) = {p4,p1,p6}; c12 = newc; Circle(c12) = {p6,p1,p7}; 1812 1813 // We need non-plane surfaces to define the spherical holes. Here we use 1814 // `Surface', which can be used for surfaces with 3 or 4 curves on their 1815 // boundary. With the built-in kernel, if all the curves are circle arcs with 1816 // the same center, a spherical patch is created; otherwise transfinite 1817 // interpolation is used. With the OpenCASCADE kernel, `Surface' can be used 1818 // with an arbitrary number of boundary curves, and will fit a BSpline patch 1819 // through them. 1820 1821 l1 = newcl; Curve Loop(l1) = {c5,c10,c4}; 1822 l2 = newcl; Curve Loop(l2) = {c9,-c5,c1}; 1823 l3 = newcl; Curve Loop(l3) = {c12,-c8,-c1}; 1824 l4 = newcl; Curve Loop(l4) = {c8,-c4,c11}; 1825 l5 = newcl; Curve Loop(l5) = {-c10,c6,c3}; 1826 l6 = newcl; Curve Loop(l6) = {-c11,-c3,c7}; 1827 l7 = newcl; Curve Loop(l7) = {-c2,-c7,-c12}; 1828 l8 = newcl; Curve Loop(l8) = {-c6,-c9,c2}; 1829 1830 s1 = news; Surface(s1) = {l1}; 1831 s2 = news; Surface(s2) = {l2}; 1832 s3 = news; Surface(s3) = {l3}; 1833 s4 = news; Surface(s4) = {l4}; 1834 s5 = news; Surface(s5) = {l5}; 1835 s6 = news; Surface(s6) = {l6}; 1836 s7 = news; Surface(s7) = {l7}; 1837 s8 = news; Surface(s8) = {l8}; 1838 1839 // We then store the surface loops tags in a list for later reference (we will 1840 // need these to define the final volume): 1841 1842 theloops[t] = newsl; 1843 Surface Loop(theloops[t]) = {s1, s2, s3, s4, s5, s6, s7, s8}; 1844 1845 thehole = newv; 1846 Volume(thehole) = theloops[t]; 1847 1848Return 1849 1850// We can use a `For' loop to generate five holes in the cube: 1851 1852x = 0; y = 0.75; z = 0; r = 0.09; 1853 1854For t In {1:5} 1855 1856 x += 0.166; 1857 z += 0.166; 1858
1859 // We call the `CheeseHole' macro: 1860 1861 Call CheeseHole; 1862 1863 // We define a physical volume for each hole: 1864 1865 Physical Volume (t) = thehole; 1866 1867 // We also print some variables on the terminal (note that, since all 1868 // variables in `.geo' files are treated internally as floating point numbers, 1869 // the format string should only contain valid floating point format 1870 // specifiers like `%g', `%f', '%e', etc.): 1871 1872 Printf("Hole %g (center = {%g,%g,%g}, radius = %g) has number %g!", 1873 t, x, y, z, r, thehole); 1874 1875EndFor 1876 1877// We can then define the surface loop for the exterior surface of the cube: 1878 1879theloops[0] = newreg; 1880Surface Loop(theloops[0]) = {23:39:2}; 1881 1882// The volume of the cube, without the 5 holes, is now defined by 6 surface 1883// loops: the first surface loop defines the exterior surface; the surface loops 1884// other than the first one define holes. (Again, to reference an array of 1885// variables, its identifier is followed by square brackets): 1886 1887Volume(186) = {theloops[]}; 1888 1889// Note that using solid modelling with the OpenCASCADE geometry kernel, the 1890// same geometry could be built quite differently: see `t16.geo'. 1891 1892// We finally define a physical volume for the elements discretizing the cube, 1893// without the holes (for which physical groups were already created in the 1894// `For' loop): 1895 1896Physical Volume (10) = 186; 1897 1898// We could make only part of the model visible to only mesh this subset: 1899// 1900// Hide {:} 1901// Recursive Show { Volume{129}; } 1902// Mesh.MeshOnlyVisible=1; 1903 1904// Meshing algorithms can changed globally using options: 1905 1906Mesh.Algorithm = 6; // Frontal-Delaunay for 2D meshes 1907 1908// They can also be set for individual surfaces, e.g. 1909 1910MeshAlgorithm Surface {31, 35} = 1; // MeshAdapt on surfaces 31 and 35 1911 1912// To generate a curvilinear mesh and optimize it to produce provably valid 1913// curved elements (see A. Johnen, J.-F. Remacle and C. Geuzaine. Geometric 1914// validity of curvilinear finite elements. Journal of Computational Physics 1915// 233, pp. 359-372, 2013; and T. Toulorge, C. Geuzaine, J.-F. Remacle, 1916// J. Lambrechts. Robust untangling of curvilinear meshes. Journal of 1917// Computational Physics 254, pp. 8-26, 2013), you can uncomment the following 1918// lines: 1919// 1920// Mesh.ElementOrder = 2; 1921// Mesh.HighOrderOptimize = 2; 1922</pre></div> 1923 1924 1925<hr> 1926<span id="t6"></span><div class="header"> 1927<p> 1928Next: <a href="#t7" accesskey="n" rel="next">t7</a>, Previous: <a href="#t5" accesskey="p" rel="prev">t5</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 1929</div> 1930<span id="t6_003a-Transfinite-meshes_002c-deleting-entities"></span><h3 class="section">2.6 <code>t6</code>: Transfinite meshes, deleting entities</h3> 1931 1932<p>See 1933<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/t6.geo">t6.geo</a>. 1934Also available in C++ 1935(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t6.cpp">t6.cpp</a>), 1936C 1937(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c/t6.c">t6.c</a>), 1938Python 1939(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t6.py">t6.py</a>), 1940Julia 1941(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t6.jl">t6.jl</a>) 1942and Fortran 1943(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t6.f90">t6.f90</a>). 1944</p> 1945<div align="center"><img src="images/t6.png" alt="Screenshot of tutorial t6"> 1946</div> 1947<div class="format"> 1948<pre class="verbatim">// ----------------------------------------------------------------------------- 1949// 1950// Gmsh GEO tutorial 6 1951// 1952// Transfinite meshes, deleting entities 1953// 1954// ----------------------------------------------------------------------------- 1955 1956// Let's use the geometry from the first tutorial as a basis for this one: 1957lc = 1e-2; 1958Point(1) = {0, 0, 0, lc}; 1959Point(2) = {.1, 0, 0, lc}; 1960Point(3) = {.1, .3, 0, lc}; 1961Point(4) = {0, .3, 0, lc}; 1962Line(1) = {1, 2}; 1963Line(2) = {3, 2}; 1964Line(3) = {3, 4}; 1965Line(4) = {4, 1}; 1966Curve Loop(1) = {4, 1, -2, 3}; 1967Plane Surface(1) = {1}; 1968 1969// Delete the surface and the left line, and replace the line with 3 new ones: 1970Delete{ Surface{1}; Curve{4}; } 1971 1972p1 = newp; Point(p1) = {-0.05, 0.05, 0, lc}; 1973p2 = newp; Point(p2) = {-0.05, 0.1, 0, lc}; 1974 1975l1 = newc; Line(l1) = {1, p1}; 1976l2 = newc; Line(l2) = {p1, p2}; 1977l3 = newc; Line(l3) = {p2, 4}; 1978 1979// Create a surface: 1980Curve Loop(2) = {2, -1, l1, l2, l3, -3}; 1981Plane Surface(1) = {-2}; 1982 1983// The `Transfinite Curve' meshing constraints explicitly specifies the location 1984// of the nodes on the curve. For example, the following command forces 20 1985// uniformly placed nodes on curve 2 (including the nodes on the two end 1986// points): 1987Transfinite Curve{2} = 20; 1988 1989// Let's put 20 points total on combination of curves `l1', `l2' and `l3' 1990// (beware that the points `p1' and `p2' are shared by the curves, so we do not
1991// create 6 + 6 + 10 = 22 nodes, but 20!) 1992Transfinite Curve{l1} = 6; 1993Transfinite Curve{l2} = 6; 1994Transfinite Curve{l3} = 10; 1995 1996// Finally, we put 30 nodes following a geometric progression on curve 1 1997// (reversed) and on curve 3: 1998Transfinite Curve{-1, 3} = 30 Using Progression 1.2; 1999 2000// The `Transfinite Surface' meshing constraint uses a transfinite interpolation 2001// algorithm in the parametric plane of the surface to connect the nodes on the 2002// boundary using a structured grid. If the surface has more than 4 corner 2003// points, the corners of the transfinite interpolation have to be specified by 2004// hand: 2005Transfinite Surface{1} = {1, 2, 3, 4}; 2006 2007// To create quadrangles instead of triangles, one can use the `Recombine' 2008// command: 2009Recombine Surface{1}; 2010 2011// When the surface has only 3 or 4 points on its boundary the list of corners 2012// can be omitted in the `Transfinite Surface' constraint: 2013Point(7) = {0.2, 0.2, 0, 1.0}; 2014Point(8) = {0.2, 0.1, 0, 1.0}; 2015Point(9) = {0.25, 0.2, 0, 1.0}; 2016Point(10) = {0.3, 0.1, 0, 1.0}; 2017Line(10) = {8, 10}; 2018Line(11) = {10, 9}; 2019Line(12) = {9, 7}; 2020Line(13) = {7, 8}; 2021Curve Loop(14) = {10, 11, 12, 13}; 2022Plane Surface(15) = {14}; 2023Transfinite Curve {10, 11, 12, 13} = 10; 2024Transfinite Surface{15}; 2025 2026// The way triangles are generated can be controlled by appending "Left", 2027// "Right" or "Alternate" after the `Transfinite Surface' command. Try e.g. 2028// 2029// Transfinite Surface{15} Alternate; 2030 2031// Finally we apply an elliptic smoother to the grid to have a more regular 2032// mesh: 2033Mesh.Smoothing = 100; 2034</pre></div> 2035 2036 2037<hr> 2038<span id="t7"></span><div class="header"> 2039<p> 2040Next: <a href="#t8" accesskey="n" rel="next">t8</a>, Previous: <a href="#t6" accesskey="p" rel="prev">t6</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 2041</div> 2042<span id="t7_003a-Background-meshes"></span><h3 class="section">2.7 <code>t7</code>: Background meshes</h3> 2043 2044<p>See 2045<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/t7.geo">t7.geo</a>. 2046Also available in C++ 2047(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t7.cpp">t7.cpp</a>), 2048Python 2049(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t7.py">t7.py</a>), 2050Julia 2051(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t7.jl">t7.jl</a>) 2052and Fortran 2053(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t7.f90">t7.f90</a>). 2054</p> 2055<div align="center"><img src="images/t7.png" alt="Screenshot of tutorial t7"> 2056</div> 2057<div class="format"> 2058<pre class="verbatim">// ----------------------------------------------------------------------------- 2059// 2060// Gmsh GEO tutorial 7 2061// 2062// Background meshes 2063// 2064// ----------------------------------------------------------------------------- 2065 2066// Mesh sizes can be specified very accurately by providing a background mesh, 2067// i.e., a post-processing view that contains the target mesh sizes. 2068 2069// Merge a list-based post-processing view containing the target mesh sizes: 2070Merge "t7_bgmesh.pos"; 2071 2072// If the post-processing view was model-based instead of list-based (i.e. if it 2073// was based on an actual mesh), we would need to create a new model to contain 2074// the geometry so that meshing it does not destroy the background mesh. It's 2075// not necessary here since the view is list-based, but it does no harm: 2076NewModel; 2077 2078// Merge the first tutorial geometry: 2079Merge "t1.geo"; 2080 2081// Apply the view as the current background mesh size field: 2082Background Mesh View[0]; 2083 2084// In order to compute the mesh sizes from the background mesh only, and 2085// disregard any other size constraints, one can set: 2086Mesh.MeshSizeExtendFromBoundary = 0; 2087Mesh.MeshSizeFromPoints = 0; 2088Mesh.MeshSizeFromCurvature = 0; 2089 2090// See `t10.geo' for additional information: background meshes are actually a 2091// particular case of general "mesh size fields". 2092</pre></div> 2093 2094 2095<hr> 2096<span id="t8"></span><div class="header"> 2097<p> 2098Next: <a href="#t9" accesskey="n" rel="next">t9</a>, Previous: <a href="#t7" accesskey="p" rel="prev">t7</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">
2098Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 2099</div> 2100<span id="t8_003a-Post_002dprocessing_002c-image-export-and-animations"></span><h3 class="section">2.8 <code>t8</code>: Post-processing, image export and animations</h3> 2101 2102<p>See 2103<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/t8.geo">t8.geo</a>. 2104Also available in C++ 2105(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t8.cpp">t8.cpp</a>), 2106Python 2107(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t8.py">t8.py</a>), 2108Julia 2109(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t8.jl">t8.jl</a>) 2110and Fortran 2111(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t8.f90">t8.f90</a>). 2112</p> 2113<div align="center"><img src="images/t8.png" alt="Screenshot of tutorial t8"> 2114</div> 2115<div class="format"> 2116<pre class="verbatim">// ----------------------------------------------------------------------------- 2117// 2118// Gmsh GEO tutorial 8 2119// 2120// Post-processing, image export and animations 2121// 2122// ----------------------------------------------------------------------------- 2123 2124// In addition to creating geometries and meshes, GEO scripts can also be used 2125// to manipulate post-processing datasets (called "views" in Gmsh). 2126 2127// We first include `t1.geo' as well as some post-processing views: 2128 2129Include "t1.geo"; 2130Include "view1.pos"; 2131Include "view1.pos"; 2132Include "view4.pos"; 2133 2134// Gmsh can read post-processing views in various formats. Here the `view1.pos' 2135// and `view4.pos' files are in the Gmsh "parsed" format, which is interpreted 2136// directly by the GEO script parser. The parsed format should only be used for 2137// relatively small datasets of course: for larger datasets using e.g. MSH files 2138// is much more efficient. 2139 2140// We then set some general options: 2141 2142General.Trackball = 0; 2143General.RotationX = 0; General.RotationY = 0; General.RotationZ = 0; 2144General.Color.Background = White; General.Color.Foreground = Black; 2145General.Color.Text = Black; 2146General.Orthographic = 0; 2147General.Axes = 0; General.SmallAxes = 0; 2148 2149// We also set some options for each post-processing view: 2150 2151v0 = PostProcessing.NbViews-4; 2152v1 = v0+1; v2 = v0+2;
2152 v3 = v0+3; 2153 2154View[v0].IntervalsType = 2; 2155View[v0].OffsetZ = 0.05; 2156View[v0].RaiseZ = 0; 2157View[v0].Light = 1; 2158View[v0].ShowScale = 0; 2159View[v0].SmoothNormals = 1; 2160 2161View[v1].IntervalsType = 1; 2162View[v1].ColorTable = { Green, Blue }; 2163View[v1].NbIso = 10; 2164View[v1].ShowScale = 0; 2165 2166View[v2].Name = "Test..."; 2167View[v2].Axes = 1; 2168View[v2].Color.Axes = Black; 2169View[v2].IntervalsType = 2; 2170View[v2].Type = 2; 2171View[v2].AutoPosition = 0; 2172View[v2].PositionX = 85; 2173View[v2].PositionY = 50; 2174View[v2].Width = 200; 2175View[v2].Height = 130; 2176 2177View[v3].Visible = 0; 2178 2179// You can save an MPEG movie directly by selecting `File->Export' in the 2180// GUI. Several predefined animations are setup, for looping on all the time 2181// steps in views, or for looping between views. 2182 2183// But a script can be used to build much more complex animations, by changing 2184// options at run-time and re-rendering the graphics. Each frame can then be 2185// saved to disk as an image, and multiple frames can be encoded to form a 2186// movie. Below is an example of such a custom animation. 2187 2188t = 0; // Initial step 2189 2190// Loop on num from 1 to 3 2191For num In {1:3} 2192 2193 View[v0].TimeStep = t; // Set time step 2194 View[v1].TimeStep = t; 2195 View[v2].TimeStep = t; 2196 View[v3].TimeStep = t; 2197 2198 t = (View[v0].TimeStep < View[v0].NbTimeStep-1) ? t+1 : 0; // Increment 2199 2200 View[v0].RaiseZ += 0.01/View[v0].Max * t; // Raise view v0 2201 2202 If (num == 3) 2203 // Resize the graphics when num == 3, to create 640x480 frames 2204 General.GraphicsWidth = General.MenuWidth + 640; 2205 General.GraphicsHeight = 480; 2206 EndIf 2207 2208 frames = 50; 2209 2210 // Loop on num2 from 1 to frames 2211 For num2 In {1:frames} 2212 2213 // Incrementally rotate the scene 2214 General.RotationX += 10; 2215 General.RotationY = General.RotationX / 3; 2216 General.RotationZ += 0.1; 2217 2218 // Sleep for 0.01 second 2219 Sleep 0.01; 2220 2221 // Draw the scene (one could use `DrawForceChanged' instead to force the 2222 // reconstruction of the vertex arrays, e.g. if changing element clipping) 2223 Draw; 2224 2225 If (num == 3) 2226 // Uncomment the following lines to save each frame to an image file (the 2227 // `Print' command saves the graphical window; the `Sprintf' function 2228 // permits to create the file names on the fly): 2229 2230 // Print Sprintf("t8-%g.gif", num2); 2231 // Print Sprintf("t8-%g.ppm", num2); 2232 // Print Sprintf("t8-%g.jpg", num2); 2233 EndIf 2234 2235 EndFor 2236 2237 If(num == 3) 2238 // Here we could make a system call to generate a movie. For example, with 2239 // ffmpeg: 2240 2241 // System "ffmpeg -i t8-%d.jpg t8.mpg" 2242 EndIf 2243 2244EndFor 2245</pre></div> 2246 2247 2248<hr> 2249<span id="t9"></span><div class="header"> 2250<p> 2251Next: <a href="#t10" accesskey="n" rel="next">t10</a>, Previous: <a href="#t8" accesskey="p" rel="prev">t8</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 2252</div> 2253<span id="t9_003a-Plugins"></span><h3 class="section">2.9 <code>t9</code>: Plugins</h3> 2254 2255<p>See 2256<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/t9.geo">t9.geo</a>. 2257Also available in C++ 2258(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t9.cpp">t9.cpp</a>), 2259Python 2260(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t9.py">t9.py</a>), 2261Julia 2262(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t9.jl">t9.jl</a>) 2263and Fortran 2264(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t9.f90">t9.f90</a>). 2265</p> 2266<div align="center"><img src="images/t9.png" alt="Screenshot of tutorial t9"> 2267</div> 2268<div class="format"> 2269<pre class="verbatim">// ----------------------------------------------------------------------------- 2270// 2271// Gmsh GEO tutorial 9 2272// 2273// Plugins 2274// 2275// ----------------------------------------------------------------------------- 2276 2277// Plugins can be added to Gmsh in order to extend its capabilities. For 2278// example, post-processing plugins can modify views, or create new views based 2279// on previously loaded views. Several default plugins are statically linked 2280// with Gmsh, e.g. Isosurface, CutPlane, CutSphere, Skin, Transform or Smooth.
2281// 2282// Plugins can be controlled in the same way as other options: either from the 2283// graphical interface (right click on the view button, then `Plugins'), or from 2284// the command file. 2285 2286// Let us for example include a three-dimensional scalar view: 2287 2288Include "view3.pos" ; 2289 2290// We then set some options for the `Isosurface' plugin (which extracts an 2291// isosurface from a 3D scalar view), and run it: 2292 2293Plugin(Isosurface).Value = 0.67 ; // Iso-value level 2294Plugin(Isosurface).View = 0 ; // Source view is View[0] 2295Plugin(Isosurface).Run ; // Run the plugin! 2296 2297// We also set some options for the `CutPlane' plugin (which computes a section 2298// of a 3D view using the plane A*x+B*y+C*z+D=0), and then run it: 2299 2300Plugin(CutPlane).A = 0 ; 2301Plugin(CutPlane).B = 0.2 ; 2302Plugin(CutPlane).C = 1 ; 2303Plugin(CutPlane).D = 0 ; 2304Plugin(CutPlane).View = 0 ; 2305Plugin(CutPlane).Run ; 2306 2307// Add a title (By convention, for window coordinates a value greater than 99999 2308// represents the center. We could also use `General.GraphicsWidth / 2', but 2309// that would only center the string for the current window size.): 2310 2311Plugin(Annotate).Text = "A nice title" ; 2312Plugin(Annotate).X = 1.e5; 2313Plugin(Annotate).Y = 50 ; 2314Plugin(Annotate).Font = "Times-BoldItalic" ; 2315Plugin(Annotate).FontSize = 28 ; 2316Plugin(Annotate).Align = "Center" ; 2317Plugin(Annotate).View = 0 ; 2318Plugin(Annotate).Run ; 2319 2320Plugin(Annotate).Text = "(and a small subtitle)" ; 2321Plugin(Annotate).Y = 70 ; 2322Plugin(Annotate).Font = "Times-Roman" ; 2323Plugin(Annotate).FontSize = 12 ; 2324Plugin(Annotate).Run ; 2325 2326// We finish by setting some options: 2327 2328View[0].Light = 1; 2329View[0].IntervalsType = 1; 2330View[0].NbIso = 6; 2331View[0].SmoothNormals = 1; 2332View[1].IntervalsType = 2; 2333View[2].IntervalsType = 2; 2334</pre></div> 2335 2336 2337<hr> 2338<span id="t10"></span><div class="header"> 2339<p> 2340Next: <a href="#t11" accesskey="n" rel="next">t11</a>, Previous: <a href="#t9" accesskey="p" rel="prev">t9</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 2341</div> 2342<span id="t10_003a-Mesh-size-fields"></span><h3 class="section">2.10 <code>t10</code>: Mesh size fields</h3> 2343 2344<p>See 2345<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/t10.geo">t10.geo</a>. 2346Also available in C++ 2347(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t10.cpp">t10.cpp</a>), 2348Python 2349(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t10.py">t10.py</a>), 2350Julia 2351(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t10.jl">t10.jl</a>) 2352and Fortran 2353(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t10.f90">t10.f90</a>). 2354</p> 2355<div align="center"><img src="images/t10.png" alt="Screenshot of tutorial t10"> 2356</div> 2357<div class="format"> 2358<pre class="verbatim">// ----------------------------------------------------------------------------- 2359// 2360// Gmsh GEO tutorial 10 2361// 2362// Mesh size fields 2363// 2364// ----------------------------------------------------------------------------- 2365 2366// In addition to specifying target mesh sizes at the points of the geometry 2367// (see `t1.geo') or using a background mesh (see `t7.geo'), you can use general 2368// mesh size "Fields". 2369 2370// Let's create a simple rectangular geometry 2371lc = .15; 2372Point(1) = {0.0,0.0,0,lc}; Point(2) = {1,0.0,0,lc}; 2373Point(3) = {1,1,0,lc}; Point(4) = {0,1,0,lc}; 2374Point(5) = {0.2,.5,0,lc}; 2375 2376Line(1) = {1,2}; Line(2) = {2,3}; Line(3) = {3,4}; Line(4) = {4,1}; 2377 2378Curve Loop(5) = {1,2,3,4}; Plane Surface(6) = {5}; 2379 2380// Say we would like to obtain mesh elements with size lc/30 near curve 2 and 2381// point 5, and size lc elsewhere. To achieve this, we can use two fields: 2382// "Distance", and "Threshold". We first define a Distance field (`Field[1]') on 2383// points 5 and on curve 2. This field returns the distance to point 5 and to 2384// (100 equidistant points on) curve 2. 2385Field[1] = Distance; 2386Field[1].PointsList = {5}; 2387Field[1].CurvesList = {2}; 2388Field[1].Sampling = 100; 2389 2390 2391// We then define a `Threshold' field, which uses the return value of the 2392// `Distance' field 1 in order to define a simple change in element size
2393// depending on the computed distances 2394// 2395// SizeMax - /------------------ 2396// / 2397// / 2398// / 2399// SizeMin -o----------------/ 2400// | | | 2401// Point DistMin DistMax 2402Field[2] = Threshold; 2403Field[2].InField = 1; 2404Field[2].SizeMin = lc / 30; 2405Field[2].SizeMax = lc; 2406Field[2].DistMin = 0.15; 2407Field[2].DistMax = 0.5; 2408 2409// Say we want to modulate the mesh element sizes using a mathematical function 2410// of the spatial coordinates. We can do this with the MathEval field: 2411Field[3] = MathEval; 2412Field[3].F = "cos(4*3.14*x) * sin(4*3.14*y) / 10 + 0.101"; 2413 2414// We could also combine MathEval with values coming from other fields. For 2415// example, let's define a `Distance' field around point 1 2416Field[4] = Distance; 2417Field[4].PointsList = {1}; 2418 2419// We can then create a `MathEval' field with a function that depends on the 2420// return value of the `Distance' field 4, i.e., depending on the distance to 2421// point 1 (here using a cubic law, with minimum element size = lc / 100) 2422Field[5] = MathEval; 2423Field[5].F = Sprintf("F4^3 + %g", lc / 100); 2424 2425// We could also use a `Box' field to impose a step change in element sizes 2426// inside a box 2427Field[6] = Box; 2428Field[6].VIn = lc / 15; 2429Field[6].VOut = lc; 2430Field[6].XMin = 0.3; 2431Field[6].XMax = 0.6; 2432Field[6].YMin = 0.3; 2433Field[6].YMax = 0.6; 2434Field[6].Thickness = 0.3; 2435 2436// Many other types of fields are available: see the reference manual for a 2437// complete list. You can also create fields directly in the graphical user 2438// interface by selecting `Define->Size fields' in the `Mesh' module. 2439 2440// Let's use the minimum of all the fields as the background mesh size field 2441Field[7] = Min; 2442Field[7].FieldsList = {2, 3, 5, 6}; 2443Background Field = 7; 2444 2445// To determine the size of mesh elements, Gmsh locally computes the minimum of 2446// 2447// 1) the size of the model bounding box; 2448// 2) if `Mesh.MeshSizeFromPoints' is set, the mesh size specified at 2449// geometrical points; 2450// 3) if `Mesh.MeshSizeFromCurvature' is positive, the mesh size based on 2451// curvature (the value specifying the number of elements per 2 * pi rad); 2452// 4) the background mesh size field; 2453// 5) any per-entity mesh size constraint. 2454// 2455// This value is then constrained in the interval [`Mesh.MeshSizeMin', 2456// `Mesh.MeshSizeMax'] and multiplied by `Mesh.MeshSizeFactor'. In addition, 2457// boundary mesh sizes are interpolated inside surfaces and/or volumes depending 2458// on the value of `Mesh.MeshSizeExtendFromBoundary' (which is set by default). 2459// 2460// When the element size is fully specified by a mesh size field (as it is in 2461// this example), it is thus often desirable to set 2462 2463Mesh.MeshSizeExtendFromBoundary = 0; 2464Mesh.MeshSizeFromPoints = 0; 2465Mesh.MeshSizeFromCurvature = 0; 2466 2467// This will prevent over-refinement due to small mesh sizes on the boundary. 2468 2469// Finally, while the default "Frontal-Delaunay" 2D meshing algorithm 2470// (Mesh.Algorithm = 6) usually leads to the highest quality meshes, the 2471// "Delaunay" algorithm (Mesh.Algorithm = 5) will handle complex mesh size 2472// fields better - in particular size fields with large element size gradients: 2473 2474Mesh.Algorithm = 5; 2475</pre></div> 2476 2477 2478<hr> 2479<span id="t11"></span><div class="header"> 2480<p> 2481Next: <a href="#t12" accesskey="n" rel="next">t12</a>, Previous: <a href="#t10" accesskey="p" rel="prev">t10</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 2482</div> 2483<span id="t11_003a-Unstructured-quadrangular-meshes"></span><h3 class="section">2.11 <code>t11</code>: Unstructured quadrangular meshes</h3> 2484 2485<p>See 2486<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/t11.geo">t11.geo</a>. 2487Also available in C++ 2488(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t11.cpp">t11.cpp</a>), 2489Python 2490(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t11.py">t11.py</a>), 2491Julia 2492(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t11.jl">t11.jl</a>) 2493and Fortran 2494(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t11.f90">t11.f90</a>). 2495</p> 2496<div align="center"><img src="images/t11.png" alt="Screenshot of tutorial t11"> 2497</div> 2498<div class="format"> 2499<pre class="verbatim">// ----------------------------------------------------------------------------- 2500// 2501// Gmsh GEO tutorial 11 2502// 2503// Unstructured quadrangular meshes 2504// 2505// ----------------------------------------------------------------------------- 2506 2507// We have seen in tutorials `t3.geo' and `t6.geo' that extruded and transfinite 2508// meshes can be "recombined" into quads, prisms or hexahedra by using the 2509// "Recombine" keyword. Unstructured meshes can be recombined in the same 2510// way. Let's define a simple geometry with an analytical mesh size field: 2511 2512Point(1) = {-1.25, -.5, 0}; Point(2) = {1.25, -.5, 0}; 2513Point(3) = {1.25, 1.25, 0}; Point(4) = {-1.25, 1.25, 0}; 2514 2515Line(1) = {1, 2}; Line(2) = {2, 3}; 2516Line(3) = {3, 4}; Line(4) = {4, 1}; 2517 2518Curve Loop(4) = {1, 2, 3, 4}; Plane Surface(100) = {4}; 2519 2520Field[1] = MathEval; 2521Field[1].F = "0.01*(1.0+30.*(y-x*x)*(y-x*x) + (1-x)*(1-x))";
2522Background Field = 1; 2523 2524// To generate quadrangles instead of triangles, we can simply add 2525 2526Recombine Surface{100}; 2527 2528// If we'd had several surfaces, we could have used `Recombine Surface {:};'. 2529// Yet another way would be to specify the global option "Mesh.RecombineAll = 2530// 1;". 2531 2532// The default recombination algorithm is called "Blossom": it uses a minimum 2533// cost perfect matching algorithm to generate fully quadrilateral meshes from 2534// triangulations. More details about the algorithm can be found in the 2535// following paper: J.-F. Remacle, J. Lambrechts, B. Seny, E. Marchandise, 2536// A. Johnen and C. Geuzaine, "Blossom-Quad: a non-uniform quadrilateral mesh 2537// generator using a minimum cost perfect matching algorithm", International 2538// Journal for Numerical Methods in Engineering 89, pp. 1102-1119, 2012. 2539 2540// For even better 2D (planar) quadrilateral meshes, you can try the 2541// experimental "Frontal-Delaunay for quads" meshing algorithm, which is a 2542// triangulation algorithm that enables to create right triangles almost 2543// everywhere: J.-F. Remacle, F. Henrotte, T. Carrier-Baudouin, E. Bechet, 2544// E. Marchandise, C. Geuzaine and T. Mouton. A frontal Delaunay quad mesh 2545// generator using the L^inf norm. International Journal for Numerical Methods 2546// in Engineering, 94, pp. 494-512, 2013. Uncomment the following line to try 2547// the Frontal-Delaunay algorithms for quads: 2548// 2549// Mesh.Algorithm = 8; 2550 2551// The default recombination algorithm might leave some triangles in the mesh, 2552// if recombining all the triangles leads to badly shaped quads. In such cases, 2553// to generate full-quad meshes, you can either subdivide the resulting hybrid 2554// mesh (with Mesh.SubdivisionAlgorithm = 1), or use the full-quad recombination 2555// algorithm, which will automatically perform a coarser mesh followed by 2556// recombination, smoothing and subdivision. Uncomment the following line to try 2557// the full-quad algorithm: 2558// 2559// Mesh.RecombinationAlgorithm = 2; // or 3 2560 2561// Note that you could also apply the recombination algorithm and/or the 2562// subdivision step explicitly after meshing, as follows: 2563// 2564// Mesh 2; 2565// RecombineMesh; 2566// Mesh.SubdivisionAlgorithm = 1; 2567// RefineMesh; 2568</pre></div> 2569 2570 2571<hr> 2572<span id="t12"></span><div class="header"> 2573<p> 2574Next: <a href="#t13" accesskey="n" rel="next">t13</a>, Previous: <a href="#t11" accesskey="p" rel="prev">t11</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 2575</div> 2576<span id="t12_003a-Cross_002dpatch-meshing-with-compounds"></span><h3 class="section">2.12 <code>t12</code>: Cross-patch meshing with compounds</h3> 2577 2578<p>See 2579<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/t12.geo">t12.geo</a>/ 2580Also available in C++ 2581(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t12.cpp">t12.cpp</a>), 2582Python 2583(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t12.py">t12.py</a>), 2584Julia 2585(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t12.jl">t12.jl</a>) 2586and Fortran 2587(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t12.f90">t12.f90</a>). 2588</p> 2589<div align="center"><img src="images/t12.png" alt="Screenshot of tutorial t12"> 2590</div> 2591<div class="format"> 2592<pre class="verbatim">// ----------------------------------------------------------------------------- 2593// 2594// Gmsh GEO tutorial 12 2595// 2596// Cross-patch meshing with compounds 2597// 2598// ----------------------------------------------------------------------------- 2599 2600// "Compound" meshing constraints allow to generate meshes across surface 2601// boundaries, which can be useful e.g. for imported CAD models (e.g. STEP) with 2602// undesired small features. 2603 2604// When a `Compound Curve' or `Compound Surface' meshing constraint is given, 2605// at mesh generation time Gmsh 2606// 1. meshes the underlying elementary geometrical entities, individually 2607// 2. creates a discrete entity that combines all the individual meshes 2608// 3. computes a discrete parametrization (i.e. a piece-wise linear mapping) 2609// on this discrete entity 2610// 4. meshes the discrete entity using this discrete parametrization instead 2611// of the underlying geometrical description of the underlying elementary 2612// entities making up the compound 2613// 5. optionally, reclassifies the mesh elements and nodes on the original 2614// entities 2615 2616// Step 3. above can only be performed if the mesh resulting from the 2617// combination of the individual meshes can be reparametrized, i.e. if the shape 2618// is "simple enough". If the shape is not amenable to reparametrization, you 2619// should create a full mesh of the geometry and first re-classify it to 2620// generate patches amenable to reparametrization (see `t13.geo'). 2621 2622// The mesh of the individual entities performed in Step 1. should usually be 2623// finer than the desired final mesh; this can be controlled with the 2624// `Mesh.CompoundMeshSizeFactor' option. 2625 2626// The optional reclassification on the underlying elementary entities in Step 2627// 5. is governed by the `Mesh.CompoundClassify' option. 2628 2629lc = 0.1; 2630 2631Point(1) = {0, 0, 0, lc}; Point(2) = {1, 0, 0, lc}; 2632Point(3) = {1, 1, 0.5, lc}; Point(4) = {0, 1, 0.4, lc};
2633Point(5) = {0.3, 0.2, 0, lc}; Point(6) = {0, 0.01, 0.01, lc}; 2634Point(7) = {0, 0.02, 0.02, lc}; Point(8) = {1, 0.05, 0.02, lc}; 2635Point(9) = {1, 0.32, 0.02, lc}; 2636 2637Line(1) = {1, 2}; Line(2) = {2, 8}; Line(3) = {8, 9}; 2638Line(4) = {9, 3}; Line(5) = {3, 4}; Line(6) = {4, 7}; 2639Line(7) = {7, 6}; Line(8) = {6, 1}; Spline(9) = {7, 5, 9}; 2640Line(10) = {6, 8}; 2641 2642Curve Loop(11) = {5, 6, 9, 4}; Surface(1) = {11}; 2643Curve Loop(13) = {-9, 3, 10, 7}; Surface(5) = {13}; 2644Curve Loop(15) = {-10, 2, 1, 8}; Surface(10) = {15}; 2645 2646// Treat curves 2, 3 and 4 as a single curve when meshing (i.e. mesh across 2647// points 6 and 7) 2648Compound Curve{2, 3, 4}; 2649 2650// Idem with curves 6, 7 and 8 2651Compound Curve{6, 7, 8}; 2652 2653// Treat surfaces 1, 5 and 10 as a single surface when meshing (i.e. mesh across 2654// curves 9 and 10) 2655Compound Surface{1, 5, 10}; 2656</pre></div> 2657 2658 2659<hr> 2660<span id="t13"></span><div class="header"> 2661<p> 2662Next: <a href="#t14" accesskey="n" rel="next">t14</a>, Previous: <a href="#t12" accesskey="p" rel="prev">t12</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 2663</div> 2664<span id="t13_003a-Remeshing-an-STL-file-without-an-underlying-CAD-model"></span><h3 class="section">2.13 <code>t13</code>: Remeshing an STL file without an underlying CAD model</h3> 2665 2666<p>See 2667<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/t13.geo">t13.geo</a>. 2668Also available in C++ 2669(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t13.cpp">t13.cpp</a>), 2670Python 2671(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t13.py">t13.py</a>), 2672Julia 2673(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t13.jl">t13.jl</a>) 2674and Fortran 2675(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t13.f90">t13.f90</a>). 2676</p> 2677<div align="center"><img src="images/t13.png" alt="Screenshot of tutorial t13"> 2678</div> 2679<div class="format"> 2680<pre class="verbatim">// ----------------------------------------------------------------------------- 2681// 2682// Gmsh GEO tutorial 13 2683// 2684// Remeshing an STL file without an underlying CAD model 2685// 2686// ----------------------------------------------------------------------------- 2687 2688// Let's merge an STL mesh that we would like to remesh. 2689Merge "t13_data.stl"; 2690 2691// We first classify ("color") the surfaces by splitting the original surface 2692// along sharp geometrical features. This will create new discrete surfaces, 2693// curves and points. 2694 2695DefineConstant[ 2696 // Angle between two triangles above which an edge is considered as sharp 2697 angle = {40, Min 20, Max 120, Step 1, 2698 Name "Parameters/Angle for surface detection"}, 2699 // For complex geometries, patches can be too complex, too elongated or too 2700 // large to be parametrized; setting the following option will force the 2701 // creation of patches that are amenable to reparametrization: 2702 forceParametrizablePatches = {0, Choices{0,1}, 2703 Name "Parameters/Create surfaces guaranteed to be parametrizable"}, 2704 // For open surfaces include the boundary edges in the classification process: 2705 includeBoundary = 1, 2706 // Force curves to be split on given angle: 2707 curveAngle = 180 2708]; 2709ClassifySurfaces{angle * Pi/180, includeBoundary, forceParametrizablePatches, 2710 curveAngle * Pi / 180}; 2711 2712// Create a geometry for all the discrete curves and surfaces in the mesh, by 2713// computing a parametrization for each one 2714CreateGeometry; 2715 2716// In batch mode the two steps above can be performed with `gmsh t13.stl 2717// -reparam 40', which will save `t13.msh' containing the parametrizations, and 2718// which can thus subsequently be remeshed. 2719 2720// Note that if a CAD model (e.g. as a STEP file, see `t20.geo') is available 2721// instead of an STL mesh, it is usually better to use that CAD model instead of 2722// the geometry created by reparametrizing the mesh. Indeed, CAD geometries will 2723// in general be more accurate, with smoother parametrizations, and will lead to 2724// more efficient and higher quality meshing. Discrete surface remeshing in Gmsh 2725// is optimized to handle dense STL meshes coming from e.g. imaging systems 2726// where no CAD is available; it is less well suited for the poor quality STL 2727// triangulations (optimized for size, with e.g. very elongated triangles) that 2728// are usually generated by CAD tools for e.g. 3D printing. 2729 2730// Create a volume as usual 2731Surface Loop(1) = Surface{:}; 2732Volume(1) = {1}; 2733 2734// We specify element sizes imposed by a size field, just because we can :-) 2735funny = DefineNumber[0, Choices{0,1}, 2736 Name "Parameters/Apply funny mesh size field?" ]; 2737 2738Field[1] = MathEval; 2739If(funny) 2740 Field[1].F = "2*Sin((x+y)/5) + 3"; 2741Else 2742 Field[1].F = "4"; 2743EndIf
2744Background Field = 1; 2745</pre></div> 2746 2747 2748<hr> 2749<span id="t14"></span><div class="header"> 2750<p> 2751Next: <a href="#t15" accesskey="n" rel="next">t15</a>, Previous: <a href="#t13" accesskey="p" rel="prev">t13</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 2752</div> 2753<span id="t14_003a-Homology-and-cohomology-computation"></span><h3 class="section">2.14 <code>t14</code>: Homology and cohomology computation</h3> 2754 2755<p>See 2756<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/t14.geo">t14.geo</a>. 2757Also available in C++ 2758(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t14.cpp">t14.cpp</a>), 2759Python 2760(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t14.py">t14.py</a>), 2761Julia 2762(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t14.jl">t14.jl</a>) 2763and Fortran 2764(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t14.f90">t14.f90</a>). 2765</p> 2766<div align="center"><img src="images/t14.png" alt="Screenshot of tutorial t14"> 2767</div> 2768<div class="format"> 2769<pre class="verbatim">// ----------------------------------------------------------------------------- 2770// 2771// Gmsh GEO tutorial 14 2772// 2773// Homology and cohomology computation 2774// 2775// ----------------------------------------------------------------------------- 2776 2777// Homology computation in Gmsh finds representative chains of (relative) 2778// (co)homology space bases using a mesh of a model. The representative basis 2779// chains are stored in the mesh as physical groups of Gmsh, one for each chain. 2780 2781// Create an example geometry 2782 2783m = 0.5; // mesh size 2784h = 2; // height in the z-direction 2785 2786Point(1) = {0, 0, 0, m}; Point(2) = {10, 0, 0, m}; 2787Point(3) = {10, 10, 0, m}; Point(4) = {0, 10, 0, m}; 2788Point(5) = {4, 4, 0, m}; Point(6) = {6, 4, 0, m}; 2789Point(7) = {6, 6, 0, m}; Point(8) = {4, 6, 0, m}; 2790 2791Point(9) = {2, 0, 0, m}; Point(10) = {8, 0, 0, m}; 2792Point(11) = {2, 10, 0, m}; Point(12) = {8, 10, 0, m}; 2793 2794Line(1) = {1, 9}; Line(2) = {9, 10}; Line(3) = {10, 2}; 2795Line(4) = {2, 3}; Line(5) = {3, 12}; Line(6) = {12, 11}; 2796Line(7) = {11, 4}; Line(8) = {4, 1}; Line(9) = {5, 6}; 2797Line(10) = {6, 7}; Line(11) = {7, 8}; Line(12) = {8, 5}; 2798 2799Curve Loop(13) = {6, 7, 8, 1, 2, 3, 4, 5}; 2800Curve Loop(14) = {11, 12, 9, 10}; 2801Plane Surface(15) = {13, 14}; 2802 2803e() = Extrude {0, 0, h}{ Surface{15}; }; 2804 2805// Create physical groups, which are used to define the domain of the 2806// (co)homology computation and the subdomain of the relative (co)homology 2807// computation. 2808 2809// Whole domain 2810Physical Volume(1) = {e(1)}; 2811 2812// Four "terminals" of the model 2813Physical Surface(70) = {e(3)}; 2814Physical Surface(71) = {e(5)}; 2815Physical Surface(72) = {e(7)}; 2816Physical Surface(73) = {e(9)}; 2817 2818// Whole domain surface 2819bnd() = Boundary{ Volume{e(1)}; }; 2820Physical Surface(80) = bnd(); 2821 2822// Complement of the domain surface with respect to the four terminals 2823bnd() -= {e(3), e(5), e(7), e(9)}; 2824Physical Surface(75) = bnd(); 2825 2826// Find bases for relative homology spaces of the domain modulo the four 2827// terminals. 2828Homology {{1}, {70, 71, 72, 73}}; 2829 2830// Find homology space bases isomorphic to the previous bases: homology spaces 2831// modulo the non-terminal domain surface, a.k.a the thin cuts. 2832Homology {{1}, {75}}; 2833 2834// Find cohomology space bases isomorphic to the previous bases: cohomology 2835// spaces of the domain modulo the four terminals, a.k.a the thick cuts. 2836Cohomology {{1}, {70, 71, 72, 73}}; 2837 2838// More examples: 2839// Homology {1}; 2840// Homology; 2841// Homology {{1}, {80}}; 2842// Homology {{}, {80}}; 2843 2844// For more information, see M. Pellikka, S. Suuriniemi, L. Kettunen and 2845// C. Geuzaine. Homology and cohomology computation in finite element 2846// modeling. SIAM Journal on Scientific Computing 35(5), pp. 1195-1214, 2013. 2847</pre></div> 2848 2849 2850<hr> 2851<span id="t15"></span><div class="header"> 2852<p> 2853Next: <a href="#t16" accesskey="n" rel="next">t16</a>, Previous: <a href="#t14" accesskey="p" rel="prev">t14</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">
2853Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 2854</div> 2855<span id="t15_003a-Embedded-points_002c-lines-and-surfaces"></span><h3 class="section">2.15 <code>t15</code>: Embedded points, lines and surfaces</h3> 2856 2857<p>See 2858<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/t15.geo">t15.geo</a>. 2859Also available in C++ 2860(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t15.cpp">t15.cpp</a>), 2861Python 2862(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t15.py">t15.py</a>), 2863Julia 2864(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t15.jl">t15.jl</a>) 2865and Fortran 2866(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t15.f90">t15.f90</a>). 2867</p> 2868<div align="center"><img src="images/t15.png" alt="Screenshot of tutorial t15"> 2869</div> 2870<div class="format"> 2871<pre class="verbatim">// ----------------------------------------------------------------------------- 2872// 2873// Gmsh GEO tutorial 15 2874// 2875// Embedded points, lines and surfaces 2876// 2877// ----------------------------------------------------------------------------- 2878 2879// By default, across geometrical dimensions meshes generated by Gmsh are only 2880// conformal if lower dimensional entities are on the boundary of higher 2881// dimensional ones (i.e. if points, curves or surfaces are part of the boundary 2882// of volumes). 2883 2884// Embedding constraints allow to force a mesh to be conformal to other lower 2885// dimensional entities. 2886 2887// We start one again by including the first tutorial: 2888Include "t1.geo"; 2889 2890// We change the mesh size to generate coarser mesh 2891lc = lc * 4; 2892MeshSize {1:4} = lc; 2893 2894// We define a new point 2895Point(5) = {0.02, 0.02, 0, lc}; 2896 2897// One can force this point to be included ("embedded") in the 2D mesh, using 2898// the `Point In Surface' command: 2899Point{5} In Surface{1}; 2900 2901// In the same way, one can force a curve to be embedded in the 2D mesh using 2902// the `Curve in Surface' command: 2903Point(6) = {0.02, 0.12, 0, lc}; 2904Point(7) = {0.04, 0.18, 0, lc}; 2905Line(5) = {6, 7}; 2906Curve{5} In Surface{1}; 2907 2908// One can also embed points and curves in a volume using the `Curve/Point In 2909// Volume' commands: 2910Extrude {0, 0, 0.1}{ Surface {1}; } 2911 2912p = newp; 2913Point(p) = {0.07, 0.15, 0.025, lc}; 2914Point{p} In Volume {1}; 2915 2916l = newc; 2917Point(p+1) = {0.025, 0.15, 0.025, lc}; 2918Line(l) = {7, p+1}; 2919Curve{l} In Volume {1}; 2920 2921// Finally, one can also embed a surface in a volume using the `Surface In 2922// Volume' command: 2923Point(p+2) = {0.02, 0.12, 0.05, lc}; 2924Point(p+3) = {0.04, 0.12, 0.05, lc}; 2925Point(p+4) = {0.04, 0.18, 0.05, lc}; 2926Point(p+5) = {0.02, 0.18, 0.05, lc}; 2927Line(l+1) = {p+2, p+3}; 2928Line(l+2) = {p+3, p+4}; 2929Line(l+3) = {p+4, p+5}; 2930Line(l+4) = {p+5, p+2}; 2931ll = newcl; 2932Curve Loop(ll) = {l+1:l+4}; 2933s = news; 2934Plane Surface(s) = {ll}; 2935Surface{s} In Volume {1}; 2936 2937// Note that with the OpenCASCADE kernel (see `t16.geo'), when the 2938// `BooleanFragments' command is applied to entities of different dimensions, 2939// the lower dimensional entities will be autmatically embedded in the higher 2940// dimensional entities if necessary. 2941 2942Physical Point("Embedded point") = {p}; 2943Physical Curve("Embdded curve") = {l}; 2944Physical Surface("Embedded surface") = {s}; 2945Physical Volume("Volume") = {1}; 2946</pre></div> 2947 2948 2949<hr> 2950<span id="t16"></span><div class="header"> 2951<p> 2952Next: <a href="#t17" accesskey="n" rel="next">t17</a>, Previous: <a href="#t15" accesskey="p" rel="prev">t15</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 2953</div> 2954<span id="t16_003a-Constructive-Solid-Geometry_002c-OpenCASCADE-geometry-kernel"></span><h3 class="section">2.16 <code>t16</code>: Constructive Solid Geometry, OpenCASCADE geometry kernel</h3> 2955 2956<p>See 2957<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/t16.geo">t16.geo</a>. 2958Also available in C++ 2959(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t16.cpp">t16.cpp</a>), 2960C 2961(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c/t16.c">t16.c</a>), 2962Python 2963(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t16.py">t16.py</a>), 2964Julia 2965(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t16.jl">t16.jl</a>) 2966and Fortran 2967(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t16.f90">t16.f90</a>). 2968</p> 2969<div align="center"><img src="images/t16.png" alt="Screenshot of tutorial t16"> 2970</div> 2971<div class="format"> 2972<pre class="verbatim">// ----------------------------------------------------------------------------- 2973// 2974// Gmsh GEO tutorial 16 2975// 2976// Constructive Solid Geometry, OpenCASCADE geometry kernel
2977// 2978// ----------------------------------------------------------------------------- 2979 2980// Instead of constructing a model in a bottom-up fashion with Gmsh's built-in 2981// geometry kernel, starting with version 3 Gmsh allows you to directly use 2982// alternative geometry kernels. Here we use the OpenCASCADE kernel: 2983 2984SetFactory("OpenCASCADE"); 2985 2986// Let's build the same model as in `t5.geo', but using constructive solid 2987// geometry. 2988 2989// We first create two cubes: 2990Box(1) = {0,0,0, 1,1,1}; 2991Box(2) = {0,0,0, 0.5,0.5,0.5}; 2992 2993// We apply a boolean difference to create the "cube minus one eighth" shape: 2994BooleanDifference(3) = { Volume{1}; Delete; }{ Volume{2}; Delete; }; 2995 2996// Boolean operations with OpenCASCADE always create new entities. Adding 2997// `Delete' in the arguments allows to automatically delete the original 2998// entities. 2999 3000// We then create the five spheres: 3001x = 0 ; y = 0.75 ; z = 0 ; r = 0.09 ; 3002For t In {1:5} 3003 x += 0.166 ; 3004 z += 0.166 ; 3005 Sphere(3 + t) = {x,y,z,r}; 3006 Physical Volume(t) = {3 + t}; 3007EndFor 3008 3009// If we had wanted five empty holes we would have used `BooleanDifference' 3010// again. Here we want five spherical inclusions, whose mesh should be conformal 3011// with the mesh of the cube: we thus use `BooleanFragments', which intersects 3012// all volumes in a conformal manner (without creating duplicate interfaces): 3013v() = BooleanFragments{ Volume{3}; Delete; }{ Volume{3 + 1 : 3 + 5}; Delete; }; 3014 3015// When the boolean operation leads to simple modifications of entities, and if 3016// one deletes the original entities with `Delete', Gmsh tries to assign the 3017// same tag to the new entities. (This behavior is governed by the 3018// `Geometry.OCCBooleanPreserveNumbering' option.) 3019 3020// Here the `Physical Volume' definitions made above will thus still work, as 3021// the five spheres (volumes 4, 5, 6, 7 and 8), which will be deleted by the 3022// fragment operations, will be recreated identically (albeit with new surfaces) 3023// with the same tags. 3024 3025// The tag of the cube will change though, so we need to access it 3026// programmatically: 3027Physical Volume(10) = v(0); 3028 3029// Creating entities using constructive solid geometry is very powerful, but can 3030// lead to practical issues for e.g. setting mesh sizes at points, or 3031// identifying boundaries. 3032 3033// To identify points or other bounding entities you can take advantage of the 3034// `CombinedBoundary`, `Closest', `PointsOf' and `In BoundingBox' commands. 3035 3036// Define a physical surface for the top and right-most surfaces, by finding 3037// amongst the surfaces making up the boundary of the model, the two closest to 3038// point (1,1,0.5): 3039bnd() = CombinedBoundary{ Volume{:}; }; 3040closest() = Closest {1,1,0.5} { Surface{bnd()}; }; 3041Physical Surface("Top & right surfaces", 100) = {closest(0), closest(1)}; 3042 3043// Assign a mesh size to all the points of all the volumes: 3044lcar1 = .1; 3045lcar2 = .0005; 3046lcar3 = .055; 3047MeshSize{ PointsOf{ Volume{:}; } } = lcar1; 3048 3049// Override this constraint on the points of the five spheres: 3050MeshSize{ PointsOf{ Volume{3 + 1 : 3 + 5}; } } = lcar3; 3051 3052// Select the corner point by searching for it geometrically using a bounding 3053// box (`Closest' could have been used as well): 3054eps = 1e-3; 3055p() = Point In BoundingBox{0.5-eps, 0.5-eps, 0.5-eps, 3056 0.5+eps, 0.5+eps, 0.5+eps}; 3057MeshSize{ p() } = lcar2; 3058 3059// Additional examples created with the OpenCASCADE geometry kernel are 3060// available in `t18.geo', `t19.geo' and `t20.geo', as well as in the 3061// `examples/boolean' directory. 3062</pre></div> 3063 3064 3065<hr> 3066<span id="t17"></span><div class="header"> 3067<p> 3068Next: <a href="#t18" accesskey="n" rel="next">t18</a>, Previous: <a href="#t16" accesskey="p" rel="prev">t16</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 3069</div> 3070<span id="t17_003a-Anisotropic-background-mesh"></span><h3 class="section">2.17 <code>t17</code>: Anisotropic background mesh</h3> 3071 3072<p>See 3073<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/t17.geo">t17.geo</a>. 3074Also available in C++ 3075(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t17.cpp">t17.cpp</a>), 3076Python 3077(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t17.py">t17.py</a>), 3078Julia 3079(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t17.jl">t17.jl</a>) 3080and Fortran 3081(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t17.f90">t17.f90</a>). 3082</p> 3083<div align="center"><img src="images/t17.png" alt="Screenshot of tutorial t17"> 3084</div> 3085<div class="format"> 3086<pre class="verbatim">// ----------------------------------------------------------------------------- 3087// 3088// Gmsh GEO tutorial 17 3089// 3090// Anisotropic background mesh 3091// 3092// ----------------------------------------------------------------------------- 3093 3094// As seen in `t7.geo', mesh sizes can be specified very accurately by providing 3095// a background mesh, i.e., a post-processing view that contains the target mesh 3096// sizes. 3097 3098// Here, the background mesh is represented as a metric tensor field defined on 3099// a square. One should use bamg as 2d mesh generator to enable anisotropic 3100// meshes in 2D. 3101 3102SetFactory("OpenCASCADE"); 3103 3104// Create a square 3105Rectangle(1) = {-2, -2, 0, 4, 4}; 3106 3107// Merge a post-processing view containing the target anisotropic mesh sizes 3108Merge "t17_bgmesh.pos"; 3109 3110// Apply the view as the current background mesh
3111Background Mesh View[0]; 3112 3113// Use bamg 3114Mesh.SmoothRatio = 3; 3115Mesh.AnisoMax = 1000; 3116Mesh.Algorithm = 7; 3117</pre></div> 3118 3119 3120<hr> 3121<span id="t18"></span><div class="header"> 3122<p> 3123Next: <a href="#t19" accesskey="n" rel="next">t19</a>, Previous: <a href="#t17" accesskey="p" rel="prev">t17</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 3124</div> 3125<span id="t18_003a-Periodic-meshes"></span><h3 class="section">2.18 <code>t18</code>: Periodic meshes</h3> 3126 3127<p>See 3128<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/t18.geo">t18.geo</a>. 3129Also available in C++ 3130(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t18.cpp">t18.cpp</a>), 3131Python 3132(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t18.py">t18.py</a>), 3133Julia 3134(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t18.jl">t18.jl</a>) 3135and Fortran 3136(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t18.f90">t18.f90</a>). 3137</p> 3138<div align="center"><img src="images/t18.png" alt="Screenshot of tutorial t18"> 3139</div> 3140<div class="format"> 3141<pre class="verbatim">// ----------------------------------------------------------------------------- 3142// 3143// Gmsh GEO tutorial 18 3144// 3145// Periodic meshes 3146// 3147// ----------------------------------------------------------------------------- 3148 3149// Periodic meshing constraints can be imposed on surfaces and curves. 3150 3151// Let's use the OpenCASCADE geometry kernel to build two geometries. 3152 3153SetFactory("OpenCASCADE"); 3154 3155// The first geometry is very simple: a unit cube with a non-uniform mesh size 3156// constraint (set on purpose to be able to verify visually that the periodicity 3157// constraint works!): 3158 3159Box(1) = {0, 0, 0, 1, 1, 1}; 3160MeshSize {:} = 0.1; 3161MeshSize {1} = 0.02; 3162 3163// To impose that the mesh on surface 2 (the right side of the cube) should 3164// match the mesh from surface 1 (the left side), the following periodicity 3165// constraint is set: 3166Periodic Surface {2} = {1} Translate {1, 0, 0}; 3167 3168// During mesh generation, the mesh on surface 2 will be created by copying the 3169// mesh from surface 1. Periodicity constraints can be specified with a 3170// `Translation', a `Rotation' or a general `Affine' transform. 3171 3172// Multiple periodicities can be imposed in the same way: 3173Periodic Surface {6} = {5} Translate {0, 0, 1}; 3174Periodic Surface {4} = {3} Translate {0, 1, 0}; 3175 3176// For more complicated cases, finding the corresponding surfaces by hand can be 3177// tedious, especially when geometries are created through solid 3178// modelling. Let's construct a slightly more complicated geometry. 3179 3180// We start with a cube and some spheres: 3181Box(10) = {2, 0, 0, 1, 1, 1}; 3182x = 2-0.3; y = 0; z = 0; 3183Sphere(11) = {x, y, z, 0.35}; 3184Sphere(12) = {x+1, y, z, 0.35}; 3185Sphere(13) = {x, y+1, z, 0.35}; 3186Sphere(14) = {x, y, z+1, 0.35}; 3187Sphere(15) = {x+1, y+1, z, 0.35}; 3188Sphere(16) = {x, y+1, z+1, 0.35}; 3189Sphere(17) = {x+1, y, z+1, 0.35}; 3190Sphere(18) = {x+1, y+1, z+1, 0.35}; 3191 3192// We first fragment all the volumes, which will leave parts of spheres 3193// protruding outside the cube: 3194v() = BooleanFragments { Volume{10}; Delete; }{ Volume{11:18}; Delete; }; 3195 3196// Ask OpenCASCADE to compute more accurate bounding boxes of entities using the 3197// STL mesh: 3198Geometry.OCCBoundsUseStl = 1; 3199 3200// We then retrieve all the volumes in the bounding box of the original cube, 3201// and delete all the parts outside it: 3202eps = 1e-3; 3203vin() = Volume In BoundingBox {2-eps,-eps,-eps, 2+1+eps,1+eps,1+eps}; 3204v() -= vin(); 3205Recursive Delete{ Volume{v()}; } 3206 3207// We now set a non-uniform mesh size constraint (again to check results 3208// visually): 3209MeshSize { PointsOf{ Volume{vin()}; }} = 0.1; 3210p() = Point In BoundingBox{2-eps, -eps, -eps, 2+eps, eps, eps}; 3211MeshSize {p()} = 0.001; 3212 3213// We now identify corresponding surfaces on the left and right sides of the 3214// geometry automatically. 3215 3216// First we get all surfaces on the left: 3217Sxmin() = Surface In BoundingBox{2-eps, -eps, -eps, 2+eps, 1+eps, 1+eps}; 3218 3219For i In {0:#Sxmin()-1} 3220 // Then we get the bounding box of each left surface 3221 bb() = BoundingBox Surface { Sxmin(i) }; 3222 // We translate the bounding box to the right and look for surfaces inside it: 3223 Sxmax() = Surface In BoundingBox { bb(0)-eps+1, bb(1)-eps, bb(2)-eps, 3224 bb(3)+eps+1, bb(4)+eps, bb(5)+eps }; 3225 // For all the matches, we compare the corresponding bounding boxes... 3226 For j In {0:#Sxmax()-1} 3227 bb2() = BoundingBox Surface { Sxmax(j) }; 3228 bb2(0) -= 1; 3229 bb2(3) -= 1;
3230 // ...and if they match, we apply the periodicity constraint 3231 If(Fabs(bb2(0)-bb(0)) < eps && Fabs(bb2(1)-bb(1)) < eps && 3232 Fabs(bb2(2)-bb(2)) < eps && Fabs(bb2(3)-bb(3)) < eps && 3233 Fabs(bb2(4)-bb(4)) < eps && Fabs(bb2(5)-bb(5)) < eps) 3234 Periodic Surface {Sxmax(j)} = {Sxmin(i)} Translate {1,0,0}; 3235 EndIf 3236 EndFor 3237EndFor 3238</pre></div> 3239 3240 3241<hr> 3242<span id="t19"></span><div class="header"> 3243<p> 3244Next: <a href="#t20" accesskey="n" rel="next">t20</a>, Previous: <a href="#t18" accesskey="p" rel="prev">t18</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 3245</div> 3246<span id="t19_003a-Thrusections_002c-fillets_002c-pipes_002c-mesh-size-from-curvature"></span><h3 class="section">2.19 <code>t19</code>: Thrusections, fillets, pipes, mesh size from curvature</h3> 3247 3248<p>See 3249<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/t19.geo">t19.geo</a>. 3250Also available in C++ 3251(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t19.cpp">t19.cpp</a>), 3252Python 3253(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t19.py">t19.py</a>), 3254Julia 3255(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t19.jl">t19.jl</a>) 3256and Fortran 3257(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t19.f90">t19.f90</a>). 3258</p> 3259<div align="center"><img src="images/t19.png" alt="Screenshot of tutorial t19"> 3260</div> 3261<div class="format"> 3262<pre class="verbatim">// ----------------------------------------------------------------------------- 3263// 3264// Gmsh GEO tutorial 19 3265// 3266// Thrusections, fillets, pipes, mesh size from curvature 3267// 3268// ----------------------------------------------------------------------------- 3269 3270// The OpenCASCADE geometry kernel supports several useful features for solid 3271// modelling. 3272 3273SetFactory("OpenCASCADE"); 3274 3275// Volumes can be constructed from (closed) curve loops thanks to the 3276// `ThruSections' command 3277Circle(1) = {0,0,0, 0.5}; Curve Loop(1) = 1; 3278Circle(2) = {0.1,0.05,1, 0.1}; Curve Loop(2) = 2; 3279Circle(3) = {-0.1,-0.1,2, 0.3}; Curve Loop(3) = 3; 3280ThruSections(1) = {1:3}; 3281 3282// With `Ruled ThruSections' you can force the use of ruled surfaces: 3283Circle(11) = {2+0,0,0, 0.5}; Curve Loop(11) = 11; 3284Circle(12) = {2+0.1,0.05,1, 0.1}; Curve Loop(12) = 12; 3285Circle(13) = {2-0.1,-0.1,2, 0.3}; Curve Loop(13) = 13; 3286Ruled ThruSections(11) = {11:13}; 3287 3288// We copy the first volume, and fillet all its edges: 3289v() = Translate{4, 0, 0} { Duplicata{ Volume{1}; } }; 3290f() = Boundary{ Volume{v(0)}; }; 3291e() = Unique(Boundary{ Surface{f()}; }); 3292Fillet{v(0)}{e()}{0.1} 3293 3294// OpenCASCADE also allows general extrusions along a smooth path. Let's first 3295// define a spline curve: 3296nturns = 1; 3297npts = 20; 3298r = 1; 3299h = 1 * nturns; 3300For i In {0 : npts - 1} 3301 theta = i * 2*Pi*nturns/npts; 3302 Point(1000 + i) = {r * Cos(theta), r * Sin(theta), i * h/npts}; 3303EndFor 3304Spline(1000) = {1000 : 1000 + npts - 1}; 3305 3306// A wire is like a curve loop, but open: 3307Wire(1000) = {1000}; 3308 3309// We define the shape we would like to extrude along the spline (a disk): 3310Disk(1000) = {1,0,0, 0.2}; 3311Rotate {{1, 0, 0}, {0, 0, 0}, Pi/2} { Surface{1000}; } 3312 3313// We extrude the disk along the spline to create a pipe: 3314Extrude { Surface{1000}; } Using Wire {1000} 3315 3316// We delete the source surface, and increase the number of sub-edges for a 3317// nicer display of the geometry: 3318Delete{ Surface{1000}; } 3319Geometry.NumSubEdges = 1000; 3320 3321// We can activate the calculation of mesh element sizes based on curvature 3322// (here with a target of 20 elements per 2*Pi radians): 3323Mesh.MeshSizeFromCurvature = 20; 3324 3325// We can constraint the min and max element sizes to stay within reasonnable 3326// values (see `t10.geo' for more details): 3327Mesh.MeshSizeMin = 0.001; 3328Mesh.MeshSizeMax = 0.3; 3329</pre></div> 3330 3331 3332<hr> 3333<span id="t20"></span><div class="header"> 3334<p> 3335Next: <a href="#t21" accesskey="n" rel="next">t21</a>, Previous: <a href="#t19" accesskey="p" rel="prev">t19</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">
3335Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 3336</div> 3337<span id="t20_003a-STEP-import-and-manipulation_002c-geometry-partitioning"></span><h3 class="section">2.20 <code>t20</code>: STEP import and manipulation, geometry partitioning</h3> 3338 3339<p>See 3340<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/t20.geo">t20.geo</a>. 3341Also available in C++ 3342(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t20.cpp">t20.cpp</a>), 3343Python 3344(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t20.py">t20.py</a>), 3345Julia 3346(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t20.jl">t20.jl</a>) 3347and Fortran 3348(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t20.f90">t20.f90</a>). 3349</p> 3350<div align="center"><img src="images/t20.png" alt="Screenshot of tutorial t20"> 3351</div> 3352<div class="format"> 3353<pre class="verbatim">// ----------------------------------------------------------------------------- 3354// 3355// Gmsh GEO tutorial 20 3356// 3357// STEP import and manipulation, geometry partitioning 3358// 3359// ----------------------------------------------------------------------------- 3360 3361// The OpenCASCADE geometry kernel allows to import STEP files and to modify 3362// them. In this tutorial we will load a STEP geometry and partition it into 3363// slices. 3364 3365SetFactory("OpenCASCADE"); 3366 3367// Load a STEP file (using `ShapeFromFile' instead of `Merge' allows to directly 3368// retrieve the tags of the highest dimensional imported entities): 3369v() = ShapeFromFile("t20_data.step"); 3370 3371// If we had specified 3372// 3373// Geometry.OCCTargetUnit = "M"; 3374// 3375// before merging the STEP file, OpenCASCADE would have converted the units to 3376// meters (instead of the default, which is millimeters). 3377 3378// Get the bounding box of the volume: 3379bbox() = BoundingBox Volume{v()}; 3380xmin = bbox(0); 3381ymin = bbox(1); 3382zmin = bbox(2); 3383xmax = bbox(3); 3384ymax = bbox(4); 3385zmax = bbox(5); 3386 3387// We want to slice the model into N slices, and either keep the volume slices 3388// or just the surfaces obtained by the cutting: 3389DefineConstant[ 3390 N = {5, Min 2, Max 100, Step 1, Name "Parameters/0Number of slices"} 3391 dir = {0, Choices{0="X", 1="Y", 2="Z"}, Name "Parameters/1Direction"} 3392 surf = {0, Choices{0, 1}, Name "Parameters/2Keep only surfaces?"} 3393]; 3394 3395dx = (xmax - xmin); 3396dy = (ymax - ymin); 3397dz = (zmax - zmin); 3398L = (dir == 0) ? dz : dx; 3399H = (dir == 1) ? dz : dy; 3400 3401// Create the first cutting plane: 3402s() = {news}; 3403Rectangle(s(0)) = {xmin, ymin, zmin, L, H}; 3404If(dir == 0) 3405 Rotate{ {0, 1, 0}, {xmin, ymin, zmin}, -Pi/2 } { Surface{s(0)}; } 3406ElseIf(dir == 1) 3407 Rotate{ {1, 0, 0}, {xmin, ymin, zmin}, Pi/2 } { Surface{s(0)}; } 3408EndIf 3409tx = (dir == 0) ? dx / N : 0; 3410ty = (dir == 1) ? dy / N : 0; 3411tz = (dir == 2) ? dz / N : 0; 3412Translate{tx, ty, tz} { Surface{s(0)}; } 3413 3414// Create the other cutting planes: 3415For i In {1:N-2} 3416 s() += Translate{i * tx, i * ty, i * tz} { Duplicata{ Surface{s(0)}; } }; 3417EndFor 3418 3419// Fragment (i.e. intersect) the volume with all the cutting planes: 3420BooleanFragments{ Volume{v()}; Delete; }{ Surface{s()}; Delete; } 3421 3422// Now remove all the surfaces (and their bounding entities) that are not on the 3423// boundary of a volume, i.e. the parts of the cutting planes that "stick out" 3424// of the volume: 3425Recursive Delete { Surface{:}; } 3426 3427If(surf) 3428 // If we want to only keep the surfaces, retrieve the surfaces in bounding 3429 // boxes around the cutting planes... 3430 eps = 1e-4; 3431 s() = {}; 3432 For i In {1:N-1} 3433 xx = (dir == 0) ? xmin : xmax; 3434 yy = (dir == 1) ? ymin : ymax; 3435 zz = (dir == 2) ? zmin : zmax; 3436 s() += Surface In BoundingBox 3437 {xmin - eps + i * tx, ymin - eps + i * ty, zmin - eps + i * tz, 3438 xx + eps + i * tx, yy + eps + i * ty, zz + eps + i * tz}; 3439 EndFor 3440 // ...and remove all the other entities: 3441 dels = Surface{:}; 3442 dels -= s(); 3443 Delete { Volume{:}; Surface{dels()}; Curve{:}; Point{:}; } 3444EndIf 3445 3446// Finally, let's specify a global mesh size: 3447Mesh.MeshSizeMin = 3; 3448Mesh.MeshSizeMax = 3; 3449 3450// To partition the mesh instead of the geometry, see `t21.geo'. 3451</pre></div> 3452 3453 3454<hr> 3455<span id="t21"></span><div class="header"> 3456<p> 3457Next: <a href="#x1" accesskey="n" rel="next">x1</a>, Previous: <a href="#t20" accesskey="p" rel="prev">t20</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">
3457Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 3458</div> 3459<span id="t21_003a-Mesh-partitioning"></span><h3 class="section">2.21 <code>t21</code>: Mesh partitioning</h3> 3460 3461<p>See 3462<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/t21.geo">t21.geo</a>. 3463Also available in C++ 3464(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t21.cpp">t21.cpp</a>), 3465Python 3466(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t21.py">t21.py</a>), 3467Julia 3468(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t21.jl">t21.jl</a>) 3469and Fortran 3470(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t21.f90">t21.f90</a>). 3471</p> 3472<div align="center"><img src="images/t21.png" alt="Screenshot of tutorial t21"> 3473</div> 3474<div class="format"> 3475<pre class="verbatim">// ----------------------------------------------------------------------------- 3476// 3477// Gmsh GEO tutorial 21 3478// 3479// Mesh partitioning 3480// 3481// ----------------------------------------------------------------------------- 3482 3483// Gmsh can partition meshes using different algorithms, e.g. the graph 3484// partitioner Metis or the `SimplePartition' plugin. For all the partitioning 3485// algorithms, the relationship between mesh elements and mesh partitions is 3486// encoded through the creation of new (discrete) elementary entities, called 3487// "partition entities". 3488// 3489// Partition entities behave exactly like other discrete elementary entities; 3490// the only difference is that they keep track of both a mesh partition index 3491// and their parent elementary entity. 3492// 3493// The major advantage of this approach is that it allows to maintain a full 3494// boundary representation of the partition entities, which Gmsh creates 3495// automatically if `Mesh.PartitionCreateTopology' is set. 3496 3497// Let us start by creating a simple geometry with two adjacent squares sharing 3498// an edge: 3499SetFactory("OpenCASCADE"); 3500Rectangle(1) = {0, 0, 0, 1, 1}; 3501Rectangle(2) = {1, 0, 0, 1, 1}; 3502BooleanFragments{ Surface{1}; Delete; }{ Surface{2}; Delete; } 3503MeshSize {:} = 0.05; 3504 3505// We create one physical group for each square, and we mesh the resulting 3506// geometry: 3507Physical Surface("Left", 100) = 1; 3508Physical Surface("Right", 200) = 2; 3509Mesh 2; 3510 3511// We now define several constants to fine-tune how the mesh will be partitioned 3512DefineConstant[ 3513 partitioner = {0, Choices{0="Metis", 1="SimplePartition"}, 3514 Name "Parameters/0Mesh partitioner"} 3515 N = {3, Min 1, Max 256, Step 1, 3516 Name "Parameters/1Number of partitions"} 3517 topology = {1, Choices{0, 1}, 3518 Name "Parameters/2Create partition topology (BRep)?"} 3519 ghosts = {0, Choices{0, 1}, 3520 Name "Parameters/3Create ghost cells?"} 3521 physicals = {0, Choices{0, 1}, 3522 Name "Parameters/3Create new physical groups?"} 3523 write = {1, Choices {0, 1}, 3524 Name "Parameters/3Write file to disk?"} 3525 split = {0, Choices {0, 1}, 3526 Name "Parameters/4Write one file per partition?"} 3527]; 3528 3529// Should we create the boundary representation of the partition entities? 3530Mesh.PartitionCreateTopology = topology; 3531 3532// Should we create ghost cells? 3533Mesh.PartitionCreateGhostCells = ghosts; 3534 3535// Should we automatically create new physical groups on the partition entities? 3536Mesh.PartitionCreatePhysicals = physicals; 3537 3538// Should we keep backward compatibility with pre-Gmsh 4, e.g. to save the mesh 3539// in MSH2 format? 3540Mesh.PartitionOldStyleMsh2 = 0; 3541 3542// Should we save one mesh file per partition? 3543Mesh.PartitionSplitMeshFiles = split; 3544 3545If (partitioner == 0) 3546 // Use Metis to create N partitions 3547 PartitionMesh N; 3548 // Several options can be set to control Metis: `Mesh.MetisAlgorithm' (1: 3549 // Recursive, 2: K-way), `Mesh.MetisObjective' (1: min. edge-cut, 2: 3550 // min. communication volume), `Mesh.PartitionTriWeight' (weight of 3551 // triangles), `Mesh.PartitionQuadWeight' (weight of quads), ... 3552Else 3553 // Use the `SimplePartition' plugin to create chessboard-like partitions 3554 Plugin(SimplePartition).NumSlicesX = N; 3555 Plugin(SimplePartition).NumSlicesY = 1; 3556 Plugin(SimplePartition).NumSlicesZ = 1; 3557 Plugin(SimplePartition).Run; 3558EndIf 3559 3560// Save mesh file (or files, if `Mesh.PartitionSplitMeshFiles' is set): 3561If(write) 3562 Save "t21.msh"; 3563EndIf 3564</pre></div> 3565 3566 3567<hr> 3568<span id="x1"></span><div class="header"> 3569<p> 3570Next: <a href="#x2" accesskey="n" rel="next">x2</a>, Previous: <a href="#t21" accesskey="p" rel="prev">t21</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">
3570Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 3571</div> 3572<span id="x1_003a-Geometry-and-mesh-data"></span><h3 class="section">2.22 <code>x1</code>: Geometry and mesh data</h3> 3573 3574<p>See 3575<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x1.py">x1.py</a>. 3576Also available in C++ 3577(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x1.cpp">x1.cpp</a>) and 3578Julia 3579(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x1.jl">x1.jl</a>). 3580</p> 3581<div align="center"><img src="images/x1.png" alt="Screenshot of tutorial x1"> 3582</div> 3583<div class="format"> 3584<pre class="verbatim"># ----------------------------------------------------------------------------- 3585# 3586# Gmsh Python extended tutorial 1 3587# 3588# Geometry and mesh data 3589# 3590# ----------------------------------------------------------------------------- 3591 3592# The Python API allows to do much more than what can be done in .geo 3593# files. These additional features are introduced gradually in the extended 3594# tutorials, starting with `x1.py'. 3595 3596# In this first extended tutorial, we start by using the API to access basic 3597# geometrical and mesh data. 3598 3599import gmsh 3600import sys 3601 3602gmsh.initialize() 3603 3604if len(sys.argv) > 1 and sys.argv[1][0] != '-': 3605 # If an argument is provided, handle it as a file that Gmsh can read, e.g. a 3606 # mesh file in the MSH format (`python x1.py file.msh') 3607 gmsh.open(sys.argv[1]) 3608else: 3609 # Otherwise, create and mesh a simple geometry 3610 gmsh.model.occ.addCone(1, 0, 0, 1, 0, 0, 0.5, 0.1) 3611 gmsh.model.occ.synchronize() 3612 gmsh.model.mesh.generate() 3613 3614# Print the model name and dimension: 3615print('Model ' + gmsh.model.getCurrent() + ' (' + 3616 str(gmsh.model.getDimension()) + 'D)') 3617 3618# Geometrical data is made of elementary model `entities', called `points' 3619# (entities of dimension 0), `curves' (entities of dimension 1), `surfaces' 3620# (entities of dimension 2) and `volumes' (entities of dimension 3). As we have 3621# seen in the other Python tutorials, elementary model entities are identified 3622# by their dimension and by a `tag': a strictly positive identification 3623# number. Model entities can be either CAD entities (from the built-in `geo' 3624# kernel or from the OpenCASCADE `occ' kernel) or `discrete' entities (defined 3625# by a mesh). `Physical groups' are collections of model entities and are also 3626# identified by their dimension and by a tag. 3627 3628# Get all the elementary entities in the model, as a vector of (dimension, tag) 3629# pairs: 3630entities = gmsh.model.getEntities() 3631 3632for e in entities: 3633 # Dimension and tag of the entity: 3634 dim = e[0] 3635 tag = e[1] 3636 3637 # Mesh data is made of `elements' (points, lines, triangles, ...), defined 3638 # by an ordered list of their `nodes'. Elements and nodes are identified by 3639 # `tags' as well (strictly positive identification numbers), and are stored 3640 # ("classified") in the model entity they discretize. Tags for elements and 3641 # nodes are globally unique (and not only per dimension, like entities). 3642 3643 # A model entity of dimension 0 (a geometrical point) will contain a mesh 3644 # element of type point, as well as a mesh node. A model curve will contain 3645 # line elements as well as its interior nodes, while its boundary nodes will 3646 # be stored in the bounding model points. A model surface will contain 3647 # triangular and/or quadrangular elements and all the nodes not classified 3648 # on its boundary or on its embedded entities. A model volume will contain 3649 # tetrahedra, hexahedra, etc. and all the nodes not classified on its 3650 # boundary or on its embedded entities. 3651 3652 # Get the mesh nodes for the entity (dim, tag): 3653 nodeTags, nodeCoords, nodeParams = gmsh.model.mesh.getNodes(dim, tag) 3654 3655 # Get the mesh elements for the entity (dim, tag): 3656 elemTypes, elemTags, elemNodeTags = gmsh.model.mesh.getElements(dim, tag) 3657 3658 # Elements can also be obtained by type, by using `getElementTypes()' 3659 # followed by `getElementsByType()'. 3660 3661 # Let's print a summary of the information available on the entity and its 3662 # mesh. 3663 3664 # * Type and name of the entity: 3665 type = gmsh.model.getType(dim, tag) 3666 name = gmsh.model.getEntityName(dim, tag) 3667 if len(name): name += ' ' 3668 print("Entity " + name + str(e) + " of type " + type) 3669 3670 # * Number of mesh nodes and elements: 3671 numElem = sum(len(i) for i in elemTags) 3672 print("
3672 - Mesh has " + str(len(nodeTags)) + " nodes and " + str(numElem) + 3673 " elements") 3674 3675 # * Upward and downward adjacencies: 3676 up, down = gmsh.model.getAdjacencies(dim, tag) 3677 if len(up): 3678 print(" - Upward adjacencies: " + str(up)) 3679 if len(down): 3680 print(" - Downward adjacencies: " + str(down)) 3681 3682 # * Does the entity belong to physical groups? 3683 physicalTags = gmsh.model.getPhysicalGroupsForEntity(dim, tag) 3684 if len(physicalTags): 3685 s = '' 3686 for p in physicalTags: 3687 n = gmsh.model.getPhysicalName(dim, p) 3688 if n: n += ' ' 3689 s += n + '(' + str(dim) + ', ' + str(p) + ') ' 3690 print(" - Physical groups: " + s) 3691 3692 # * Is the entity a partition entity? If so, what is its parent entity? 3693 partitions = gmsh.model.getPartitions(dim, tag) 3694 if len(partitions): 3695 print(" - Partition tags: " + str(partitions) + " - parent entity " + 3696 str(gmsh.model.getParent(dim, tag))) 3697 3698 # * List all types of elements making up the mesh of the entity: 3699 for t in elemTypes: 3700 name, dim, order, numv, parv, _ = gmsh.model.mesh.getElementProperties( 3701 t) 3702 print(" - Element type: " + name + ", order " + str(order) + " (" + 3703 str(numv) + " nodes in param coord: " + str(parv) + ")") 3704 3705# Launch the GUI to see the model: 3706if '-nopopup' not in sys.argv: 3707 gmsh.fltk.run() 3708 3709# We can use this to clear all the model data: 3710gmsh.clear() 3711 3712gmsh.finalize() 3713</pre></div> 3714 3715 3716<hr> 3717<span id="x2"></span><div class="header"> 3718<p> 3719Next: <a href="#x3" accesskey="n" rel="next">x3</a>, Previous: <a href="#x1" accesskey="p" rel="prev">x1</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 3720</div> 3721<span id="x2_003a-Mesh-import_002c-discrete-entities_002c-hybrid-models_002c-terrain-meshing"></span><h3 class="section">2.23 <code>x2</code>: Mesh import, discrete entities, hybrid models, terrain meshing</h3> 3722 3723<p>See 3724<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x2.py">x2.py</a>. 3725Also available in C++ 3726(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x2.cpp">x2.cpp</a>) and 3727Julia 3728(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x2.jl">x2.jl</a>). 3729</p> 3730<div align="center"><img src="images/x2.png" alt="Screenshot of tutorial x2"> 3731</div> 3732<div class="format"> 3733<pre class="verbatim"># ----------------------------------------------------------------------------- 3734# 3735# Gmsh Python extended tutorial 2 3736# 3737# Mesh import, discrete entities, hybrid models, terrain meshing 3738# 3739# ----------------------------------------------------------------------------- 3740 3741import gmsh 3742import sys 3743import math 3744 3745# The API can be used to import a mesh without reading it from a file, by 3746# creating nodes and elements on the fly and storing them in model 3747# entities. These model entities can be existing CAD entities, or can be 3748# discrete entities, entirely defined by the mesh. 3749# 3750# Discrete entities can be reparametrized (see `t13.py') so that they can be 3751# remeshed later on;
3751 and they can also be combined with built-in CAD entities to 3752# produce hybrid models. 3753# 3754# We combine all these features in this tutorial to perform terrain meshing, 3755# where the terrain is described by a discrete surface (that we then 3756# reparametrize) combined with a CAD representation of the underground. 3757 3758gmsh.initialize() 3759 3760gmsh.model.add("x2") 3761 3762# We will create the terrain surface mesh from N x N input data points: 3763N = 100 3764 3765 3766# Helper function to return a node tag given two indices i and j: 3767def tag(i, j): 3768 return (N + 1) * i + j + 1 3769 3770 3771# The x, y, z coordinates of all the nodes: 3772coords = [] 3773 3774# The tags of the corresponding nodes: 3775nodes = [] 3776 3777# The connectivities of the triangle elements (3 node tags per triangle) on the 3778# terrain surface: 3779tris = [] 3780 3781# The connectivities of the line elements on the 4 boundaries (2 node tags 3782# for each line element): 3783lin = [[], [], [], []] 3784 3785# The connectivities of the point elements on the 4 corners (1 node tag for each 3786# point element): 3787pnt = [tag(0, 0), tag(N, 0), tag(N, N), tag(0, N)] 3788 3789for i in range(N + 1): 3790 for j in range(N + 1): 3791 nodes.append(tag(i, j)) 3792 coords.extend([ 3793 float(i) / N, 3794 float(j) / N, 0.05 * math.sin(10 * float(i + j) / N) 3795 ]) 3796 if i > 0 and j > 0: 3797 tris.extend([tag(i - 1, j - 1), tag(i, j - 1), tag(i - 1, j)]) 3798 tris.extend([tag(i, j - 1), tag(i, j), tag(i - 1, j)]) 3799 if (i == 0 or i == N) and j > 0: 3800 lin[3 if i == 0 else 1].extend([tag(i, j - 1), tag(i, j)]) 3801 if (j == 0 or j == N) and i > 0: 3802 lin[0 if j == 0 else 2].extend([tag(i - 1, j), tag(i, j)]) 3803 3804# Create 4 discrete points for the 4 corners of the terrain surface: 3805for i in range(4): 3806 gmsh.model.addDiscreteEntity(0, i + 1) 3807gmsh.model.setCoordinates(1, 0, 0, coords[3 * tag(0, 0) - 1]) 3808gmsh.model.setCoordinates(2, 1, 0, coords[3 * tag(N, 0) - 1]) 3809gmsh.model.setCoordinates(3, 1, 1, coords[3 * tag(N, N) - 1]) 3810gmsh.model.setCoordinates(4, 0, 1, coords[3 * tag(0, N) - 1]) 3811 3812# Create 4 discrete bounding curves, with their boundary points: 3813for i in range(4): 3814 gmsh.model.addDiscreteEntity(1, i + 1, [i + 1, i + 2 if i < 3 else 1]) 3815 3816# Create one discrete surface, with its bounding curves: 3817gmsh.model.addDiscreteEntity(2, 1, [1, 2, -3, -4]) 3818 3819# Add all the nodes on the surface (for simplicity... see below): 3820gmsh.model.mesh.addNodes(2, 1, nodes, coords) 3821 3822# Add point elements on the 4 points, line elements on the 4 curves, and 3823# triangle elements on the surface: 3824for i in range(4): 3825 # Type 15 for point elements: 3826 gmsh.model.mesh.addElementsByType(i + 1, 15, [], [pnt[i]]) 3827 # Type 1 for 2-node line elements: 3828 gmsh.model.mesh.addElementsByType(i + 1, 1, [], lin[i]) 3829# Type 2 for 3-node triangle elements: 3830gmsh.model.mesh.addElementsByType(1, 2, [], tris) 3831 3832# Reclassify the nodes on the curves and the points (since we put them all on 3833# the surface before with `addNodes' for simplicity) 3834gmsh.model.mesh.reclassifyNodes() 3835 3836# Create a geometry for the discrete curves and surfaces, so that we can remesh 3837# them later on: 3838gmsh.model.mesh.createGeometry() 3839 3840# Note that for more complicated meshes, e.g. for on input unstructured STL 3841# mesh, we could use `classifySurfaces()' to automatically create the discrete 3842# entities and the topology; but we would then have to extract the boundaries 3843# afterwards. 3844 3845# Create other build-in CAD entities to form one volume below the terrain 3846# surface. Beware that only built-in CAD entities can be hybrid, i.e. have 3847# discrete entities on their boundary: OpenCASCADE does not support this 3848# feature. 3849p1 = gmsh.model.geo.addPoint(0, 0, -0.5) 3850p2 = gmsh.model.geo.addPoint(1, 0, -0.5) 3851p3 = gmsh.model.geo.addPoint(1, 1, -0.5) 3852p4 = gmsh.model.geo.addPoint(0, 1, -0.5) 3853c1 = gmsh.model.geo.addLine(p1, p2) 3854c2 = gmsh.model.geo.addLine(p2, p3) 3855c3 = gmsh.model.geo.addLine(p3, p4) 3856c4 = gmsh.model.geo.addLine(p4, p1) 3857c10 = gmsh.model.geo.addLine(p1, 1) 3858c11 = gmsh.model.geo.addLine(p2, 2) 3859c12 = gmsh.model.geo.addLine(p3, 3) 3860c13 = gmsh.model.geo.addLine(p4, 4) 3861ll1 = gmsh.model.geo.addCurveLoop([c1, c2, c3, c4]) 3862s1 = gmsh.model.geo.addPlaneSurface([ll1]) 3863ll3 = gmsh.model.geo.addCurveLoop([c1, c11, -1, -c10]) 3864s3 = gmsh.model.geo.addPlaneSurface([ll3]) 3865ll4 = gmsh.model.geo.addCurveLoop([c2, c12, -2, -c11]) 3866s4 = gmsh.model.geo.addPlaneSurface([ll4]) 3867ll5 = gmsh.model.geo.addCurveLoop([c3, c13, 3, -c12]) 3868s5 = gmsh.model.geo.addPlaneSurface([ll5]) 3869ll6 = gmsh.model.geo.addCurveLoop([c4, c10, 4, -c13]) 3870s6 = gmsh.model.geo.addPlaneSurface([ll6]) 3871sl1 = gmsh.model.geo.addSurfaceLoop([s1, s3, s4, s5, s6, 1]) 3872v1 = gmsh.model.geo.addVolume([sl1]) 3873gmsh.model.geo.synchronize() 3874 3875# Set this to True to build a fully hex mesh: 3876#transfinite = True 3877transfinite = False 3878transfiniteAuto = False 3879 3880if transfinite: 3881 NN = 30 3882 for c in gmsh.model.getEntities(1): 3883 gmsh.model.mesh.setTransfiniteCurve(c[1], NN) 3884 for s in gmsh.model.getEntities(2): 3885 gmsh.model.mesh.setTransfiniteSurface(s[1]) 3886 gmsh.model.mesh.setRecombine(s[0], s[1]) 3887 gmsh.model.mesh.setSmoothing(s[0], s[1], 100) 3888 gmsh.model.mesh.setTransfiniteVolume(v1) 3889elif transfiniteAuto: 3890 gmsh.option.setNumber('Mesh.MeshSizeMin', 0.5) 3891 gmsh.option.setNumber('Mesh.MeshSizeMax', 0.5) 3892 # setTransfiniteAutomatic() uses the sizing constraints to set the number 3893 # of points 3894 gmsh.model.mesh.setTransfiniteAutomatic() 3895else: 3896 gmsh.option.setNumber('Mesh.MeshSizeMin', 0.05) 3897 gmsh.option.setNumber('Mesh.MeshSizeMax', 0.05) 3898 3899gmsh.model.mesh.generate(3) 3900gmsh.write('x2.msh') 3901 3902# Launch the GUI to see the results: 3903if '-nopopup' not in sys.argv: 3904 gmsh.fltk.run() 3905 3906gmsh.finalize() 3907</pre></div> 3908 3909 3910<hr> 3911<span id="x3"></span><div class="header"> 3912<p> 3913Next: <a href="#x4" accesskey="n" rel="next">x4</a>, Previous: <a href="#x2" accesskey="p" rel="prev">x2</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">
3913Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 3914</div> 3915<span id="x3_003a-Post_002dprocessing-data-import_003a-list_002dbased"></span><h3 class="section">2.24 <code>x3</code>: Post-processing data import: list-based</h3> 3916 3917<p>See 3918<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x3.py">x3.py</a>. 3919Also available in C++ 3920(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x3.cpp">x3.cpp</a>) and 3921Julia 3922(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x3.jl">x3.jl</a>). 3923</p> 3924<div align="center"><img src="images/x3.png" alt="Screenshot of tutorial x3"> 3925</div> 3926<div class="format"> 3927<pre class="verbatim"># ----------------------------------------------------------------------------- 3928# 3929# Gmsh Python extended tutorial 3 3930# 3931# Post-processing data import: list-based 3932# 3933# ----------------------------------------------------------------------------- 3934 3935import gmsh 3936import sys 3937 3938gmsh.initialize(sys.argv) 3939 3940# Gmsh supports two types of post-processing data: "list-based" and 3941# "model-based". Both types of data are handled through the `view' interface. 3942 3943# List-based views are completely independent from any model and any mesh: they 3944# are self-contained and simply contain lists of coordinates and values, element 3945# by element, for 3 types of fields (scalar "S", vector "V" and tensor "T") and 3946# several types of element shapes (point "P", line "L", triangle "T", quadrangle 3947# "Q", tetrahedron "S", hexahedron "H", prism "I" and pyramid "Y"). (See `x4.py' 3948# for a tutorial on model-based views.) 3949 3950# To create a list-based view one should first create a view: 3951t1 = gmsh.view.add("A list-based view") 3952 3953# List-based data is then added by specifying the type as a 2 character string 3954# that combines a field type and an element shape (e.g. "ST" for a scalar field 3955# on triangles), the number of elements to be added, and the concatenated list 3956# of coordinates (e.g. 3 "x" coordinates, 3 "y" coordinates, 3 "z" coordinates 3957# for first order triangles) and values for each element (e.g. 3 values for 3958# first order scalar triangles, repeated for each step if there are several time 3959# steps). 3960 3961# Let's create two triangles... 3962triangle1 = [0., 1., 1., # x coordinates of the 3 triangle nodes 3963 0., 0., 1., # y coordinates of the 3 triangle nodes 3964 0., 0., 0.] # z coordinates of the 3 triangle nodes 3965triangle2 = [0., 1., 0., 0., 1., 1., 0., 0., 0.] 3966 3967# ... and append values for 10 time steps 3968for step in range(0, 10): 3969 triangle1.extend([10., 11. - step, 12.]) # 3 node values for each step 3970 triangle2.extend([11., 12., 13. + step]) 3971 3972# List-based data is just added by concatenating the data for all the triangles: 3973gmsh.view.addListData(t1, "ST", 2, triangle1 + triangle2) 3974 3975# Internally, post-processing views parsed by the .geo file parser create such 3976# list-based data (see e.g. `t7.py', `t8.py' and `t9.py'), independently of any 3977# mesh. 3978 3979# Vector or tensor fields can be imported in the same way, the only difference 3980# beeing the type (starting with "V" for vector fields and "T" for tensor 3981# fields) and the number of components. For example a vector field on a line 3982# element can be added as follows: 3983line = [ 3984 0., 1., # x coordinate of the 2 line nodes 3985 1.2, 1.2, # y coordinate of the 2 line nodes 3986 0., 0. # z coordinate of the 2 line nodes 3987] 3988for step in range(0, 10): 3989 # 3 vector components for each node (2 nodes here), for each step 3990 line.extend([10. + step, 0., 0., 3991 10. + step, 0., 0.]) 3992gmsh.view.addListData(t1, "VL", 1, line) 3993 3994# List-based data can also hold 2D (in window coordinates) and 3D (in model 3995# coordinates) strings (see `t4.py'). Here we add a 2D string located on the 3996# bottom-left of the window (with a 20 pixels offset), as well as a 3D string 3997# located at model coordinates (0.5, 0.5. 0): 3998gmsh.view.addListDataString(t1, [20., -20.], ["Created with Gmsh"]) 3999gmsh.view.addListDataString(t1, [0.5, 1.5, 0.], 4000 ["A multi-step list-based view"], 4001 ["Align", "Center", "Font", "Helvetica"]) 4002 4003# The various attributes of the view can be queried and changed using the option 4004# interface: 4005gmsh.view.option.setNumber(t1, "TimeStep", 5) 4006gmsh.view.option.setNumber(t1, "IntervalsType", 3) 4007ns = gmsh.view.option.getNumber(t1, "NbTimeStep") 4008print("View " + str(t1) + " has " + str(ns) + " time steps") 4009 4010# Views can be queried and modified in various ways using plugins (see `t9.py'), 4011# or probed directly using `gmsh.view.probe()' - here at point (0.9, 0.1, 0): 4012print("Value at (0.9, 0.1, 0)", gmsh.view.probe(t1, 0.9, 0.1, 0)) 4013 4014# Views can be saved to disk using `gmsh.view.write()': 4015gmsh.view.write(t1, "x3.pos") 4016 4017# High-order datasets can be provided by setting the interpolation matrices 4018# explicitly. Let's create a second view with second order interpolation on 4019# a 4-node quadrangle. 4020 4021# Add a new view: 4022t2 = gmsh.view.add("Second order quad") 4023 4024# Set the node coordinates: 4025quad = [0., 1., 1., 0., # x coordinates of the 4 quadrangle nodes 4026 -1.2, -1.2, -0.2, -0.2, # y coordinates of the 4 quadrangle nodes 4027 0., 0., 0., 0.] # z coordinates of the 4 quadrangle nodes 4028 4029# Add nine values that will be interpolated by second order basis functions 4030quad.extend([1., 1., 1., 1., 3., 3., 3., 3., -3.]) 4031 4032# Set the two interpolation matrices c[i][j] and e[i][j] defining the d = 9 4033# basis functions: f[i](u, v, w) = sum_(j = 0, ..., d - 1) c[i][j] u^e[j][0] 4034# v^e[j][1] w^e[j][2], i = 0, ..., d-1, with u, v, w the coordinates in the 4035# reference element: 4036gmsh.view.setInterpolationMatrices(t2, "Quadrangle", 9, 4037 [0, 0, 0.25, 0, 0, -0.25, -0.25, 0, 0.25, 4038 0, 0, 0.25, 0, 0, -0.25, 0.25, 0, -0.25, 4039 0, 0, 0.25, 0, 0, 0.25, 0.25, 0, 0.25, 4040 0, 0, 0.25, 0, 0, 0.25, -0.25, 0, -0.25, 4041 0, 0, -0.5, 0.5, 0, 0.5, 0, -0.5, 0, 4042 0, 0.5, -0.5, 0, 0.5, 0, -0.5, 0, 0, 4043 0, 0, -0.5, 0.5, 0, -0.5, 0, 0.5, 0, 4044 0, 0.5, -0.5, 0, -0.5, 0, 0.5, 0, 0, 4045 1, -1, 1, -1, 0, 0, 0, 0, 0], 4046 [0, 0, 0, 4047 2, 0, 0, 4048 2, 2, 0, 4049 0, 2, 0, 4050 1, 0, 0, 4051 2, 1, 0, 4052 1, 2, 0, 4053 0, 1, 0, 4054 1, 1, 0]) 4055 4056# Note that two additional interpolation matrices could also be provided to 4057# interpolate the geometry, i.e. to interpolate curved elements. 4058 4059# Add the data to the view: 4060gmsh.view.addListData(t2, "SQ", 1, quad) 4061 4062# In order to visualize the high-order field, one must activate adaptive 4063# visualization, set a visualization error threshold and a maximum subdivision 4064# level (Gmsh does automatic mesh refinement to visualize the high-order field 4065# with the requested accuracy): 4066gmsh.view.option.setNumber(t2, "AdaptVisualizationGrid", 1) 4067gmsh.view.option.setNumber(t2, "TargetError", 1e-2) 4068gmsh.view.option.setNumber(t2, "MaxRecursionLevel", 5) 4069 4070# Note that the adapted visualization data can be retrived by setting the 4071# `returnAdaptive' argument to the `gmsh.view.getListData()' function. 4072 4073# Launch the GUI to see the results: 4074if '-nopopup' not in sys.argv: 4075 gmsh.fltk.run() 4076 4077gmsh.finalize() 4078</pre></div> 4079 4080 4081<hr> 4082<span id="x4"></span><div class="header"> 4083<p> 4084Next: <a href="#x5" accesskey="n" rel="next">x5</a>, Previous: <a href="#x3" accesskey="p" rel="prev">x3</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">
4084Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 4085</div> 4086<span id="x4_003a-Post_002dprocessing-data-import_003a-model_002dbased"></span><h3 class="section">2.25 <code>x4</code>: Post-processing data import: model-based</h3> 4087 4088<p>See 4089<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x4.py">x4.py</a>. 4090Also available in C++ 4091(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x4.cpp">x4.cpp</a>) and 4092Julia 4093(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x4.jl">x4.jl</a>). 4094</p> 4095<div align="center"><img src="images/x4.png" alt="Screenshot of tutorial x4"> 4096</div> 4097<div class="format"> 4098<pre class="verbatim"># ----------------------------------------------------------------------------- 4099# 4100# Gmsh Python extended tutorial 4 4101# 4102# Post-processing data import: model-based 4103# 4104# ----------------------------------------------------------------------------- 4105 4106import gmsh 4107import sys 4108 4109gmsh.initialize(sys.argv) 4110 4111# Contrary to list-based view (see `x3.py'), model-based views are based on one 4112# or more meshes. Compared to list-based views, they are thus linked to one 4113# model (per step). Post-processing data stored in MSH files create such 4114# model-based views. 4115 4116# Let's create a first model-based view using a simple mesh constructed by 4117# hand. We create a model with a discrete surface 4118gmsh.model.add("simple model") 4119surf = gmsh.model.addDiscreteEntity(2) 4120 4121# We add 4 nodes and 2 3-node triangles (element type "2") 4122gmsh.model.mesh.addNodes(2, surf, [1, 2, 3, 4], 4123 [0., 0., 0., 1., 0., 0., 1., 1., 0., 0., 1., 0.]) 4124gmsh.model.mesh.addElementsByType(surf, 2, [1, 2], [1, 2, 3, 1, 3, 4]) 4125 4126# We can now create a new model-based view, to which we add 10 steps of 4127# node-based data: 4128t1 = gmsh.view.add("Continuous") 4129for step in range(0, 10): 4130 gmsh.view.addHomogeneousModelData( 4131 t1, step, "simple model", "NodeData", 4132 [1, 2, 3, 4], # tags of nodes 4133 [10., 10., 12. + step, 13. + step]) # data, per node 4134 4135# Besided node-based data, which result in continuous fields, one can also add 4136# general discontinous fields defined at the nodes of each element, using 4137# "ElementNodeData": 4138t2 = gmsh.view.add("Discontinuous") 4139for step in range(0, 10): 4140 gmsh.view.addHomogeneousModelData( 4141 t2, step, "simple model", "ElementNodeData", 4142 [1, 2], # tags of elements 4143 [10., 10., 12. + step, 14., 15., 13. + step]) # data per element nodes 4144 4145# Constant per element datasets can also be created using "ElementData". Note 4146# that a more general function `addModelData' to add data for hybrid meshes 4147# (when data is not homogeneous, i.e. when the number of nodes changes between 4148# elements) is also available. 4149 4150# Each step of a model-based view can be defined on a different model, i.e. on a 4151# different mesh. Let's define a second model and mesh it 4152gmsh.model.add("another model") 4153gmsh.model.occ.addBox(0, 0, 0, 1, 1, 1) 4154gmsh.model.occ.synchronize() 4155gmsh.model.mesh.generate(3) 4156 4157# We can add other steps to view "t" based on this new mesh: 4158nodes, coord, _ = gmsh.model.mesh.getNodes() 4159for step in range(11, 20): 4160 gmsh.view.addHomogeneousModelData( 4161 t1, step, "another model", "NodeData", nodes, 4162 [step * coord[i] for i in range(0, len(coord), 3)]) 4163 4164# This feature allows to create seamless animations for time-dependent datasets 4165# on deforming or remeshed models. 4166 4167# High-order node-based datasets are supported without needing to supply the 4168# interpolation matrices (iso-parametric Lagrange elements). Arbitrary 4169# high-order datasets can be specified as "ElementNodeData", with the 4170# interpolation matrices specified in the same as as for list-based views (see 4171# `x3.py'). 4172 4173# Model-based views can be saved to disk using `gmsh.view.write()'; note that 4174# saving a view based on multiple meshes (like the view `t1') will automatically 4175# create several files. If the `PostProcessing.SaveMesh' option is not set, 4176# `gmsh.view.write()' will only save the view data, without the mesh (which 4177# could be saved independently with `gmsh.write()'). 4178gmsh.view.write(t1, "x4_t1.msh") 4179gmsh.view.write(t2, "x4_t2.msh") 4180 4181# Launch the GUI to see the results: 4182if '-nopopup' not in sys.argv: 4183 gmsh.fltk.run() 4184 4185gmsh.finalize() 4186</pre></div> 4187 4188 4189<hr> 4190<span id="x5"></span><div class="header"> 4191<p> 4192Next: <a href="#x6" accesskey="n" rel="next">x6</a>, Previous: <a href="#x4" accesskey="p" rel="prev">x4</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">
4192Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 4193</div> 4194<span id="x5_003a-Additional-geometrical-data_003a-parametrizations_002c-normals_002c-curvatures"></span><h3 class="section">2.26 <code>x5</code>: Additional geometrical data: parametrizations, normals, curvatures</h3> 4195 4196<p>See 4197<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x5.py">x5.py</a>. 4198Also available in C++ 4199(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x5.cpp">x5.cpp</a>) and 4200Julia 4201(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x5.jl">x5.jl</a>). 4202</p> 4203<div align="center"><img src="images/x5.png" alt="Screenshot of tutorial x5"> 4204</div> 4205<div class="format"> 4206<pre class="verbatim"># ----------------------------------------------------------------------------- 4207# 4208# Gmsh Python extended tutorial 5 4209# 4210# Additional geometrical data: parametrizations, normals, curvatures 4211# 4212# ----------------------------------------------------------------------------- 4213 4214import gmsh 4215import sys 4216import math 4217 4218gmsh.initialize(sys.argv) 4219 4220# The API provides access to geometrical data in a CAD kernel agnostic manner. 4221 4222# Let's create a simple CAD model by fusing a sphere and a cube, then mesh the 4223# surfaces: 4224gmsh.model.add("x5") 4225s = gmsh.model.occ.addSphere(0, 0, 0, 1) 4226b = gmsh.model.occ.addBox(0.5, 0, 0, 1.3, 2, 3) 4227gmsh.model.occ.fuse([(3, s)], [(3, b)]) 4228gmsh.model.occ.synchronize() 4229gmsh.model.mesh.generate(2) 4230 4231# We can for example retrieve the exact normals and the curvature at all the 4232# mesh nodes (i.e. not normals and curvatures computed from the mesh, but 4233# directly evaluated on the geometry), by querying the CAD kernels at the 4234# corresponding parametric coordinates. 4235normals = [] 4236curvatures = [] 4237 4238# For each surface in the model: 4239for e in gmsh.model.getEntities(2): 4240 # Retrieve the surface tag 4241 s = e[1] 4242 4243 # Get the mesh nodes on the surface, including those on the boundary 4244 # (contrary to internal nodes, which store their parametric coordinates, 4245 # boundary nodes will be reparametrized on the surface in order to compute 4246 # their parametric coordinates, the result being different when 4247 # reparametrized on another adjacent surface) 4248 tags, coord, param = gmsh.model.mesh.getNodes(2, s, True) 4249 4250 # Get the surface normals on all the points on the surface corresponding to 4251 # the parametric coordinates of the nodes 4252 norm = gmsh.model.getNormal(s, param) 4253 4254 # In the same way, get the curvature 4255 curv = gmsh.model.getCurvature(2, s, param) 4256 4257 # Store the normals and the curvatures so that we can display them as 4258 # list-based post-processing views 4259 for i in range(0, len(coord), 3): 4260 normals.append(coord[i]) 4261 normals.append(coord[i + 1]) 4262 normals.append(coord[i + 2]) 4263 normals.append(norm[i]) 4264 normals.append(norm[i + 1]) 4265 normals.append(norm[i + 2]) 4266 curvatures.append(coord[i]) 4267 curvatures.append(coord[i + 1]) 4268 curvatures.append(coord[i + 2]) 4269 curvatures.append(curv[i // 3]) 4270 4271# Create a list-based vector view on points to display the normals, and a scalar 4272# view on points to display the curvatures 4273vn = gmsh.view.add("normals") 4274gmsh.view.addListData(vn, "VP", len(normals) // 6, normals) 4275gmsh.view.option.setNumber(vn, 'ShowScale', 0) 4276gmsh.view.option.setNumber(vn, 'ArrowSizeMax', 30) 4277gmsh.view.option.setNumber(vn, 'ColormapNumber', 19) 4278vc = gmsh.view.add("curvatures") 4279gmsh.view.addListData(vc, "SP", len(curvatures) // 4, curvatures) 4280gmsh.view.option.setNumber(vc, 'ShowScale', 0) 4281 4282# We can also retrieve the parametrization bounds of model entities, e.g. of 4283# curve 5, and evaluate the parametrization for several parameter values: 4284bounds = gmsh.model.getParametrizationBounds(1, 5) 4285N = 20 4286t = [bounds[0][0] + i * (bounds[1][0] - bounds[0][0]) / N for i in range(N)] 4287xyz1 = gmsh.model.getValue(1, 5, t) 4288 4289# We can also reparametrize curve 5 on surface 1, and evaluate the points in the 4290# parametric plane of the surface: 4291uv = gmsh.model.reparametrizeOnSurface(1, 5, t, 1) 4292xyz2 = gmsh.model.getValue(2, 1, uv) 4293 4294# Hopefully we get the same x, y, z coordinates! 4295if max([abs(a - b) for (a, b) in zip(xyz1, xyz2)]) < 1e-12: 4296 gmsh.logger.write('Evaluation on curve and surface match!') 4297else: 4298 gmsh.logger.write('Evaluation on curve and surface do not match!', 'error') 4299 4300# Launch the GUI to see the results: 4301if '-nopopup' not in sys.argv: 4302 gmsh.fltk.run() 4303 4304gmsh.finalize() 4305</pre></div> 4306 4307 4308<hr> 4309<span id="x6"></span><div class="header"> 4310<p> 4311Next: <a href="#x7" accesskey="n" rel="next">x7</a>, Previous: <a href="#x5" accesskey="p" rel="prev">x5</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">
4311Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 4312</div> 4313<span id="x6_003a-Additional-mesh-data_003a-integration-points_002c-Jacobians-and-basis-functions"></span><h3 class="section">2.27 <code>x6</code>: Additional mesh data: integration points, Jacobians and basis functions</h3> 4314 4315<p>See 4316<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x6.py">x6.py</a>. 4317Also available in C++ 4318(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x6.cpp">x6.cpp</a>) and 4319Julia 4320(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x6.jl">x6.jl</a>). 4321</p> 4322<div class="format"> 4323<pre class="verbatim"># ----------------------------------------------------------------------------- 4324# 4325# Gmsh Python extended tutorial 6 4326# 4327# Additional mesh data: integration points, Jacobians and basis functions 4328# 4329# ----------------------------------------------------------------------------- 4330 4331import gmsh 4332import sys 4333 4334gmsh.initialize(sys.argv) 4335 4336gmsh.model.add("x6") 4337 4338# The API provides access to all the elementary building blocks required to 4339# implement finite-element-type numerical methods. Let's create a simple 2D 4340# model and mesh it: 4341gmsh.model.occ.addRectangle(0, 0, 0, 1, 0.1) 4342gmsh.model.occ.synchronize() 4343gmsh.model.mesh.setTransfiniteAutomatic() 4344gmsh.model.mesh.generate(2) 4345 4346# Set the element order and the desired interpolation order: 4347elementOrder = 1 4348interpolationOrder = 2 4349gmsh.model.mesh.setOrder(elementOrder) 4350 4351def pp(label, v, mult): 4352 print(" * " + str(len(v) / mult) + " " + label + ": " + str(v)) 4353 4354# Iterate over all the element types present in the mesh: 4355elementTypes = gmsh.model.mesh.getElementTypes() 4356 4357for t in elementTypes: 4358 # Retrieve properties for the given element type 4359 elementName, dim, order, numNodes, localNodeCoord, numPrimNodes =\ 4360 gmsh.model.mesh.getElementProperties(t) 4361 print("\n** " + elementName + " **\n") 4362 4363 # Retrieve integration points for that element type, enabling exact 4364 # integration of polynomials of order "interpolationOrder". The "Gauss" 4365 # integration family returns the "economical" Gauss points if available, and 4366 # defaults to the "CompositeGauss" (tensor product) rule if not. 4367 localCoords, weights =\ 4368 gmsh.model.mesh.getIntegrationPoints(t, "Gauss" + str(interpolationOrder)) 4369 pp("integration points to integrate order " + 4370 str(interpolationOrder) + " polynomials", localCoords, 3) 4371 4372 # Return the basis functions evaluated at the integration points. Selecting 4373 # "Lagrange" and "GradLagrange" returns the isoparamtric basis functions and 4374 # their gradient (in the reference space of the given element type). A 4375 # specific interpolation order can be requested using "LagrangeN" and 4376 # "GradLagrangeN" with N = 1, 2, ... Other supported function spaces include 4377 # "H1LegendreN", "GradH1LegendreN", "HcurlLegendreN", "CurlHcurlLegendreN". 4378 numComponents, basisFunctions, numOrientations =\ 4379 gmsh.model.mesh.getBasisFunctions(t, localCoords, "Lagrange") 4380 pp("basis functions at integration points", basisFunctions, 1) 4381 numComponents, basisFunctions, numOrientations =\ 4382 gmsh.model.mesh.getBasisFunctions(t, localCoords, "GradLagrange") 4383 pp("basis function gradients at integration points", basisFunctions, 3) 4384 4385 # Compute the Jacobians (and their determinants) at the integration points 4386 # for all the elements of the given type in the mesh. Beware that the 4387 # Jacobians are returned "by column": see the API documentation for details. 4388 jacobians, determinants, coords =\ 4389 gmsh.model.mesh.getJacobians(t, localCoords) 4390 pp("Jacobian determinants at integration points", determinants, 1) 4391 4392gmsh.finalize() 4393</pre></div> 4394 4395 4396<hr> 4397<span id="x7"></span><div class="header"> 4398<p> 4399Previous: <a href="#x6" accesskey="p" rel="prev">x6</a>, Up: <a href="#Gmsh-tutorial" accesskey="u" rel="up">
4399Gmsh tutorial</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 4400</div> 4401<span id="x7_003a-Additional-mesh-data_003a-internal-edges-and-faces"></span><h3 class="section">2.28 <code>x7</code>: Additional mesh data: internal edges and faces</h3> 4402 4403<p>See 4404<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x7.py">x7.py</a>. 4405Also available in C++ 4406(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x7.cpp">x7.cpp</a>) and 4407Julia 4408(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x7.jl">x7.jl</a>). 4409</p> 4410<div align="center"><img src="images/x7.png" alt="Screenshot of tutorial x7"> 4411</div> 4412<div class="format"> 4413<pre class="verbatim"># ----------------------------------------------------------------------------- 4414# 4415# Gmsh Python extended tutorial 7 4416# 4417# Additional mesh data: internal edges and faces 4418# 4419# ----------------------------------------------------------------------------- 4420 4421import sys 4422import gmsh 4423 4424gmsh.initialize(sys.argv) 4425 4426gmsh.model.add("x7") 4427 4428# Meshes are fully described in Gmsh by nodes and elements, both associated to 4429# model entities. The API can be used to generate and handle other mesh 4430# entities, i.e. mesh edges and faces, which are not stored by default. 4431 4432# Let's create a simple model and mesh it: 4433gmsh.model.occ.addBox(0, 0, 0, 1, 1, 1) 4434gmsh.model.occ.synchronize() 4435gmsh.option.setNumber("Mesh.MeshSizeMin", 2.) 4436gmsh.model.mesh.generate(3) 4437 4438# Like elements, mesh edges and faces are described by (an ordered list of) 4439# their nodes. Let us retrieve the edges and the (triangular) faces of all the 4440# first order tetrahedra in the mesh: 4441elementType = gmsh.model.mesh.getElementType("tetrahedron", 1) 4442edgeNodes = gmsh.model.mesh.getElementEdgeNodes(elementType) 4443faceNodes = gmsh.model.mesh.getElementFaceNodes(elementType, 3) 4444 4445# Edges and faces are returned for each element as a list of nodes corresponding 4446# to the canonical orientation of the edges and faces for a given element type. 4447 4448# Gmsh can also identify unique edges and faces (a single edge or face whatever 4449# the ordering of their nodes) and assign them a unique tag. This identification 4450# can be done internally by Gmsh (e.g. when generating keys for basis 4451# functions), or requested explicitly as follows: 4452gmsh.model.mesh.createEdges() 4453gmsh.model.mesh.createFaces() 4454 4455# Edge and face tags can then be retrieved by providing their nodes: 4456edgeTags, edgeOrientations = gmsh.model.mesh.getEdges(edgeNodes) 4457faceTags, faceOrientations = gmsh.model.mesh.getFaces(3, faceNodes) 4458 4459# Since element edge and face nodes are returned in the same order as the 4460# elements, one can easily keep track of which element(s) each edge or face is 4461# connected to: 4462elementTags, elementNodeTags = gmsh.model.mesh.getElementsByType(elementType) 4463edges2Elements = {} 4464faces2Elements = {} 4465for i in range(len(edgeTags)): # 6 edges per tetrahedron 4466 if not edgeTags[i] in edges2Elements: 4467 edges2Elements[edgeTags[i]] = [elementTags[i // 6]] 4468 else: 4469 edges2Elements[edgeTags[i]].append(elementTags[i // 6]) 4470for i in range(len(faceTags)): # 4 faces per tetrahedron 4471 if not faceTags[i] in faces2Elements: 4472 faces2Elements[faceTags[i]] = [elementTags[i // 4]] 4473 else: 4474 faces2Elements[faceTags[i]].append(elementTags[i // 4]) 4475 4476# New unique lower dimensional elements can also be easily created given the 4477# edge or face nodes. This is especially useful for numerical methods that 4478# require integrating or interpolating on internal edges or faces (like 4479# e.g. Discontinuous Galerkin techniques), since creating elements for the 4480# internal entities will make this additional mesh data readily available (see 4481# `x6.py'). For example, we can create a new discrete surface... 4482s = gmsh.model.addDiscreteEntity(2) 4483 4484# ... and fill it with unique triangles corresponding to the faces of the 4485# tetrahedra: 4486maxElementTag = gmsh.model.mesh.getMaxElementTag() 4487uniqueFaceTags = set() 4488tagsForTriangles = [] 4489faceNodesForTriangles = [] 4490for i in range(len(faceTags)): 4491 if faceTags[i] not in uniqueFaceTags: 4492 uniqueFaceTags.add(faceTags[i]) 4493 tagsForTriangles.append(faceTags[i] + maxElementTag) 4494 faceNodesForTriangles.append(faceNodes[3 * i]) 4495 faceNodesForTriangles.append(faceNodes[3 * i + 1]) 4496 faceNodesForTriangles.append(faceNodes[3 * i + 2]) 4497elementType2D = gmsh.model.mesh.getElementType("triangle", 1) 4498gmsh.model.mesh.addElementsByType(s, elementType2D, tagsForTriangles, 4499 faceNodesForTriangles) 4500 4501# Since the tags for the triangles have been created based on the face tags, 4502# the information about neighboring elements can also be readily created,
4503# useful e.g. in Finite Volume or Discontinuous Galerkin techniques: 4504for t in tagsForTriangles: 4505 print("triangle " + str(int(t)) + " is connected to tetrahedra " + 4506 str(faces2Elements[t - maxElementTag])) 4507 4508# If all you need is the list of all edges or faces in terms of their nodes, you 4509# can also directly call: 4510edgeTags, edgeNodes = gmsh.model.mesh.getAllEdges() 4511faceTags, faceNodes = gmsh.model.mesh.getAllFaces(3) 4512 4513# Launch the GUI to see the results: 4514if '-nopopup' not in sys.argv: 4515 gmsh.fltk.run() 4516 4517gmsh.finalize() 4518</pre></div> 4519 4520 4521<hr> 4522<span id="Gmsh-graphical-user-interface"></span><div class="header"> 4523<p> 4524Next: <a href="#Gmsh-command_002dline-interface" accesskey="n" rel="next">Gmsh command-line interface</a>, Previous: <a href="#Gmsh-tutorial" accesskey="p" rel="prev">Gmsh tutorial</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 4525</div> 4526<span id="Gmsh-graphical-user-interface-1"></span><h2 class="chapter">3 Gmsh graphical user interface</h2> 4527 4528<span id="index-GUI"></span> 4529<span id="index-Graphical-user-interface"></span> 4530 4531<p>Once you have the Gmsh application installed (see <a href="#Installing-and-running-Gmsh-on-your-computer">Installing and running Gmsh on your computer</a>), to launch the graphical interface just 4532double-click on the Gmsh icon, or type 4533</p><div class="example"> 4534<pre class="example">> gmsh 4535</pre></div> 4536<p>at the shell prompt in a terminal. This will open the main window of the 4537Gmsh GUI, with a menu bar on top (except on macOS, where by default the 4538menu bar is on the top of the screen – this can be changed with the 4539<code>General.SystemMenuBar</code> option, see <a href="#General-options">General options</a>), a tree 4540menu on the left (which by default contains a ‘Modules’ entry with three 4541children: ‘Geometry’, ‘Mesh’ and ‘Solver’), a graphic area on the right, 4542and a status bar with some shortcut buttons at the bottom. (You can 4543detach the tree menu using ‘Window->Attach/Detach Menu’.) 4544</p> 4545<div align="center"><img src="images/gui.png" alt="Gmsh’s graphical user interface (GUI)"> 4546</div> 4547<p>To create a new geometrical model, use the ‘File->New’ menu to create a 4548new model file, and choose for example <samp>mymodel.geo</samp> as file 4549name. Then in the tree menu, successively open the ‘Geometry’, 4550‘Elementary entities’ and ‘Add’ submenus, and click for example on 4551‘Rectangle’. A context window with parameters will pop up: you can enter 4552some parameters in this window (e.g. the width and height of the 4553rectangle) and move the mouse to place it on the canvas. If you don’t 4554want to place the rectangle with the mouse, select ‘X’, ‘Y’ and ‘Z 4555freeze’ in the window and enter the coordinates manually in the context 4556window. Once you are done, either press <kbd>e</kbd> (see the status message 4557on the top of the graphic window) or click on the ‘Add’ button in the 4558context window. 4559</p> 4560<div align="center"><img src="images/gui_add_rectangle.png" alt="Adding a rectangle in the GUI"> 4561</div> 4562<p>There is no need to save your geometrical model: when the rectangle was 4563added, scripting commands were automatically appended to your model 4564file <samp>mymodel.geo</samp>: 4565</p><div class="example"> 4566<pre class="example">//+ 4567SetFactory("OpenCASCADE"); 4568Rectangle(1) = {0, 0, 0, 1, 0.5, 0}; 4569</pre></div> 4570<p>You can edit this script with any text editor; clicking on ‘Edit script’ 4571in the tree menu will launch the default text editor specified by the 4572<code>General.Editor</code> option (see <a href="#General-options">General options</a>). If you edit the 4573script, you should click on ‘Reload script’ in the tree menu to reload 4574the modifications in the GUI. The <code>//+</code> line in the script is a 4575comment that is used as a placemark between commands added by the GUI; 4576see <a href="#Gmsh-scripting-language">Gmsh scripting language</a> for the scripting language reference. 4577</p> 4578<p>Combining GUI actions and script file editing is a classical way of 4579working with the Gmsh app. For example, it is often faster to define 4580variables and points directly in the script file, and then use the GUI 4581to define the curves, the surfaces and the volumes interactively. 4582</p> 4583<p>To load an existing model instead of creating a model from scratch, use 4584the ‘File->Open’ menu. For example, to open the first tutorial 4585(see <a href="#Gmsh-tutorial">
4585Gmsh tutorial</a>), choose 4586<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/t1.geo">t1.geo</a>. On the terminal, 4587you can also specify the file name directly on the command line, i.e.: 4588</p><div class="example"> 4589<pre class="example">> gmsh t1.geo 4590</pre></div> 4591 4592<p>To generate a mesh, open ‘Mesh’ in the tree menu and choose the desired 4593dimension: ‘1D’ will mesh all the curves; ‘2D’ will mesh all the 4594surfaces—as well as all the curves if ‘1D’ was not called before; ‘3D’ 4595will mesh all the volumes—and all the surfaces if ‘2D’ was not called 4596before. To save the resulting mesh in the current mesh format click on 4597‘Save’ in the tree menu, or select the appropriate format and file name 4598with the ‘File->Export’ menu. The default mesh file name is based on the 4599name of the current active model, with an appended extension depending 4600on the mesh format. Note that most interactive commands have keyboard 4601shortcuts: see <a href="#Keyboard-shortcuts">Keyboard shortcuts</a>, or select ‘Help->Keyboard and 4602Mouse Usage’ in the menu. For example, to quickly generate the 2D mesh 4603and save a mesh, you can first press <kbd>2</kbd>, then <kbd>Ctrl+Shift+s</kbd>. 4604</p> 4605<p>A double-click in the graphic window will pop up a quick shortcut menu, 4606which can be used e.g. to quickly toggle the visibility of mesh entities 4607(like surface faces), reset the viewport, select the rotation center, 4608display axes, or access the full module options (from the 4609‘Tools->Options’ menu). The shortcut buttons on the bottom left of the 4610status bar can be used to quickly adjust the viewport: ‘X’, ‘Y’, ‘Z’ set 4611viewports with the corresponding axis perpendicular to graphic plane; 4612the rotation button rotates the view by 90 degrees; and ‘1:1’ resets the 4613scale. 4614</p> 4615<div align="center"><img src="images/gui_mesh.png" alt="Meshing in the GUI"> 4616</div> 4617<p>Several files can be loaded simultaneously. When specified on the 4618command line, the first one defines the active model (in the same way as 4619using the ‘File->Open’ menu) and the others are ‘merged’ into this model 4620(in the same way as using the the ‘File->Merge’ menu). For example, to 4621merge the post-processing views contained in the files 4622<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/view1.pos">view1.pos</a> and 4623<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/view5.msh">view5.msh</a> together with 4624the geometry of the first tutorial <a href="#t1">t1</a>, you can type the following 4625command: 4626</p><div class="example"> 4627<pre class="example">> gmsh t1.geo view1.pos view5.msh 4628</pre></div> 4629 4630<p>When one or more more post-processing views are loaded, a 4631‘Post-Processing’ entry in the tree menu appears. With the previous 4632command, three views will appear in the tree menu under 4633‘Post-processing’, respectively labeled ‘A scalar map’, ‘Nodal scalar 4634map’ and ‘Element 1 vector’. In this example the views contain several 4635time steps: you can loop through them with the shortcuts icons on the 4636left of the status bar. A mouse click on the view name will toggle the 4637visibility of the selected view, while a click on the arrow button on 4638the right will provide access to the view’s options. 4639</p> 4640<p>Note that all the options specified interactively can also be directly 4641specified in the script files. You can save the current options of the 4642current active model with the ‘File->Save Model Options’. This will 4643create a new option file with the same filename as the active model, but 4644with an extra <samp>.opt</samp> extension added. The next time you open this 4645model, the associated options will be automatically loaded, too. To 4646save the current options as your default preferences for all future Gmsh 4647sessions, use the ‘File->Save Options As Default’ menu instead. You can 4648also save the current options in an arbitrary file by choosing the ‘Gmsh 4649options’ format in ‘File->Export’. For more information about available 4650options (and how to reset them to their default values), see <a href="#Gmsh-options">Gmsh options</a>. A full list of options with their current values is also 4651available using the ‘Help->Current Options’ menu. 4652</p> 4653<p>Finally, note that the GUI can also be run (and modified) using the API: 4654see <a href="#Namespace-gmsh_002ffltk">Namespace gmsh/fltk</a> for details. 4655</p> 4656<p>The two next sections describe the mouse actions in the GUI, as well as 4657all the predefined keyboard shortcuts. Screencasts explaining how to use 4658the Gmsh GUI are available online at the following address: 4659<a href="https://gmsh.info/screencasts/">https://gmsh.info/screencasts/</a>. 4660</p> 4661 4662 4663<table class="menu" border="0" cellspacing="0"> 4664<tr><td align="left" valign="top">• <a href="#Mouse-actions" accesskey="1">Mouse actions</a></td><td> </td><td align="left" valign="top"> 4665</td></tr> 4666<tr><td align="left" valign="top">• <a href="#Keyboard-shortcuts" accesskey="2">Keyboard shortcuts</a></td><td> </td><td align="left" valign="top"> 4667</td></tr> 4668</table> 4669 4670<hr> 4671<span id="Mouse-actions"></span><div class="header"> 4672<p> 4673Next: <a href="#Keyboard-shortcuts" accesskey="n" rel="next">Keyboard shortcuts</a>, Previous: <a href="#Gmsh-graphical-user-interface" accesskey="p" rel="prev">Gmsh graphical user interface</a>, Up: <a href="#Gmsh-graphical-user-interface" accesskey="u" rel="up">Gmsh graphical user interface</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 4674</div> 4675<span id="Mouse-actions-1"></span>
4675<h3 class="section">3.1 Mouse actions</h3> 4676 4677<span id="index-Mouse_002c-actions"></span> 4678<span id="index-Bindings_002c-mouse"></span> 4679 4680 4681<dl compact="compact"> 4682<dt><kbd>Move</kbd></dt> 4683<dd><p>Highlight the entity under the mouse pointer and display its properties / Resize a lasso zoom or a lasso (un)selection 4684</p></dd> 4685<dt><kbd>Left button</kbd></dt> 4686<dd><p>Rotate / Select an entity / Accept a lasso zoom or a lasso selection 4687</p></dd> 4688<dt><kbd>Ctrl+Left button</kbd></dt> 4689<dd><p>Start a lasso zoom or a lasso (un)selection 4690</p></dd> 4691<dt><kbd>Middle button</kbd></dt> 4692<dd><p>Zoom / Unselect an entity / Accept a lasso zoom or a lasso unselection 4693</p></dd> 4694<dt><kbd>Ctrl+Middle button</kbd></dt> 4695<dd><p>Orthogonalize display 4696</p></dd> 4697<dt><kbd>Right button</kbd></dt> 4698<dd><p>Pan / Cancel a lasso zoom or a lasso (un)selection / Pop-up menu on post-processing view button 4699</p></dd> 4700<dt><kbd>Ctrl+Right button</kbd></dt> 4701<dd><p>Reset to default viewpoint 4702</p></dd> 4703</dl> 4704 4705<p>For a 2 button mouse, Middle button = Shift+Left button. 4706</p> 4707<p>For a 1 button mouse, Middle button = Shift+Left button, Right button = Alt+Left button. 4708</p> 4709 4710<hr> 4711<span id="Keyboard-shortcuts"></span><div class="header"> 4712<p> 4713Previous: <a href="#Mouse-actions" accesskey="p" rel="prev">Mouse actions</a>, Up: <a href="#Gmsh-graphical-user-interface" accesskey="u" rel="up">Gmsh graphical user interface</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 4714</div> 4715<span id="Keyboard-shortcuts-1"></span><h3 class="section">3.2 Keyboard shortcuts</h3> 4716 4717<span id="index-Keyboard_002c-shortcuts"></span> 4718<span id="index-Shortcuts_002c-keyboard"></span> 4719<span id="index-Bindings_002c-keyboard"></span> 4720 4721<p>(On macOS, <kbd>Ctrl</kbd> is replaced by <kbd>Cmd</kbd> in the shortcuts below.) 4722</p> 4723 4724<dl compact="compact"> 4725<dt><kbd>Left arrow</kbd></dt> 4726<dd><p>Go to previous time step 4727</p></dd> 4728<dt><kbd>Right arrow</kbd></dt> 4729<dd><p>Go to next time step 4730</p></dd> 4731<dt><kbd>Up arrow</kbd></dt> 4732<dd><p>Make previous view visible 4733</p></dd> 4734<dt><kbd>Down arrow</kbd></dt> 4735<dd><p>Make next view visible 4736</p></dd> 4737<dt><kbd>0</kbd></dt> 4738<dd><p>Reload geometry 4739</p></dd> 4740<dt><kbd>Ctrl+0 or 9</kbd></dt> 4741<dd><p>Reload full project 4742</p></dd> 4743<dt><kbd>1 or F1</kbd></dt> 4744<dd><p>Mesh lines 4745</p></dd> 4746<dt><kbd>2 or F2</kbd></dt> 4747<dd><p>Mesh surfaces 4748</p></dd> 4749<dt><kbd>3 or F3</kbd></dt> 4750<dd><p>Mesh volumes 4751</p></dd> 4752<dt><kbd>Escape</kbd></dt> 4753<dd><p>Cancel lasso zoom/selection, toggle mouse selection ON/OFF 4754</p></dd> 4755<dt><kbd>e</kbd></dt> 4756<dd><p>End/accept selection in geometry creation mode 4757</p></dd> 4758<dt><kbd>g</kbd></dt> 4759<dd><p>Go to geometry module 4760</p></dd> 4761<dt><kbd>m</kbd></dt> 4762<dd><p>Go to mesh module 4763</p></dd> 4764<dt><kbd>p</kbd></dt> 4765<dd><p>Go to post-processing module 4766</p></dd> 4767<dt><kbd>q</kbd></dt> 4768<dd><p>Abort selection in geometry creation mode 4769</p></dd> 4770<dt><kbd>s</kbd></dt> 4771<dd><p>Go to solver module 4772</p></dd> 4773<dt><kbd>x</kbd></dt> 4774<dd><p>Toggle x coordinate freeze in geometry creation mode 4775</p></dd> 4776<dt><kbd>y</kbd></dt> 4777<dd><p>Toggle y coordinate freeze in geometry creation mode 4778</p></dd> 4779<dt><kbd>z</kbd></dt> 4780<dd><p>Toggle z coordinate freeze in geometry creation mode 4781</p></dd> 4782<dt><kbd>Shift+a</kbd></dt> 4783<dd><p>Bring all windows to front 4784</p></dd> 4785<dt><kbd>Shift+g</kbd></dt> 4786<dd><p>Show geometry options 4787</p></dd> 4788<dt><kbd>Shift+m</kbd></dt> 4789<dd><p>Show mesh options 4790</p></dd> 4791<dt><kbd>Shift+o</kbd></dt> 4792<dd><p>Show general options 4793</p></dd> 4794<dt><kbd>Shift+p</kbd></dt> 4795<dd><p>Show post-processing options 4796</p></dd> 4797<dt><kbd>Shift+s</kbd></dt> 4798<dd><p>Show solver options 4799</p></dd> 4800<dt><kbd>Shift+u</kbd></dt> 4801<dd><p>Show post-processing view plugins 4802</p></dd> 4803<dt><kbd>Shift+w</kbd></dt> 4804<dd><p>Show post-processing view options 4805</p></dd> 4806<dt><kbd>Shift+x</kbd></dt> 4807<dd><p>Move only along x coordinate in geometry creation mode 4808</p></dd> 4809<dt><kbd>Shift+y</kbd></dt> 4810<dd><p>Move only along y coordinate in geometry creation mode 4811</p></dd> 4812<dt><kbd>Shift+z</kbd></dt> 4813<dd><p>Move only along z coordinate in geometry creation mode 4814</p></dd> 4815<dt><kbd>Shift+Escape</kbd></dt> 4816<dd><p>Enable full mouse selection 4817</p></dd> 4818<dt><kbd>Ctrl+d</kbd></dt> 4819<dd><p>Attach/detach menu 4820</p></dd> 4821<dt><kbd>Ctrl+e</kbd></dt> 4822<dd><p>Export project 4823</p></dd> 4824<dt><kbd>Ctrl+f</kbd></dt> 4825<dd><p>Enter full screen 4826</p></dd> 4827<dt><kbd>Ctrl+i</kbd></dt> 4828<dd><p>Show statistics window 4829</p></dd> 4830<dt><kbd>Ctrl+j</kbd></dt> 4831<dd><p>Save model options 4832</p></dd> 4833<dt><kbd>Ctrl+l</kbd></dt> 4834<dd><p>Show message console 4835</p></dd> 4836<dt><kbd>Ctrl+m</kbd></dt> 4837<dd><p>Minimize window 4838</p></dd> 4839<dt><kbd>Ctrl+n</kbd></dt> 4840<dd><p>Create new project file 4841</p></dd> 4842<dt><kbd>Ctrl+o</kbd></dt> 4843<dd><p>Open project file 4844</p></dd> 4845<dt><kbd>Ctrl+q</kbd></dt> 4846<dd><p>Quit 4847</p></dd> 4848<dt><kbd>Ctrl+r</kbd></dt> 4849<dd><p>Rename project file 4850</p></dd> 4851<dt><kbd>Ctrl+s</kbd></dt> 4852<dd><p>Save mesh in default format 4853</p></dd> 4854<dt><kbd>Shift+Ctrl+c</kbd></dt> 4855<dd><p>Show clipping plane window 4856</p></dd> 4857<dt><kbd>Shift+Ctrl+h</kbd></dt> 4858<dd><p>Show current options and workspace window 4859</p></dd> 4860<dt><kbd>Shift+Ctrl+j</kbd></dt> 4861<dd><p>Save options as default 4862</p></dd> 4863<dt><kbd>Shift+Ctrl+m</kbd></dt> 4864<dd><p>Show manipulator window 4865</p></dd> 4866<dt><kbd>Shift+Ctrl+n</kbd></dt> 4867<dd><p>Show option window 4868</p></dd> 4869<dt><kbd>Shift+Ctrl+o</kbd></dt> 4870<dd><p>Merge file(s) 4871</p></dd> 4872<dt><kbd>Shift+Ctrl+r</kbd></dt> 4873<dd><p>Open next-to-last opened file 4874</p></dd> 4875<dt><kbd>Shift+Ctrl+u</kbd></dt> 4876<dd><p>Show plugin window 4877</p></dd> 4878<dt><kbd>Shift+Ctrl+v</kbd></dt> 4879<dd><p>Show visibility window 4880</p></dd> 4881<dt><kbd>Alt+a</kbd></dt> 4882<dd><p>Loop through axes modes 4883</p></dd> 4884<dt><kbd>Alt+b</kbd></dt> 4885<dd><p>Hide/show bounding boxes 4886</p></dd> 4887<dt><kbd>Alt+c</kbd></dt> 4888<dd><p>Loop through predefined color schemes 4889</p></dd> 4890<dt><kbd>Alt+e</kbd></dt> 4891<dd><p>Hide/Show element outlines for visible post-pro views 4892</p></dd> 4893<dt><kbd>Alt+f</kbd></dt> 4894<dd><p>Change redraw mode (fast/full) 4895</p></dd> 4896<dt><kbd>Alt+h</kbd></dt> 4897<dd><p>Hide/show all post-processing views 4898</p></dd> 4899<dt><kbd>Alt+i</kbd></dt> 4900<dd><p>Hide/show all post-processing view scales 4901</p></dd> 4902<dt><kbd>Alt+l</kbd></dt> 4903<dd><p>Hide/show geometry lines 4904</p></dd> 4905<dt><kbd>Alt+m</kbd></dt> 4906<dd><p>Toggle visibility of all mesh entities 4907</p></dd> 4908<dt><kbd>Alt+n</kbd></dt> 4909<dd><p>Hide/show all post-processing view annotations 4910</p></dd> 4911<dt><kbd>Alt+o</kbd></dt> 4912<dd><p>Change projection mode (orthographic/perspective) 4913</p></dd> 4914<dt><kbd>Alt+p</kbd></dt> 4915<dd><p>Hide/show geometry points 4916</p></dd> 4917<dt><kbd>Alt+r</kbd></dt> 4918<dd><p>Loop through range modes for visible post-pro views 4919</p></dd> 4920<dt><kbd>Alt+s</kbd></dt> 4921<dd><p>Hide/show geometry surfaces 4922</p></dd> 4923<dt><kbd>Alt+t</kbd></dt> 4924<dd><p>Loop through interval modes for visible post-pro views 4925</p></dd> 4926<dt><kbd>Alt+v</kbd></dt> 4927<dd><p>Hide/show geometry volumes 4928</p></dd> 4929<dt><kbd>Alt+w</kbd></dt> 4930<dd><p>Enable/disable all lighting 4931</p></dd> 4932<dt><kbd>Alt+x</kbd></dt> 4933<dd><p>Set X view 4934</p></dd> 4935<dt><kbd>Alt+y</kbd></dt> 4936<dd><p>Set Y view 4937</p></dd> 4938<dt><kbd>Alt+z</kbd></dt> 4939<dd><p>Set Z view 4940</p></dd> 4941<dt><kbd>Alt+1</kbd></dt> 4942<dd><p>Set 1:1 view 4943</p></dd> 4944<dt><kbd>Alt+Shift+a</kbd></dt> 4945<dd><p>Hide/show small axes 4946</p></dd> 4947<dt><kbd>Alt+Shift+b</kbd></dt> 4948<dd><p>Hide/show mesh volume faces 4949</p></dd> 4950<dt><kbd>Alt+Shift+c</kbd></dt> 4951<dd><p>Loop through predefined colormaps 4952</p></dd> 4953<dt><kbd>Alt+Shift+d</kbd></dt> 4954<dd><p>Hide/show mesh surface faces 4955</p></dd> 4956<dt><kbd>Alt+Shift+l</kbd></dt> 4957<dd><p>Hide/show mesh lines 4958</p></dd> 4959<dt><kbd>Alt+Shift+p</kbd></dt> 4960<dd><p>Hide/show mesh nodes 4961</p></dd> 4962<dt><kbd>Alt+Shift+s</kbd></dt> 4963<dd><p>Hide/show mesh surface edges 4964</p></dd> 4965<dt><kbd>Alt+Shift+t</kbd></dt> 4966<dd><p>Same as Alt+t, but with numeric mode included 4967</p></dd> 4968<dt><kbd>Alt+Shift+v</kbd></dt> 4969<dd><p>Hide/show mesh volume edges 4970</p></dd> 4971<dt><kbd>Alt+Shift+x</kbd></dt> 4972<dd><p>Set -X view 4973</p></dd> 4974<dt><kbd>Alt+Shift+y</kbd></dt> 4975<dd><p>Set -Y view 4976</p></dd> 4977<dt><kbd>Alt+Shift+z</kbd></dt> 4978<dd><p>Set -Z view 4979</p></dd> 4980<dt><kbd>Alt+Shift+1</kbd></dt> 4981<dd><p>Reset bounding box around visible entities 4982</p></dd> 4983<dt><kbd>Alt+Ctrl++1</kbd></dt> 4984<dd><p>Sync scale between viewports 4985</p></dd> 4986</dl> 4987 4988 4989<hr> 4990<span id="Gmsh-command_002dline-interface"></span><div class="header"> 4991<p> 4992Next: <a href="#Gmsh-scripting-language" accesskey="n" rel="next">Gmsh scripting language</a>, Previous: <a href="#Gmsh-graphical-user-interface" accesskey="p" rel="prev">Gmsh graphical user interface</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 4993</div> 4994<span id="Gmsh-command_002dline-interface-1"></span><h2 class="chapter">4 Gmsh command-line interface</h2> 4995 4996<span id="index-Command_002dline-options"></span> 4997<span id="index-Options_002c-command-line"></span> 4998 4999<p>Gmsh defines a number of commands-line switches that can be used to 5000control Gmsh in “batch” mode from the command line, and pass options 5001without resorting to a script (see <a href="#Gmsh-scripting-language">Gmsh scripting language</a>) or the 5002API (see <a href="#Gmsh-application-programming-interface">Gmsh application programming interface</a>). 5003</p> 5004<p>For example, meshing the first tutorial in batch mode can be done in a 5005terminal by passing the <code>-2</code> command-line switch: 5006</p><div class="example"> 5007<pre class="example">> gmsh t1.geo -2
5008</pre></div> 5009 5010<p>The same effect could be achieved by adding the <code>Mesh 2;</code> command 5011at the end of <samp>t1.geo</samp> and running 5012</p><div class="example"> 5013<pre class="example">> gmsh t1.geo -parse_and_exit 5014</pre></div> 5015<p>or further adding the <code>Exit;</code> command at the end of the script and 5016simply opening this new file: 5017</p><div class="example"> 5018<pre class="example">> gmsh t1.geo 5019</pre></div> 5020 5021<p>Note that all numeric and string options (see <a href="#Gmsh-options">Gmsh options</a>) can be 5022set from the command line with the <code>-setnumber</code> and 5023<code>-setstring</code> switches 5024</p><div class="example"> 5025<pre class="example">> gmsh t1.geo -setnumber Mesh.Nodes 1 -setnumber Geometry.SurfaceLabels 1 5026</pre></div> 5027 5028<p>The list of all command-line switches is given hereafter. 5029</p> 5030 5031<p>(Related option names, if any, are given between parentheses) 5032</p><p>Geometry: 5033</p><dl compact="compact"> 5034<dt><code>-0</code> 5035<span id="index-_002d0"></span> 5036</dt> 5037<dd><p>Output model, then exit 5038</p></dd> 5039<dt><code>-tol value</code> 5040<span id="index-_002dtol-value"></span> 5041</dt> 5042<dd><p>Set geometrical tolerance (Geometry.Tolerance) 5043</p></dd> 5044<dt><code>-match</code> 5045<span id="index-_002dmatch"></span> 5046</dt> 5047<dd><p>Match geometries and meshes 5048</p></dd> 5049</dl> 5050<p>Mesh: 5051</p><dl compact="compact"> 5052<dt><code>-1, -2, -3</code> 5053<span id="index-_002d1_002c-_002d2_002c-_002d3"></span> 5054</dt> 5055<dd><p>Perform 1D, 2D or 3D mesh generation, then exit 5056</p></dd> 5057<dt><code>-format string</code> 5058<span id="index-_002dformat-string"></span> 5059</dt> 5060<dd><p>Select output mesh format: auto, msh1, msh2, msh22, msh3, msh4, msh40, msh41, msh, unv, vtk, wrl, mail, stl, p3d, mesh, bdf, cgns, med, diff, ir3, inp, ply2, celum, su2, x3d, dat, neu, m, key, off, rad, obj (Mesh.Format) 5061</p></dd> 5062<dt><code>-bin</code> 5063<span id="index-_002dbin"></span> 5064</dt> 5065<dd><p>Create binary files when possible (Mesh.Binary) 5066</p></dd> 5067<dt><code>-refine</code> 5068<span id="index-_002drefine"></span> 5069</dt> 5070<dd><p>Perform uniform mesh refinement, then exit 5071</p></dd> 5072<dt><code>-barycentric_refine</code> 5073<span id="index-_002dbarycentric_005frefine"></span> 5074</dt> 5075<dd><p>Perform barycentric mesh refinement, then exit 5076</p></dd> 5077<dt><code>-reclassify angle</code> 5078<span id="index-_002dreclassify-angle"></span> 5079</dt> 5080<dd><p>Reclassify surface mesh, then exit 5081</p></dd> 5082<dt><code>-reparam angle</code> 5083<span id="index-_002dreparam-angle"></span> 5084</dt> 5085<dd><p>Reparametrize surface mesh, then exit 5086</p></dd> 5087<dt><code>-hybrid</code> 5088<span id="index-_002dhybrid"></span> 5089</dt> 5090<dd><p>generate a hybrid hex-tet mesh with trihedron for transitions 5091</p></dd> 5092<dt><code>-part int</code> 5093<span id="index-_002dpart-int"></span> 5094</dt> 5095<dd><p>Partition after batch mesh generation (Mesh.NbPartitions) 5096</p></dd> 5097<dt><code>-part_weight [tri,quad,tet,hex,pri,pyr,trih] int</code> 5098<span id="index-_002dpart_005fweight-_005btri_002cquad_002ctet_002chex_002cpri_002cpyr_002ctrih_005d-int"></span> 5099</dt> 5100<dd><p>Weight of a triangle/quad/etc. during partitioning (Mesh.Partition[Tri,Quad,...]Weight) 5101</p></dd> 5102<dt><code>-part_split</code> 5103<span id="index-_002dpart_005fsplit"></span> 5104</dt> 5105<dd><p>Save mesh partitions in separate files (Mesh.PartitionSplitMeshFiles) 5106</p></dd> 5107<dt><code>-part_[no_]topo</code> 5108<span id="index-_002dpart_005f_005bno_005f_005dtopo"></span> 5109</dt> 5110<dd><p>Create the partition topology (Mesh.PartitionCreateTopology) 5111</p></dd> 5112<dt><code>-part_[no_]ghosts</code> 5113<span id="index-_002dpart_005f_005bno_005f_005dghosts"></span> 5114</dt> 5115<dd><p>Create ghost cells (Mesh.PartitionCreateGhostCells) 5116</p></dd> 5117<dt><code>-part_[no_]physicals</code> 5118<span id="index-_002dpart_005f_005bno_005f_005dphysicals"></span> 5119</dt> 5120<dd><p>Create physical groups for partitions (Mesh.PartitionCreatePhysicals) 5121</p></dd> 5122<dt><code>-part_topo_pro</code> 5123<span id="index-_002dpart_005ftopo_005fpro"></span> 5124</dt> 5125<dd><p>Save the partition topology .pro file (Mesh.PartitionTopologyFile) 5126</p></dd> 5127<dt><code>-preserve_numbering_msh2</code> 5128<span id="index-_002dpreserve_005fnumbering_005fmsh2"></span> 5129</dt> 5130<dd><p>Preserve element numbering in MSH2 format (Mesh.PreserveNumberingMsh2) 5131</p></dd> 5132<dt><code>-save_all</code> 5133<span id="index-_002dsave_005fall"></span> 5134</dt> 5135<dd><p>Save all elements (Mesh.SaveAll) 5136</p></dd> 5137<dt><code>-save_parametric</code> 5138<span id="index-_002dsave_005fparametric"></span> 5139</dt> 5140<dd><p>Save nodes with their parametric coordinates (Mesh.SaveParametric) 5141</p></dd> 5142<dt><code>-save_topology</code> 5143<span id="index-_002dsave_005ftopology"></span> 5144</dt> 5145<dd><p>Save model topology (Mesh.SaveTopology) 5146</p></dd> 5147<dt><code>-algo string</code> 5148<span id="index-_002dalgo-string"></span> 5149</dt> 5150<dd><p>Select mesh algorithm: auto, meshadapt, del2d, front2d, delquad, quadqs, initial2d, del3d, front3d, mmg3d, hxt, initial3d (Mesh.Algorithm and Mesh.Algorithm3D) 5151</p></dd> 5152<dt><code>-smooth int</code> 5153<span id="index-_002dsmooth-int"></span> 5154</dt> 5155<dd><p>Set number of mesh smoothing steps (Mesh.Smoothing) 5156</p></dd> 5157<dt><code>-order int</code> 5158<span id="index-_002dorder-int"></span> 5159</dt> 5160<dd><p>Set mesh order (Mesh.ElementOrder) 5161</p></dd> 5162<dt><code>-optimize[_netgen]</code> 5163<span id="index-_002doptimize_005b_005fnetgen_005d"></span> 5164</dt> 5165<dd><p>Optimize quality of tetrahedral elements (Mesh.Optimize[Netgen]) 5166</p></dd> 5167<dt><code>-optimize_threshold</code> 5168<span id="index-_002doptimize_005fthreshold"></span> 5169</dt> 5170<dd><p>Optimize tetrahedral elements that have a quality less than a threshold (Mesh.OptimizeThreshold) 5171</p></dd> 5172<dt><code>-optimize_ho</code> 5173<span id="index-_002doptimize_005fho"></span> 5174</dt> 5175<dd><p>Optimize high order meshes (Mesh.HighOrderOptimize) 5176</p></dd> 5177<dt><code>-ho_[min,max,nlayers]</code> 5178<span id="index-_002dho_005f_005bmin_002cmax_002cnlayers_005d"></span> 5179</dt> 5180<dd><p>High-order optimization parameters (Mesh.HighOrderThreshold[Min,Max], Mesh.HighOrderNumLayers) 5181</p></dd> 5182<dt><code>-clscale value</code> 5183<span id="index-_002dclscale-value"></span> 5184</dt> 5185<dd><p>Set mesh element size factor (Mesh.MeshSizeFactor) 5186</p></dd> 5187<dt><code>-clmin value</code> 5188<span id="index-_002dclmin-value"></span> 5189</dt> 5190<dd><p>Set minimum mesh element size (Mesh.MeshSizeMin) 5191</p></dd> 5192<dt><code>-clmax value</code> 5193<span id="index-_002dclmax-value"></span> 5194</dt> 5195<dd><p>Set maximum mesh element size (Mesh.MeshSizeMax) 5196</p></dd> 5197<dt><code>-clextend value</code> 5198<span id="index-_002dclextend-value"></span> 5199</dt> 5200<dd><p>Extend mesh element sizes from boundaries (Mesh.MeshSizeExtendFromBoundary) 5201</p></dd> 5202<dt><code>-clcurv value</code> 5203<span id="index-_002dclcurv-value"></span> 5204</dt> 5205<dd><p>Compute mesh element size from curvature, with value the target number of elements per 2*pi radians (Mesh.MeshSizeFromCurvature) 5206</p></dd> 5207<dt><code>-aniso_max value</code> 5208<span id="index-_002daniso_005fmax-value"></span> 5209</dt> 5210<dd><p>
5210Set maximum anisotropy for bamg (Mesh.AnisoMax) 5211</p></dd> 5212<dt><code>-smooth_ratio value</code> 5213<span id="index-_002dsmooth_005fratio-value"></span> 5214</dt> 5215<dd><p>Set smoothing ration between mesh sizes at nodes of a same edge for bamg (Mesh.SmoothRatio) 5216</p></dd> 5217<dt><code>-epslc1d value</code> 5218<span id="index-_002depslc1d-value"></span> 5219</dt> 5220<dd><p>Set accuracy of evaluation of mesh size field for 1D mesh (Mesh.LcIntegrationPrecision) 5221</p></dd> 5222<dt><code>-swapangle value</code> 5223<span id="index-_002dswapangle-value"></span> 5224</dt> 5225<dd><p>Set the threshold angle (in degrees) between two adjacent faces below which a swap is allowed (Mesh.AllowSwapAngle) 5226</p></dd> 5227<dt><code>-rand value</code> 5228<span id="index-_002drand-value"></span> 5229</dt> 5230<dd><p>Set random perturbation factor (Mesh.RandomFactor) 5231</p></dd> 5232<dt><code>-bgm file</code> 5233<span id="index-_002dbgm-file"></span> 5234</dt> 5235<dd><p>Load background mesh from file 5236</p></dd> 5237<dt><code>-check</code> 5238<span id="index-_002dcheck"></span> 5239</dt> 5240<dd><p>Perform various consistency checks on mesh 5241</p></dd> 5242<dt><code>-ignore_periocity</code> 5243<span id="index-_002dignore_005fperiocity"></span> 5244</dt> 5245<dd><p>Ignore periodic boundaries (Mesh.IgnorePeriodicity) 5246</p></dd> 5247</dl> 5248<p>Post-processing: 5249</p><dl compact="compact"> 5250<dt><code>-link int</code> 5251<span id="index-_002dlink-int"></span> 5252</dt> 5253<dd><p>Select link mode between views (PostProcessing.Link) 5254</p></dd> 5255<dt><code>-combine</code> 5256<span id="index-_002dcombine"></span> 5257</dt> 5258<dd><p>Combine views having identical names into multi-time-step views 5259</p></dd> 5260</dl> 5261<p>Solver: 5262</p><dl compact="compact"> 5263<dt><code>-listen string</code> 5264<span id="index-_002dlisten-string"></span> 5265</dt> 5266<dd><p>Always listen to incoming connection requests (Solver.AlwaysListen) on the given socket (uses Solver.SocketName if not specified) 5267</p></dd> 5268<dt><code>-minterpreter string</code> 5269<span id="index-_002dminterpreter-string"></span> 5270</dt> 5271<dd><p>Name of Octave interpreter (Solver.OctaveInterpreter) 5272</p></dd> 5273<dt><code>-pyinterpreter string</code> 5274<span id="index-_002dpyinterpreter-string"></span> 5275</dt> 5276<dd><p>Name of Python interpreter (Solver.OctaveInterpreter) 5277</p></dd> 5278<dt><code>-run</code> 5279<span id="index-_002drun"></span> 5280</dt> 5281<dd><p>Run ONELAB solver(s) 5282</p></dd> 5283</dl> 5284<p>Display: 5285</p><dl compact="compact"> 5286<dt><code>-n</code> 5287<span id="index-_002dn"></span> 5288</dt> 5289<dd><p>Hide all meshes and post-processing views on startup (View.Visible, Mesh.[Points,Lines,SurfaceEdges,...]) 5290</p></dd> 5291<dt><code>-nodb</code> 5292<span id="index-_002dnodb"></span> 5293</dt> 5294<dd><p>Disable double buffering (General.DoubleBuffer) 5295</p></dd> 5296<dt><code>-numsubedges</code> 5297<span id="index-_002dnumsubedges"></span> 5298</dt> 5299<dd><p>Set num of subdivisions for high order element display (Mesh.NumSubEdges) 5300</p></dd> 5301<dt><code>-fontsize int</code> 5302<span id="index-_002dfontsize-int"></span> 5303</dt> 5304<dd><p>Specify the font size for the GUI (General.FontSize) 5305</p></dd> 5306<dt><code>-theme string</code> 5307<span id="index-_002dtheme-string"></span> 5308</dt> 5309<dd><p>Specify FLTK GUI theme (General.FltkTheme) 5310</p></dd> 5311<dt><code>-display string</code> 5312<span id="index-_002ddisplay-string"></span> 5313</dt> 5314<dd><p>Specify display (General.Display) 5315</p></dd> 5316<dt><code>-camera</code> 5317<span id="index-_002dcamera"></span> 5318</dt> 5319<dd><p>Use camera mode view (General.CameraMode) 5320</p></dd> 5321<dt><code>-stereo</code> 5322<span id="index-_002dstereo"></span> 5323</dt> 5324<dd><p>OpenGL quad-buffered stereo rendering (General.Stereo) 5325</p></dd> 5326<dt><code>-gamepad</code> 5327<span id="index-_002dgamepad"></span> 5328</dt> 5329<dd><p>Use gamepad controller if available 5330</p></dd> 5331</dl> 5332<p>Other: 5333</p><dl compact="compact"> 5334<dt><code>-, -parse_and_exit</code> 5335<span id="index-_002d_002c-_002dparse_005fand_005fexit"></span> 5336</dt> 5337<dd><p>Parse input files, then exit 5338</p></dd> 5339<dt><code>-save</code> 5340<span id="index-_002dsave"></span> 5341</dt> 5342<dd><p>Save output file, then exit 5343</p></dd> 5344<dt><code>-o file</code> 5345<span id="index-_002do-file"></span> 5346</dt> 5347<dd><p>Specify output file name 5348</p></dd> 5349<dt><code>-new</code> 5350<span id="index-_002dnew"></span> 5351</dt> 5352<dd><p>Create new model before merge next file 5353</p></dd> 5354<dt><code>-merge</code> 5355<span id="index-_002dmerge"></span> 5356</dt> 5357<dd><p>Merge next files 5358</p></dd> 5359<dt><code>-open</code> 5360<span id="index-_002dopen"></span> 5361</dt> 5362<dd><p>Open next files 5363</p></dd> 5364<dt><code>-log filename</code> 5365<span id="index-_002dlog-filename"></span> 5366</dt> 5367<dd><p>Log all messages to filename 5368</p></dd> 5369<dt><code>-a, -g, -m, -s, -p</code> 5370<span id="index-_002da_002c-_002dg_002c-_002dm_002c-_002ds_002c-_002dp"></span> 5371</dt> 5372<dd><p>Start in automatic, geometry, mesh, solver or post-processing mode (General.InitialModule) 5373</p></dd> 5374<dt><code>-pid</code> 5375<span id="index-_002dpid"></span> 5376</dt> 5377<dd><p>Print process id on stdout 5378</p></dd> 5379<dt><code>-watch pattern</code> 5380<span id="index-_002dwatch-pattern"></span> 5381</dt> 5382<dd><p>Pattern of files to merge as they become available (General.WatchFilePattern) 5383</p></dd> 5384<dt><code>-bg file</code> 5385<span id="index-_002dbg-file"></span> 5386</dt> 5387<dd><p>
5387Load background (image or PDF) file (General.BackgroundImageFileName) 5388</p></dd> 5389<dt><code>-v int</code> 5390<span id="index-_002dv-int"></span> 5391</dt> 5392<dd><p>Set verbosity level (General.Verbosity) 5393</p></dd> 5394<dt><code>-string "string"</code> 5395<span id="index-_002dstring-_0022string_0022"></span> 5396</dt> 5397<dd><p>Parse command string at startup 5398</p></dd> 5399<dt><code>-setnumber name value</code> 5400<span id="index-_002dsetnumber-name-value"></span> 5401</dt> 5402<dd><p>Set constant, ONELAB or option number name=value 5403</p></dd> 5404<dt><code>-setstring name value</code> 5405<span id="index-_002dsetstring-name-value"></span> 5406</dt> 5407<dd><p>Set constant, ONELAB or option string name=value 5408</p></dd> 5409<dt><code>-nopopup</code> 5410<span id="index-_002dnopopup"></span> 5411</dt> 5412<dd><p>Don’t popup dialog windows in scripts (General.NoPopup) 5413</p></dd> 5414<dt><code>-noenv</code> 5415<span id="index-_002dnoenv"></span> 5416</dt> 5417<dd><p>Don’t modify the environment at startup 5418</p></dd> 5419<dt><code>-nolocale</code> 5420<span id="index-_002dnolocale"></span> 5421</dt> 5422<dd><p>Don’t modify the locale at startup 5423</p></dd> 5424<dt><code>-option file</code> 5425<span id="index-_002doption-file"></span> 5426</dt> 5427<dd><p>Parse option file at startup 5428</p></dd> 5429<dt><code>-convert files</code> 5430<span id="index-_002dconvert-files"></span> 5431</dt> 5432<dd><p>Convert files into latest binary formats, then exit 5433</p></dd> 5434<dt><code>-nt int</code> 5435<span id="index-_002dnt-int"></span> 5436</dt> 5437<dd><p>Set number of threads (General.NumThreads) 5438</p></dd> 5439<dt><code>-cpu</code> 5440<span id="index-_002dcpu"></span> 5441</dt> 5442<dd><p>Report CPU times for all operations 5443</p></dd> 5444<dt><code>-version</code> 5445<span id="index-_002dversion"></span> 5446</dt> 5447<dd><p>Show version number 5448</p></dd> 5449<dt><code>-info</code> 5450<span id="index-_002dinfo"></span> 5451</dt> 5452<dd><p>Show detailed version information 5453</p></dd> 5454<dt><code>-help</code> 5455<span id="index-_002dhelp"></span> 5456</dt> 5457<dd><p>Show command line usage 5458</p></dd> 5459<dt><code>-help_options</code> 5460<span id="index-_002dhelp_005foptions"></span> 5461</dt> 5462<dd><p>Show all options 5463</p></dd> 5464</dl> 5465 5466 5467<hr> 5468<span id="Gmsh-scripting-language"></span><div class="header"> 5469<p> 5470Next: <a href="#Gmsh-application-programming-interface" accesskey="n" rel="next">Gmsh application programming interface</a>, Previous: <a href="#Gmsh-command_002dline-interface" accesskey="p" rel="prev">Gmsh command-line interface</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 5471</div> 5472<span id="Gmsh-scripting-language-1"></span><h2 class="chapter">5 Gmsh scripting language</h2> 5473 5474<p>The Gmsh scripting language is interpreted at runtime by Gmsh’s 5475parser. Scripts are written in ASCII files and are usually given the 5476<samp>.geo</samp> extension, but any extension (or no extension at all) can 5477also be used. For example Gmsh often uses the <samp>.pos</samp> extension for 5478scripts that contain post-processing commands, in particular parsed
5479post-processing views (see <a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a>). 5480</p> 5481<p>Historically, <samp>.geo</samp> scripts have been the primary way to perform 5482complex tasks with Gmsh, and they are indeed quite powerful: they can 5483handle (lists of) floating point (see <a href="#Floating-point-expressions">Floating point expressions</a>) 5484and string (see <a href="#String-expressions">String expressions</a>) variables, loops and tests 5485(see <a href="#Loops-and-conditionals">Loops and conditionals</a>), macros (see <a href="#User_002ddefined-macros">User-defined macros</a>), 5486etc. However Gmsh’s scripting language is still quite limited compared 5487to actual programming languages: for example there are no private 5488variables, macros don’t take arguments, and the runtime interpretation 5489by the parser can penalize performance on large models. Depending on the 5490workflow and the application, using the Gmsh API (see <a href="#Gmsh-application-programming-interface">Gmsh application programming interface</a>) can thus sometimes be 5491preferable. The downside of the API is that, while the scripting 5492language is baked into Gmsh and is thus available directly in the 5493standalone Gmsh app, the API requires external dependencies (a C++, C or 5494Fortran compiler; or a Python or Julia interpreter). 5495</p> 5496<p>This chapter describes the scripting language by detailing general 5497commands first (see <a href="#General-scripting-commands">General scripting commands</a>), before detailing 5498the scripting commands specific to the geometry (see <a href="#Geometry-scripting-commands">Geometry scripting commands</a>), mesh (see <a href="#Mesh-scripting-commands">Mesh scripting commands</a>) and 5499post-processing (see <a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a>) modules. 5500</p> 5501<p>The following rules are used when describing the scripting language in 5502the rest of this chapter (note that metasyntactic variable definitions 5503stay valid throughout the chapter, not only in the section where the 5504definitions appear): 5505</p><ol> 5506<li> Keywords and literal symbols are printed like <code>this</code>. 5507</li><li> Metasyntactic variables (i.e., text bits that are not part of the syntax, 5508but stand for other text bits) are printed like <var>this</var>. 5509</li><li> A colon (<code>:</code>) after a metasyntactic variable separates the variable 5510from its definition. 5511</li><li> Optional rules are enclosed in <code><</code> <code>></code> pairs. 5512</li><li> Multiple choices are separated by <code>|</code>. 5513</li><li> Three dots (…) indicate a possible (multiple) repetition of the 5514preceding rule. 5515</li></ol> 5516 5517<span id="index-GeoEntity-_007b-expression-_007d"></span> 5518 5519<p>In most commands that apply to geometrical entities of several 5520dimensions with the same syntax (e.g. the creation of <code>Physical 5521Point | Curve | Surface | Volume</code>), the <code>Point</code>, <code>Curve</code>, 5522<code>Surface</code> and <code>Volume</code> keywords can be replaced by 5523<code>GeoEntity { <var>expression</var> }</code>, with <var>expression</var> 5524respectively equal to 0, 1, 2, or 3. This makes it easier to script 5525parametric geometries that are valid in several dimensions, without code 5526duplication. 5527</p> 5528<table class="menu" border="0" cellspacing="0"> 5529<tr><td align="left" valign="top">• <a href="#General-scripting-commands" accesskey="1">General scripting commands</a></td><td> </td><td align="left" valign="top"> 5530</td></tr> 5531<tr><td align="left" valign="top">• <a href="#Geometry-scripting-commands" accesskey="2">Geometry scripting commands</a></td><td> </td><td align="left" valign="top"> 5532</td></tr> 5533<tr><td align="left" valign="top">• <a href="#Mesh-scripting-commands" accesskey="3">Mesh scripting commands</a></td><td> </td><td align="left" valign="top"> 5534</td></tr> 5535<tr><td align="left" valign="top">• <a href="#Post_002dprocessing-scripting-commands" accesskey="4">Post-processing scripting commands</a></td><td> </td><td align="left" valign="top"> 5536</td></tr> 5537</table> 5538 5539 5540<hr> 5541<span id="General-scripting-commands"></span><div class="header"> 5542<p> 5543Next: <a href="#Geometry-scripting-commands" accesskey="n" rel="next">Geometry scripting commands</a>, Previous: <a href="#Gmsh-scripting-language" accesskey="p" rel="prev">Gmsh scripting language</a>, Up: <a href="#Gmsh-scripting-language" accesskey="u" rel="up">Gmsh scripting language</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 5544</div> 5545<span id="General-scripting-commands-1"></span>
5545<h3 class="section">5.1 General scripting commands</h3> 5546 5547<table class="menu" border="0" cellspacing="0"> 5548<tr><td align="left" valign="top">• <a href="#Comments" accesskey="1">Comments</a></td><td> </td><td align="left" valign="top"> 5549</td></tr> 5550<tr><td align="left" valign="top">• <a href="#Floating-point-expressions" accesskey="2">Floating point expressions</a></td><td> </td><td align="left" valign="top"> 5551</td></tr> 5552<tr><td align="left" valign="top">• <a href="#String-expressions" accesskey="3">String expressions</a></td><td> </td><td align="left" valign="top"> 5553</td></tr> 5554<tr><td align="left" valign="top">• <a href="#Color-expressions" accesskey="4">Color expressions</a></td><td> </td><td align="left" valign="top"> 5555</td></tr> 5556<tr><td align="left" valign="top">• <a href="#Operators" accesskey="5">Operators</a></td><td> </td><td align="left" valign="top"> 5557</td></tr> 5558<tr><td align="left" valign="top">• <a href="#Built_002din-functions" accesskey="6">Built-in functions</a></td><td> </td><td align="left" valign="top"> 5559</td></tr> 5560<tr><td align="left" valign="top">• <a href="#User_002ddefined-macros" accesskey="7">User-defined macros</a></td><td> </td><td align="left" valign="top"> 5561</td></tr> 5562<tr><td align="left" valign="top">• <a href="#Loops-and-conditionals" accesskey="8">Loops and conditionals</a></td><td> </td><td align="left" valign="top"> 5563</td></tr> 5564<tr><td align="left" valign="top">• <a href="#Other-general-commands" accesskey="9">Other general commands</a></td><td> </td><td align="left" valign="top"> 5565</td></tr> 5566</table> 5567 5568 5569<hr> 5570<span id="Comments"></span><div class="header"> 5571<p> 5572Next: <a href="#Floating-point-expressions" accesskey="n" rel="next">Floating point expressions</a>, Previous: <a href="#General-scripting-commands" accesskey="p" rel="prev">General scripting commands</a>, Up: <a href="#General-scripting-commands" accesskey="u" rel="up">General scripting commands</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 5573</div> 5574<span id="Comments-1"></span><h4 class="subsection">5.1.1 Comments</h4> 5575 5576<span id="index-Comments"></span> 5577<span id="index-File_002c-comments"></span> 5578 5579<span id="index-_002f_002a_002c-_002a_002f"></span> 5580<span id="index-_002f_002f"></span> 5581 5582<p>Gmsh script files support both C and C++ style comments: 5583</p> 5584<ol> 5585<li> any text comprised between <code>/*</code> and <code>*/</code> pairs is ignored; 5586</li><li> the rest of a line after a double slash <code>//</code> is ignored. 5587</li></ol> 5588 5589<p>These commands won’t have the described effects inside double quotes or 5590inside keywords. Also note that ‘white space’ (spaces, tabs, new line 5591characters) is ignored inside all expressions. 5592</p> 5593 5594<hr> 5595<span id="Floating-point-expressions"></span><div class="header"> 5596<p> 5597Next: <a href="#String-expressions" accesskey="n" rel="next">String expressions</a>, Previous: <a href="#Comments" accesskey="p" rel="prev">Comments</a>, Up: <a href="#General-scripting-commands" accesskey="u" rel="up">General scripting commands</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 5598</div> 5599<span id="Floating-point-expressions-1"></span><h4 class="subsection">5.1.2 Floating point expressions</h4> 5600 5601<span id="index-Expressions_002c-definition"></span> 5602<span id="index-Constants"></span> 5603 5604<p>The two constant types used in Gmsh scripts are <var>real</var> and 5605<var>string</var> (there is no integer type). These types have the same 5606meaning and syntax as in the C or C++ programming languages. 5607</p> 5608<span id="index-Expressions_002c-floating-point"></span> 5609<span id="index-Real-numbers"></span> 5610<span id="index-Numbers_002c-real"></span> 5611 5612<p>Floating point expressions (or, more simply, “expressions”) are 5613denoted by the metasyntactic variable <var>expression</var>, and are 5614evaluated during the parsing of the script file: 5615</p><div class="example"> 5616<pre class="example"><var>expression</var>: 5617 <var>real</var> | 5618 <var>string</var> | 5619 <var>string</var> ~ { <var>expression</var> } 5620 <var>string</var> [ <var>expression</var> ] | 5621 # <var>string</var> [ ] | 5622 ( <var>expression</var> ) | 5623 <var>operator-unary-left</var> <var>expression</var> | 5624 <var>expression</var> <var>operator-unary-right</var> | 5625 <var>expression</var> <var>operator-binary</var> <var>expression</var> | 5626 <var>expression</var> <var>operator-ternary-left</var> <var>expression</var> 5627 <var>operator-ternary-right</var> <var>expression</var> | 5628 <var>built-in-function</var> | 5629 <var>number-option</var> | 5630 Find(<var>expression-list-item</var>, <var>expression-list-item</var>) | 5631 StrFind(<var>string-expression</var>, <var>string-expression</var>) | 5632 StrCmp(<var>string-expression</var>, <var>string-expression</var>) | 5633 StrLen(<var>string-expression</var>) | 5634 TextAttributes(<var>string-expression</var><,<var>string-expression</var>…>) | 5635 Exists(<var>string</var>) | Exists(<var>string</var>~{ <var>expression</var> }) | 5636 FileExists(<var>string-expression</var>) | 5637 StringToName(<var>string-expression</var>) | S2N(<var>string-expression</var>) | 5638 GetNumber(<var>string-expression</var> <,<var>expression</var>>) | 5639 GetValue("<var>string</var>", <var>expression</var>) | 5640 DefineNumber(<var>expression</var>, <var>onelab-options</var>) 5641</pre></div> 5642 5643<p>Such <var>expression</var>s<!-- /@w --> are used in most of Gmsh’s scripting 5644commands. When <code>~{<var>expression</var>}</code> is appended to a string 5645<var>string</var>
5645, the result is a new string formed by the concatenation of 5646<var>string</var>, <code>_</code> (an underscore) and the value of the 5647<var>expression</var>. This is most useful in loops (see <a href="#Loops-and-conditionals">Loops and conditionals</a>), where it permits to define unique strings 5648automatically. For example, 5649</p><div class="example"> 5650<pre class="example">For i In {1:3} 5651 x~{i} = i; 5652EndFor 5653</pre></div> 5654<p>is the same as 5655</p><div class="example"> 5656<pre class="example">x_1 = 1; 5657x_2 = 2; 5658x_3 = 3; 5659</pre></div> 5660 5661<p>The brackets <code>[]</code> permit to extract one item from a list 5662(parentheses can also be used instead of brackets). The <code>#</code> permits 5663to get the size of a list. The operators <var>operator-unary-left</var>, 5664<var>operator-unary-right</var>, <var>operator-binary</var>, 5665<var>operator-ternary-left</var> and <var>operator-ternary-right</var> are defined 5666in <a href="#Operators">Operators</a>. For the definition of <var><span class="nolinebreak">built-in-function</span></var>s<!-- /@w -->, 5667see <a href="#Built_002din-functions">Built-in functions</a>. The various <var><span class="nolinebreak">number-option</span></var>s<!-- /@w --> are 5668listed in <a href="#Gmsh-options">Gmsh options</a>. <code>Find</code> searches for occurrences of 5669the first expression in the second (both of which can be lists). 5670<code>StrFind</code> searches the first <var>string-expression</var> for any 5671occurrence of the second <var>string-expression</var>. <code>StrCmp</code> compares 5672the two strings (returns an integer greater than, equal to, or less than 56730, according as the first string is greater than, equal to, or less than 5674the second string). <code>StrLen</code> returns the length of the 5675string. <code>TextAttributes</code> creates attributes for text 5676strings. <code>Exists</code> checks if a variable with the given name exists 5677(i.e., has been defined previously), and <code>FileExists</code> checks if the 5678file with the given name exists. <code>StringToName</code> creates a name 5679from the provided string. <code>GetNumber</code> allows to get the value of a 5680ONELAB variable (the optional second argument is the default value 5681returned if the variable does not exist). <code>GetValue</code> allows to ask 5682the user for a value interactively (the second argument is the value 5683returned in non-interactive mode). For example, inserting 5684<code>GetValue("Value of parameter alpha?", 5.76)</code> in an input file will 5685query the user for the value of a certain parameter alpha, assuming the 5686default value is 5.76. If the option <code>General.NoPopup</code> is set 5687(see <a href="#General-options">General options</a>), no question is asked and the default value is 5688automatically used. 5689</p> 5690<p><code>DefineNumber</code> allows to define a ONELAB variable in-line. The 5691<var>expression</var> given as the first argument is the default value; this 5692is followed by the various ONELAB options. See the 5693<a href="https://gitlab.onelab.info/doc/tutorials/wikis/ONELAB-syntax-for-Gmsh-and-GetDP">ONELAB tutorial wiki</a> for more information. 5694</p> 5695<span id="index-Expressions_002c-lists"></span> 5696 5697<p>List of expressions are also widely used, and are defined as: 5698</p><div class="example"> 5699<pre class="example"><var>expression-list</var>: 5700 <var>expression-list-item</var> <, <var>expression-list-item</var>> … 5701</pre></div> 5702<p>with 5703</p><div class="example"> 5704<pre class="example"><var>expression-list-item</var>: 5705 <var>expression</var> | 5706 <var>expression</var> : <var>expression</var> | 5707 <var>expression</var> : <var>expression</var> : <var>expression</var> | 5708 <var>string</var> [ ] | <var>string</var> ( ) | 5709 List [ <var>string</var> ] | 5710 List [ <var>expression-list-item</var> ] | 5711 List [ { <var>expression-list</var> } ] | 5712 Unique [ <var>expression-list-item</var> ] | 5713 Abs [ <var>expression-list-item</var> ] | 5714 ListFromFile [ <var>expression-char</var> ] | 5715 LinSpace[ <var>expression</var>, <var>expression</var>, <var>expression</var> ] | 5716 LogSpace[ <var>expression</var>, <var>expression</var>, <var>expression</var> ] | 5717 <var>string</var> [ { <var>expression-list</var> } ] | 5718 Point { <var>expression</var> } |
5719 <var>transform</var> | 5720 <var>extrude</var> | 5721 <var>boolean</var> | 5722 Point|Curve|Surface|Volume In BoundingBox { <var>expression-list</var> } | 5723 BoundingBox Point|Curve|Surface|Volume { <var>expression-list</var> } | 5724 Parametric BoundingBox Curve|Surface { <var>expression</var> } | 5725 Parametric Point { <var>expression</var> } In Surface { <var>expression</var> } | 5726 Normal Surface { <var>expression</var> } Parametric { <var>expression</var>, <var>expression</var> } | 5727 Mass Curve|Surface|Volume { <var>expression</var> } | 5728 CenterOfMass Curve|Surface|Volume { <var>expression</var> } | 5729 MatrixOfInertia Curve|Surface|Volume { <var>expression</var> } | 5730 Point { <var>expression</var> } | 5731 Physical Point|Curve|Surface|Volume { <var>expression-list</var> } | 5732 <Physical> Point|Curve|Surface|Volume { : } | 5733</pre></div> 5734 5735<p>The second case in this last definition permits to create a list 5736containing the range of numbers comprised between two 5737<var>expression</var>s<!-- /@w -->, with a unit incrementation step. The third case 5738also permits to create a list containing the range of numbers comprised 5739between two <var>expression</var>s<!-- /@w -->, but with a positive or negative 5740incrementation step equal to the third <var>expression</var>. The fourth, 5741fifth and sixth cases permit to reference an expression list 5742(parentheses can also be used instead of brackets). <code>Unique</code> sorts 5743the entries in the list and removes all duplicates. <code>Abs</code> takes 5744the absolute value of all entries in the list. <code>ListFromFile</code> reads 5745a list of numbers from a file. <code>LinSpace</code> and <code>LogSpace</code> 5746construct lists using linear or logarithmic spacing. The next two cases 5747permit to reference an expression sublist (whose elements are those 5748corresponding to the indices provided by the <var>expression-list</var>). 5749The next cases permit to retrieve the indices of entities created 5750through geometrical transformations, extrusions and boolean operations 5751(see <a href="#Transformations">Transformations</a>, <a href="#Extrusions">Extrusions</a> and <a href="#Boolean-operations">Boolean operations</a>). 5752</p> 5753<p>The next two cases allow to retrieve entities in a given bounding box, 5754or get the bounding box of a given entity, with the bounding box 5755specified as (X min, Y min, Z min, X max, Y max, Z max). Beware that the 5756order of coordinates is different than in the <code>BoundingBox</code> command 5757for the scene: see <a href="#Other-general-commands">Other general commands</a>. <code>Parametric 5758BoundingBox</code> retrieves the parametric bounds (U min, U max) and (U min, 5759V min, U max, V max) or a curve or a surface, 5760respectively. <code>Parametric Point</code> retrieves the parametric 5761coordinates U, V of a point on a surface. <code>Normal Surface</code> returns 5762the normal to a surface evaluated at the specified parametric 5763coordinates. 5764</p> 5765<p>The last cases permit to retrieve the mass, the center of mass or the 5766matrix of inertia of an entity, the coordinates of a given geometry 5767point (see <a href="#Points">Points</a>), the elementary entities making up physical 5768groups, and the tags of all (physical or elementary) points, curves, 5769surfaces or volumes in the model. These operations all trigger a synchronization of the CAD model with the internal Gmsh model. 5770</p> 5771<p>To see the practical use of such expressions, have a look at the first 5772couple of examples in <a href="#Gmsh-tutorial">Gmsh tutorial</a>. Note that, in order to 5773lighten the syntax, you can omit the braces <code>{}</code> enclosing an 5774<var>expression-list</var> if this <var>expression-list</var> only contains a 5775single item. Also note that a braced <var>expression-list</var> can be 5776preceded by a minus sign in order to change the sign of all the 5777<var><span class="nolinebreak">expression-list-item</span></var>s<!-- /@w -->. 5778</p> 5779<p>For some commands it makes sense to specify all the possible expressions 5780in a list. This is achieved with <var>expression-list-or-all</var>, defined 5781as: 5782</p><div class="example"> 5783<pre class="example"><var>expression-list-or-all</var>: 5784 <var>expression-list</var> | : 5785</pre></div> 5786 5787<p>The meaning of “all” (<code>:</code>) depends on context. For example, 5788<code>Curve { : }</code> will get the ids of all the existing curves in the 5789model, while <code>Surface { : }</code> will get the ids of all existing 5790surfaces. 5791</p> 5792 5793<hr> 5794<span id="String-expressions"></span><div class="header"> 5795<p> 5796Next: <a href="#Color-expressions" accesskey="n" rel="next">Color expressions</a>, Previous: <a href="#Floating-point-expressions" accesskey="p" rel="prev">Floating point expressions</a>, Up: <a href="#General-scripting-commands" accesskey="u" rel="up">General scripting commands</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 5797</div> 5798<span id="String-expressions-1"></span><h4 class="subsection">5.1.3 String expressions</h4> 5799 5800<span id="index-Expressions_002c-string"></span> 5801<span id="index-Strings"></span> 5802 5803<p>String expressions are defined as: 5804</p><div class="example"> 5805<pre class="example"><var>string-expression</var>: 5806 "<var>string</var>" | 5807 <var>string</var> | <var>string</var>[ <var>expression</var> ] | 5808 Today | OnelabAction | GmshExecutableName | 5809 CurrentDirectory | CurrentDir | CurrentFileName 5810 StrPrefix ( <var>string-expression</var> ) | 5811 StrRelative ( <var>string-expression</var> ) | 5812 StrCat ( <var>string-expression</var> <,…> ) | 5813 Str ( <var>string-expression</var> <,…> ) | 5814 StrChoice ( <var>expression</var>, <var>string-expression</var>, <var>string-expression</var> ) | 5815 StrSub( <var>string-expression</var>, <var>expression</var>, <var>expression</var> ) | 5816 StrSub( <var>string-expression</var>, <var>expression</var> ) | 5817 UpperCase ( <var>string-expression</var> ) | 5818 AbsolutePath ( <var>string-expression</var> ) | 5819 DirName ( <var>string-expression</var> ) | 5820 Sprintf ( <var>string-expression</var> , <var>expression-list</var> ) | 5821 Sprintf ( <var>string-expression</var> ) | 5822 Sprintf ( <var>string-option</var> ) | 5823 GetEnv ( <var>string-expression</var> ) | 5824 GetString ( <var>string-expression</var> <,<var>string-expression</var>>) | 5825 GetStringValue ( <var>string-expression</var> , <var>string-expression</var> ) | 5826 StrReplace ( <var>string-expression</var> , <var>string-expression</var> , <var>string-expression</var> ) 5827 NameToString ( <var>string</var> ) | N2S ( <var>string</var> ) | 5828 <Physical> Point|Curve|Surface|Volume { <var>expression</var> } | 5829 DefineString(<var>string-expression</var>, <var>onelab-options</var>) 5830</pre></div> 5831 5832<p><code>Today</code> returns the current date. <code>OnelabAction</code> returns the 5833current ONELAB action (e.g. <code>check</code> or 5834<code>compute</code>). <code>GmshExecutableName</code> returns the full path of the 5835Gmsh executable. <code>CurrentDirectory</code> (or <code>CurrentDir</code>) and 5836<code>CurrentFileName</code> return the directory and file name of the script 5837being parsed. <code>StrPrefix</code> and <code>StrRelative</code> take the prefix 5838(e.g. to remove the extension) or the relative path of a given file 5839name. <code>StrCat</code> and <code>Str</code> concatenate string expressions 5840(<code>Str</code> adds a newline character after each string except the last). 5841<code>StrChoice</code> returns the first or second <var>string-expression</var> 5842depending on the value of <var>expression</var>. <code>StrSub</code> returns the 5843portion of the string that starts at the character position given by the 5844first <var>expression</var> and spans the number of characters given by the 5845second <var>expression</var> or until the end of the string (whichever comes 5846first; or always if the second <var>expression</var> is not 5847provided). <code>UpperCase</code> converts the <var>string-expression</var> to 5848upper case. <code>AbsolutePath</code> returns the absolute path of a 5849file. <code>DirName</code> returns the directory of a file. <code>Sprintf</code> is 5850equivalent to the <code>sprintf</code> C function (where 5851<var>string-expression</var>
5851 is a format string that can contain floating 5852point formatting characters: <code>%e</code>, <code>%g</code>, etc.) The various 5853<var><span class="nolinebreak">string-option</span></var>s<!-- /@w --> are listed in <a href="#Gmsh-options">Gmsh options</a>. <code>GetEnvThe</code> gets the value of an environment variable 5854from the operating system. <code>GetString</code> allows to get a ONELAB 5855string value (the second optional argument is the default value returned 5856if the variable does not exist). <code>GetStringValue</code> asks the user 5857for a value interactively (the second argument is the value used in 5858non-interactive mode). <code>StrReplace</code>’s arguments are: input string, 5859old substring, new substring (brackets can be used instead of 5860parentheses in <code>Str</code> and <code>Sprintf</code>). <code>Physical Point</code>, 5861etc., or <code>Point</code>, etc., retrieve the name of the physical or 5862elementary entity, if any. <code>NameToString</code> converts a variable name 5863into a string. 5864</p> 5865<p><code>DefineString</code> allows to define a ONELAB variable in-line. The 5866<var>string-expression</var> given as the first argument is the default 5867value; this is followed by the various ONELAB options. See the 5868<a href="https://gitlab.onelab.info/doc/tutorials/wikis/ONELAB-syntax-for-Gmsh-and-GetDP">ONELAB tutorial wiki</a> for more information. 5869</p> 5870<p>String expressions are mostly used to specify non-numeric options and 5871input/output file names. See <a href="#t8">t8</a>, for an interesting usage of 5872<var><span class="nolinebreak">string-expression</span></var>s<!-- /@w --> in an animation script. 5873</p> 5874<p>List of string expressions are defined as: 5875</p><div class="example"> 5876<pre class="example"><var>string-expression-list</var>: 5877 <var>string-expression</var> <,…> 5878</pre></div> 5879 5880 5881<hr> 5882<span id="Color-expressions"></span><div class="header"> 5883<p> 5884Next: <a href="#Operators" accesskey="n" rel="next">Operators</a>, Previous: <a href="#String-expressions" accesskey="p" rel="prev">String expressions</a>, Up: <a href="#General-scripting-commands" accesskey="u" rel="up">General scripting commands</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 5885</div> 5886<span id="Color-expressions-1"></span><h4 class="subsection">5.1.4 Color expressions</h4> 5887 5888<span id="index-Expressions_002c-color"></span> 5889<span id="index-Colors"></span> 5890 5891<p>Colors expressions are hybrids between fixed-length braced 5892<var><span class="nolinebreak">expression-list</span></var>s<!-- /@w --> and <var>string</var>s<!-- /@w -->: 5893</p><div class="example"> 5894<pre class="example"><var>color-expression</var>: 5895 <var>string-expression</var> | 5896 { <var>expression</var>, <var>expression</var>, <var>expression</var> } | 5897 { <var>expression</var>, <var>expression</var>, <var>expression</var>, <var>expression</var> } | 5898 <var>color-option</var> 5899</pre></div> 5900<p>The first case permits to use the X Windows names to refer to colors, 5901e.g., <code>Red</code>, <code>SpringGreen</code>, <code>LavenderBlush3</code>, … 5902(see <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/common/Colors.h">src/common/Colors.h</a> 5903in the source code for a complete list). The second case permits to 5904define colors by using three expressions to specify their red, green and 5905blue components (with values comprised between 0 and 255). The third 5906case permits to define colors by using their red, green and blue color
5907components as well as their alpha channel. The last case permits to use 5908the value of a <var>color-option</var> as a <var>color-expression</var>. The 5909various <var><span class="nolinebreak">color-option</span></var>s<!-- /@w --> are listed in <a href="#Gmsh-options">Gmsh options</a>. 5910</p> 5911<p>See <a href="#t3">t3</a>, for an example of the use of color expressions. 5912</p> 5913 5914<table class="menu" border="0" cellspacing="0"> 5915<tr><td align="left" valign="top">• <a href="#Operators" accesskey="1">Operators</a></td><td> </td><td align="left" valign="top"> 5916</td></tr> 5917<tr><td align="left" valign="top">• <a href="#Built_002din-functions" accesskey="2">Built-in functions</a></td><td> </td><td align="left" valign="top"> 5918</td></tr> 5919<tr><td align="left" valign="top">• <a href="#User_002ddefined-macros" accesskey="3">User-defined macros</a></td><td> </td><td align="left" valign="top"> 5920</td></tr> 5921<tr><td align="left" valign="top">• <a href="#Loops-and-conditionals" accesskey="4">Loops and conditionals</a></td><td> </td><td align="left" valign="top"> 5922</td></tr> 5923<tr><td align="left" valign="top">• <a href="#Other-general-commands" accesskey="5">Other general commands</a></td><td> </td><td align="left" valign="top"> 5924</td></tr> 5925</table> 5926 5927<hr> 5928<span id="Operators"></span><div class="header"> 5929<p> 5930Next: <a href="#Built_002din-functions" accesskey="n" rel="next">Built-in functions</a>, Previous: <a href="#Color-expressions" accesskey="p" rel="prev">Color expressions</a>, Up: <a href="#General-scripting-commands" accesskey="u" rel="up">General scripting commands</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 5931</div> 5932<span id="Operators-1"></span><h4 class="subsection">5.1.5 Operators</h4> 5933 5934<span id="index-Operators_002c-definition"></span> 5935<span id="index-Unary-operators"></span> 5936<span id="index-Binary-operators"></span> 5937<span id="index-Ternary-operators"></span> 5938<span id="index-operator_002dunary_002dleft"></span> 5939<span id="index-operator_002dunary_002dright"></span> 5940<span id="index-operator_002dbinary"></span> 5941<span id="index-operator_002dunary_002dleft-1"></span> 5942<span id="index-operator_002dternary_002dleft"></span> 5943<span id="index-operator_002dternary_002dright"></span> 5944 5945<p>Gmsh’s operators are similar to the corresponding operators in C and 5946C++. Here is the list of available unary, binary and ternary operators. 5947</p> 5948<p><var>operator-unary-left</var>: 5949</p><dl compact="compact"> 5950<dt><code>-</code> 5951<span id="index-_002d"></span> 5952</dt> 5953<dd><p>Unary minus. 5954</p></dd> 5955<dt><code>!</code> 5956<span id="index-_0021"></span> 5957</dt> 5958<dd><p>Logical not. 5959</p></dd> 5960</dl> 5961 5962<p><var>operator-unary-right</var>: 5963</p><dl compact="compact"> 5964<dt><code>++</code> 5965<span id="index-_002b_002b"></span> 5966</dt> 5967<dd><p>Post-incrementation. 5968</p></dd> 5969<dt><code>--</code> 5970<span id="index-_002d_002d"></span> 5971</dt> 5972<dd><p>Post-decrementation. 5973</p></dd> 5974</dl> 5975 5976<p><var>operator-binary</var>: 5977</p><dl compact="compact"> 5978<dt><code>^</code> 5979<span id="index-_005e"></span> 5980</dt> 5981<dd><p>Exponentiation. 5982</p></dd> 5983<dt><code>*</code> 5984<span id="index-_002a"></span> 5985</dt> 5986<dd><p>Multiplication. 5987</p></dd> 5988<dt><code>/</code> 5989<span id="index-_002f"></span> 5990</dt> 5991<dd><p>Division. 5992</p></dd> 5993<dt><code>%</code> 5994<span id="index-_0025"></span> 5995</dt> 5996<dd><p>Modulo. 5997</p></dd> 5998<dt><code>+</code> 5999<span id="index-_002b"></span> 6000</dt> 6001<dd><p>Addition. 6002</p></dd> 6003<dt><code>-</code> 6004<span id="index-_002d-1"></span> 6005</dt> 6006<dd><p>Subtraction. 6007</p></dd> 6008<dt><code>==</code> 6009<span id="index-_003d_003d"></span> 6010</dt> 6011<dd><p>Equality. 6012</p></dd> 6013<dt><code>!=</code> 6014<span id="index-_0021_003d"></span> 6015</dt> 6016<dd><p>Inequality. 6017</p></dd> 6018<dt><code>></code> 6019<span id="index-_003e"></span> 6020</dt> 6021<dd><p>Greater. 6022</p></dd> 6023<dt><code>>=</code> 6024<span id="index-_003e_003d"></span> 6025</dt> 6026<dd><p>Greater or equality. 6027</p></dd> 6028<dt><code><</code> 6029<span id="index-_003c"></span> 6030</dt> 6031<dd><p>Less. 6032</p></dd> 6033<dt><code><=</code> 6034<span id="index-_003c_003d"></span> 6035</dt> 6036<dd><p>Less or equality. 6037</p></dd> 6038<dt><code>&&</code> 6039<span id="index-_0026_0026"></span> 6040</dt> 6041<dd><p>Logical ‘and’. 6042</p></dd> 6043<dt><code>||</code> 6044<span id="index-_007c_007c"></span> 6045</dt> 6046<dd><p>Logical ‘or’. (Warning: the logical ‘or’ always implies the evaluation of 6047both arguments. That is, unlike in C or C++, the second operand of 6048<code>||</code> is evaluated even if the first one is true). 6049</p></dd> 6050</dl> 6051 6052<p><var>operator-ternary-left</var>: 6053</p><dl compact="compact"> 6054<dt><code>?</code> 6055<span id="index-_003f"></span> 6056</dt> 6057</dl> 6058<p><var>operator-ternary-right</var>: 6059</p><dl compact="compact"> 6060<dt><code>:</code> 6061<span id="index-_003a"></span> 6062</dt> 6063<dd><p>The only ternary operator, formed by <var>operator-ternary-left</var> and 6064<var>operator-ternary-right</var>, returns the value of its second argument if 6065the first argument is non-zero; otherwise it returns the value of its third 6066argument. 6067</p></dd> 6068</dl> 6069 6070<span id="index-Evaluation-order"></span> 6071<span id="index-Order_002c-evaluation"></span> 6072<span id="index-Operator-precedence"></span> 6073<span id="index-Precedence_002c-operators"></span> 6074 6075<span id="index-_0028_0029"></span> 6076 6077<p>The evaluation priorities are summarized below<a id="DOCF12" href="#FOOT12"><sup>12</sup></a> (from stronger to
6078weaker, i.e., <code>*</code> has a highest evaluation priority than <code>+</code>). 6079Parentheses <code>()</code> may be used anywhere to change the order of 6080evaluation: 6081</p> 6082<ol> 6083<li> <code>()</code>, <code>[]</code>, <code>.</code>, <code>#</code> 6084</li><li> <code>^</code> 6085</li><li> <code>!</code>, <code>++</code>, <code>--</code>, <code>-</code> (unary) 6086</li><li> <code>*</code>, <code>/</code>, <code>%</code> 6087</li><li> <code>+</code>, <code>-</code> 6088</li><li> <code><</code>, <code>></code>, <code><=</code>, <code>>=</code> 6089</li><li> <code>==</code>, <code>!=</code> 6090</li><li> <code>&&</code> 6091</li><li> <code>||</code> 6092</li><li> <code>?:</code> 6093</li><li> <code>=</code>, <code>+=</code>, <code>-=</code>, <code>*=</code>, <code>/=</code> 6094</li></ol> 6095 6096 6097 6098<hr> 6099<span id="Built_002din-functions"></span><div class="header"> 6100<p> 6101Next: <a href="#User_002ddefined-macros" accesskey="n" rel="next">User-defined macros</a>, Previous: <a href="#Operators" accesskey="p" rel="prev">Operators</a>, Up: <a href="#General-scripting-commands" accesskey="u" rel="up">General scripting commands</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 6102</div> 6103<span id="Built_002din-functions-1"></span><h4 class="subsection">5.1.6 Built-in functions</h4> 6104 6105<span id="index-Functions_002c-built_002din"></span> 6106<span id="index-build_002din_002dfunction"></span> 6107 6108<p>A built-in function is composed of an identifier followed by a pair of 6109parentheses containing an <var>expression-list</var>, the list of its 6110arguments. This list of arguments can also be provided in between 6111brackets, instead of parentheses. Here is the list of the built-in 6112functions currently implemented: 6113</p> 6114<p><var>build-in-function</var>: 6115</p> 6116<dl compact="compact"> 6117<dt><code>Acos ( <var>expression</var> )</code> 6118<span id="index-Acos-_0028-expression-_0029"></span> 6119</dt> 6120<dd><p>Arc cosine (inverse cosine) of an <var>expression</var> in [-1,1]. Returns a value 6121in [0,Pi]. 6122</p> 6123</dd> 6124<dt><code>Asin ( <var>expression</var> )</code> 6125<span id="index-Asin-_0028-expression-_0029"></span> 6126</dt> 6127<dd><p>Arc sine (inverse sine) of an <var>expression</var> in [-1,1]. Returns a value in 6128[-Pi/2,Pi/2]. 6129</p> 6130</dd> 6131<dt><code>Atan ( <var>expression</var> )</code> 6132<span id="index-Atan-_0028-expression-_0029"></span> 6133</dt> 6134<dd><p>Arc tangent (inverse tangent) of <var>expression</var>. Returns a value in 6135[-Pi/2,Pi/2]. 6136</p> 6137</dd> 6138<dt><code>Atan2 ( <var>expression</var>, <var>expression</var> )</code> 6139<span id="index-Atan2-_0028-expression_002c-expression-_0029"></span> 6140</dt> 6141<dd><p>Arc tangent (inverse tangent) of the first <var>expression</var> divided by the 6142second. Returns a value in [-Pi,Pi]. 6143</p> 6144</dd> 6145<dt><code>Ceil ( <var>expression</var> )</code> 6146<span id="index-Ceil-_0028-expression-_0029"></span> 6147</dt> 6148<dd><p>Rounds <var>expression</var> up to the nearest integer. 6149</p> 6150</dd> 6151<dt><code>Cos ( <var>expression</var> )</code> 6152<span id="index-Cos-_0028-expression-_0029"></span> 6153</dt> 6154<dd><p>Cosine of <var>expression</var>. 6155</p> 6156</dd> 6157<dt><code>Cosh ( <var>expression</var> )</code> 6158<span id="index-Cosh-_0028-expression-_0029"></span> 6159</dt> 6160<dd><p>Hyperbolic cosine of <var>expression</var>. 6161</p> 6162</dd> 6163<dt><code>Exp ( <var>expression</var> )</code> 6164<span id="index-Exp-_0028-expression-_0029"></span> 6165</dt> 6166<dd><p>Returns the value of e (the base of natural logarithms) raised to the power 6167of <var>expression</var>. 6168</p> 6169</dd> 6170<dt><code>Fabs ( <var>expression</var> )</code> 6171<span id="index-Fabs-_0028-expression-_0029"></span> 6172</dt> 6173<dd><p>Absolute value of <var>expression</var>. 6174</p> 6175</dd> 6176<dt><code>Fmod ( <var>expression</var>, <var>expression</var> )</code> 6177<span id="index-Fmod-_0028-expression_002c-expression-_0029"></span> 6178</dt> 6179<dd><p>Remainder of the division of the first <var>expression</var> by the second, with 6180the sign of the first. 6181</p> 6182</dd> 6183<dt><code>Floor ( <var>expression</var> )</code> 6184<span id="index-Floor-_0028-expression-_0029"></span> 6185</dt> 6186<dd><p>Rounds <var>expression</var> down to the nearest integer. 6187</p> 6188</dd> 6189<dt><code>Hypot ( <var>expression</var>, <var>expression</var> )</code> 6190<span id="index-Hypot-_0028-expression_002c-expression-_0029"></span> 6191</dt> 6192<dd><p>Returns the square root of the sum of the square of its two arguments. 6193</p> 6194</dd> 6195<dt><code>Log ( <var>expression</var> )</code> 6196<span id="index-Log-_0028-expression-_0029"></span> 6197</dt> 6198<dd><p>Natural logarithm of <var>expression</var> (<var>expression</var> > 0). 6199</p> 6200</dd> 6201<dt><code>Log10 ( <var>expression</var> )</code> 6202<span id="index-Log10-_0028-expression-_0029"></span> 6203</dt> 6204<dd><p>Base 10 logarithm of <var>expression</var> (<var>expression</var> > 0). 6205</p> 6206</dd> 6207<dt><code>Max ( <var>expression</var>, <var>expression</var> )</code> 6208<span id="index-Max-_0028-expression_002c-expression-_0029"></span> 6209</dt> 6210<dd><p>Maximum of the two arguments. 6211</p> 6212</dd> 6213<dt><code>Min ( <var>expression</var>, <var>expression</var> )</code> 6214<span id="index-Min-_0028-expression_002c-expression-_0029"></span> 6215</dt> 6216<dd><p>Minimum of the two arguments. 6217</p> 6218</dd> 6219<dt><code>Modulo ( <var>expression</var>, <var>expression</var> )</code> 6220<span id="index-Modulo-_0028-expression_002c-expression-_0029"></span> 6221</dt> 6222<dd><p>see <code>Fmod( <var>expression</var>, <var>expression</var> )</code>. 6223</p> 6224</dd> 6225<dt><code>Rand ( <var>expression</var> )</code> 6226<span id="index-Rand-_0028-expression-_0029"></span> 6227</dt> 6228<dd><p>
6228Random number between zero and <var>expression</var>. 6229</p> 6230</dd> 6231<dt><code>Round ( <var>expression</var> )</code> 6232<span id="index-Round-_0028-expression-_0029"></span> 6233</dt> 6234<dd><p>Rounds <var>expression</var> to the nearest integer. 6235</p> 6236</dd> 6237<dt><code>Sqrt ( <var>expression</var> )</code> 6238<span id="index-Sqrt-_0028-expression-_0029"></span> 6239</dt> 6240<dd><p>Square root of <var>expression</var> (<var>expression</var> >= 0). 6241</p> 6242</dd> 6243<dt><code>Sin ( <var>expression</var> )</code> 6244<span id="index-Sin-_0028-expression-_0029"></span> 6245</dt> 6246<dd><p>Sine of <var>expression</var>. 6247</p> 6248</dd> 6249<dt><code>Sinh ( <var>expression</var> )</code> 6250<span id="index-Sinh-_0028-expression-_0029"></span> 6251</dt> 6252<dd><p>Hyperbolic sine of <var>expression</var>. 6253</p> 6254</dd> 6255<dt><code>Step ( <var>expression</var> )</code> 6256<span id="index-Step-_0028-expression-_0029"></span> 6257</dt> 6258<dd><p>Returns 0 if <var>expression</var> is negative, 1 if not. 6259</p> 6260</dd> 6261<dt><code>Tan ( <var>expression</var> )</code> 6262<span id="index-Tan-_0028-expression-_0029"></span> 6263</dt> 6264<dd><p>Tangent of <var>expression</var>. 6265</p> 6266</dd> 6267<dt><code>Tanh ( <var>expression</var> )</code> 6268<span id="index-Tanh-_0028-expression-_0029"></span> 6269</dt> 6270<dd><p>Hyperbolic tangent of <var>expression</var>. 6271</p></dd> 6272</dl> 6273 6274 6275<hr> 6276<span id="User_002ddefined-macros"></span><div class="header"> 6277<p> 6278Next: <a href="#Loops-and-conditionals" accesskey="n" rel="next">Loops and conditionals</a>, Previous: <a href="#Built_002din-functions" accesskey="p" rel="prev">Built-in functions</a>, Up: <a href="#General-scripting-commands" accesskey="u" rel="up">General scripting commands</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 6279</div> 6280<span id="User_002ddefined-macros-1"></span><h4 class="subsection">5.1.7 User-defined macros</h4> 6281 6282<span id="index-Macros_002c-user_002ddefined"></span> 6283 6284<p>User-defined macros take no arguments, and are evaluated as if a file 6285containing the macro body was included at the location of the 6286<code>Call</code> statement. 6287</p> 6288<dl compact="compact"> 6289<dt><code>Macro <var>string</var> | <var>string-expression</var></code> 6290<span id="index-Macro-string-_007c-string_002dexpression"></span> 6291</dt> 6292<dd><p>Begin the declaration of a user-defined macro named <var>string</var>. The 6293body of the macro starts on the line after ‘<code>Macro <var>string</var></code>’, 6294and can contain any Gmsh command. A synonym for <code>Macro</code> is 6295<code>Function</code>. 6296</p> 6297</dd> 6298<dt><code>Return</code> 6299<span id="index-Return"></span> 6300</dt> 6301<dd><p>End the body of the current user-defined macro. Macro declarations 6302cannot be imbricated. 6303</p> 6304</dd> 6305<dt><code>Call <var>string</var> | <var>string-expression</var> ;</code> 6306<span id="index-Call-string-_007c-string_002dexpression-_003b"></span> 6307</dt> 6308<dd><p>Execute the body of a (previously defined) macro named <var>string</var>. 6309</p></dd> 6310</dl> 6311 6312<p>See <a href="#t5">t5</a>, for an example of a user-defined macro. A 6313shortcoming of Gmsh’s scripting language is that all variables are 6314“public”. Variables defined inside the body of a macro will thus be 6315available outside, too! 6316</p> 6317 6318<hr> 6319<span id="Loops-and-conditionals"></span><div class="header"> 6320<p> 6321Next: <a href="#Other-general-commands" accesskey="n" rel="next">Other general commands</a>, Previous: <a href="#User_002ddefined-macros" accesskey="p" rel="prev">User-defined macros</a>, Up: <a href="#General-scripting-commands" accesskey="u" rel="up">General scripting commands</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 6322</div> 6323<span id="Loops-and-conditionals-1"></span><h4 class="subsection">5.1.8 Loops and conditionals</h4> 6324 6325<span id="index-Loops"></span> 6326<span id="index-Conditionals"></span> 6327 6328<p>Loops and conditionals are defined as follows, and can be imbricated: 6329</p> 6330<dl compact="compact"> 6331<dt><code>For ( <var>expression</var> : <var>expression</var> )</code> 6332<span id="index-For-_0028-expression-_003a-expression-_0029"></span> 6333</dt> 6334<dd><p>Iterate from the value of the first <var>expression</var> to the value of the 6335second <var>expression</var>, with a unit incrementation step. At each 6336iteration, the commands comprised between ‘<code>For ( <var>expression</var> 6337: <var>expression</var> )</code>’ and the matching <code>EndFor</code> are executed. 6338</p> 6339</dd> 6340<dt><code>For ( <var>expression</var> : <var>expression</var> : <var>expression</var> )</code> 6341<span id="index-For-_0028-expression-_003a-expression-_003a-expression-_0029"></span> 6342</dt> 6343<dd><p>Iterate from the value of the first <var>expression</var> to the value of the 6344second <var>expression</var>, with a positive or negative incrementation step 6345equal to the third <var>expression</var>. At each iteration, the commands 6346comprised between ‘<code>For ( <var>expression</var> : <var>expression</var> : 6347<var>expression</var> )</code>’ and the matching <code>EndFor</code> are executed. 6348</p> 6349</dd> 6350<dt><code>For <var>string</var> In { <var>expression</var> : <var>expression</var> }</code> 6351<span id="index-For-string-In-_007b-expression-_003a-expression-_007d"></span> 6352</dt> 6353<dd><p>Iterate from the value of the first <var>expression</var> to the value of the 6354second <var>expression</var>, with a unit incrementation step. At each 6355iteration, the value of the iterate is affected to an expression named 6356<var>string</var>, and the commands comprised between ‘<code>For <var>string</var> 6357In { <var>expression</var> : <var>expression</var> }</code>’ and the matching 6358<code>EndFor</code> are executed. 6359</p> 6360</dd> 6361<dt><code>For <var>string</var> In { <var>expression</var> : <var>expression</var> : <var>expression</var> }</code> 6362<span id="index-For-string-In-_007b-expression-_003a-expression-_003a-expression-_007d"></span> 6363</dt> 6364<dd><p>Iterate from the value of the first <var>expression</var> to the value of the 6365second <var>expression</var>, with a positive or negative incrementation step 6366equal to the third <var>expression</var>. At each iteration, the value of the 6367iterate is affected to an expression named <var>string</var>, and the 6368commands comprised between ‘<code>For <var>string</var> In { 6369<var>expression</var> : <var>expression</var> : <var>expression</var> }</code>’ and the 6370matching <code>EndFor</code> are executed. 6371</p> 6372</dd> 6373<dt><code>EndFor</code> 6374<span id="index-EndFor"></span> 6375</dt> 6376<dd><p>End a matching <code>For</code> command. 6377</p> 6378</dd> 6379<dt><code>If ( <var>expression</var> )</code> 6380<span id="index-If-_0028-expression-_0029"></span> 6381</dt> 6382<dd><p>The body enclosed between ‘<code>If ( <var>expression</var> )</code>’ and the 6383matching <code>ElseIf</code>, <code>Else</code> or <code>EndIf</code>, is evaluated if 6384<var>expression</var> is non-zero. 6385</p> 6386</dd> 6387<dt><code>ElseIf ( <var>expression</var> )</code> 6388<span id="index-ElseIf-_0028-expression-_0029"></span> 6389</dt> 6390<dd><p>The body enclosed between ‘<code>ElseIf ( <var>expression</var> )</code>’ and the 6391next matching <code>ElseIf</code>, <code>Else</code> or <code>EndIf</code>, is evaluated 6392if <var>expression</var> is non-zero and none of the <var>expression</var> of the 6393previous matching codes <code>If</code> and <code>ElseIf</code> were non-zero. 6394</p> 6395</dd> 6396<dt><code>Else</code> 6397<span id="index-Else"></span> 6398</dt> 6399<dd><p>The body enclosed between <code>Else</code> and the matching <code>EndIf</code> is 6400evaluated if none of the <var>expression</var> of the previous matching codes 6401<code>If</code> and <code>ElseIf</code> were non-zero. 6402</p> 6403</dd> 6404<dt><code>EndIf</code> 6405<span id="index-EndIf"></span> 6406</dt> 6407<dd><p>End a matching <code>If</code> command. 6408</p></dd> 6409</dl> 6410 6411 6412<hr> 6413<span id="Other-general-commands"></span><div class="header"> 6414<p> 6415Previous: <a href="#Loops-and-conditionals" accesskey="p" rel="prev">Loops and conditionals</a>, Up: <a href="#General-scripting-commands" accesskey="u" rel="up">General scripting commands</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 6416</div> 6417<span id="Other-general-commands-1"></span><h4 class="subsection">5.1.9 Other general commands</h4> 6418 6419<span id="index-General-commands"></span> 6420<span id="index-Commands_002c-general"></span> 6421<span id="index-Expressions_002c-affectation"></span> 6422<span id="index-Expressions_002c-identifiers"></span> 6423 6424<span id="index-_003d"></span> 6425<span id="index-_002b_003d"></span> 6426<span id="index-_002d_003d"></span> 6427<span id="index-_002a_003d"></span> 6428<span id="index-_002f_003d"></span> 6429 6430<p>The following commands can be used anywhere in a Gmsh script: 6431</p> 6432<dl compact="compact"> 6433<dt><code><var>string</var> = <var>expression</var>;</code> 6434<span id="index-string-_003d-expression_003b"></span> 6435</dt> 6436<dd><p>Create a new expression identifier <var>string</var>, or affects 6437<var>expression</var> to an existing expression identifier. The following 6438expression identifiers are predefined (hardcoded in Gmsh’s parser): 6439</p> 6440<dl compact="compact"> 6441<dt><code>Pi</code> 6442<span id="index-Pi"></span> 6443</dt> 6444<dd><p>Return 3.1415926535897932. 6445</p> 6446</dd> 6447<dt><code>GMSH_MAJOR_VERSION</code> 6448<span id="index-GMSH_005fMAJOR_005fVERSION"></span> 6449</dt> 6450<dd><p>Return Gmsh’s major version number. 6451</p> 6452</dd> 6453<dt><code>GMSH_MINOR_VERSION</code> 6454<span id="index-GMSH_005fMINOR_005fVERSION"></span> 6455</dt> 6456<dd><p>Return Gmsh’s minor version number. 6457</p> 6458</dd> 6459<dt><code>GMSH_PATCH_VERSION</code> 6460<span id="index-GMSH_005fPATCH_005fVERSION"></span> 6461</dt> 6462<dd><p>Return Gmsh’s patch version number. 6463</p> 6464</dd> 6465<dt><code>MPI_Size</code> 6466<span id="index-MPI_005fSize"></span> 6467</dt> 6468<dd><p>Return the number of processors on which Gmsh is running. It is always 64691, except if you compiled Gmsh with <code>ENABLE_MPI</code> 6470(see <a href="#Compiling-the-source-code">Compiling the source code</a>). 6471</p> 6472</dd> 6473<dt><code>MPI_Rank</code> 6474<span id="index-MPI_005fRank"></span> 6475</dt> 6476<dd><p>Return the rank of the current processor. 6477</p> 6478</dd> 6479<dt><code>Cpu</code> 6480<span id="index-Cpu"></span> 6481</dt> 6482<dd><p>Return the current CPU time (in seconds). 6483</p> 6484</dd> 6485<dt><code>Memory</code> 6486<span id="index-Memory"></span> 6487</dt> 6488<dd><p>Return the current memory usage (in Mb). 6489</p> 6490</dd> 6491<dt><code>TotalMemory</code> 6492<span id="index-TotalMemory"></span> 6493</dt> 6494<dd><p>Return the total memory available (in Mb). 6495</p> 6496</dd> 6497<dt><code>newp</code> 6498<span id="index-newp"></span> 6499</dt> 6500<dd><p>Return the next available point tag. As explained in <a href="#Geometry-module">Geometry module</a>, a unique tag must be associated with every geometrical point: 6501<code>newp</code> permits to know the highest tag already attributed (plus 6502one). This is mostly useful when writing user-defined macros
6503(see <a href="#User_002ddefined-macros">User-defined macros</a>) or general geometric primitives, when one 6504does not know <em>a priori</em> which tags are already attributed, and 6505which ones are still available. 6506</p> 6507</dd> 6508<dt><code>newc</code> 6509<span id="index-newc"></span> 6510</dt> 6511<dd><p>Return the next available curve tag. 6512</p> 6513</dd> 6514<dt><code>news</code> 6515<span id="index-news"></span> 6516</dt> 6517<dd><p>Return the next available surface tag. 6518</p> 6519</dd> 6520<dt><code>newv</code> 6521<span id="index-newv"></span> 6522</dt> 6523<dd><p>Return the next available volume tag. 6524</p> 6525</dd> 6526<dt><code>newcl</code> 6527<span id="index-newcl"></span> 6528</dt> 6529<dd><p>Return the next available curve loop tag. 6530</p> 6531</dd> 6532<dt><code>newsl</code> 6533<span id="index-newsl"></span> 6534</dt> 6535<dd><p>Return the next available surface loop tag. 6536</p> 6537</dd> 6538<dt><code>newreg</code> 6539<span id="index-newreg"></span> 6540</dt> 6541<dd><p>Return the next available region tag. That is, <code>newreg</code> returns the 6542maximum of <code>newp</code>, <code>newl</code>, <code>news</code>, <code>newv</code>, 6543<code>newll</code>, <code>newsl</code> and all physical group tags<a id="DOCF13" href="#FOOT13"><sup>13</sup></a>. 6544</p></dd> 6545</dl> 6546 6547</dd> 6548<dt><code><var>string</var> = { };</code> 6549<span id="index-string-_003d-_007b-_007d_003b"></span> 6550</dt> 6551<dd><p>Create a new expression list identifier <code><var>string</var></code> with an 6552empty list. 6553</p> 6554</dd> 6555<dt><code><var>string</var>[] = { <var>expression-list</var> };</code> 6556<span id="index-string_005b_005d-_003d-_007b-expression_002dlist-_007d_003b"></span> 6557</dt> 6558<dd><p>Create a new expression list identifier <code><var>string</var></code> with the 6559list <var>expression-list</var>, or affects <var>expression-list</var> to an 6560existing expression list identifier. Parentheses are also allowed 6561instead of square brackets; although not recommended, brackets and
6562parentheses can also be completely ommitted. 6563</p> 6564</dd> 6565<dt><code><var>string</var> [ { <var>expression-list</var> } ] = { <var>expression-list</var> };</code> 6566<span id="index-string-_005b-_007b-expression_002dlist-_007d-_005d-_003d-_007b-expression_002dlist-_007d_003b"></span> 6567</dt> 6568<dd><p>Affect each item in the right hand side <var>expression-list</var> to the 6569elements (indexed by the left hand side <var>expression-list</var>) of an 6570existing expression list identifier. The two <var><span class="nolinebreak">expression-list</span></var>s<!-- /@w --> 6571must contain the same number of items. Parentheses can also be used 6572instead of brackets. 6573</p> 6574</dd> 6575<dt><code><var>string</var> += <var>expression</var>;</code> 6576<span id="index-string-_002b_003d-expression_003b"></span> 6577</dt> 6578<dd><p>Add and affect <var>expression</var> to an existing expression identifier. 6579</p> 6580</dd> 6581<dt><code><var>string</var> -= <var>expression</var>;</code> 6582<span id="index-string-_002d_003d-expression_003b"></span> 6583</dt> 6584<dd><p>Subtract and affect <var>expression</var> to an existing expression identifier. 6585</p> 6586</dd> 6587<dt><code><var>string</var> *= <var>expression</var>;</code> 6588<span id="index-string-_002a_003d-expression_003b"></span> 6589</dt> 6590<dd><p>Multiply and affect <var>expression</var> to an existing expression identifier. 6591</p> 6592</dd> 6593<dt><code><var>string</var> /= <var>expression</var>;</code> 6594<span id="index-string-_002f_003d-expression_003b"></span> 6595</dt> 6596<dd><p>Divide and affect <var>expression</var> to an existing expression identifier. 6597</p> 6598</dd> 6599<dt><code><var>string</var> += { <var>expression-list</var> };</code> 6600<span id="index-string-_002b_003d-_007b-expression_002dlist-_007d_003b"></span> 6601</dt> 6602<dd><p>Append <var>expression-list</var> to an existing expression list or creates a 6603new expression list with <var>expression-list</var>. 6604</p> 6605</dd> 6606<dt><code><var>string</var> -= { <var>expression-list</var> };</code> 6607<span id="index-string-_002d_003d-_007b-expression_002dlist-_007d_003b"></span> 6608</dt> 6609<dd><p>Remove the items in <var>expression-list</var> from the existing expression 6610list. 6611</p> 6612</dd> 6613<dt><code><var>string</var> [ { <var>expression-list</var> } ] += { <var>expression-list</var> };</code> 6614<span id="index-string-_005b-_007b-expression_002dlist-_007d-_005d-_002b_003d-_007b-expression_002dlist-_007d_003b"></span> 6615</dt> 6616<dd><p>Add and affect, item per item, the right hand side <var>expression-list</var> 6617to an existing expression list identifier. Parentheses can also be used 6618instead of brackets. 6619</p> 6620</dd> 6621<dt><code><var>string</var> [ { <var>expression-list</var> } ] -= { <var>expression-list</var> };</code> 6622<span id="index-string-_005b-_007b-expression_002dlist-_007d-_005d-_002d_003d-_007b-expression_002dlist-_007d_003b"></span> 6623</dt> 6624<dd><p>Subtract and affect, item per item, the right hand side 6625<var>expression-list</var> to an existing expression list identifier. 6626Parentheses can also be used instead of brackets. 6627</p> 6628</dd> 6629<dt><code><var>string</var> [ { <var>expression-list</var> } ] *= { <var>expression-list</var> };</code> 6630<span id="index-string-_005b-_007b-expression_002dlist-_007d-_005d-_002a_003d-_007b-expression_002dlist-_007d_003b"></span> 6631</dt> 6632<dd><p>Multiply and affect, item per item, the right hand side 6633<var>expression-list</var> to an existing expression list 6634identifier. Parentheses can also be used instead of brackets. 6635</p> 6636</dd> 6637<dt><code><var>string</var> [ { <var>expression-list</var> } ] /= { <var>expression-list</var> };</code> 6638<span id="index-string-_005b-_007b-expression_002dlist-_007d-_005d-_002f_003d-_007b-expression_002dlist-_007d_003b"></span> 6639</dt> 6640<dd><p>Divide and affect, item per item, the right hand side 6641<var>expression-list</var> to an existing expression list 6642identifier. Parentheses can also be used instead of brackets. 6643</p> 6644</dd> 6645<dt><code><var>string</var> = <var>string-expression</var>;</code> 6646<span id="index-string-_003d-string_002dexpression_003b"></span> 6647</dt> 6648<dd><p>Create a new string expression identifier <code><var>string</var></code> with a 6649given <var>string-expression</var>. 6650</p> 6651</dd> 6652<dt><code><var>string</var>[] = Str( <var>string-expression-list</var> ) ;</code> 6653<span id="index-string_005b_005d-_003d-Str_0028-string_002dexpression_002dlist-_0029-_003b"></span> 6654</dt> 6655<dd><p>Create a new string expression list identifier <code><var>string</var></code> 6656with a given <var>string-expression-list</var>. Parentheses can also be used 6657instead of brackets. 6658</p> 6659</dd> 6660<dt><code><var>string</var>[] += Str( <var>string-expression-list</var> ) ;</code> 6661<span id="index-string_005b_005d-_002b_003d-Str_0028-string_002dexpression_002dlist-_0029-_003b"></span> 6662</dt> 6663<dd><p>Append a string expression list to an existing list. Parentheses can 6664also be used instead of brackets. 6665</p> 6666</dd> 6667<dt><code>DefineConstant[ <var>string</var> = <var>expression</var>|<var>string-expression</var> <, ...>];</code> 6668<span id="index-DefineConstant_005b-string-_003d-expression_007cstring_002dexpression-_003c_002c-_002e_002e_002e_003e_005d_003b"></span> 6669</dt> 6670<dd><p>Create a new expression identifier <var>string</var>, with value 6671<var>expression</var>, only if has not been defined before. 6672</p> 6673</dd> 6674<dt><code>DefineConstant[ <var>string</var> = { <var>expression</var>|<var>string-expression</var>, <var>onelab-options</var> } <, ...>];</code> 6675<span id="index-DefineConstant_005b-string-_003d-_007b-expression_007cstring_002dexpression_002c-onelab_002doptions-_007
6675d-_003c_002c-_002e_002e_002e_003e_005d_003b"></span> 6676</dt> 6677<dd><p>Same as the previous case, except that the variable is also exchanged 6678with the ONELAB database if it has not been defined before. See the 6679<a href="https://gitlab.onelab.info/doc/tutorials/wikis/ONELAB-syntax-for-Gmsh-and-GetDP">ONELAB tutorial wiki</a> for more information. 6680</p> 6681</dd> 6682<dt><code>SetNumber( <var>string-expression</var> , <var>expression</var> );</code> 6683<span id="index-SetNumber_0028-string_002dexpression-_002c-expression-_0029_003b"></span> 6684</dt> 6685<dd><p>Set the value a numeric ONELAB variable <var>string-expression</var>. 6686</p> 6687</dd> 6688<dt><code>SetString( <var>string-expression</var> , <var>string-expression</var> );</code> 6689<span id="index-SetString_0028-string_002dexpression-_002c-string_002dexpression-_0029_003b"></span> 6690</dt> 6691<dd><p>Set the value a string ONELAB variable <var>string-expression</var>. 6692</p> 6693</dd> 6694<dt><code><var>number-option</var> = <var>expression</var>;</code> 6695<span id="index-number_002doption-_003d-expression_003b"></span> 6696</dt> 6697<dd><p>Affect <var>expression</var> to a real option. 6698</p> 6699</dd> 6700<dt><code><var>string-option</var> = <var>string-expression</var>;</code> 6701<span id="index-string_002doption-_003d-string_002dexpression_003b"></span> 6702</dt> 6703<dd><p>Affect <var>string-expression</var> to a string option. 6704</p> 6705</dd> 6706<dt><code><var>color-option</var> = <var>color-expression</var>;</code> 6707<span id="index-color_002doption-_003d-color_002dexpression_003b"></span> 6708</dt> 6709<dd><p>Affect <var>color-expression</var> to a color option. 6710</p> 6711</dd> 6712<dt><code><var>number-option</var> += <var>expression</var>;</code> 6713<span id="index-number_002doption-_002b_003d-expression_003b"></span> 6714</dt> 6715<dd><p>Add and affect <var>expression</var> to a real option. 6716</p> 6717</dd> 6718<dt><code><var>number-option</var> -= <var>expression</var>;</code> 6719<span id="index-number_002doption-_002d_003d-expression_003b"></span> 6720</dt> 6721<dd><p>Subtract and affect <var>expression</var> to a real option. 6722</p> 6723</dd> 6724<dt><code><var>number-option</var> *= <var>expression</var>;</code> 6725<span id="index-number_002doption-_002a_003d-expression_003b"></span> 6726</dt> 6727<dd><p>Multiply and affect <var>expression</var> to a real option. 6728</p> 6729</dd> 6730<dt><code><var>number-option</var> /= <var>expression</var>;</code> 6731<span id="index-number_002doption-_002f_003d-expression_003b"></span> 6732</dt> 6733<dd><p>Divide and affect <var>expression</var> to a real option. 6734</p> 6735</dd> 6736<dt><code>Abort;</code> 6737<span id="index-Abort_003b"></span> 6738</dt> 6739<dd><p>Abort the current script. 6740</p> 6741</dd> 6742<dt><code>Exit < <var>expression</var> >;</code> 6743<span id="index-Exit-_003c-expression-_003e_003b"></span> 6744</dt> 6745<dd><p>Exit Gmsh (optionally with level <var>expression</var> instead of 0). 6746</p> 6747</dd> 6748<dt><code>CreateDir <var>string-expression</var>;</code> 6749<span id="index-CreateDir-string_002dexpression_003b"></span> 6750</dt> 6751<dd><p>Create the directory <var>string-expression</var>. 6752</p> 6753</dd> 6754<dt><code>Printf ( <var>string-expression</var> <, <var>expression-list</var>> );</code> 6755<span id="index-Printf-_0028-string_002dexpression-_003c_002c-expression_002dlist_003e-_0029_003b"></span> 6756</dt> 6757<dd><p>Print a string expression in the information window and/or on the 6758terminal. <code>Printf</code> is equivalent to the <code>printf</code> C function: 6759<var>string-expression</var> is a format string that can contain formatting 6760characters (<code>%f</code>, <code>%e</code>, etc.). Note that all 6761<var>expression</var>s<!-- /@w --> are evaluated as floating point values in Gmsh 6762(see <a href="#Floating-point-expressions">Floating point expressions</a>), so that only valid floating point 6763formatting characters make sense in <var>string-expression</var>. See <a href="#t5">t5</a>, 6764for an example of the use of <code>Printf</code>. 6765</p> 6766</dd> 6767<dt><code>Printf ( <var>string-expression</var> , <var>expression-list</var> ) > <var>string-expression</var>;</code> 6768<span id="index-Printf-_0028-string_002dexpression-_002c-expression_002dlist-_0029-_003e-string_002dexpression_003b"></span> 6769</dt> 6770<dd><p>Same as <code>Printf</code> above, but output the expression in a file. 6771</p> 6772</dd> 6773<dt><code>Printf ( <var>string-expression</var> , <var>expression-list</var> ) >> <var>string-expression</var>;</code> 6774<span id="index-Printf-_0028-string_002dexpression-_002c-expression_002dlist-_0029-_003e_003e-string_002dexpression_003b"></span> 6775</dt> 6776<dd><p>Same as <code>Printf</code> above, but appends the expression at the end of 6777the file. 6778</p> 6779</dd> 6780<dt><code>Warning|Error ( <var>string-expression</var> <, <var>expression-list</var>> );</code> 6781<span id="index-Warning_007cError-_0028-string_002dexpression-_003c_002c-expression_002dlist_003e-_0029_003b"></span> 6782</dt> 6783<dd><p>Same as <code>Printf</code>, but raises a warning or an error. 6784</p> 6785</dd> 6786<dt><code>Merge <var>string-expression</var>;</code> 6787<span id="index-Merge-string_002dexpression_003b"></span> 6788</dt> 6789<dd><p>Merge a file named <var>string-expression</var>. This command is equivalent to 6790the ‘File->Merge’ menu in the GUI. If the path in <var>string-expression</var> 6791is not absolute, <var>string-expression</var> is appended to the path of the 6792current file. This operation triggers a synchronization of the CAD model with the internal Gmsh model. 6793</p> 6794</dd> 6795<dt><code>ShapeFromFile( <var>string-expression</var> );</code> 6796<span id="index-ShapeFromFile_0028-string_002dexpression-_0029_003b"></span> 6797</dt> 6798<dd><p>Merge a BREP, STEP or IGES file and returns the tags of the 6799highest-dimensional entities. Only available with the OpenCASCADE 6800geometry kernel. 6801</p> 6802</dd> 6803<dt><code>Draw;</code> 6804<span id="index-Draw_003b"></span> 6805</dt> 6806<dd><p>Redraw the scene. 6807</p> 6808</dd> 6809<dt><code>
6809SplitCurrentWindowHorizontal <var>expression</var>;</code> 6810<span id="index-SplitCurrentWindowHorizontal-expression_003b"></span> 6811</dt> 6812<dd><p>Split the current window horizontally, with the ratio given by <var>expression</var>. 6813</p> 6814</dd> 6815<dt><code>SplitCurrentWindowVertical <var>expression</var>;</code> 6816<span id="index-SplitCurrentWindowVertical-expression_003b"></span> 6817</dt> 6818<dd><p>Split the current window vertically, with the ratio given by <var>expression</var>. 6819</p> 6820</dd> 6821<dt><code>SetCurrentWindow <var>expression</var>;</code> 6822<span id="index-SetCurrentWindow-expression_003b"></span> 6823</dt> 6824<dd><p>Set the current window by speficying its index (starting at 0) in the 6825list of all windows. When new windows are created by splits, new windows 6826are appended at the end of the list. 6827</p> 6828</dd> 6829<dt><code>UnsplitWindow;</code> 6830<span id="index-UnsplitWindow_003b"></span> 6831</dt> 6832<dd><p>Restore a single window. 6833</p> 6834</dd> 6835<dt><code>SetChanged;</code> 6836<span id="index-SetChanged_003b"></span> 6837</dt> 6838<dd><p>Force the mesh and post-processing vertex arrays to be 6839regenerated. Useful e.g. for creating animations with changing clipping 6840planes, etc. 6841</p> 6842</dd> 6843<dt><code>BoundingBox;</code> 6844<span id="index-BoundingBox_003b"></span> 6845</dt> 6846<dd><p>Recompute the bounding box of the scene (which is normally computed only 6847after new model entities are added or after files are included or 6848merged). The bounding box is computed as follows: 6849</p><ol> 6850<li> If there is a mesh (i.e., at least one mesh node), the bounding 6851box is taken as the box enclosing all the mesh nodes; 6852</li><li> If there is no mesh but there is a geometry (i.e., at least one geometrical 6853point), the bounding box is taken as the box enclosing all the geometrical 6854points; 6855</li><li> If there is no mesh and no geometry, but there are some post-processing 6856views, the bounding box is taken as the box enclosing all the primitives in 6857the views. 6858</li></ol> 6859<p>This operation triggers a synchronization of the CAD model with the internal Gmsh model. 6860</p> 6861</dd> 6862<dt><code>BoundingBox { <var>expression</var>, <var>expression</var>, <var>expression</var>, <var>expression</var>, <var>expression</var>, <var>expression</var> };</code> 6863<span id="index-BoundingBox-_007b-expression_002c-expression_002c-expression_002c-expression_002c-expression_002c-expression-_007d_003b"></span> 6864</dt> 6865<dd><p>Force the bounding box of the scene to the given <var>expression</var>s<!-- /@w --> 6866(X min, X max, Y min, Y max, Z min, Z max). Beware that order of the 6867coordinates is different than in the <code>BoundingBox</code> commands for 6868model entities: see <a href="#Floating-point-expressions">Floating point expressions</a>. 6869</p> 6870</dd> 6871<dt><code>Delete Model;</code> 6872<span id="index-Delete-Model_003b"></span> 6873</dt> 6874<dd><p>Delete the current model (all model entities and their associated 6875meshes). 6876</p> 6877</dd> 6878<dt><code>Delete Meshes;</code> 6879<span id="index-Delete-Meshes_003b"></span> 6880</dt> 6881<dd><p>Delete all the meshes in the current model. 6882</p> 6883</dd> 6884<dt><code>Delete Physicals;</code> 6885<span id="index-Delete-Physicals_003b"></span> 6886</dt> 6887<dd><p>Delete all physical groups. 6888</p> 6889</dd> 6890<dt><code>Delete Variables;</code> 6891<span id="index-Delete-Variables_003b"></span> 6892</dt> 6893<dd><p>Delete all the expressions. 6894</p> 6895</dd> 6896<dt><code>Delete Options;</code> 6897<span id="index-Delete-Options_003b"></span> 6898</dt> 6899<dd><p>Delete the current options and revert to the default values. 6900</p> 6901</dd> 6902<dt><code>Delete <var>string</var>;</code> 6903<span id="index-Delete-string_003b"></span> 6904</dt> 6905<dd><p>Delete the expression <var>string</var>. 6906</p> 6907</dd> 6908<dt><code>Print <var>string-expression</var>;</code> 6909<span id="index-Print-string_002dexpression_003b"></span> 6910</dt> 6911<dd><p>Print the graphic window in a file named <var>string-expression</var>, using 6912the current <code>Print.Format</code> (see <a href="#General-options">General options</a>). If the 6913path in <var>string-expression</var> is not absolute, <var>string-expression</var> is 6914appended to the path of the current file. This operation triggers a synchronization of the CAD model with the internal Gmsh model. 6915</p> 6916</dd> 6917<dt><code>Sleep <var>expression</var>;</code> 6918<span id="index-Sleep-expression_003b"></span> 6919</dt> 6920<dd><p>Suspend the execution of Gmsh during <var>expression</var> seconds. 6921</p> 6922</dd> 6923<dt><code>SystemCall <var>string-expression</var>;</code> 6924<span id="index-SystemCall-string_002dexpression_003b"></span> 6925</dt> 6926<dd><p>Executes a (blocking) system call. 6927</p> 6928</dd> 6929<dt><code>NonBlockingSystemCall <var>string-expression</var>;</code> 6930<span id="index-NonBlockingSystemCall-string_002dexpression_003b"></span> 6931</dt> 6932<dd><p>Execute a (non-blocking) system call. 6933</p> 6934</dd> 6935<dt><code>OnelabRun ( <var>string-expression</var> <, <var>string-expression</var> > )</code> 6936<span id="index-OnelabRun-_0028-string_002dexpression-_003c_002c-string_002dexpression-_003e-_0029"></span> 6937</dt> 6938<dd><p>Run a ONELAB client (first argument is the client name, second optional 6939argument is the command line). 6940</p> 6941</dd> 6942<dt><code>SetName <var>string-expression</var>;</code> 6943<span id="index-SetName-string_002dexpression_003b"></span> 6944</dt> 6945<dd><p>Change the name of the current model. 6946</p> 6947</dd> 6948<dt><code>SetFactory(<var>string-expression</var>);</code> 6949<span id="index-SetFactory_0028string_002dexpression_0029_003b"></span> 6950</dt> 6951<dd><p>Change the current geometry kernel (i.e. determines the CAD kernel that 6952is used for all subsequent geometrical commands). Currently available 6953kernels: <code>"Built-in"</code> and <code>"OpenCASCADE"</code>. 6954</p> 6955</dd> 6956<dt><code>SyncModel;</code> 6957<span id="index-SyncModel_003b"></span> 6958</dt> 6959<dd><p>Force an immediate transfer from the old geometrical database into the 6960new one (this transfer normally occurs right after a file is read). 6961</p> 6962</dd> 6963<dt><code>NewModel;</code> 6964<span id="index-NewModel_003b"></span> 6965</dt> 6966<dd><p>Create a new current model. 6967</p> 6968</dd> 6969<dt><code>Include <var>string-expression</var>;</code> 6970<span id="index-Include-string_002dexpression_003b"></span> 6971</dt> 6972<dd><p>Include the file named <var>string-expression</var> at the current position in 6973the input file. The include command should be given on a line of its 6974own. If the path in <var>string-expression</var> is not absolute, 6975<var>string-expression</var> is appended to the path of the current file. 6976</p></dd> 6977</dl> 6978 6979 6980<hr> 6981<span id="Geometry-scripting-commands"></span><div class="header"> 6982<p> 6983Next: <a href="#Mesh-scripting-commands" accesskey="n" rel="next">Mesh scripting commands</a>, Previous: <a href="#General-scripting-commands" accesskey="p" rel="prev">General scripting commands</a>, Up: <a href="#Gmsh-scripting-language" accesskey="u" rel="up">Gmsh scripting language</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 6984</div> 6985<span id="Geometry-scripting-commands-1"></span>
6985<h3 class="section">5.2 Geometry scripting commands</h3> 6986 6987<span id="index-Geometry_002c-scripting-commands"></span> 6988<span id="index-Scripting-commands_002c-geometry"></span> 6989 6990<p>Both the built-in and the OpenCASCADE CAD kernels can be used in the 6991scripting language, by specifying <code>SetFactory("Built-in")</code> or 6992<code>SetFactory("OpenCASCADE")</code>, respectively, before geometrical 6993scripting commands. If <code>SetFactory</code> is not specified, the built-in 6994kernel is used. 6995</p> 6996<p>A bottom-up boundary representation approach can be used by first 6997defining points (using the <code>Point</code> command), then curves (using 6998<code>Line</code>, <code>Circle</code>, <code>Spline</code>, …, commands or by 6999extruding points), then surfaces (using for example the <code>Plane 7000Surface</code> or <code>Surface</code> commands, or by extruding curves), and 7001finally volumes (using the <code>Volume</code> command or by extruding 7002surfaces). Entities can then be manipulated in various ways, for example 7003using the <code>Translate</code>, <code>Rotate</code>, <code>Scale</code> or 7004<code>Symmetry</code> commands. They can be deleted with the <code>Delete</code> 7005command, provided that no higher-dimension entity references them. With 7006the OpenCASCADE kernel, additional boolean operations are available: 7007<code>BooleanIntersection</code>, <code>BooleanUnion</code>, 7008<code>BooleanDifference</code> and <code>BooleanFragments</code>. 7009</p> 7010<p>The next subsections describe all the available geometry commands in the 7011scripting language. Note that the following general rule is followed for 7012the definition of model entities: if an <var>expression</var> defines a new 7013entity, it is enclosed between parentheses. If an <var>expression</var> 7014refers to a previously defined entity, it is enclosed between braces. 7015</p> 7016<table class="menu" border="0" cellspacing="0"> 7017<tr><td align="left" valign="top">• <a href="#Points" accesskey="1">Points</a></td><td> </td><td align="left" valign="top"> 7018</td></tr> 7019<tr><td align="left" valign="top">• <a href="#Curves" accesskey="2">Curves</a></td><td> </td><td align="left" valign="top"> 7020</td></tr> 7021<tr><td align="left" valign="top">• <a href="#Surfaces" accesskey="3">Surfaces</a></td><td> </td><td align="left" valign="top"> 7022</td></tr> 7023<tr><td align="left" valign="top">• <a href="#Volumes" accesskey="4">Volumes</a></td><td> </td><td align="left" valign="top"> 7024</td></tr> 7025<tr><td align="left" valign="top">• <a href="#Extrusions" accesskey="5">Extrusions</a></td><td> </td><td align="left" valign="top"> 7026</td></tr> 7027<tr><td align="left" valign="top">• <a href="#Boolean-operations" accesskey="6">Boolean operations</a></td><td> </td><td align="left" valign="top"> 7028</td></tr> 7029<tr><td align="left" valign="top">• <a href="#Transformations" accesskey="7">Transformations</a></td><td> </td><td align="left" valign="top"> 7030</td></tr> 7031<tr><td align="left" valign="top">• <a href="#Other-geometry-commands" accesskey="8">Other geometry commands</a></td><td> </td><td align="left" valign="top"> 7032</td></tr> 7033</table> 7034 7035 7036<hr> 7037<span id="Points"></span><div class="header"> 7038<p> 7039Next: <a href="#Curves" accesskey="n" rel="next">Curves</a>, Previous: <a href="#Geometry-scripting-commands" accesskey="p" rel="prev">Geometry scripting commands</a>, Up: <a href="#Geometry-scripting-commands" accesskey="u" rel="up">Geometry scripting commands</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 7040</div> 7041<span id="Points-1"></span><h4 class="subsection">5.2.1 Points</h4> 7042 7043<span id="index-Elementary-points"></span> 7044<span id="index-Points_002c-elementary"></span> 7045<span id="index-Physical-points"></span> 7046<span id="index-Points_002c-physical"></span> 7047 7048<dl compact="compact"> 7049<dt><code>Point ( <var>expression</var> ) = { <var>expression</var>, <var>expression</var>, <var>expression</var> <, <var>expression</var> > };</code> 7050<span id="index-Point-_0028-expression-_0029-_003d-_007b-expression_002c-expression_002c-expression-_003c_002c-expression-_003e-_007d_003b"></span> 7051</dt> 7052<dd><p>Create a point. The <var>expression</var> inside the parentheses is the 7053point’s tag; the three first <var>expression</var>s<!-- /@w --> inside the braces on 7054the right hand side give the three X, Y and Z coordinates of the point 7055in the three-dimensional Euclidean space; the optional last 7056<var>expression</var> sets the prescribed mesh element size at that 7057point. See <a href="#Specifying-mesh-element-sizes">Specifying mesh element sizes</a>, for more information 7058about how this value is used in the meshing process. 7059</p> 7060</dd> 7061<dt><code>Physical Point ( <var>expression</var> | <var>string-expression</var> <, <var>expression</var>> ) <+|->= { <var>expression-list</var> };</code> 7062<span id="index-Physical-Point-_0028-expression-_007c-string_002dexpression-_003c_002c-expression_003e-_0029-_003c_002b_007c_002d_003e_003d-_007b-expression_002dlist-_007d_003b"></span> 7063</dt> 7064<dd><p>Create a physical point. The <var>expression</var> inside the parentheses is 7065the physical point’s tag; the <var>expression-list</var> on the right hand 7066side should contain the tags of all the elementary points that need to 7067be grouped inside the physical point. If a <var>string-expression</var> is 7068given instead instead of <var>expression</var> inside the parentheses, a 7069string label is associated with the physical tag, which can be either 7070provided explicitly (after the comma) or not (in which case a unique tag 7071is automatically created). 7072</p> 7073</dd> 7074</dl> 7075 7076 7077<hr> 7078<span id="Curves"></span><div class="header"> 7079<p> 7080Next: <a href="#Surfaces" accesskey="n" rel="next">Surfaces</a>, Previous: <a href="#Points" accesskey="p" rel="prev">Points</a>, Up: <a href="#Geometry-scripting-commands" accesskey="u" rel="up">Geometry scripting commands</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 7081</div> 7082<span id="Curves-1"></span><h4 class="subsection">5.2.2 Curves</h4> 7083 7084<span id="index-Elementary-curves"></span> 7085<span id="index-Curves_002c-elementary"></span> 7086<span id="index-Physical-curves"></span> 7087<span id="index-Curves_002c-physical"></span> 7088<span id="index-Lines"></span> 7089 7090<dl compact="compact"> 7091<dt><code>Line ( <var>expression</var> ) = { <var>expression</var>, <var>expression</var> };</code> 7092<span id="index-Line-_0028-expression-_0029-_003d-_007b-expression_002c-expression-_007d_003b"></span> 7093</dt> 7094<dd><p>Create a straight line segment. The <var>expression</var> inside the 7095parentheses is the line segment’s tag; the two <var>expression</var>s<!-- /@w --> 7096inside the braces on the right hand side give tags of the start and end 7097points of the segment. 7098</p> 7099</dd> 7100<dt><code>Bezier ( <var>expression</var> ) = { <var>expression-list</var> };</code> 7101<span id="index-Bezier-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"></span> 7102</dt> 7103<dd><p>Create a Bezier curve. The <var>expression-list</var> contains the 7104tags of the control points. 7105</p> 7106</dd> 7107<dt><code>BSpline ( <var>expression</var> ) = { <var>expression-list</var> };</code> 7108<span id="index-BSpline-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"></span> 7109</dt> 7110<dd><p>Create a cubic BSpline. The <var>expression-list</var> contains the tags of 7111the control points. Creates a periodic curve if the first and last 7112points are identical. 7113</p> 7114</dd> 7115<dt><code>Spline ( <var>expression</var> ) = { <var>expression-list</var> };</code> 7116<span id="index-Spline-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"></span> 7117</dt> 7118<dd><p>Create a spline going through the points in <var>expression-list</var>. With 7119the built-in geometry kernel this constructs a Catmull-Rom spline. With 7120the OpenCASCADE kernel, this constructs a C2 BSpline. Creates a periodic 7121curve if the first and last points are identical. 7122</p> 7123</dd> 7124<dt><code>Circle ( <var>expression</var> ) = { <var>expression</var>, <var>expression</var>, <var>expression</var> <, ...> };</code> 7125<span id="index-Circle-_0028-expression-_0029-_003d-_007b-expression_002c-expression_002c-expression-_003c_002c-_002e_002e_002e_003e-_007d_003b"></span> 7126</dt> 7127<dd><p>Create a circle arc. If three <var>expression</var>s are provided on the 7128right-hand-side they define the start point, the center and the end 7129point of the arc; the three points should not be colinear. With the 7130built-in geometry kernel the arc should be strictly smaller than 7131Pi. With the OpenCASCADE kernel, if between 4 and 6 expressions are 7132provided the arc is created in the X-Y plane: the first three define the 7133coordinates of the center, the next one defines the radius, and the 7134optional next two the start and end angle. 7135</p> 7136 7137</dd> 7138<dt><code>Ellipse ( <var>expression</var> ) = { <var>expression</var>, <var>expression</var>, <var>expression</var> <, ...> };</code> 7139<span id="index-Ellipse-_0028-expression-_0029-_003d-_007b-expression_002c-expression_002c-expression-_003c_002c-_002e_002e_002e_003e-_007d_003b"></span> 7140</dt> 7141<dd><p>Create an ellipse arc. If four <var>expression</var>s are provided on the 7142right-hand-side they define the start point, the center point, a point 7143anywhere on the major axis and the end point. If the first point is a 7144major axis point, the third expression can be ommitted. With the 7145OpenCASCADE kernel, if between 5 and 7 expressions are provided, the 7146first three define the coordinates of the center, the next two define 7147the major (along the x-axis) and minor radii (along the y-axis), and the 7148next two the start and end angle. Note that OpenCASCADE does not allow 7149creating ellipse arcs with the major radius smaller than the minor 7150radius. 7151</p> 7152</dd> 7153<dt><code>Compound Spline | BSpline ( <var>expression</var> ) = { <var>expression-list</var> } Using <var>expression</var>;</code>
7154<span id="index-Compound-Spline-_007c-BSpline-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d-Using-expression_003b"></span> 7155</dt> 7156<dd><p>Create a spline or a BSpline from control points sampled on the curves 7157in <var>expression-list</var>. <code>Using</code> <var>expression</var> specifies the 7158number of intervals on each curve to compute the sampling 7159points. Compound splines and BSplines are only available with the 7160built-in geometry kernel. 7161</p> 7162</dd> 7163<dt><code>Curve Loop ( <var>expression</var> ) = { <var>expression-list</var> };</code> 7164<span id="index-Curve-Loop-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"></span> 7165</dt> 7166<dd><p>Create an oriented loop of curves, i.e. a closed wire. The 7167<var>expression</var> inside the parentheses is the curve loop’s tag; the 7168<var>expression-list</var> on the right hand side should contain the tags of 7169all the curves that constitute the curve loop. A curve loop must be a 7170closed loop. With the built-in geometry kernel, the curves should be 7171ordered and oriented, using negative tags to specify reverse 7172orientation. (If the orientation is correct, but the ordering is wrong, 7173Gmsh will actually reorder the list internally to create a consistent 7174loop; the built-in kernel also supports multiple curve loops (or 7175subloops) in a single <code>Curve Loop</code> command, but this is not 7176recommended). With the OpenCASCADE kernel the curve loop is always 7177oriented according to the orientation of its first curve; negative tags 7178can be specified for compatibility with the built-in kernel, but are 7179simply ignored. Curve loops are used to create surfaces: see 7180<a href="#Surfaces">Surfaces</a>. 7181</p> 7182</dd> 7183<dt><code>Wire ( <var>expression</var> ) = { <var>expression-list</var> };</code> 7184<span id="index-Wire-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"></span> 7185</dt> 7186<dd><p>Create a path made of curves. Wires are only available with the 7187OpenCASCADE kernel. They are used to create <code>ThruSections</code> and 7188extrusions along paths. 7189</p> 7190</dd> 7191<dt><code>Physical Curve ( <var>expression</var> | <var>string-expression</var> <, <var>expression</var>> ) <+|->= { <var>expression-list</var> };</code> 7192<span id="index-Physical-Curve-_0028-expression-_007c-string_002dexpression-_003c_002c-expression_003e-_0029-_003c_002b_007c_002d_003e_003d-_007b-expression_002dlist-_007d_003b"></span> 7193</dt> 7194<dd><p>Create a physical curve. The <var>expression</var> inside the parentheses is 7195the physical curve’s tag; the <var>expression-list</var> on the right hand 7196side should contain the tags of all the elementary curves that need to 7197be grouped inside the physical curve. If a <var>string-expression</var> is 7198given instead instead of <var>expression</var> inside the parentheses, a 7199string label is associated with the physical tag, which can be either 7200provided explicitly (after the comma) or not (in which case a unique tag 7201is automatically created). In some mesh file formats (e.g. MSH2), 7202specifying negative tags in the <var>expression-list</var> will reverse the 7203orientation of the mesh elements belonging to the corresponding 7204elementary curves in the saved mesh file. 7205</p> 7206</dd> 7207</dl> 7208 7209 7210<hr> 7211<span id="Surfaces"></span><div class="header"> 7212<p> 7213Next: <a href="#Volumes" accesskey="n" rel="next">Volumes</a>, Previous: <a href="#Curves" accesskey="p" rel="prev">Curves</a>, Up: <a href="#Geometry-scripting-commands" accesskey="u" rel="up">Geometry scripting commands</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 7214</div> 7215<span id="Surfaces-1"></span><h4 class="subsection">5.2.3 Surfaces</h4> 7216 7217<span id="index-Elementary-surfaces"></span> 7218<span id="index-Surfaces_002c-elementary"></span> 7219<span id="index-Physical-surfaces"></span> 7220<span id="index-Surfaces_002c-physical"></span> 7221 7222<dl compact="compact"> 7223<dt><code>Plane Surface ( <var>expression</var> ) = { <var>expression-list</var> };</code> 7224<span id="index-Plane-Surface-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"></span> 7225</dt> 7226<dd><p>Create a plane surface. The <var>expression</var> inside the parentheses is 7227the plane surface’s tag; the <var>expression-list</var> on the right hand 7228side should contain the tags of all the curve loops defining the 7229surface. The first curve loop defines the exterior boundary of the 7230surface; all other curve loops define holes in the surface. A curve loop 7231defining a hole should not have any curves in common with the exterior 7232curve loop (in which case it is not a hole, and the two surfaces should 7233be defined separately). Likewise, a curve loop defining a hole should not 7234have any curves in common with another curve loop defining a hole in the 7235same surface (in which case the two curve loops should be combined). 7236</p> 7237</dd> 7238<dt><code>Surface ( <var>expression</var> ) = { <var>expression-list</var> } < In Sphere { <var>expression</var> }, Using Point { <var>expression-list</var> } >;</code> 7239<span id="index-Surface-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d-_003c-In-Sphere-_007b-expression-_007d_002c-Using-Point-_007b-expression_002dlist-_007d-_003e_003b"></span> 7240</dt> 7241<dd><p>Create a surface filling. With the built-in kernel, the first curve 7242loop should be composed of either three or four curves, the surface is 7243constructed using transfinite interpolation, and the optional <code>In 7244Sphere</code> argument forces the surface to be a spherical patch (the extra 7245parameter gives the tag of the center of the sphere). With the 7246OpenCASCADE kernel, a BSpline surface is constructucted by optimization 7247to match the bounding curves, as well as the (optional) points provided 7248after <code>Using Point</code>. 7249</p> 7250</dd> 7251<dt><code>BSpline Surface ( <var>expression</var> ) = { <var>expression-list</var> };</code> 7252<span id="index-BSpline-Surface-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"></span> 7253</dt> 7254<dd><p>Create a BSpline surface filling. Only a single curve loop made of 2, 3 7255or 4 BSpline curves can be provided. <code>BSpline Surface</code> is only 7256available with the OpenCASCADE kernel. 7257</p> 7258</dd> 7259<dt><code>Bezier Surface ( <var>expression</var> ) = { <var>expression-list</var> };</code> 7260<span id="index-Bezier-Surface-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"></span> 7261</dt> 7262<dd><p>Create a Bezier surface filling. Only a single curve loop made of 2, 3 7263or 4 Bezier curves can be provided. <code>Bezier Surface</code> is only 7264available with the OpenCASCADE kernel. 7265</p> 7266</dd> 7267<dt><code>Disk ( <var>expression</var> ) = { <var>expression-list</var> };</code> 7268<span id="index-Disk-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"></span> 7269</dt> 7270<dd><p>Creates a disk. When four expressions are provided on the right hand 7271side (3 coordinates of the center and the radius), the disk is circular. 7272A fifth expression defines the radius along Y, leading to an ellipse. 7273<code>Disk</code> is only available with the OpenCASCADE kernel. 7274</p> 7275</dd> 7276<dt><code>Rectangle ( <var>expression</var> ) = { <var>expression-list</var> };</code> 7277<span id="index-Rectangle-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"></span> 7278</dt> 7279<dd><p>Create a rectangle. The 3 first expressions define the lower-left 7280corner; the next 2 define the width and height. If a 6th expression is 7281provided, it defines a radius to round the rectangle 7282corners. <code>Rectangle</code> is only available with the OpenCASCADE kernel. 7283</p> 7284</dd> 7285<dt><code>Surface Loop ( <var>expression</var> ) = { <var>expression-list</var> } < Using Sewing >;</code> 7286<span id="index-Surface-Loop-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d-_003c-Using-Sewing-_003e_003b"></span> 7287</dt> 7288<dd><p>Create a surface loop (a shell). The <var>expression</var> inside the 7289parentheses is the surface loop’s tag; the <var>expression-list</var> on the 7290right hand side should contain the tags of all the surfaces that
7291constitute the surface loop. A surface loop must always represent a 7292closed shell, and the surfaces should be oriented consistently (using 7293negative tags to specify reverse orientation). (Surface loops are used 7294to create volumes: see <a href="#Volumes">Volumes</a>.) With the OpenCASCADE kernel, the 7295optional <code>Using Sewing</code> argument allows to build a shell made of 7296surfaces that share geometrically identical (but topologically 7297different) curves. 7298</p> 7299</dd> 7300<dt><code>Physical Surface ( <var>expression</var> | <var>string-expression</var> <, <var>expression</var>> ) <+|->= { <var>expression-list</var> };</code> 7301<span id="index-Physical-Surface-_0028-expression-_007c-string_002dexpression-_003c_002c-expression_003e-_0029-_003c_002b_007c_002d_003e_003d-_007b-expression_002dlist-_007d_003b"></span> 7302</dt> 7303<dd><p>Create a physical surface. The <var>expression</var> inside the parentheses 7304is the physical surface’s tag; the <var>expression-list</var> on the right 7305hand side should contain the tags of all the elementary surfaces that 7306need to be grouped inside the physical surface. If a 7307<var>string-expression</var> is given instead instead of <var>expression</var> 7308inside the parentheses, a string label is associated with the physical 7309tag, which can be either provided explicitly (after the comma) or not 7310(in which case a unique tag is automatically created). In some mesh 7311file formats (e.g. MSH2), specifying negative tags in the 7312<var>expression-list</var> will reverse the orientation of the mesh elements 7313belonging to the corresponding elementary surfaces in the saved mesh 7314file. 7315</p> 7316</dd> 7317</dl> 7318 7319 7320<hr> 7321<span id="Volumes"></span><div class="header"> 7322<p> 7323Next: <a href="#Extrusions" accesskey="n" rel="next">Extrusions</a>, Previous: <a href="#Surfaces" accesskey="p" rel="prev">Surfaces</a>, Up: <a href="#Geometry-scripting-commands" accesskey="u" rel="up">Geometry scripting commands</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 7324</div> 7325<span id="Volumes-1"></span><h4 class="subsection">5.2.4 Volumes</h4> 7326 7327<span id="index-Elementary-volumes"></span> 7328<span id="index-Volumes_002c-elementary"></span> 7329<span id="index-Physical-volumes"></span> 7330<span id="index-Volumes_002c-physical"></span> 7331 7332<dl compact="compact"> 7333<dt><code>Volume ( <var>expression</var> ) = { <var>expression-list</var> };</code> 7334<span id="index-Volume-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"></span> 7335</dt> 7336<dd><p>Create a volume. The <var>expression</var> inside the parentheses is the 7337volume’s tag; the <var>expression-list</var> on the right hand 7338side should contain the tags of all the surface loops 7339defining the volume. The first surface loop defines the exterior boundary of 7340the volume; all other surface loops define holes in the volume. A surface 7341loop defining a hole should not have any surfaces in common with the 7342exterior surface loop (in which case it is not a hole, and the two volumes 7343should be defined separately). Likewise, a surface loop defining a hole 7344should not have any surfaces in common with another surface loop defining a 7345hole in the same volume (in which case the two surface loops should be 7346combined). 7347</p> 7348</dd> 7349<dt><code>Sphere ( <var>expression</var> ) = { <var>expression-list</var> };</code> 7350<span id="index-Sphere-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"></span> 7351</dt> 7352<dd><p>Create a sphere, defined by the 3 coordinates of its center and a 7353radius. Additional expressions define 3 angle limits. The first two 7354optional arguments define the polar angle opening (from -Pi/2 to 7355Pi/2). The optional ‘angle3’ argument defines the azimuthal opening 7356(from 0 to 2*Pi). <code>Sphere</code> is only available with the OpenCASCADE 7357kernel. 7358</p> 7359</dd> 7360<dt><code>Box ( <var>expression</var> ) = { <var>expression-list</var> };</code> 7361<span id="index-Box-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"></span> 7362</dt> 7363<dd><p>Create a box, defined by the 3 coordinates of a point and the 3 7364extents. <code>Box</code> is only available with the OpenCASCADE kernel. 7365</p> 7366</dd> 7367<dt><code>Cylinder ( <var>expression</var> ) = { <var>expression-list</var> };</code> 7368<span id="index-Cylinder-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"></span> 7369</dt> 7370<dd><p>Create a cylinder, defined by the 3 coordinates of the center of the 7371first circular face, the 3 components of the vector defining its axis 7372and its radius. An additional expression defines the angular 7373opening. <code>Cylinder</code> is only available with the OpenCASCADE kernel. 7374</p> 7375</dd> 7376<dt><code>Torus ( <var>expression</var> ) = { <var>expression-list</var> };</code> 7377<span id="index-Torus-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"></span> 7378</dt> 7379<dd><p>Create a torus, defined by the 3 coordinates of its center and 2 radii. 7380An additional expression defines the angular opening. <code>Torus</code> is 7381only available with the OpenCASCADE kernel. 7382</p> 7383</dd> 7384<dt><code>Cone ( <var>expression</var> ) = { <var>expression-list</var> };</code> 7385<span id="index-Cone-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"></span> 7386</dt> 7387<dd><p>Create a cone, defined by the 3 coordinates of the center of the first 7388circular face, the 3 components of the vector defining its axis and the 7389two radii of the faces (these radii can be zero). An additional 7390expression defines the angular opening. <code>Cone</code> is only available 7391with the OpenCASCADE kernel. 7392</p> 7393</dd> 7394<dt><code>Wedge ( <var>expression</var> ) = { <var>expression-list</var> };</code> 7395<span id="index-Wedge-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"></span> 7396</dt> 7397<dd><p>Create a right angular wedge, defined by the 3 coordinates of the 7398right-angle point and the 3 extends. An additional parameter defines the 7399top X extent (zero by default). <code>Wedge</code> is only available with the 7400OpenCASCADE kernel. 7401</p> 7402</dd> 7403<dt><code>ThruSections ( <var>expression</var> ) = { <var>expression-list</var> };</code> 7404<span id="index-ThruSections-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"></span> 7405</dt> 7406<dd><p>Create a volume defined through curve loops. <code>ThruSections</code> is only 7407available with the OpenCASCADE kernel. 7408</p> 7409</dd> 7410<dt><code>Ruled ThruSections ( <var>expression</var> ) = { <var>expression-list</var> };</code> 7411<span id="index-Ruled-ThruSections-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"></span> 7412</dt> 7413<dd><p>Same as <code>ThruSections</code>, but the surfaces created on the boundary 7414are forced to be ruled. <code>Ruled ThruSections</code> is only available with 7415the OpenCASCADE kernel. 7416</p> 7417 7418</dd> 7419<dt><code>Physical Volume ( <var>expression</var> | <var>string-expression</var> <, <var>expression</var>> ) <+|->= { <var>expression-list</var> };</code> 7420<span id="index-Physical-Volume-_0028-expression-_007c-string_002dexpression-_003c_002c-expression_003e-_0029-_003c_002b_007c_002d_003e_003d-_007b-expression_002dlist-_007d_003b"></span> 7421</dt> 7422<dd><p>Create a physical volume. The <var>expression</var> inside the parentheses is 7423the physical volume’s tag; the <var>expression-list</var> on the right hand 7424side should contain the tags of all the elementary volumes that need to 7425be grouped inside the physical volume. If a <var>string-expression</var> is 7426given instead instead of <var>expression</var> inside the parentheses, a 7427string label is associated with the physical tag, which can be either 7428provided explicitly (after the comma) or not (in which case a unique tag 7429is automatically created). 7430</p> 7431</dd> 7432</dl> 7433 7434 7435<hr> 7436<span id="Extrusions"></span><div class="header"> 7437<p> 7438Next: <a href="#Boolean-operations" accesskey="n" rel="next">Boolean operations</a>, Previous: <a href="#Volumes" accesskey="p" rel="prev">Volumes</a>, Up: <a href="#Geometry-scripting-commands" accesskey="u" rel="up">Geometry scripting commands</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 7439</div> 7440<span id="Extrusions-1"></span><h4 class="subsection">5.2.5 Extrusions</h4> 7441 7442<span id="index-Extrusion_002c-geometry"></span> 7443<span id="index-Geometry_002c-extrusion"></span> 7444<span id="index-extrude"></span> 7445 7446<p>Curves, surfaces and volumes can also be created through extrusion of points, 7447curves and surfaces, respectively. Here is the syntax of the geometrical 7448extrusion commands (go to <a href="#Structured-grids">Structured grids</a>, to see how these commands 7449can be extended in order to also extrude the mesh): 7450</p> 7451<p><var>extrude</var>: 7452</p><dl compact="compact"> 7453<dt><code>Extrude { <var>expression-list</var> } { <var>extrude-list</var> }</code> 7454<span id="index-Extrude-_007b-expression_002dlist-_007d-_007b-extrude_002dl
7454ist-_007d"></span> 7455</dt> 7456<dd><p>Extrude all elementary entities (points, curves or surfaces) in 7457<var>extrude-list</var> using a translation. The <var>expression-list</var> should 7458contain three <var>expression</var>s<!-- /@w --> giving the X, Y and Z components of 7459the translation vector. 7460</p> 7461</dd> 7462<dt><code>Extrude { { <var>expression-list</var> }, { <var>expression-list</var> }, <var>expression</var> } { <var>extrude-list</var> }</code> 7463<span id="index-Extrude-_007b-_007b-expression_002dlist-_007d_002c-_007b-expression_002dlist-_007d_002c-expression-_007d-_007b-extrude_002dlist-_007d"></span> 7464</dt> 7465<dd><p>Extrude all elementary entities (points, curves or surfaces) in 7466<var>extrude-list</var> using a rotation. The first <var>expression-list</var> 7467should contain three <var>expression</var>s<!-- /@w --> giving the X, Y and Z 7468direction of the rotation axis; the second <var>expression-list</var> should 7469contain three <var>expression</var>s<!-- /@w --> giving the X, Y and Z components of 7470any point on this axis; the last <var>expression</var> should contain the 7471rotation angle (in radians). With the built-in geometry kernel the angle 7472should be strictly smaller than Pi. 7473</p> 7474</dd> 7475<dt><code>Extrude { { <var>expression-list</var> }, { <var>expression-list</var> }, { <var>expression-list</var> }, <var>expression</var> } { <var>extrude-list</var> }</code> 7476<span id="index-Extrude-_007b-_007b-expression_002dlist-_007d_002c-_007b-expression_002dlist-_007d_002c-_007b-expression_002dlist-_007d_002c-expression-_007d-_007b-extrude_002dlist-_007d"></span> 7477</dt> 7478<dd><p>Extrude all elementary entities (points, curves or surfaces) in 7479<var>extrude-list</var> using a translation combined with a rotation (to 7480produce a “twist”). The first <var>expression-list</var> should contain 7481three <var>expression</var>s<!-- /@w --> giving the X, Y and Z components of the 7482translation vector; the second <var>expression-list</var> should contain 7483three <var>expression</var>s<!-- /@w --> giving the X, Y and Z direction of the 7484rotation axis, which should match the direction of the translation; the 7485third <var>expression-list</var> should contain three <var>expression</var>s<!-- /@w --> 7486giving the X, Y and Z components of any point on this axis; the last 7487<var>expression</var> should contain the rotation angle (in radians), which 7488should be strictly smaller than Pi. Only available with the built-in 7489geometry kernel. 7490</p> 7491</dd> 7492<dt><code>Extrude { <var>extrude-list</var> }</code> 7493<span id="index-Extrude-_007b-extrude_002dlist-_007d"></span> 7494</dt> 7495<dd><p>Extrude entities in <var>extrude-list</var> using a translation along their 7496normal. Only available with the built-in geometry kernel. 7497</p> 7498</dd> 7499<dt><code>Extrude { <var>extrude-list</var> } Using Wire { <var>expression-list</var> }</code> 7500<span id="index-Extrude-_007b-extrude_002dlist-_007d-Using-Wire-_007b-expression_002dlist-_007d"></span> 7501</dt> 7502<dd><p>Extrude entities in <var>extrude-list</var> along the give wire. Only 7503available with the OpenCASCADE geometry kernel. 7504</p> 7505</dd> 7506<dt><code>ThruSections { <var>expression-list</var> }</code> 7507<span id="index-ThruSections-_007b-expression_002dlist-_007d"></span> 7508</dt> 7509<dd><p>Create surfaces through the given curve loops or 7510wires. <code>ThruSections</code> is only available with the OpenCASCADE 7511kernel. 7512</p> 7513</dd> 7514<dt><code>Ruled ThruSections { <var>expression-list</var> }</code> 7515<span id="index-Ruled-ThruSections-_007b-expression_002dlist-_007d"></span> 7516</dt> 7517<dd><p>Create ruled surfaces through the given curve loops or 7518wires. <code>Ruled ThruSections</code> is only available with the OpenCASCADE 7519kernel. 7520</p> 7521</dd> 7522<dt><code>Fillet { <var>expression-list</var> } { <var>expression-list</var> } { <var>expression-list</var> }</code> 7523<span id="index-Fillet-_007b-expression_002dlist-_007d-_007b-expression_002dlist-_007d-_007b-expression_002dlist-_007d"></span> 7524</dt> 7525<dd><p>Fillet volumes (first list) on some curves (second list), using the 7526provided radii (third list). The radius list can either contain a single 7527radius, as many radii as curves, or twice as many as curves (in which 7528case different radii are provided for the begin and end points of the 7529curves). <code>Fillet</code> is only available with the OpenCASCADE kernel. 7530</p> 7531</dd> 7532<dt><code>Chamfer { <var>expression-list</var> } { <var>expression-list</var> } { <var>expression-list</var> } { <var>expression-list</var> }</code> 7533<span id="index-Chamfer-_007b-expression_002dlist-_007d-_007b-expression_002dlist-_007d-_007b-expression_002dlist-_007d-_007b-expression_002dlist-_007d"></span> 7534</dt> 7535<dd><p>Chamfer volumes (first list) on some curves (second list), using the 7536provided distance (fourth list) measured on the given surfaces (third 7537list). The distance list can either contain a single distance, as many 7538distances as curves, or twice as many as curves (in which case the first 7539in each pair is measured on the given corresponding 7540surface). <code>Chamfer</code> is only available with the OpenCASCADE kernel. 7541</p></dd> 7542</dl> 7543 7544<p>with 7545</p> 7546<div class="example"> 7547<pre class="example"><var>extrude-list</var>: 7548 <Physical> Point | Curve | Surface { <var>expression-list-or-all</var> }; … 7549</pre></div> 7550 7551<p>As explained in <a href="#Floating-point-expressions">Floating point expressions</a>, <var>extrude</var> can 7552be used in an expression, in which case it returns a list of tags. By 7553default, the list contains the “top” of the extruded entity at index 0 7554and the extruded entity at index 1, followed by the “sides” of the 7555extruded entity at indices 2, 3, etc. For example: 7556</p> 7557<div class="example"> 7558<pre class="example"> Point(1) = {0,0,0}; 7559 Point(2) = {1,0,0}; 7560 Line(1) = {1, 2}; 7561 out[] = Extrude{0,1,0}{ Curve{1}; }; 7562 Printf("top curve = %g", out[0]); 7563 Printf("surface = %g", out[1]); 7564 Printf("side curves = %g and %g", out[2], out[3]); 7565</pre></div> 7566 7567<p>This behaviour can be changed with the 7568<code>Geometry.ExtrudeReturnLateralEntities</code> option (see <a href="#Geometry-options">Geometry options</a>). 7569</p> 7570 7571<hr> 7572<span id="Boolean-operations"></span><div class="header"> 7573<p> 7574Next: <a href="#Transformations" accesskey="n" rel="next">Transformations</a>, Previous: <a href="#Extrusions" accesskey="p" rel="prev">Extrusions</a>, Up: <a href="#Geometry-scripting-commands" accesskey="u" rel="up">Geometry scripting commands</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 7575</div> 7576<span id="Boolean-operations-1"></span><h4 class="subsection">5.2.6 Boolean operations</h4> 7577 7578<span id="index-Boolean-operations_002c-geometry"></span> 7579<span id="index-Geometry_002c-boolean-operations"></span> 7580<span id="index-Geometry_002c-intersection"></span> 7581<span id="index-Geometry_002c-difference"></span> 7582<span id="index-Geometry_002c-union"></span> 7583<span id="index-Geometry_002c-fragments"></span> 7584<span id="index-boolean"></span> 7585 7586<p>Boolean operations can be applied on curves, surfaces and volumes. All 7587boolean operation act on two lists of elementary entities. The first 7588list represents the object; the second represents the tool. The general 7589syntax for boolean operations is as follows: 7590</p> 7591<p><var>boolean</var>: 7592</p><dl compact="compact"> 7593<dt><code>BooleanIntersection { <var>boolean-list</var> } { <var>boolean-list</var> }</code> 7594<span id="index-BooleanIntersection-_007b-boolean_002dlist-_007d-_007b-boolean_002dlist-_007d"></span> 7595</dt> 7596<dd><p>Compute the intersection of the object and the tool. 7597</p></dd> 7598<dt><code>BooleanUnion { <var>boolean-list</var> } { <var>boolean-list</var> }</code> 7599<span id="index-BooleanUnion-_007b-boolean_002dlist-_007d-_007b-boolean_002dlist-_007d"></span> 7600</dt> 7601<dd><p>Compute the union of the object and the tool. 7602</p></dd> 7603<dt><code>BooleanDifference { <var>boolean-list</var> } { <var>boolean-list</var> }</code> 7604<span id="index-BooleanDifference-_007b-boolean_002dlist-_007d-_007b-boolean_002dlist-_007d"></span> 7605</dt> 7606<dd><p>Subtract the tool from the object. 7607</p></dd> 7608<dt><code>BooleanFragments { <var>boolean-list</var> } { <var>boolean-list</var> }</code> 7609<span id="index-BooleanFragments-_007b-boolean_002dlist-_007d-_007b-boolean_002dlist-_007d"></span> 7610</dt> 7611<dd><p>Compute all the fragments resulting from the intersection of the 7612entities in the object and in the tool, making all interfaces conformal. 7613When applied to entities of different dimensions, the lower dimensional 7614entities will be automatically embedded in the higher dimensional 7615entities if they are not on their boundary. 7616</p></dd> 7617</dl> 7618<p>with 7619</p><div class="example"> 7620<pre class="example"><var>boolean-list</var>: 7621 <Physical> Curve | Surface | Volume { <var>expression-list-or-all</var> }; … | 7622 Delete ; 7623</pre></div> 7624 7625<p>If <code>Delete</code> is specified in the <var>boolean-list</var>, the tool and/or 7626the object is deleted. 7627</p> 7628<p>As explained in <a href="#Floating-point-expressions">Floating point expressions</a>, <var>boolean</var> can 7629be used in an expression, in which case it returns the list of tags of 7630the highest dimensional entities created by the boolean operation. See 7631<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/boolean/">examples/boolean</a> for 7632examples. 7633</p> 7634<p>An alternative syntax exists for boolean operations, which can be used 7635when it is known beforehand that the operation will result in a single 7636(highest-dimensional) entity: 7637</p> 7638<p><var>boolean-explicit</var>: 7639</p><dl compact="compact"> 7640<dt><code>BooleanIntersection ( <var>expression</var> ) = { <var>boolean-list</var> } { <var>boolean-list</var> };</code> 7641<span id="index-BooleanIntersection-_0028-expression-_0029-_003d-_007b-boolean_002dlist-_007d-_007b-boolean_002dlist-_007d_003b"></span> 7642</dt> 7643<dd><p>Compute the intersection of the object and the tool and assign the 7644result the tag <var>expression</var>.
7645</p></dd> 7646<dt><code>BooleanUnion ( <var>expression</var> ) = { <var>boolean-list</var> } { <var>boolean-list</var> };</code> 7647<span id="index-BooleanUnion-_0028-expression-_0029-_003d-_007b-boolean_002dlist-_007d-_007b-boolean_002dlist-_007d_003b"></span> 7648</dt> 7649<dd><p>Compute the union of the object and the tool and assign the result 7650the tag <var>expression</var>. 7651</p></dd> 7652<dt><code>BooleanDifference ( <var>expression</var> ) = { <var>boolean-list</var> } { <var>boolean-list</var> };</code> 7653<span id="index-BooleanDifference-_0028-expression-_0029-_003d-_007b-boolean_002dlist-_007d-_007b-boolean_002dlist-_007d_003b"></span> 7654</dt> 7655<dd><p>Subtract the tool from the object and assign the result the 7656tag <var>expression</var>. 7657</p></dd> 7658</dl> 7659 7660<p>Again, see 7661<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/boolean/">examples/boolean</a> 7662for examples. 7663</p> 7664<p>Boolean operations are only available with the OpenCASCADE geometry kernel. 7665</p> 7666 7667<hr> 7668<span id="Transformations"></span><div class="header"> 7669<p> 7670Next: <a href="#Other-geometry-commands" accesskey="n" rel="next">Other geometry commands</a>, Previous: <a href="#Boolean-operations" accesskey="p" rel="prev">Boolean operations</a>, Up: <a href="#Geometry-scripting-commands" accesskey="u" rel="up">Geometry scripting commands</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 7671</div> 7672<span id="Transformations-1"></span><h4 class="subsection">5.2.7 Transformations</h4> 7673 7674<span id="index-Transformations_002c-geometry"></span> 7675<span id="index-Geometry_002c-transformations"></span> 7676<span id="index-Rotation"></span> 7677<span id="index-Scale"></span> 7678<span id="index-Symmetry"></span> 7679<span id="index-Translation"></span> 7680<span id="index-transform"></span> 7681 7682<p>Geometrical transformations can be applied to elementary entities, or to 7683copies of elementary entities (using the <code>Duplicata</code> command: see 7684below). The syntax of the transformation commands is: 7685</p> 7686<p><var>transform</var>: 7687</p><dl compact="compact"> 7688<dt><code>Dilate { { <var>expression-list</var> }, <var>expression</var> } { <var>transform-list</var> }</code> 7689<span id="index-Dilate-_007b-_007b-expression_002dlist-_007d_002c-expression-_007d-_007b-transform_002dlist-_007d"></span> 7690</dt> 7691<dd><p>Scale all elementary entities in <var>transform-list</var> by a factor 7692<var>expression</var>. The <var>expression-list</var> should contain three 7693<var>expression</var>s<!-- /@w --> giving the X, Y, and Z coordinates of the center 7694of the homothetic transformation. 7695</p> 7696</dd> 7697<dt><code>Dilate { { <var>expression-list</var> }, { <var>expression</var>, <var>expression</var>, <var>expression</var> } } { <var>transform-list</var> }</code> 7698<span id="index-Dilate-_007b-_007b-expression_002dlist-_007d_002c-_007b-expression_002c-expression_002c-expression-_007d-_007d-_007b-transform_002dlist-_007d"></span> 7699</dt> 7700<dd><p>Scale all elementary entities in <var>transform-list</var> using different 7701factors along X, Y and Z (the three <var>expression</var>s). The 7702<var>expression-list</var> should contain three <var>expression</var>s<!-- /@w --> giving 7703the X, Y, and Z coordinates of the center of the homothetic 7704transformation. 7705</p> 7706</dd> 7707<dt><code>Rotate { { <var>expression-list</var> }, { <var>expression-list</var> }, <var>expression</var> } { <var>transform-list</var> }</code> 7708<span id="index-Rotate-_007b-_007b-expression_002dlist-_007d_002c-_007b-expression_002dlist-_007d_002c-expression-_007d-_007b-transform_002dlist-_007d"></span> 7709</dt> 7710<dd><p>Rotate all elementary entities in <var>transform-list</var> by an angle of 7711<var>expression</var> radians. The first <var>expression-list</var> should contain 7712three <var>expression</var>s<!-- /@w --> giving the X, Y and Z direction of the 7713rotation axis; the second <var>expression-list</var> should contain three 7714<var>expression</var>s<!-- /@w --> giving the X, Y and Z components of any point on 7715this axis. 7716</p> 7717</dd> 7718<dt><code>Symmetry { <var>expression-list</var> } { <var>transform-list</var> }</code> 7719<span id="index-Symmetry-_007b-expression_002dlist-_007d-_007b-transform_002dlist-_007d"></span> 7720</dt> 7721<dd><p>Transform all elementary entities symmetrically to a plane. The 7722<var>expression-list</var> should contain four <var>expression</var>s<!-- /@w --> giving 7723the coefficients of the plane’s equation. 7724</p> 7725</dd> 7726<dt><code>Affine { <var>expression-list</var> } { <var>transform-list</var> }</code> 7727<span id="index-Affine-_007b-expression_002dlist-_007d-_007b-transform_002dlist-_007d"></span> 7728</dt> 7729<dd><p>Apply a 4 x 4 affine transformation matrix (16 entries given by row;
7730only 12 can be provided for convenience) to all elementary 7731entities. Currently only available with the OpenCASCADE kernel. 7732</p> 7733</dd> 7734<dt><code>Translate { <var>expression-list</var> } { <var>transform-list</var> }</code> 7735<span id="index-Translate-_007b-expression_002dlist-_007d-_007b-transform_002dlist-_007d"></span> 7736</dt> 7737<dd><p>Translate all elementary entities in <var>transform-list</var>. The 7738<var>expression-list</var> should contain three <var>expression</var>s<!-- /@w --> giving 7739the X, Y and Z components of the translation vector. 7740</p> 7741</dd> 7742<dt><code>Boundary { <var>transform-list</var> }</code> 7743<span id="index-Boundary-_007b-transform_002dlist-_007d"></span> 7744</dt> 7745<dd><p>(Not a transformation per-se.) Return the entities on the boundary of 7746the elementary entities in <var>transform-list</var>. This operation triggers a synchronization of the CAD model with the internal Gmsh model. 7747</p> 7748</dd> 7749<dt><code>OrientedBoundary { <var>transform-list</var> }</code> 7750<span id="index-OrientedBoundary-_007b-transform_002dlist-_007d"></span> 7751</dt> 7752<dd><p>(Not a transformation per-se.) Same as <code>Boundary</code>, but returns 7753entity tags with signs indicating their orientation in the boundary. 7754</p> 7755</dd> 7756<dt><code>CombinedBoundary { <var>transform-list</var> }</code> 7757<span id="index-CombinedBoundary-_007b-transform_002dlist-_007d"></span> 7758</dt> 7759<dd><p>(Not a transformation per-se.) Return the boundary of the elementary 7760entities, combined as if a single entity, in 7761<var>transform-list</var>. Useful to compute the boundary of a complex part. 7762This operation triggers a synchronization of the CAD model with the internal Gmsh model. 7763</p> 7764</dd> 7765<dt><code>OrientedCombinedBoundary { <var>transform-list</var> }</code> 7766<span id="index-OrientedCombinedBoundary-_007b-transform_002dlist-_007d"></span> 7767</dt> 7768<dd><p>(Not a transformation per-se.) Same as <code>CombinedBoundary</code>, but 7769returns entity tags with signs indicating their orientation in the 7770boundary. 7771</p> 7772</dd> 7773<dt><code>PointsOf { <var>transform-list</var> }</code> 7774<span id="index-PointsOf-_007b-transform_002dlist-_007d"></span> 7775</dt> 7776<dd><p>(Not a transformation per-se.) Return all the geometrical points on the 7777boundary of the elementary entities. Useful to compute the boundary of a 7778complex part. This operation triggers a synchronization of the CAD model with the internal Gmsh model. 7779</p> 7780</dd> 7781<dt><code>Closest { <var>expression-list</var> } { <var>transform-list</var> }</code> 7782<span id="index-Closest-_007b-expression_002dlist-_007d-_007b-transform_002dlist-_007d"></span> 7783</dt> 7784<dd><p>(Not a transformation per-se.) Return the entities from 7785<var>transform-list</var> ordered by their distance to the point with 7786coordinates <var>expression-list</var>. Currently only available with the 7787OpenCASCADE kernel. 7788</p> 7789</dd> 7790<dt><code>Intersect Curve { <var>expression-list</var> } Surface { <var>expression</var> }</code> 7791<span id="index-Intersect-Curve-_007b-expression_002dlist-_007d-Surface-_007b-expression-_007d"></span> 7792</dt> 7793<dd><p>(Not a transformation per-se.) Return the intersections of the curves 7794given in <var>expression-list</var> with the specified surface. Currently 7795only available with the built-in kernel. 7796</p> 7797</dd> 7798<dt><code>Split Curve { <var>expression</var> } Point { <var>expression-list</var> }</code> 7799<span id="index-Split-Curve-_007b-expression-_007d-Point-_007b-expression_002dlist-_007d"></span> 7800</dt> 7801<dd><p>(Not a transformation per-se.) Split the curve <var>expression</var> on the 7802specified control points. Only available with the built-in kernel, for 7803splines and BSplines. </p></dd> 7804</dl> 7805 7806<p>with 7807</p> 7808<div class="example"> 7809<pre class="example"><var>transform-list</var>: 7810 <Physical> Point | Curve | Surface | Volume 7811 { <var>expression-list-or-all</var> }; … | 7812 Duplicata { <Physical> Point | Curve | Surface | Volume 7813 { <var>expression-list-or-all</var> }; … } | 7814 <var>transform</var> 7815</pre></div> 7816 7817 7818<hr> 7819<span id="Other-geometry-commands"></span><div class="header"> 7820<p> 7821Previous: <a href="#Transformations" accesskey="p" rel="prev">Transformations</a>, Up: <a href="#Geometry-scripting-commands" accesskey="u" rel="up">Geometry scripting commands</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 7822</div> 7823<span id="Other-geometry-commands-1"></span><h4 class="subsection">5.2.8 Other geometry commands</h4> 7824 7825<p>Here is a list of all other geometry commands currently available: 7826</p> 7827<dl compact="compact"> 7828<dt><code>Coherence;</code> 7829<span id="index-Coherence_003b"></span> 7830</dt> 7831<dd><p>Remove all duplicate elementary entities (e.g., points having identical 7832coordinates). Note that with the built-in geometry kernel Gmsh executes 7833the <code>Coherence</code> command automatically after each geometrical 7834transformation, unless <code>Geometry.AutoCoherence</code> is set to zero 7835(see <a href="#Geometry-options">Geometry options</a>). With the OpenCASCADE geometry kernel, 7836<code>Coherence</code> is simply a shortcut for a <code>BooleanFragments</code> 7837operation on all entities, with the <code>Delete</code> operator applied to 7838all operands. 7839</p> 7840</dd> 7841<dt><code>HealShapes;</code> 7842<span id="index-HealShapes_003b"></span> 7843</dt> 7844<dd><p>Apply the shape healing procedure(s), according to 7845<code>Geometry.OCCFixDegenerated</code>, <code>Geometry.OCCFixSmallEdges</code>, 7846<code>Geometry.OCCFixSmallFaces</code>, <code>Geometry.OCCSewFaces</code>, 7847<code>Geometry.OCCMakeSolids</code>. Only available with the OpenCASCADE 7848geometry kernel. 7849</p> 7850</dd> 7851<dt><code>< Recursive > Delete { <Physical> Point | Curve | Surface | Volume { <var>expression-list-or-all</var> }; … }</code> 7852<span id="index-_003c-Recursive-_003e-Delete-_007b-_003cPhysical_003e-Point-_007c-Curve-_007c-Surface-_007c-Volume-_007b-expression_002dlist_002dor_002dall-_007d_003b-_2026-_007d"></span> 7853</dt> 7854<dd><p>Delete all elementary entities whose tags are given in 7855<var>expression-list-or-all</var>. If an entity is linked to another entity 7856(for example, if a point is used as a control point of a curve), 7857<code>Delete</code> has no effect (the curve will have to be deleted before 7858the point can). The <code>Recursive</code> variant deletes the entities as 7859well as all its sub-entities of lower dimension. This operation triggers a synchronization of the CAD model with the internal Gmsh model. 7860</p> 7861</dd> 7862<dt><code>Delete Embedded { <Physical> Point | Curve | Surface | Volume { <var>expression-list-or-all</var> }; … }</code> 7863<span id="index-Delete-Embedded-_007b-_003cPhysical_003e-Point-_007c-Curve-_007c-Surface-_007c-Volume-_007b-expression_002dlist_002dor_002dall-_007d_003b-_2026-_007d"></span> 7864</dt> 7865<dd><p>Delete all the embedded entities in the elementary entities whose tags 7866are given in <var>expression-list-or-all</var>. This operation triggers a synchronization of the CAD model with the internal Gmsh model. 7867</p> 7868</dd> 7869<dt><code>SetMaxTag Point | Curve | Surface | Volume ( <var>expression</var> )</code> 7870<span id="index-SetMaxTag-Point-_007c-Curve-_007c-Surface-_007c-Volume-_0028-expression-_0029"></span> 7871</dt> 7872<dd><p>Force the maximum tag for a category of entities to a given value, so 7873that subsequently created entities in the same category will not have 7874tags smaller than the given value. 7875</p> 7876</dd> 7877<dt><code>< Recursive > Hide { <Physical> Point | Curve | Surface | Volume { <var>expression-list-or-all</var> }; … }</code> 7878<span id="index-_003c-Recursive-_003e-Hide-_007b-_003cPhysical_003e-Point-_007c-Curve-_007c-Surface-_007c-Volume-_007b-expression_002dlist_002dor_002dall-_007d_003b-_2026-_007d"></span> 7879</dt> 7880<dd><p>Hide the entities listed in <var>expression-list-or-all</var>. 7881</p> 7882</dd> 7883<dt><code>Hide { : }</code> 7884<span id="index-Hide-_007b-_003a-_007d"></span> 7885</dt> 7886<dd><p>Hide all entities. 7887</p> 7888</dd> 7889<dt><code>< Recursive > Show { <Physical> Point | Curve | Surface | Volume { <var>expression-list-or-all</var> }; … }</code> 7890<span id="index-_003c-Recursive-_003e-Show-_007b-_003cPhysical_003e-Point-_007c-Curve-_007c-Surface-_007c-Volume-_007b-expression_002dlist_002dor_002dall-_007d_003b-_2026-_007d"></span> 7891</dt> 7892<dd><p>Show the entities listed in <var>expression-list-or-all</var>. 7893</p> 7894</dd> 7895<dt><code>Show { : }</code> 7896<span id="index-Show-_007b-_003a-_007d"></span> 7897</dt> 7898<dd><p>Show all entities. 7899</p> 7900</dd> 7901<dt><code>Sphere | PolarSphere ( <var>expression</var> ) = {<var>expression</var>, <var>expression</var>};</code> 7902<span id="index-Sphere-_007c-PolarSphere-_0028-expression-_0029-_003d-_007bexpression_002c-expression_007d_003b"></span> 7903</dt> 7904<dd><p>Change the current (surface) geometry used by the built-in geometry kernel to a (polar) sphere, defined by the two point tags specified on the right hand side. The <var>expression</var> between parentheses on the left hand side specifies a new unique tag for this geometry. 7905</p> 7906</dd> 7907<dt><code>Parametric Surface ( <var>expression</var> ) = "<var>string</var>" "<var>string</var>" "<var>string</var>";</code> 7908<span id="index-Parametric-Surface-_0028-expression-_0029-_003d-_0022string_0022-_0022string_0022-_0022string_0022_003b"></span> 7909</dt> 7910<dd><p>Change the current (surface) geometry used by the built-in geometry kernel to a parametric surface defined by the three strings expression evaluating to the x, y and z coordinates. The <var>expression</var> between parentheses on the left hand side specifies a new unique tag for this geometry. 7911</p> 7912</dd> 7913<dt><code>Coordinates Surface <var>expression</var>;</code> 7914<span id="index-Coordinates-Surface-expression_003b"></span> 7915</dt> 7916<dd><p>Change the current (surface) geometry used by the built-in geometry kernel to the geometry identified by the given <var>expression</var>.
7917</p> 7918</dd> 7919<dt><code>Euclidian Coordinates ;</code> 7920<span id="index-Euclidian-Coordinates-_003b"></span> 7921</dt> 7922<dd><p>Restore the default planar geometry for the built-in geometry kernel. 7923</p> 7924</dd> 7925</dl> 7926 7927 7928<hr> 7929<span id="Mesh-scripting-commands"></span><div class="header"> 7930<p> 7931Next: <a href="#Post_002dprocessing-scripting-commands" accesskey="n" rel="next">Post-processing scripting commands</a>, Previous: <a href="#Geometry-scripting-commands" accesskey="p" rel="prev">Geometry scripting commands</a>, Up: <a href="#Gmsh-scripting-language" accesskey="u" rel="up">Gmsh scripting language</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 7932</div> 7933<span id="Mesh-scripting-commands-1"></span><h3 class="section">5.3 Mesh scripting commands</h3> 7934 7935<span id="index-Mesh_002c-scripting-commands"></span> 7936<span id="index-Scripting-commands_002c-Mesh"></span> 7937 7938<p>The mesh module scripting commands allow to modify the mesh element 7939sizes and specify structured grid parameters. Certain meshing actions 7940(e.g. “mesh all the surfaces”) can also be specified in the script 7941files, but are usually performed either in the GUI or on the command 7942line (see <a href="#Gmsh-graphical-user-interface">Gmsh graphical user interface</a>, and <a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a>). 7943</p> 7944<table class="menu" border="0" cellspacing="0"> 7945<tr><td align="left" valign="top">• <a href="#Mesh-element-sizes" accesskey="1">Mesh element sizes</a></td><td> </td><td align="left" valign="top"> 7946</td></tr> 7947<tr><td align="left" valign="top">• <a href="#Structured-grids" accesskey="2">Structured grids</a></td><td> </td><td align="left" valign="top"> 7948</td></tr> 7949<tr><td align="left" valign="top">• <a href="#Other-mesh-commands" accesskey="3">Other mesh commands</a></td><td> </td><td align="left" valign="top"> 7950</td></tr> 7951</table> 7952 7953 7954<hr> 7955<span id="Mesh-element-sizes"></span><div class="header"> 7956<p> 7957Next: <a href="#Structured-grids" accesskey="n" rel="next">Structured grids</a>, Previous: <a href="#Mesh-scripting-commands" accesskey="p" rel="prev">Mesh scripting commands</a>, Up: <a href="#Mesh-scripting-commands" accesskey="u" rel="up">Mesh scripting commands</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 7958</div> 7959<span id="Mesh-element-sizes-1"></span><h4 class="subsection">5.3.1 Mesh element sizes</h4> 7960 7961<p>Here are the mesh commands that are related to the specification of 7962mesh element sizes: 7963</p> 7964<dl compact="compact"> 7965<dt><code>MeshSize { <var>expression-list</var> } = <var>expression</var>;</code> 7966<span id="index-MeshSize-_007b-expression_002dlist-_007d-_003d-expression_003b"></span> 7967</dt> 7968<dd><p>Modify the prescribed mesh element size of the points whose 7969tags are listed in <var>expression-list</var>. The new 7970value is given by <var>expression</var>. 7971</p></dd> 7972<dt><code>Field[<var>expression</var>] = <var>string</var>;</code> 7973<span id="index-Field_005bexpression_005d-_003d-string_003b"></span> 7974</dt> 7975<dd><p>Create a new field (with tag <var>expression</var>), of type 7976<var>string</var>. 7977</p></dd> 7978<dt><code>Field[<var>expression</var>].<var>string</var> = <var>string-expression</var> | <var>expression</var> | <var>expression-list</var>;</code> 7979<span id="index-Field_005bexpression_005d_002estring-_003d-string_002dexpression-_007c-expression-_007c-expression_002dlist_003b"></span> 7980</dt> 7981<dd><p>Set the option <var>string</var> of the <var>expression</var>-th field. 7982</p></dd> 7983<dt><code>Background Field = <var>expression</var>;</code> 7984<span id="index-Background-Field-_003d-expression_003b"></span> 7985</dt> 7986<dd><p>Select the <var>expression</var>-th field as the one used to compute element 7987sizes. Only one background field can be given; if you want to combine 7988several field, use the <code>Min</code> or <code>Max</code> field (see below). 7989</p></dd> 7990</dl> 7991 7992 7993<hr> 7994<span id="Structured-grids"></span><div class="header"> 7995<p> 7996Next: <a href="#Other-mesh-commands" accesskey="n" rel="next">Other mesh commands</a>, Previous: <a href="#Mesh-element-sizes" accesskey="p" rel="prev">Mesh element sizes</a>, Up: <a href="#Mesh-scripting-commands" accesskey="u" rel="up">Mesh scripting commands</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 7997</div> 7998<span id="Structured-grids-1"></span><h4 class="subsection">5.3.2 Structured grids</h4> 7999 8000<span id="index-Extrusion_002c-mesh"></span> 8001<span id="index-Mesh_002c-extrusion"></span> 8002<span id="index-Transfinite_002c-mesh"></span> 8003<span id="index-Mesh_002c-transfinite"></span> 8004 8005<dl compact="compact"> 8006<dt><code>Extrude { <var>expression-list</var> } { <var>extrude-list</var> <var>layers</var> }</code> 8007<span id="index-Extrude-_007b-expression_002dlist-_007d-_007b-extrude_002dl
8007ist-layers-_007d"></span> 8008</dt> 8009<dd><p>Extrude both the geometry and the mesh using a translation 8010(see <a href="#Extrusions">Extrusions</a>). The <var>layers</var> option determines how the mesh is 8011extruded and has the following syntax: 8012</p> 8013<div class="example"> 8014<pre class="example"><var>layers</var>: 8015</pre><pre class="example"> Layers { <var>expression</var> } | 8016 Layers { { <var>expression-list</var> }, { <var>expression-list</var> } } | 8017 Recombine < <var>expression</var> >; … 8018 QuadTriNoNewVerts <RecombLaterals>; | 8019 QuadTriAddVerts <RecombLaterals>; ... 8020</pre></div> 8021 8022<p>In the first <code>Layers</code> form, <var>expression</var> gives the number of 8023elements to be created in the (single) layer. In the second form, the 8024first <var>expression-list</var> defines how many elements should be created 8025in each extruded layer, and the second <var>expression-list</var> gives the 8026normalized height of each layer (the list should contain a sequence of 8027<var>n</var> numbers 0 < <var>h1</var> < <var>h2</var> < … < <var>hn</var> <= 1). See 8028<a href="#t3">t3</a>, for an example. 8029</p> 8030<p>For curve extrusions, the <code>Recombine</code> option will recombine triangles 8031into quadrangles when possible. For surface extrusions, the 8032<code>Recombine</code> option will recombine tetrahedra into prisms, hexahedra or 8033pyramids. 8034</p> 8035<p>Please note that, starting with Gmsh 2.0, region tags cannot be 8036specified explicitly anymore in <code>Layers</code> commands. Instead, as with 8037all other geometry commands, you must use the automatically created 8038entity identifier created by the extrusion command. For example, the 8039following extrusion command will return the tag of the new “top” 8040surface in <code>num[0]</code> and the tag of the new volume in <code>num[1]</code>: 8041</p><div class="example"> 8042<pre class="example">num[] = Extrude {0,0,1} { Surface{1}; Layers{10}; }; 8043</pre></div> 8044 8045<p><code>QuadTriNoNewVerts</code> and <code>QuadTriAddVerts</code> allow to connect 8046structured, extruded volumes containing quadrangle-faced elements to 8047structured or unstructured tetrahedral volumes, by subdividing into 8048triangles any quadrangles on boundary surfaces shared with tetrahedral 8049volumes. (They have no effect for 1D or 2D extrusions.) 8050<code>QuadTriNoNewVerts</code> subdivides any of the region’s quad-faced 3D 8051elements that touch these boundary triangles into pyramids, prisms, or 8052tetrahedra as necessary, all without adding new 8053nodes. <code>QuadTriAddVerts</code> works in a similar way, but subdivides 3D 8054elements touching the boundary triangles by adding a new node inside 8055each element at the node-based centroid. Either method results in a 8056structured extrusion with an outer layer of subdivided elements that 8057interface the inner, unmodified elements to the triangle-meshed region 8058boundaries. 8059</p> 8060<p>In some rare cases, due to certain lateral boundary conditions, it may 8061not be possible make a valid element subdivision with 8062<code>QuadTriNoNewVerts</code> without adding additional nodes. In this 8063case, an internal node is created at the node-based centroid of the 8064element. The element is then divided using that node. When an internal 8065node is created with <code>QuadTriNoNewVerts</code>, the user is alerted by 8066a warning message sent for each instance; however, the mesh will still 8067be valid and conformal. 8068</p> 8069<p>Both <code>QuadTriNoNewVerts</code> and <code>QuadTriAddVerts</code> can be used 8070with the optional <code>RecombLaterals</code> keyword. By default, the QuadTri 8071algorithms will mesh any free laterals as triangles, if 8072possible. <code>RecombLaterals</code> forces any free laterals to remain as 8073quadrangles, if possible. Lateral surfaces between two QuadTri regions 8074will always be meshed as quadrangles. 8075</p> 8076<p>Note that the QuadTri algorithms will handle all potential meshing 8077conflicts along the lateral surfaces of the extrusion. In other words, 8078QuadTri will not subdivide a lateral that must remain as quadrangles, 8079nor will it leave a lateral as quadrangles if it <em>must</em> be divided. 8080The user should therefore feel free to mix different types of 8081neighboring regions with a QuadTri meshed region; the mesh should work. 8082However, be aware that the top surface of the QuadTri extrusion will 8083always be meshed as triangles, unless it is extruded back onto the 8084original source in a toroidal loop (a case which also works with 8085QuadTri). 8086</p> 8087<p><code>QuadTriNoNewVerts</code> and <code>QuadTriAddVerts</code> may be used 8088interchangeably, but <code>QuadTriAddVerts</code> often gives better element 8089quality. 8090</p> 8091<p>If the user wishes to interface a structured extrusion to a tetrahedral 8092volume without modifying the original structured mesh, the user may 8093create dedicated interface volumes around the structured geometry and 8094apply a QuadTri algorithm to those volumes only. 8095</p> 8096</dd> 8097<dt><code>Extrude { { <var>expression-list</var> }, { <var>expression-list</var> }, <var>expression</var> } { <var>extrude-list</var> <var>layers</var> }</code> 8098<span id="index-Extrude-_007b-_007b-expression_002dlist-_007d_002c-_007b-expression_002dlist-_007d_002c-expression-_007d-_007b-extrude_002dl
8098ist-layers-_007d"></span> 8099</dt> 8100<dd><p>Extrude both the geometry and the mesh using a rotation 8101(see <a href="#Extrusions">Extrusions</a>). The <var>layers</var> option is defined as above. With 8102the built-in geometry kernel the angle should be strictly smaller than 8103Pi. With the OpenCASCADE kernel the angle should be strictly smaller 8104than 2 Pi. 8105</p> 8106</dd> 8107<dt><code>Extrude { { <var>expression-list</var> }, { <var>expression-list</var> }, { <var>expression-list</var> }, <var>expression</var> } { <var>extrude-list</var> <var>layers</var> }</code> 8108<span id="index-Extrude-_007b-_007b-expression_002dlist-_007d_002c-_007b-expression_002dlist-_007d_002c-_007b-expression_002dlist-_007d_002c-expression-_007d-_007b-extrude_002dlist-layers-_007d"></span> 8109</dt> 8110<dd><p>Extrude both the geometry and the mesh using a combined translation and 8111rotation (see <a href="#Extrusions">Extrusions</a>). The <var>layers</var> option is defined as 8112above. With the built-in geometry kernel the angle should be strictly 8113smaller than Pi. With the OpenCASCADE kernel the angle should be 8114strictly smaller than 2 Pi. 8115</p> 8116</dd> 8117<dt><code>Extrude { Surface { <var>expression-list</var> }; <var>layers</var> < Using Index[<var>expr</var>]; > < Using View[<var>expr</var>]; > < ScaleLastLayer; > }</code> 8118<span id="index-Extrude-_007b-Surface-_007b-expression_002dlist-_007d_003b-layers-_003c-Using-Index_005bexpr_005d_003b-_003e-_003c-Using-View_005bexpr_005d_003b-_003e-_003c-ScaleLastLayer_003b-_003e-_007d"></span> 8119</dt> 8120<dd><p>Extrude a “topological” boundary layer from the specified surfaces. If 8121no view is specified, the mesh of the boundary layer entities is created 8122using a gouraud-shaded (smoothed) normal field. If a scalar view is 8123specified, it locally prescribes the thickness of the layer. If a 8124vector-valued view is specified it locally prescribes both the extrusion 8125direction and the thickness. Specifying a boundary layer index allows to 8126extrude several independent boundary layers (with independent normal 8127smoothing). <code>ScaleLastLayer</code> scales the height of the last (top) 8128layer of each normal’s extrusion by the average length of the edges in 8129all the source elements that contain the source node (actually, the 8130average of the averages for each element–edges actually touching the 8131source node are counted twice). This allows the height of the last layer 8132to vary along with the size of the source elements in order to achieve 8133better element quality. For example, in a boundary layer extruded with 8134the Layers definition ’Layers{ {1,4,2}, {0.5, 0.6, 1.6} },’ a 8135source node adjacent to elements with an overall average edge length of 81365.0 will extrude to have a last layer height = (1.6-0.6) * 5.0 = 81375.0. Topological boundary layers are only available with the built-in 8138kernel. See 8139<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/benchmarks/extrude/sphere_boundary_layer.geo">sphere_boundary_layer.geo</a> 8140or 8141<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/benchmarks/extrude/sphere_boundary_layer_from_view.geo">sphere_boundary_layer_from_view.geo</a> 8142for <samp>.geo</samp> file examples, and 8143<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/aneurysm.py">aneurysm.py</a> for an API 8144example. 8145</p> 8146<p>The advantage of this approach is that it provides a topological 8147description of the boundary layer, which means that it can be connected 8148to other geometrical entities. The disadvantage is that the mesh is just 8149a “simple” extrusion: no fans, no special treatments of reentrant 8150corners, etc. Another boundary layer algorithm is currently available 8151through the <code>BoundaryLayer</code> field (see <a href="#Specifying-mesh-element-sizes">Specifying mesh element sizes</a>). It only works in 2D however, and is a meshing constraint: it 8152works directly at the mesh level, without creating geometrical 8153entities. See 8154e.g. <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/benchmarks/2d/BL0.geo">BL0.geo</a> or 8155<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/benchmarks/2d/naca12_2d.geo">naca12_2d.geo</a>. 8156</p> 8157</dd> 8158<dt><code>Transfinite Curve { <var>expression-list-or-all</var> } = <var>expression</var> < Using Progression | Bump <var>expression</var> >;</code> 8159<span id="index-Transfinite-Curve-_007b-expression_002dlist_002dor_002dall-_007d-_003d-expression-_003c-Using-Progression-_007c-Bump-expression-_003e_003b"></span> 8160</dt> 8161<dd><p>Select the curves in <var>expression-list</var> to be meshed with the 1D 8162transfinite algorithm. The <var>expression</var> on the right hand side gives 8163the number of nodes that will be created on the curve (this overrides 8164any other mesh element size prescription—see <a href="#Specifying-mesh-element-sizes">Specifying mesh element sizes</a>). The optional argument ‘<code>Using Progression 8165<var>expression</var></code>’ instructs the transfinite algorithm to distribute the 8166nodes following a geometric progression (<code>Progression 2</code> meaning 8167for example that each line element in the series will be twice as long 8168as the preceding one). The optional argument ‘<code>Using Bump 8169<var>expression</var></code>’ instructs the transfinite algorithm to distribute the 8170nodes with a refinement at both ends of the curve. This operation triggers a synchronization of the CAD model with the internal Gmsh model. 8171</p> 8172</dd> 8173<dt><code>Transfinite Surface { <var>expression-list-or-all</var> } < = { <var>expression-list</var> } > < Left | Right | Alternate | AlternateRight | AlternateLeft > ;</code> 8174<span id="index-Transfinite-Surface-_007b-expression_002dlist_002dor_002dall-_007d-_003c-_003d-_007b-expression_002dlist-_007d-_003e-_003c-Left-_007c-Right-_007c-Alternate-_007c-AlternateRight-_007c-AlternateLeft-_003e-_003b"></span> 8175</dt> 8176<dd><p>Select surfaces to be meshed with the 2D transfinite algorithm. The 8177<var>expression-list</var> on the right-hand-side should contain the tags of 8178three or four points on the boundary of the surface that define the 8179corners of the transfinite interpolation. If no tags are given, the 8180transfinite algorithm will try to find the corners automatically. The 8181optional argument specifies the way the triangles are oriented when the 8182mesh is not recombined. <code>Alternate</code> is a synonym for 8183<code>AlternateRight</code>. For 3-sided surfaces a specific algorithm can be 8184used to generate structured triangular by setting 8185<code>Mesh.TransfiniteTri</code> to 1. Examples can be found in 8186<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/benchmarks/transfinite">benchmarks/transfinite</a>. 8187This operation triggers a synchronization of the CAD model with the internal Gmsh model. 8188</p> 8189</dd> 8190<dt><code>Transfinite Volume { <var>expression-list</var> } < = { <var>expression-list</var> } > ;</code> 8191<span id="index-Transfinite-Volume-_007b-expression_002dlist-_007d-_003c-_003d-_007b-expression_002dlist-_007d-_003e-_003b"></span> 8192</dt> 8193<dd><p>Select five- or six-face volumes to be meshed with the 3D transfinite 8194algorithm. The <var>expression-list</var> on the right-hand-side should 8195contain the tags of the six or eight points on the boundary of the 8196volume that define the corners of the transfinite interpolation. If no 8197tags are given, the transfinite algorithm will try to find the corners 8198automatically. This operation triggers a synchronization of the CAD model with the internal Gmsh model. 8199</p> 8200</dd> 8201<dt><code>TransfQuadTri { <var>expression-list</var> } ;</code> 8202<span id="index-TransfQuadTri-_007b-expression_002dlist-_007d-_003b"></span> 8203</dt> 8204<dd><p>Apply the transfinite QuadTri algorithm on the <var>expression-list</var> 8205list of volumes. A transfinite volume with any combination of 8206recombined and un-recombined transfinite boundary surfaces is valid when 8207meshed with <code>TransfQuadTri</code>. When applied to non-Transfinite 8208volumes, TransfQuadTri has no effect on those volumes. This operation triggers a synchronization of the CAD model with the internal Gmsh model. 8209</p> 8210</dd> 8211</dl> 8212 8213 8214 8215 8216<hr> 8217<span id="Other-mesh-commands"></span><div class="header"> 8218<p> 8219Previous: <a href="#Structured-grids" accesskey="p" rel="prev">Structured grids</a>, Up: <a href="#Mesh-scripting-commands" accesskey="u" rel="up">Mesh scripting commands</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 8220</div> 8221<span id="Other-mesh-commands-1"></span><h4 class="subsection">5.3.3 Other mesh commands</h4> 8222 8223<p>Here is a list of all other mesh commands currently available: 8224</p> 8225<dl compact="compact"> 8226<dt><code>Mesh <var>expression</var>;</code> 8227<span id="index-Mesh-expression_003b"></span> 8228</dt> 8229<dd><p>Generate <var>expression</var>-D mesh. This operation triggers a synchronization of the CAD model with the internal Gmsh model. 8230</p> 8231</dd> 8232<dt><code>TransformMesh { <var>expression-list</var> };</code> 8233<span id="index-TransformMesh-_007b-expression_002dlist-_007d_003b"></span> 8234</dt> 8235<dd><p>Transform all the node coordinates in the current mesh using the 4x4 8236affine transformation matrix given by row (only 12 entries can be
8237provided for convenience). 8238</p> 8239</dd> 8240<dt><code>TransformMesh { <var>expression-list</var> } { <var>transform-list</var> };</code> 8241<span id="index-TransformMesh-_007b-expression_002dlist-_007d-_007b-transform_002dlist-_007d_003b"></span> 8242</dt> 8243<dd><p>Transform the node coordinates in the current mesh of all the elementary 8244entities in <var>transform-list</var> using the 4x4 affine transformation 8245matrix given by row (only 12 entries can be provided for convenience). 8246</p> 8247</dd> 8248<dt><code>RefineMesh;</code> 8249<span id="index-RefineMesh_003b"></span> 8250</dt> 8251<dd><p>Refine the current mesh by splitting all elements. If 8252<code>Mesh.SecondOrderLinear</code> is set, the new nodes are inserted by 8253linear interpolation. Otherwise they are snapped on the actual 8254geometry. This operation triggers a synchronization of the CAD model with the internal Gmsh model. 8255</p> 8256</dd> 8257<dt><code>OptimizeMesh <var>string-expression</var>;</code> 8258<span id="index-OptimizeMesh-string_002dexpression_003b"></span> 8259</dt> 8260<dd><p>Optimize the current mesh with the given algorithm (currently 8261<code>"Gmsh"</code> for default tetrahedral mesh optimizer, <code>"Netgen"</code> 8262for Netgen optimizer, <code>"HighOrder"</code> for direct high-order mesh 8263optimizer, <code>"HighOrderElastic"</code> for high-order elastic smoother, 8264<code>"HighOrderFastCurving"</code> for fast curving algorithm, 8265<code>"UntangleTets''</code> for untangling tetrahedral meshes, 8266<code>"UntangleTris''</code> for untangling xy-planar triangular meshes, 8267<code>"Laplace2D"</code> for Laplace smoothing, <code>"Relocate2D"</code> and 8268<code>"Relocate3D"</code> for node relocation). 8269</p> 8270</dd> 8271<dt><code>AdaptMesh { <var>expression-list</var> } { <var>expression-list</var> } { { <var>expression-list</var> < , … > } };</code> 8272<span id="index-AdaptMesh-_007b-expression_002dlist-_007d-_007b-expression_002dlist-_007d-_007b-_007b-expression_002dlist-_003c-_002c-_2026-_003e-_007d-_007d_003b"></span> 8273</dt> 8274<dd><p>Perform adaptive mesh generation. Documentation not yet available. 8275</p> 8276</dd> 8277<dt><code>RelocateMesh Point | Curve | Surface { <var>expression-list-or-all</var> };</code> 8278<span id="index-RelocateMesh-Point-_007c-Curve-_007c-Surface-_007b-expression_002dlist_002dor_002dall-_007d_003b"></span> 8279</dt> 8280<dd><p>Relocate the mesh nodes on the given entities using the parametric 8281coordinates stored in the nodes. Useful for creating perturbation of 8282meshes e.g. for sensitivity analyzes. This operation triggers a synchronization of the CAD model with the internal Gmsh model. 8283</p> 8284</dd> 8285<dt><code>RecombineMesh;</code> 8286<span id="index-RecombineMesh_003b"></span> 8287</dt> 8288<dd><p>Recombine the current mesh into quadrangles. This operation triggers a synchronization of the CAD model with the internal Gmsh model. 8289</p> 8290</dd> 8291<dt><code>SetOrder <var>expression</var>;</code> 8292<span id="index-SetOrder-expression_003b"></span> 8293</dt> 8294<dd><p>Change the order of the elements in the current mesh. 8295</p> 8296</dd> 8297<dt><code>PartitionMesh <var>expression</var>;</code> 8298<span id="index-PartitionMesh-expression_003b"></span> 8299</dt> 8300<dd><p>Partition the mesh into <var>expression</var>, using current partitioning options. 8301</p> 8302</dd> 8303<dt><code>Point | Curve { <var>expression-list</var> } In Surface { <var>expression</var> };</code> 8304<span id="index-Point-_007c-Curve-_007b-expression_002dlist-_007d-In-Surface-_007b-expression-_007d_003b"></span> 8305</dt> 8306<dd><p>Add a meshing constraint to embed the point(s) or curve(s) in the given 8307surface. The surface mesh will conform to the mesh of the point(s) or 8308curves(s). This operation triggers a synchronization of the CAD model with the internal Gmsh model. 8309</p> 8310</dd> 8311<dt><code>Point | Curve | Surface { <var>expression-list</var> } In Volume { <var>expression</var> };</code> 8312<span id="index-Point-_007c-Curve-_007c-Surface-_007b-expression_002dlist-_007d-In-Volume-_007b-expression-_007d_003b"></span> 8313</dt> 8314<dd><p>Add a meshing constraint to embed the point(s), curve(s) or surface(s) 8315in the given volume. The volume mesh will conform to the mesh of the 8316corresponding point(s), curve(s) or surface(s). This is only supported 8317with the 3D Delaunay algorithms. This operation triggers a synchronization of the CAD model with the internal Gmsh model. 8318</p> 8319</dd> 8320<dt><code>Periodic Curve { <var>expression-list</var> } = { <var>expression-list</var> } ;</code> 8321<span id="index-Periodic-Curve-_007b-expression_002dlist-_007d-_003d-_007b-expression_002dlist-_007d-_003b"></span> 8322</dt> 8323<dd><p>Add a meshing constraint to force the mesh of the curves on the 8324left-hand side to match the mesh of the curves on the right-hand side
8325(masters). If used after meshing, generate the periodic node 8326correspondence information assuming the mesh of the curves on the 8327left-hand side effectively matches the mesh of the curves on the 8328right-hand side. This operation triggers a synchronization of the CAD model with the internal Gmsh model. 8329</p> 8330</dd> 8331<dt><code>Periodic Surface <var>expression</var> { <var>expression-list</var> } = <var>expression</var> { <var>expression-list</var> } ;</code> 8332<span id="index-Periodic-Surface-expression-_007b-expression_002dlist-_007d-_003d-expression-_007b-expression_002dlist-_007d-_003b"></span> 8333</dt> 8334<dd><p>Add a meshing constraint to force the mesh of the surface on the 8335left-hand side (with boundary edges specified between braces) to match 8336the mesh of the master surface on the right-hand side (with boundary 8337edges specified between braces). If used after meshing, generate the 8338periodic node correspondence information assuming the mesh of the 8339surface on the left-hand side effectively matches the mesh of the master 8340surface on the right-hand side (useful for structured and extruded 8341meshes). This operation triggers a synchronization of the CAD model with the internal Gmsh model. 8342</p> 8343</dd> 8344<dt><code>Periodic Curve | Surface { <var>expression-list</var> } = { <var>expression-list</var> } Affine | Translate { <var>expression-list</var> } ;</code> 8345<span id="index-Periodic-Curve-_007c-Surface-_007b-expression_002dlist-_007d-_003d-_007b-expression_002dlist-_007d-Affine-_007c-Translate-_007b-expression_002dlist-_007d-_003b"></span> 8346</dt> 8347<dd><p>Add a meshing constraint to force mesh of curves or surfaces on the 8348left-hand side to match the mesh of the curves or surfaces on the 8349right-hand side (masters), using prescribed geometrical 8350transformations. If used after meshing, generate the periodic node 8351correspondence information assuming the mesh of the curves or surfaces 8352on the left-hand side effectively matches the mesh of the curves or 8353surfaces on the right-hand side (useful for structured and extruded 8354meshes). <code>Affine</code> takes a 4 x 4 affine transformation matrix given 8355by row (only 12 entries can be provided for convenience); 8356<code>Translate</code> takes the 3 components of the translation as in 8357<a href="#Transformations">Transformations</a>. This operation triggers a synchronization of the CAD model with the internal Gmsh model. 8358</p> 8359</dd> 8360<dt><code>Periodic Curve | Surface { <var>expression-list</var> } = { <var>expression-list</var> } Rotate { <var>expression-list</var> }, { <var>expression-list</var> }, <var>expression</var> } ;</code> 8361<span id="index-Periodic-Curve-_007c-Surface-_007b-expression_002dlist-_007d-_003d-_007b-expression_002dlist-_007d-Rotate-_007b-expression_002dlist-_007d_002c-_007b-expression_002dlist-_007d_002c-expression-_007d-_003b"></span> 8362</dt> 8363<dd><p>Add a meshing constraint to force the mesh of curves or surfaces on the 8364left-hand side to match the mesh of the curves on the right-hand side 8365(masters), using a rotation specified as in <a href="#Transformations">Transformations</a>. If 8366used after meshing, generate the periodic node correspondence 8367information assuming the mesh of the curves or surfaces on the left-hand 8368side effectively matches the mesh of the curves or surfaces on the 8369right-hand side (useful for structured and extruded 8370meshes). This operation triggers a synchronization of the CAD model with the internal Gmsh model. 8371</p> 8372</dd> 8373<dt><code>Coherence Mesh;</code> 8374<span id="index-Coherence-Mesh_003b"></span> 8375</dt> 8376<dd><p>Remove all duplicate mesh nodes in the current mesh. 8377</p> 8378</dd> 8379<dt><code>CreateTopology < { <var>expression</var> , <var>expression</var> } > ;</code> 8380<span id="index-CreateTopology-_003c-_007b-expression-_002c-expression-_007d-_003e-_003b"></span> 8381</dt> 8382<dd><p>Create a boundary representation from the mesh of the current model if 8383the model does not have one (e.g. when imported from mesh file formats 8384with no BRep representation of the underlying model). If the first 8385optional argument is set (or not given), make all volumes and surfaces 8386simply connected first; if the second optional argument is set (or not 8387given), clear any built-in CAD kernel entities and export the discrete 8388entities in the built-in CAD kernel. 8389</p> 8390</dd> 8391<dt><code>CreateGeometry < { <Physical> Point | Curve | Surface | Volume { <var>expression-list-or-all</var> }; … } > ;</code> 8392<span id="index-CreateGeometry-_003c-_007b-_003cPhysical_003e-Point-_007c-Curve-_007c-Surface-_007c-Volume-_007b-expression_002dlist_002dor_002dall-_007d_003b-_2026-_007d-_003e-_003b"></span> 8393</dt> 8394<dd><p>Create a geometry for discrete entities (represented solely by a mesh, 8395without an underlying CAD description) in the current model, i.e. create
8396a parametrization for discrete curves and surfaces, assuming that each 8397can be parametrized with a single map. If no entities are given, create 8398a geometry for all discrete entities. 8399</p> 8400</dd> 8401<dt><code>ClassifySurfaces { <var>expression</var> , <var>expression</var> , <var>expression</var> < , <var>expression</var> > };</code> 8402<span id="index-ClassifySurfaces-_007b-expression-_002c-expression-_002c-expression-_003c-_002c-expression-_003e-_007d_003b"></span> 8403</dt> 8404<dd><p>Classify (“color”) the current surface mesh based on an angle 8405threshold (the first argument, in radians), and create new discrete 8406surfaces, curves and points accordingly. If the second argument is set, 8407also create discrete curves on the boundary if the surface is open. If 8408the third argument is set, create edges and surfaces that can be 8409reparametrized with <code>CreateGeometry</code>. The last optional argument 8410sets an angle threshold to force splitting of the generated curves. 8411</p> 8412</dd> 8413<dt><code>RenumberMeshNodes;</code> 8414<span id="index-RenumberMeshNodes_003b"></span> 8415</dt> 8416<dd><p>Renumber the node tags in the current mesh in a continuous sequence. 8417</p> 8418</dd> 8419<dt><code>RenumberMeshElements;</code> 8420<span id="index-RenumberMeshElements_003b"></span> 8421</dt> 8422<dd><p>Renumber the elements tags in the current mesh in a continuous sequence. 8423</p> 8424</dd> 8425<dt><code>< Recursive > Color <var>color-expression</var> { <Physical> Point | Curve | Surface | Volume { <var>expression-list-or-all</var> }; … }</code> 8426<span id="index-_003c-Recursive-_003e-Color-color_002dexpression-_007b-_003cPhysical_003e-Point-_007c-Curve-_007c-Surface-_007c-Volume-_007b-expression_002dlist_002dor_002dall-_007d_003b-_2026-_007d"></span> 8427</dt> 8428<dd><p>Set the mesh color of the entities in <var>expression-list</var> to 8429<var>color-expression</var>. This operation triggers a synchronization of the CAD model with the internal Gmsh model. 8430</p> 8431</dd> 8432<dt><code>Recombine Surface { <var>expression-list-or-all</var> } < = <var>expression</var> >;</code> 8433<span id="index-Recombine-Surface-_007b-expression_002dlist_002dor_002dall-_007d-_003c-_003d-expression-_003e_003b"></span> 8434</dt> 8435<dd><p>Recombine the triangular meshes of the surfaces listed in 8436<var>expression-list</var> into mixed triangular/quadrangular meshes. The 8437optional <var>expression</var> on the right hand side specifies the maximum 8438difference (in degrees) allowed between the largest angle of a 8439quadrangle and a right angle (a value of 0 would only accept quadrangles 8440with right angles; a value of 90 would allow degenerate quadrangles; 8441default value is 45). This operation triggers a synchronization of the CAD model with the internal Gmsh model. 8442</p> 8443</dd> 8444<dt><code>MeshAlgorithm Surface { <var>expression-list</var> } = <var>expression</var>;</code> 8445<span id="index-MeshAlgorithm-Surface-_007b-expression_002dlist-_007d-_003d-expression_003b"></span> 8446</dt> 8447<dd><p>Specify the meshing algorithm for the surfaces <var>expression-list</var>. 8448</p> 8449</dd> 8450<dt><code>MeshSizeFromBoundary Surface { <var>expression-list</var> } = <var>expression</var>;</code> 8451<span id="index-MeshSizeFromBoundary-Surface-_007b-expression_002dlist-_007d-_003d-expression_003b"></span> 8452</dt> 8453<dd><p>Force the mesh size to be extended from the boundary (or not, depending 8454on the value of <var>expression</var>) for the surfaces 8455<var>expression-list</var>. 8456</p> 8457</dd> 8458<dt><code>Compound Curve | Surface { <var>expression-list-or-all</var> } ;</code> 8459<span id="index-Compound-Curve-_007c-Surface-_007b-expression_002dlist_002dor_002dall-_007d-_003b"></span> 8460</dt> 8461<dd><p>Treat the given entities as a single entity when meshing, i.e. perform 8462cross-patch meshing of the entities. 8463</p> 8464</dd> 8465<dt><code>ReverseMesh Curve | Surface { <var>expression-list-or-all</var> } ;</code> 8466<span id="index-ReverseMesh-Curve-_007c-Surface-_007b-expression_002dlist_002dor_002dall-_007d-_003b"></span> 8467</dt> 8468<dd><p>Add a constraint to reverse the orientation of the mesh of the given 8469curve(s) or surface(s) during meshing. This operation triggers a synchronization of the CAD model with the internal Gmsh model. 8470</p> 8471</dd> 8472<dt><code>ReorientMesh Volume { <var>expression-list</var> } ;</code> 8473<span id="index-ReorientMesh-Volume-_007b-expression_002dlist-_007d-_003b"></span> 8474</dt> 8475<dd><p>Add a constraint to reorient the meshes (during mesh generation) of the 8476bounding surfaces of the given volumes so that the normals point outward 8477to the volumes; and if a mesh already exists, reorient it. Currently 8478only available with the OpenCASCADE kernel, as it relies on the STL 8479triangulation. This operation triggers a synchronization of the CAD model with the internal Gmsh model. 8480</p> 8481</dd> 8482<dt><code>Save <var>string-expression</var>;</code> 8483<span id="index-Save-string_002dexpression_003b"></span> 8484</dt> 8485<dd><p>Save the current mesh in a file named <var>string-expression</var>, using the 8486current <code>Mesh.Format</code> (see <a href="#Mesh-options">Mesh options</a>). If the path in 8487<var>string-expression</var> is not absolute, <var>string-expression</var> is appended 8488to the path of the current file. This operation triggers a synchronization of the CAD model with the internal Gmsh model. 8489</p> 8490</dd> 8491<dt><code>Smoother Surface { <var>expression-list</var> } = <var>expression</var>;</code> 8492<span id="index-Smoother-Surface-_007b-expression_002dlist-_007d-_003d-expression_003b"></span> 8493</dt> 8494<dd><p>Set the number of elliptic smoothing steps for the surfaces listed in 8495<var>expression-list</var> (smoothing only applies to transfinite meshes at 8496the moment). This operation triggers a synchronization of the CAD model with the internal Gmsh model. 8497</p> 8498</dd> 8499<dt><code>Homology ( { <var>expression-list</var> } ) { { <var>expression-list</var> } , { <var>expression-list</var> } };</code> 8500<span id="index-Homology-_0028-_007b-expression_002dlist-_007d-_0029-_007b-_007b-expression_002dlist-_007d-_002c-_007b-expression_002dlist-_007d-_007d_003b"></span> 8501</dt> 8502<dd><p>Compute a basis representation for homology spaces after a mesh has 8503been generated. The first <var>expression-list</var> is a list of 8504dimensions whose homology bases are computed; if empty, all bases are 8505computed. The second <var>expression-list</var> is a list physical groups 8506that constitute the computation domain; if empty, the whole mesh is 8507the domain. The third <var>expression-list</var> is a list of physical 8508groups that constitute the relative subdomain of relative homology 8509computation; if empty, absolute homology is computed. Resulting basis 8510representation chains are stored as physical groups in the mesh. 8511</p> 8512</dd> 8513<dt><code>Cohomology ( { <var>expression-list</var> } ) { { <var>expression-list</var> } , { <var>expression-list</var> } };</code> 8514<span id="index-Cohomology-_0028-_007b-expression_002dlist-_007d-_0029-_007b-_007b-expression_002dlist-_007d-_002c-_007b-expression_002dlist-_007d-_007d_003b"></span> 8515</dt> 8516<dd><p>Similar to command <code>Homology</code>, but computes a basis representation 8517for cohomology spaces instead. 8518</p> 8519</dd> 8520</dl> 8521 8522 8523<hr> 8524<span id="Post_002dprocessing-scripting-commands"></span><div class="header"> 8525<p> 8526Previous: <a href="#Mesh-scripting-commands" accesskey="p" rel="prev">Mesh scripting commands</a>, Up: <a href="#Gmsh-scripting-language" accesskey="u" rel="up">Gmsh scripting language</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 8527</div> 8528<span id="Post_002dprocessing-scripting-commands-1"></span>
8528<h3 class="section">5.4 Post-processing scripting commands</h3> 8529 8530<span id="index-Post_002dprocessing_002c-scripting-commands"></span> 8531<span id="index-Scripting-commands_002c-Post_002dprocessing"></span> 8532<span id="index-2D-plots"></span> 8533<span id="index-3D-plots"></span> 8534<span id="index-Plots"></span> 8535<span id="index-Graphs"></span> 8536<span id="index-Views"></span> 8537 8538<p>Here is the list of available post-processing scripting commands. 8539</p> 8540<dl compact="compact"> 8541<dt><code>Alias View[<var>expression</var>];</code> 8542<span id="index-Alias-View_005bexpression_005d_003b"></span> 8543</dt> 8544<dd><p>Create an alias of the <var>expression</var>-th post-processing view. 8545</p> 8546<p>Note that <code>Alias</code> creates a logical duplicate of the view without 8547actually duplicating the data in memory. This is very useful when you want 8548multiple simultaneous renderings of the same large dataset (usually with 8549different display options), but you cannot afford to store all copies in 8550memory. If what you really want is multiple physical copies of the data, 8551just merge the file containing the post-processing view multiple times. 8552</p> 8553</dd> 8554<dt><code>AliasWithOptions View[<var>expression</var>];</code> 8555<span id="index-AliasWithOptions-View_005bexpression_005d_003b"></span> 8556</dt> 8557<dd><p>Create an alias of the <var>expression</var>-th post-processing view and copies 8558all the options of the <var>expression</var>-th view to the new aliased view. 8559</p> 8560</dd> 8561<dt><code>CopyOptions View[<var>expression</var>, <var>expression</var>];</code> 8562<span id="index-CopyOptions-View_005bexpression_002c-expression_005d_003b"></span> 8563</dt> 8564<dd><p>Copy all the options from the first <var>expression</var>-th post-processing 8565view to the second one. 8566</p> 8567</dd> 8568<dt><code>Combine ElementsByViewName;</code> 8569<span id="index-Combine-ElementsByViewName_003b"></span> 8570</dt> 8571<dd><p>Combine all the post-processing views having the same name into new views. 8572The combination is done “spatially”, i.e., simply by appending the 8573elements at the end of the new views. 8574</p> 8575</dd> 8576<dt><code>Combine ElementsFromAllViews | Combine Views;</code> 8577<span id="index-Combine-ElementsFromAllViews-_007c-Combine-Views_003b"></span> 8578</dt> 8579<dd><p>Combine all the post-processing views into a single new view. The 8580combination is done “spatially”, i.e., simply by appending the elements at 8581the end of the new view. 8582</p> 8583</dd> 8584<dt><code>Combine ElementsFromVisibleViews;</code> 8585<span id="index-Combine-ElementsFromVisibleViews_003b"></span> 8586</dt> 8587<dd><p>Combine all the visible post-processing views into a single new view. The 8588combination is done “spatially”, i.e., simply by appending the elements at 8589the end of the new view. 8590</p> 8591</dd> 8592<dt><code>Combine TimeStepsByViewName | Combine TimeSteps;</code> 8593<span id="index-Combine-TimeStepsByViewName-_007c-Combine-TimeSteps_003b"></span> 8594</dt> 8595<dd><p>Combine the data from all the post-processing views having the same name 8596into new multi-time-step views. The combination is done “temporally”, 8597i.e., as if the data in each view corresponds to a different time 8598instant. The combination will fail if the meshes in all the views are not 8599identical. 8600</p> 8601</dd> 8602<dt><code>Combine TimeStepsFromAllViews;</code> 8603<span id="index-Combine-TimeStepsFromAllViews_003b"></span> 8604</dt> 8605<dd><p>Combine the data from all the post-processing views into a new 8606multi-time-step view. The combination is done “temporally”, i.e., as if 8607the data in each view corresponds to a different time instant. The 8608combination will fail if the meshes in all the views are not identical. 8609</p> 8610</dd> 8611<dt><code>Combine TimeStepsFromVisibleViews;</code> 8612<span id="index-Combine-TimeStepsFromVisibleViews_003b"></span> 8613</dt> 8614<dd><p>Combine the data from all the visible post-processing views into a new 8615multi-time-step view. The combination is done “temporally”, i.e., as if 8616the data in each view corresponds to a different time instant. The 8617combination will fail if the meshes in all the views are not identical. 8618</p> 8619</dd> 8620<dt><code>Delete View[<var>expression</var>];</code> 8621<span id="index-Delete-View_005bexpression_005d_003b"></span> 8622</dt> 8623<dd><p>Delete (remove) the <var>expression</var>-th post-processing view. Note that 8624post-processing view indices start at 0. 8625</p> 8626</dd> 8627<dt><code>Delete Empty Views;</code> 8628<span id="index-Delete-Empty-Views_003b"></span> 8629</dt> 8630<dd><p>Delete (remove) all the empty post-processing views. 8631</p> 8632</dd> 8633<dt><code>
8633Background Mesh View[<var>expression</var>];</code> 8634<span id="index-Background-Mesh-View_005bexpression_005d_003b"></span> 8635</dt> 8636<dd><p>Apply the <var>expression</var>-th post-processing view as the current 8637background mesh. Note that post-processing view indices start at 0. 8638</p> 8639</dd> 8640<dt><code>Plugin (<var>string</var>) . Run;</code> 8641<span id="index-Plugin-_0028string_0029-_002e-Run_003b"></span> 8642</dt> 8643<dd><p>Execute the plugin <var>string</var>. The list of default plugins is given in 8644<a href="#Gmsh-plugins">Gmsh plugins</a>. 8645</p> 8646</dd> 8647<dt><code>Plugin (<var>string</var>) . <var>string</var> = <var>expression</var> | <var>string-expression</var>;</code> 8648<span id="index-Plugin-_0028string_0029-_002e-string-_003d-expression-_007c-string_002dexpression_003b"></span> 8649</dt> 8650<dd><p>Set an option for a given plugin. See <a href="#Gmsh-plugins">Gmsh plugins</a>, for a 8651list of default plugins and <a href="#t9">t9</a>, for some examples. 8652</p> 8653</dd> 8654<dt><code>Save View[<var>expression</var>] <var>string-expression</var>;</code> 8655<span id="index-Save-View_005bexpression_005d-string_002dexpression_003b"></span> 8656</dt> 8657<dd><p>Save the <var>expression</var>-th post-processing view in a file named 8658<var>string-expression</var>. If the path in <var>string-expression</var> is not absolute, 8659<var>string-expression</var> is appended to the path of the current file. 8660</p> 8661</dd> 8662<dt><code>SendToServer View[<var>expression</var>] <var>string-expression</var>;</code> 8663<span id="index-SendToServer-View_005bexpression_005d-string_002dexpression_003b"></span> 8664</dt> 8665<dd><p>Send the <var>expression</var>-th post-processing view to the ONELAB server, 8666with parameter name <var>string-expression</var>. 8667</p> 8668</dd> 8669<dt><code>View "<var>string</var>" { <var>string</var> < ( <var>expression-list</var> ) > { <var>expression-list</var> }; … };</code> 8670<span id="index-View-_0022string_0022-_007b-string-_003c-_0028-expression_002dlist-_0029-_003e-_007b-expression_002dlist-_007d_003b-_2026-_007d_003b"></span> 8671</dt> 8672<dd><p>Create a new post-processing view, named <code>"<var>string</var>"</code>. This is 8673an easy and quite powerful way to import post-processing data: all the 8674values are <var>expressions</var>, you can embed datasets directly into your 8675geometrical descriptions (see, e.g., <a href="#t4">t4</a>), the data can be easily 8676generated “on-the-fly” (there is no header containing <em>a priori</em> 8677information on the size of the dataset). The syntax is also very 8678permissive, which makes it ideal for testing purposes. 8679</p> 8680<p>However this “parsed format” is read by Gmsh’s script parser, which 8681makes it inefficient if there are many elements in the dataset. Also, 8682there is no connectivity information in parsed views and all the 8683elements are independent (all fields can be discontinuous), so a lot of 8684information can be duplicated. For large datasets, you should thus use 8685the mesh-based post-processing file format described in <a href="#Gmsh-file-formats">Gmsh file formats</a>, or use one of the standard formats like MED. 8686</p> 8687<p>More explicitly, the syntax for a parsed <code>View</code> is the following 8688</p> 8689<div class="example"> 8690<pre class="example">View "<var>string</var>" { 8691 <var>type</var> ( <var>coordinates</var> ) { <var>values</var> }; … 8692 < TIME { <var>expression-list</var> }; > 8693 < INTERPOLATION_SCHEME { <var>val-coef-matrix</var> } 8694 { <var>val-exp-matrix</var> } 8695 < { <var>geo-coef-matrix</var> } { <var>geo-exp-matrix</var> } > ; > 8696}; 8697</pre></div> 8698 8699<p>where the 47 object <var>type</var>s<!-- /@w --> that can be displayed are: 8700</p> 8701<div class="example"> 8702<pre class="example"> <var>type</var> #<var>coordinates</var> #<var>values</var> 8703------------------------------------------------------------- 8704Scalar point SP 3 1 * <var>nb-time-steps</var> 8705Vector point VP 3 3 * <var>nb-time-steps</var> 8706Tensor point TP 3 9 * <var>nb-time-steps</var> 8707Scalar line SL 6 2 * <var>nb-time-steps</var> 8708Vector line VL 6 6 * <var>nb-time-steps</var> 8709Tensor line TL 6 18 * <var>nb-time-steps</var> 8710Scalar triangle ST 9 3 * <var>nb-time-steps</var> 8711Vector triangle VT 9 9 * <var>nb-time-steps</var> 8712Tensor triangle TT 9 27 * <var>nb-time-steps</var> 8713Scalar quadrangle SQ 12 4 * <var>nb-time-steps</var> 8714Vector quadrangle VQ 12 12 * <var>nb-time-steps</var> 8715Tensor quadrangle TQ 12 36 * <var>nb-time-steps</var> 8716Scalar tetrahedron SS 12 4 * <var>nb-time-steps</var> 8717Vector tetrahedron VS 12 12 * <var>nb-time-steps</var> 8718Tensor tetrahedron TS 12 36 * <var>nb-time-steps</var> 8719Scalar hexahedron SH 24 8 * <var>nb-time-steps</var> 8720Vector hexahedron VH 24 24 * <var>nb-time-steps</var> 8721Tensor hexahedron TH 24 72 * <var>nb-time-steps</var> 8722Scalar prism SI 18 6 * <var>nb-time-steps</var> 8723Vector prism VI 18 18 * <var>nb-time-steps</var> 8724Tensor prism TI 18 54 * <var>nb-time-steps</var> 8725Scalar pyramid SY 15 5 * <var>nb-time-steps</var> 8726Vector pyramid VY 15 15 * <var>nb-time-steps</var> 8727Tensor pyramid TY 15 45 * <var>nb-time-steps</var> 87282D text T2 3 arbitrary 87293D text T3 4 arbitrary 8730</pre></div> 8731 8732<p>The coordinates are given ‘by node’, i.e., 8733</p> 8734<ul> 8735<li> <code>(<var>coord1</var>, <var>coord2</var>, <var>coord3</var>)</code> for a point, 8736</li><li> <code>(<var>coord1-node1</var>, <var>coord2-node1</var>, <var>coord3-node1</var>,</code><br> 8737<code> <var>coord1-node2</var>, <var>coord2-node2</var>, <var>coord3-node2</var>)</code> for a line, 8738</li><li> <code>(<var>coord1-node1</var>, <var>coord2-node1</var>, <var>coord3-node1</var>,</code><br> 8739<code> <var>coord1-node2</var>, <var>coord2-node2</var>, <var>coord3-node2</var>,</code><br> 8740<code> <var>coord1-node3</var>, <var>coord2-node3</var>, <var>coord3-node3</var>)</code> for a triangle, 8741</li><li> etc. 8742</li></ul> 8743 8744<p>The ordering of the nodes is given in <a href="#Node-ordering">Node ordering</a>. 8745</p> 8746<p>The values are given by time step, by node and by component, i.e.: 8747</p><div class="example"> 8748<pre class="example"><var>comp1-node1-time1</var>, <var>comp2-node1-time1</var>, <var>comp3-node1-time1</var>, 8749<var>comp1-node2-time1</var>, <var>comp2-node2-time1</var>, <var>comp3-node2-time1</var>, 8750<var>comp1-node3-time1</var>, <var>comp2-node3-time1</var>, <var>comp3-node3-time1</var>, 8751<var>comp1-node1-time2</var>, <var>comp2-node1-time2</var>, <var>comp3-node1-time2</var>, 8752<var>comp1-node2-time2</var>, <var>comp2-node2-time2</var>, <var>comp3-node2-time2</var>, 8753<var>comp1-node3-time2</var>, <var>comp2-node3-time2</var>, <var>comp3-node3-time2</var>, 8754… 8755</pre></div> 8756 8757<p>For the 2D text objects, the two first <var>expression</var>s<!-- /@w --> in 8758<var>coordinates</var> give the X-Y position of the string in screen 8759coordinates, measured from the top-left corner of the window. If the first 8760(respectively second) <var>expression</var> is negative, the position is measured 8761from the right (respectively bottom) edge of the window. If the value of the 8762first (respectively second) <var>expression</var> is larger than 99999, the 8763string is centered horizontally (respectively vertically). If the third 8764<var>expression</var> is equal to zero, the text is aligned bottom-left and 8765displayed using the default font and size. Otherwise, the third 8766<var>expression</var> is converted into an integer whose eight lower bits give 8767the font size, whose eight next bits select the font (the index corresponds 8768to the position in the font menu in the GUI), and whose eight next bits 8769define the text alignment (0=bottom-left, 1=bottom-center, 2=bottom-right, 87703=top-left, 4=top-center, 5=top-right, 6=center-left, 7=center-center, 87718=center-right). 8772</p> 8773<p>For the 3D text objects, the three first <var>expression</var>s<!-- /@w --> in 8774<var>coordinates</var> give the XYZ position of the string in model (real 8775world) coordinates. The fourth <var>expression</var> has the same meaning as the 8776third <var>expression</var> in 2D text objects. 8777</p> 8778<p>For both 2D and 3D text objects, the <var>values</var> can contain an 8779arbitrary number of <var><span class="nolinebreak">string-expression</span></var>s<!-- /@w -->. If the 8780<var>string-expression</var> starts with <code>file://</code>, the remainder of the 8781string is interpreted as the name of an image file, and the image is
8782displayed instead of the string. A format string in the form 8783<code>@wxh</code> or <code>@wxh,wx,wy,wz,hx,hy,hz</code>, where <code>w</code> and 8784<code>h</code> are the width and height (in model coordinates for <code>T3</code> or 8785in pixels for <code>T2</code>) of the image, <code>wx,wy,wz</code> is the direction 8786of the bottom edge of the image and <code>hx,hy,hz</code> is the direction of 8787the left edge of the image. 8788</p> 8789<p>The optional <code>TIME</code> list can contain a list of expressions giving the 8790value of the time (or any other variable) for which an evolution was saved. 8791</p> 8792<p>The optional <code>INTERPOLATION_SCHEME</code> lists can contain the 8793interpolation matrices used for high-order adaptive visualization. 8794</p> 8795<p>Let us assume that the approximation of the view’s value over an element 8796is written as a linear combination of <var>d</var> basis functions 8797<var>f</var>[<var>i</var>], <var>i</var>=0, ..., <var>d</var>-1 (the coefficients being 8798stored in <var>values</var>). Defining <var>f</var>[<var>i</var>] = Sum(<var>j</var>=0, ..., 8799<var>d</var>-1) <var>F</var>[<var>i</var>][<var>j</var>] <var>p</var>[<var>j</var>], with 8800<var>p</var>[<var>j</var>] = <var>u</var>^<var>P</var>[<var>j</var>][0] 8801<var>v</var>^<var>P</var>[<var>j</var>][1] <var>w</var>^<var>P</var>[<var>j</var>][2] (<var>u</var>, 8802<var>v</var> and <var>w</var> being the coordinates in the element’s parameter 8803space), then <var>val-coef-matrix</var> denotes the <var>d</var> x <var>d</var> matrix 8804<var>F</var> and <var>val-exp-matrix</var> denotes the <var>d</var> x <var>3</var> matrix 8805<var>P</var>. 8806</p> 8807<p>In the same way, let us also assume that the coordinates <var>x</var>, 8808<var>y</var> and <var>z</var> of the element are obtained through a geometrical 8809mapping from parameter space as a linear combination of <var>m</var> basis 8810functions <var>g</var>[<var>i</var>], <var>i</var>=0, ..., <var>m</var>-1 (the coefficients 8811being stored in <var>coordinates</var>). Defining <var>g</var>[<var>i</var>] = 8812Sum(<var>j</var>=0, ..., <var>m</var>-1) <var>G</var>[<var>i</var>][<var>j</var>] 8813<var>q</var>[<var>j</var>], with <var>q</var>[<var>j</var>] = <var>u</var>^<var>Q</var>[<var>j</var>][0] 8814<var>v</var>^<var>Q</var>[<var>j</var>][1] <var>w</var>^<var>Q</var>[<var>j</var>][2], then 8815<var>geo-coef-matrix</var> denotes the <var>m</var> x <var>m</var> matrix <var>G</var> and 8816<var>geo-exp-matrix</var> denotes the <var>m</var> x <var>3</var> matrix <var>Q</var>. 8817</p> 8818<p>Here are for example the interpolation matrices for a first order 8819quadrangle: 8820</p><div class="example"> 8821<pre class="example">INTERPOLATION_SCHEME 8822{ 8823 {1/4,-1/4, 1/4,-1/4}, 8824 {1/4, 1/4,-1/4,-1/4}, 8825 {1/4, 1/4, 1/4, 1/4}, 8826 {1/4,-1/4,-1/4, 1/4} 8827} 8828{ 8829 {0, 0, 0}, 8830 {1, 0, 0}, 8831 {0, 1, 0}, 8832 {1, 1, 0} 8833}; 8834</pre></div> 8835 8836</dd> 8837</dl> 8838 8839 8840<hr> 8841<span id="Gmsh-application-programming-interface"></span><div class="header"> 8842<p> 8843Next: <a href="#Gmsh-options" accesskey="n" rel="next">Gmsh options</a>, Previous: <a href="#Gmsh-scripting-language" accesskey="p" rel="prev">Gmsh scripting language</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 8844</div> 8845<span id="Gmsh-application-programming-interface-1"></span><h2 class="chapter">6 Gmsh application programming interface</h2> 8846 8847<span id="index-API"></span> 8848<span id="index-Programming_002c-API"></span> 8849 8850<p>The Gmsh application programming interface (API) allows to integrate the 8851Gmsh library in external applications written in C++, C, Python, Julia 8852or Fortran. By design, the Gmsh API is purely functional, and only uses 8853elementary types from the target languages. See the 8854<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++">tutorials/c++</a>, 8855<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c">tutorials/c</a>, 8856<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python">tutorials/python</a>, 8857<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia">tutorials/julia</a> and 8858<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran">tutorials/fortran</a> 8859directories from the <a href="#Gmsh-tutorial">
8859Gmsh tutorial</a> for examples. For other API 8860examples, see the <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/">examples/api</a> 8861directory. 8862</p> 8863<p>The different versions of the API are generated automatically from the 8864master API definition file 8865<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gen.py">api/gen.py</a>: 8866</p> 8867<ul> 8868<li> C++ API: <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h">gmsh.h</a> 8869</li><li> C API: <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h">gmshc.h</a> 8870</li><li> Python API: <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py">gmsh.py</a> 8871</li><li> Julia API: <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl">gmsh.jl</a> 8872</li><li> Fortran API: <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90">gmsh.f90</a> 8873</li></ul> 8874 8875<p>The additional 8876<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h_cwrap">gmsh.h_cwrap</a> 8877header redefines the C++ API in terms of the C API. This is provided as 8878a convenience for users of the <a href="https://gmsh.info/bin">binary Gmsh 8879Software Development Kit (SDK)</a> whose C++ compiler Application Binary 8880Interface (ABI) is not compatible with the ABI of the C++ compiler used 8881to create the SDK. To use these C++ bindings of the C API instead of the 8882native C++ API, simply rename <code>gmsh.h_cwrap</code> as <code>gmsh.h</code>. Note 8883that this will lead to (slightly) reduced performance compared to using 8884the native Gmsh C++ API, as it entails additional data copies between 8885the C++ wrapper, the C API and the native C++ code. 8886</p> 8887<p>The structure of the API reflects the underlying Gmsh data model (see 8888also <a href="#Source-code-structure">Source code structure</a>): 8889</p><ul> 8890<li> There are two main data containers: <em>models</em> (which hold the 8891geometrical and the mesh data) and <em>views</em> (which hold 8892post-processing data). These are manipulated by the API functions in the 8893top-level namespaces <code>gmsh/model</code> and <code>gmsh/view</code>, 8894respectively. The other top-level namespaces are <code>gmsh/option</code> 8895(which handles all options), <code>gmsh/algorithm</code> (which handles raw 8896algorithms), <code>gmsh/plugin</code> (which handles extensions to core Gmsh 8897functionality), <code>gmsh/graphics</code> (which handles drawing), 8898<code>gmsh/fltk</code> (which handles the graphical user interface), 8899<code>gmsh/parser</code> (which handles the Gmsh parser), <code>gmsh/onelab</code> 8900(which handles ONELAB parameters and communications with external codes) 8901and <code>gmsh/logger</code> (which handles information logging). 8902</li><li> Geometrical data is made of model <em>entities</em>, called <em>points</em> 8903(entities of dimension 0), <em>curves</em> (entities of dimension 1), 8904<em>surfaces</em> (entities of dimension 2) or <em>volumes</em> (entities of 8905dimension 3). Model entities are stored using a boundary representation: 8906a volume is bounded by a set of surfaces, a surface is bounded by a 8907series of curves, and a curve is bounded by two end points. Volumes and 8908surfaces can also store <em>embedded</em> entities of lower dimension, to 8909force a subsequent mesh to be conformal to internal features like a 8910point in the middle of a surface. Model entities are identified by a 8911pair of integers: their dimension <em>dim</em> (0, 1, 2 or 3) and their 8912<em>tag</em>, a strictly positive identification number. When dealing with 8913multiple geometrical entities of possibly different dimensions, the API 8914packs them as a vector of (dim, tag) integer pairs. <em>Physical 8915groups</em> are collections of model entities and are also identified by 8916their dimension and by a <em>tag</em>. Operations which do not directly 8917reference a model are performed on the <em>current</em> model. 8918</li><li> Model entities can be either CAD entities (from the built-in <em>geo</em> 8919kernel or from the OpenCASCADE <em>occ</em> kernel) or <em>discrete</em> 8920entities (defined by a mesh). Operations on CAD entities are performed 8921directly within their respective CAD kernels (i.e. using functions from 8922the <code>gmsh/model/geo</code> or <code>gmsh/model/occ</code> namespaces, 8923respectively), as Gmsh does not translate across CAD formats but rather 8924directly accesses the native representation. CAD entities must be 8925<em>synchronized</em> with the model in order to be meshed, or, more 8926generally, for functions outside of <code>gmsh/model/geo</code> or 8927<code>gmsh/model/occ</code> to manipulate them. 1D and 2D meshing algorithms 8928use the <em>parametrization</em> of the underlying geometrical curve or 8929surface to generate the mesh. Discrete entities can be remeshed provided 8930that a parametrization is explicitly recomputed for them. 8931</li><li> Mesh data is made of <em>elements</em> (points, lines, triangles, 8932quadrangles, tetrahedra, hexahedra, prisms, pyramids, ...), defined by 8933an ordered list of their <em>nodes</em>. Elements and nodes are identified 8934by <em>tags</em> (strictly positive identification numbers), and are 8935stored (<em>classified</em>) in the model entity they discretize. Once 8936meshed, a model entity of dimension 0 (a geometrical point) will thus 8937contain a mesh element of type point (MSH type 15: cf. <a href="#MSH-file-format">MSH file format</a>), as well as a mesh node. A model curve will contain line 8938elements (e.g. of MSH type 1 or 8 for first order or second order 8939meshes, respectively) as well as its interior nodes, while its boundary 8940nodes will be stored in the bounding model points. A model surface will 8941contain triangular and/or quadrangular elements and all the nodes not 8942classified on its boundary or on its embedded entities (curves and 8943points). A model volume will contain tetrahedra, hexahedra, etc. and all 8944the nodes not classified on its boundary or on its embedded entities 8945(surfaces, curves and points). This data model allows to easily and 8946efficiently handle the creation, modification and destruction of 8947conformal meshes. All the mesh-related functions are provided in the 8948<code>gmsh/model/mesh</code> namespace. 8949</li><li> Post-processing data is made of <em>views</em>. Each view is identified by 8950a <em>tag</em>, and can also be accessed by its <em>index</em> (which can 8951change when views are sorted, added or deleted). A view stores both 8952display <em>options</em> and <em>data</em>, unless the view is an 8953<em>alias</em> of another view (in which case it only stores display 8954options, and the data points to a reference view). View data can 8955contain several <em>steps</em> (e.g. to store time series) and can be 8956either linked to one or more models<a id="DOCF14" href="#FOOT14"><sup>14</sup></a> (<em>mesh-based</em> data, as 8957stored in MSH files: cf. <a href="#MSH-file-format">MSH file format</a>) or independent from any 8958model (<em>list-based</em> data, as stored in parsed POS files: 8959cf. <a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a>). Various <em>plugins</em> exist to 8960modify and create views. 8961</li></ul> 8962 8963<p>All the functions available in the API are given below. See the relevant 8964header/module file for the exact definition in each supported language: 8965in <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h">C++</a> 8966<code>gmsh/model/geo/addPoint</code> will lead to a namespaced function 8967<code>gmsh::model::geo::addPoint</code>, while in 8968<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py">Python</a> and 8969<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl">Julia</a> it will lead to 8970<code>gmsh.model.geo.addPoint</code>, in 8971<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h">C</a> to <code>gmshModelGeoAddPoint</code> 8972and in <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90">Fortran</a> to 8973<code>gmsh%model%geo%addPoint</code>. In addition to the default 8974“camelCase”
8974 function names, the Python and Julia APIs also define 8975“snake case” aliases, i.e. <code>gmsh.model.geo.add_point</code>, as this is 8976the recommended style in these languages. Output values are passed by 8977reference in C++, as pointers in C and directly returned (after the 8978return value, if any) in Python and Julia. 8979</p> 8980 8981<table class="menu" border="0" cellspacing="0"> 8982<tr><td align="left" valign="top">• <a href="#Namespace-gmsh" accesskey="1">Namespace gmsh</a></td><td> </td><td align="left" valign="top"> 8983</td></tr> 8984<tr><td align="left" valign="top">• <a href="#Namespace-gmsh_002foption" accesskey="2">Namespace gmsh/option</a></td><td> </td><td align="left" valign="top"> 8985</td></tr> 8986<tr><td align="left" valign="top">• <a href="#Namespace-gmsh_002fmodel" accesskey="3">Namespace gmsh/model</a></td><td> </td><td align="left" valign="top"> 8987</td></tr> 8988<tr><td align="left" valign="top">• <a href="#Namespace-gmsh_002fmodel_002fmesh" accesskey="4">Namespace gmsh/model/mesh</a></td><td> </td><td align="left" valign="top"> 8989</td></tr> 8990<tr><td align="left" valign="top">• <a href="#Namespace-gmsh_002fmodel_002fmesh_002ffield" accesskey="5">Namespace gmsh/model/mesh/field</a></td><td> </td><td align="left" valign="top"> 8991</td></tr> 8992<tr><td align="left" valign="top">• <a href="#Namespace-gmsh_002fmodel_002fgeo" accesskey="6">Namespace gmsh/model/geo</a></td><td> </td><td align="left" valign="top"> 8993</td></tr> 8994<tr><td align="left" valign="top">• <a href="#Namespace-gmsh_002fmodel_002fgeo_002fmesh" accesskey="7">Namespace gmsh/model/geo/mesh</a></td><td> </td><td align="left" valign="top"> 8995</td></tr> 8996<tr><td align="left" valign="top">• <a href="#Namespace-gmsh_002fmodel_002focc" accesskey="8">Namespace gmsh/model/occ</a></td><td> </td><td align="left" valign="top"> 8997</td></tr> 8998<tr><td align="left" valign="top">• <a href="#Namespace-gmsh_002fmodel_002focc_002fmesh" accesskey="9">Namespace gmsh/model/occ/mesh</a></td><td> </td><td align="left" valign="top"> 8999</td></tr> 9000<tr><td align="left" valign="top">• <a href="#Namespace-gmsh_002fview">Namespace gmsh/view</a></td><td> </td><td align="left" valign="top"> 9001</td></tr> 9002<tr><td align="left" valign="top">• <a href="#Namespace-gmsh_002fview_002foption">Namespace gmsh/view/option</a></td><td> </td><td align="left" valign="top"> 9003</td></tr> 9004<tr><td align="left" valign="top">• <a href="#Namespace-gmsh_002falgorithm">Namespace gmsh/algorithm</a></td><td> </td><td align="left" valign="top"> 9005</td></tr> 9006<tr><td align="left" valign="top">• <a href="#Namespace-gmsh_002fplugin">Namespace gmsh/plugin</a></td><td> </td><td align="left" valign="top"> 9007</td></tr> 9008<tr><td align="left" valign="top">• <a href="#Namespace-gmsh_002fgraphics">Namespace gmsh/graphics</a></td><td> </td><td align="left" valign="top"> 9009</td></tr> 9010<tr><td align="left" valign="top">• <a href="#Namespace-gmsh_002ffltk">Namespace gmsh/fltk</a></td><td> </td><td align="left" valign="top"> 9011</td></tr> 9012<tr><td align="left" valign="top">• <a href="#Namespace-gmsh_002fparser">Namespace gmsh/parser</a></td><td> </td><td align="left" valign="top"> 9013</td></tr> 9014<tr><td align="left" valign="top">• <a href="#Namespace-gmsh_002fonelab">Namespace gmsh/onelab</a></td><td> </td><td align="left" valign="top"> 9015</td></tr> 9016<tr><td align="left" valign="top">• <a href="#Namespace-gmsh_002flogger">Namespace gmsh/logger</a></td><td> </td><td align="left" valign="top"> 9017</td></tr> 9018</table> 9019 9020<hr> 9021<span id="Namespace-gmsh"></span><div class="header"> 9022<p> 9023Next: <a href="#Namespace-gmsh_002foption" accesskey="n" rel="next">Namespace gmsh/option</a>, Up: <a href="#Gmsh-application-programming-interface" accesskey="u" rel="up">Gmsh application programming interface</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 9024</div> 9025<span id="Namespace-gmsh_003a-top_002dlevel-functions"></span>
9025<h3 class="section">6.1 Namespace <code>gmsh</code>: top-level functions</h3> 9026 9027<dl compact="compact"> 9028<dt><code>gmsh/initialize</code> 9029<span id="index-gmsh_002finitialize"></span> 9030</dt> 9031<dd><p>Initialize the Gmsh API. This must be called before any call to the other functions in the API. If <code>argc</code> and <code>argv</code> (or just <code>argv</code> in Python or Julia) are provided, they will be handled in the same way as the command line arguments in the Gmsh app. If <code>readConfigFiles</code> is set, read system Gmsh configuration files (gmshrc and gmsh-options). If <code>run</code> is set, run in the same way as the Gmsh app, either interactively or in batch mode depending on the command line arguments. If <code>run</code> is not set, initializing the API sets the options "General.AbortOnError" to 2 and "General.Terminal" to 1. 9032</p> 9033<dl compact="compact"> 9034<dt>Input:</dt> 9035<dd><p><code>(argc = 0)</code>, <code>argv = []</code> (command line arguments), <code>readConfigFiles = True</code> (boolean), <code>run = False</code> (boolean) 9036</p></dd> 9037<dt>Output:</dt> 9038<dd><p>- 9039</p></dd> 9040<dt>Return:</dt> 9041<dd><p>- 9042</p></dd> 9043<dt>Language-specific definition:</dt> 9044<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L76">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L63">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L268">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L56">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L923">Fortran</a> 9045</p></dd> 9046<dt>Examples:</dt> 9047<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t1.cpp#L18">t1.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t2.cpp#L17">t2.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L15">t3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t4.cpp#L17">t4.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t5.cpp#L74">t5.cpp</a>, ...), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t1.py#L15">t1.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t2.py#L15">t2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L13">t3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t4.py#L14">t4.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t5.py#L13">t5.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t1.jl#L14">t1.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t2.jl#L13">t2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L11">t3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t4.jl#L11">t4.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t5.jl#L11">t5.jl</a>, ...), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t1.f90#L22">t1.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t2.f90#L27">t2.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L23">t3.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t4.f90#L43">t4.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t5.f90#L28">t5.f90</a>, ...) 9048</p></dd> 9049</dl> 9050 9051</dd> 9052<dt><code>gmsh/isInitialized</code> 9053<span id="index-gmsh_002fisInitialized"></span> 9054</dt> 9055<dd><p>Return 1 if the Gmsh API is initialized, and 0 if not. 9056</p> 9057<dl compact="compact"> 9058<dt>Input:</dt> 9059<dd><p>- 9060</p></dd> 9061<dt>Output:</dt> 9062<dd><p>- 9063</p></dd> 9064<dt>Return:</dt> 9065<dd><p>integer 9066</p></dd> 9067<dt>Language-specific definition:</dt> 9068<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L83">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L69">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L299">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L72">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L956">Fortran</a> 9069</p></dd> 9070</dl> 9071 9072</dd> 9073<dt><code>gmsh/finalize</code>
9074<span id="index-gmsh_002ffinalize"></span> 9075</dt> 9076<dd><p>Finalize the Gmsh API. This must be called when you are done using the Gmsh API. 9077</p> 9078<dl compact="compact"> 9079<dt>Input:</dt> 9080<dd><p>- 9081</p></dd> 9082<dt>Output:</dt> 9083<dd><p>- 9084</p></dd> 9085<dt>Return:</dt> 9086<dd><p>- 9087</p></dd> 9088<dt>Language-specific definition:</dt> 9089<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L89">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L73">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L315">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L87">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L972">Fortran</a> 9090</p></dd> 9091<dt>Examples:</dt> 9092<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t1.cpp#L174">t1.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t2.cpp#L160">t2.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L147">t3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t4.cpp#L173">t4.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t5.cpp#L227">t5.cpp</a>, ...), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t1.py#L173">t1.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t2.py#L152">t2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L134">t3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t4.py#L182">t4.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t5.py#L221">t5.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t1.jl#L174">t1.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t2.jl#L151">t2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L138">t3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t4.jl#L169">t4.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t5.jl#L219">t5.jl</a>, ...), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t1.f90#L176">t1.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t2.f90#L165">t2.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L70">t3.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t4.f90#L183">t4.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t5.f90#L171">t5.f90</a>, ...) 9093</p></dd> 9094</dl> 9095 9096</dd> 9097<dt><code>gmsh/open</code> 9098<span id="index-gmsh_002fopen"></span> 9099</dt> 9100<dd><p>Open a file. Equivalent to the <code>File->Open</code> menu in the Gmsh app. Handling of the file depends on its extension and/or its contents: opening a file with model data will create a new model. 9101</p> 9102<dl compact="compact"> 9103<dt>Input:</dt> 9104<dd><p><code>fileName</code> (string) 9105</p></dd> 9106<dt>Output:</dt> 9107<dd><p>- 9108</p></dd> 9109<dt>Return:</dt> 9110<dd><p>- 9111</p></dd> 9112<dt>Language-specific definition:</dt> 9113<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L96">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L78">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L330">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L106">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L987">Fortran</a> 9114</p></dd> 9115<dt>Examples:</dt> 9116<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x1.cpp#L27">x1.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x1.py#L24">x1.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/explore.py#L10">explore.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/flatten2.py#L15">flatten2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/flatten.py#L17">flatten.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/heal.py#L8">heal.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x1.jl#L23">x1.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/explore.jl#L10">explore.jl</a>) 9117</p></dd> 9118</dl> 9119 9120</dd> 9121<dt><code>gmsh/merge</code> 9122<span id="index-gmsh_002fmerge"></span> 9123</dt> 9124<dd><p>Merge a file. Equivalent to the <code>File->Merge</code> menu in the Gmsh app. Handling of the file depends on its extension and/
9124or its contents. Merging a file with model data will add the data to the current model. 9125</p> 9126<dl compact="compact"> 9127<dt>Input:</dt> 9128<dd><p><code>fileName</code> (string) 9129</p></dd> 9130<dt>Output:</dt> 9131<dd><p>- 9132</p></dd> 9133<dt>Return:</dt> 9134<dd><p>- 9135</p></dd> 9136<dt>Language-specific definition:</dt> 9137<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L103">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L84">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L348">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L125">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1007">Fortran</a> 9138</p></dd> 9139<dt>Examples:</dt> 9140<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t7.cpp#L21">t7.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t8.cpp#L37">t8.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t9.cpp#L29">t9.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t13.cpp#L24">t13.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t17.cpp#L33">t17.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t7.py#L20">t7.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t8.py#L35">t8.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t9.py#L26">t9.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t13.py#L21">t13.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t17.py#L32">t17.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t7.jl#L17">t7.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t8.jl#L32">t8.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t9.jl#L23">t9.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t13.jl#L17">t13.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t17.jl#L28">t17.jl</a>, ...), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t7.f90#L26">t7.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t8.f90#L44">t8.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t9.f90#L31">t9.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t13.f90#L69">t13.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t17.f90#L36">t17.f90</a>) 9141</p></dd> 9142</dl> 9143 9144</dd> 9145<dt><code>gmsh/write</code> 9146<span id="index-gmsh_002fwrite"></span> 9147</dt> 9148<dd><p>Write a file. The export format is determined by the file extension. 9149</p> 9150<dl compact="compact"> 9151<dt>Input:</dt> 9152<dd><p><code>fileName</code> (string) 9153</p></dd> 9154<dt>Output:</dt> 9155<dd><p>- 9156</p></dd> 9157<dt>Return:</dt> 9158<dd><p>- 9159</p></dd> 9160<dt>Language-specific definition:</dt> 9161<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L108">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L88">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L366">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L142">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1025">Fortran</a> 9162</p></dd> 9163<dt>Examples:</dt> 9164<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t1.cpp#L123">t1.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t2.cpp#L142">t2.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L84">t3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t4.cpp#L167">t4.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t5.cpp#L221">t5.cpp</a>, ...), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t1.py#L122">t1.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t2.py#L135">t2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L79">t3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t4.py#L176">t4.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t5.py#L215">t5.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t1.jl#L121">t1.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t2.jl#L133">t2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L78">t3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t4.jl#L162">
9164t4.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t5.jl#L212">t5.jl</a>, ...), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t1.f90#L124">t1.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t2.f90#L150">t2.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L155">t3.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t4.f90#L178">t4.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t5.f90#L167">t5.f90</a>, ...) 9165</p></dd> 9166</dl> 9167 9168</dd> 9169<dt><code>gmsh/clear</code> 9170<span id="index-gmsh_002fclear"></span> 9171</dt> 9172<dd><p>Clear all loaded models and post-processing data, and add a new empty model. 9173</p> 9174<dl compact="compact"> 9175<dt>Input:</dt> 9176<dd><p>- 9177</p></dd> 9178<dt>Output:</dt> 9179<dd><p>- 9180</p></dd> 9181<dt>Return:</dt> 9182<dd><p>- 9183</p></dd> 9184<dt>Language-specific definition:</dt> 9185<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L113">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L93">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L382">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L156">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1044">Fortran</a> 9186</p></dd> 9187<dt>Examples:</dt> 9188<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L20">t3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x1.cpp#L166">x1.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L17">t3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t13.py#L19">t13.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x1.py#L127">x1.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/x3d_export.py#L32">x3d_export.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L15">t3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t13.jl#L16">t13.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x1.jl#L138">x1.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L79">t3.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t13.f90#L68">t13.f90</a>) 9189</p></dd> 9190</dl> 9191 9192</dd> 9193</dl> 9194 9195<hr> 9196<span id="Namespace-gmsh_002foption"></span><div class="header"> 9197<p> 9198Next: <a href="#Namespace-gmsh_002fmodel" accesskey="n" rel="next">Namespace gmsh/model</a>, Previous: <a href="#Namespace-gmsh" accesskey="p" rel="prev">Namespace gmsh</a>, Up: <a href="#Gmsh-application-programming-interface" accesskey="u" rel="up">Gmsh application programming interface</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 9199</div> 9200<span id="Namespace-gmsh_002foption_003a-option-handling-functions"></span><h3 class="section">6.2 Namespace <code>gmsh/option</code>: option handling functions</h3> 9201 9202<dl compact="compact"> 9203<dt><code>gmsh/option/setNumber</code> 9204<span id="index-gmsh_002foption_002fsetNumber"></span> 9205</dt> 9206<dd><p>Set a numerical option to <code>value</code>. <code>name</code> is of the form "Category.Option" or "Category[num].Option". Available categories and options are listed in the <a href="https://gmsh.info/doc/texinfo/gmsh.html#Gmsh-options">"Gmsh options" chapter of the Gmsh reference manual</a>. 9207</p> 9208<dl compact="compact"> 9209<dt>Input:</dt> 9210<dd><p><code>name</code> (string), <code>value</code>
9210 (double) 9211</p></dd> 9212<dt>Output:</dt> 9213<dd><p>- 9214</p></dd> 9215<dt>Return:</dt> 9216<dd><p>- 9217</p></dd> 9218<dt>Language-specific definition:</dt> 9219<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L123">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L99">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L402">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L186">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1060">Fortran</a> 9220</p></dd> 9221<dt>Examples:</dt> 9222<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L90">t3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t5.cpp#L202">t5.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t6.cpp#L96">t6.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t7.cpp#L58">t7.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t8.cpp#L54">t8.cpp</a>, ...), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L84">t3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t5.py#L197">t5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t6.py#L97">t6.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t7.py#L51">t7.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t8.py#L47">t8.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L84">t3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t5.jl#L194">t5.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t6.jl#L96">t6.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t7.jl#L48">t7.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t8.jl#L44">t8.jl</a>, ...), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L28">t3.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t5.f90#L149">t5.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t6.f90#L103">t6.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t7.f90#L56">t7.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t8.f90#L56">t8.f90</a>, ...) 9223</p></dd> 9224</dl> 9225 9226</dd> 9227<dt><code>gmsh/option/getNumber</code> 9228<span id="index-gmsh_002foption_002fgetNumber"></span> 9229</dt> 9230<dd><p>Get the <code>value</code> of a numerical option. <code>name</code> is of the form "Category.Option" or "Category[num].Option". Available categories and options are listed in the <a href="https://gmsh.info/doc/texinfo/gmsh.html#Gmsh-options">"Gmsh options" chapter of the Gmsh reference manual</a>. 9231</p> 9232<dl compact="compact"> 9233<dt>Input:</dt> 9234<dd><p><code>name</code> (string) 9235</p></dd> 9236<dt>Output:</dt> 9237<dd><p><code>value</code>
9237 (double) 9238</p></dd> 9239<dt>Return:</dt> 9240<dd><p>- 9241</p></dd> 9242<dt>Language-specific definition:</dt> 9243<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L132">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L107">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L425">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L210">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1086">Fortran</a> 9244</p></dd> 9245<dt>Examples:</dt> 9246<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t8.cpp#L138">t8.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t8.py#L139">t8.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/test.py#L5">test.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t8.jl#L141">t8.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t8.f90#L149">t8.f90</a>) 9247</p></dd> 9248</dl> 9249 9250</dd> 9251<dt><code>gmsh/option/setString</code> 9252<span id="index-gmsh_002foption_002fsetString"></span> 9253</dt> 9254<dd><p>Set a string option to <code>value</code>. <code>name</code> is of the form "Category.Option" or "Category[num].Option". Available categories and options are listed in the <a href="https://gmsh.info/doc/texinfo/gmsh.html#Gmsh-options">"Gmsh options" chapter of the Gmsh reference manual</a>. 9255</p> 9256<dl compact="compact"> 9257<dt>Input:</dt> 9258<dd><p><code>name</code> (string), <code>value</code> (string) 9259</p></dd> 9260<dt>Output:</dt> 9261<dd><p>- 9262</p></dd> 9263<dt>Return:</dt> 9264<dd><p>- 9265</p></dd> 9266<dt>Language-specific definition:</dt> 9267<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L141">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L115">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L452">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L233">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1112">Fortran</a> 9268</p></dd> 9269<dt>Examples:</dt> 9270<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t4.cpp#L153">t4.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t4.py#L163">t4.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/step_header_data.py#L13">step_header_data.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t4.jl#L150">t4.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t4.f90#L165">t4.f90</a>) 9271</p></dd> 9272</dl> 9273 9274</dd> 9275<dt><code>gmsh/option/getString</code> 9276<span id="index-gmsh_002foption_002fgetString"></span> 9277</dt> 9278<dd><p>Get the <code>value</code> of a string option. <code>name</code> is of the form "Category.Option" or "Category[num].Option". Available categories and options are listed in the <a href="https://gmsh.info/doc/texinfo/gmsh.html#Gmsh-options">"Gmsh options" chapter of the Gmsh reference manual</a>. 9279</p> 9280<dl compact="compact"> 9281<dt>Input:</dt> 9282<dd><p><code>name</code> (string) 9283</p></dd> 9284<dt>Output:</dt> 9285<dd><p><code>value</code> (string) 9286</p></dd> 9287<dt>Return:</dt> 9288<dd><p>- 9289</p></dd> 9290<dt>Language-specific definition:</dt> 9291<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L150">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L123">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L475">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L257">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1138">Fortran</a> 9292</p></dd> 9293<dt>Examples:</dt> 9294<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/test.py#L29">test.py</a>) 9295</p></dd> 9296</dl> 9297 9298</dd> 9299<dt><code>
9299gmsh/option/setColor</code> 9300<span id="index-gmsh_002foption_002fsetColor"></span> 9301</dt> 9302<dd><p>Set a color option to the RGBA value (<code>r</code>, <code>g</code>, <code>b</code>, <code>a</code>), where where <code>r</code>, <code>g</code>, <code>b</code> and <code>a</code> should be integers between 0 and 255. <code>name</code> is of the form "Category.Color.Option" or "Category[num].Color.Option". Available categories and options are listed in the <a href="https://gmsh.info/doc/texinfo/gmsh.html#Gmsh-options">"Gmsh options" chapter of the Gmsh reference manual</a>. For conciseness "Color." can be ommitted in <code>name</code>. 9303</p> 9304<dl compact="compact"> 9305<dt>Input:</dt> 9306<dd><p><code>name</code> (string), <code>r</code> (integer), <code>g</code> (integer), <code>b</code> (integer), <code>a = 255</code> (integer) 9307</p></dd> 9308<dt>Output:</dt> 9309<dd><p>- 9310</p></dd> 9311<dt>Return:</dt> 9312<dd><p>- 9313</p></dd> 9314<dt>Language-specific definition:</dt> 9315<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L161">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L133">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L502">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L286">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1168">Fortran</a> 9316</p></dd> 9317<dt>Examples:</dt> 9318<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L91">t3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t8.cpp#L61">t8.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L85">t3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t8.py#L58">t8.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L85">t3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t8.jl#L55">t8.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L29">t3.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t8.f90#L64">t8.f90</a>) 9319</p></dd> 9320</dl> 9321 9322</dd> 9323<dt><code>gmsh/option/getColor</code> 9324<span id="index-gmsh_002foption_002fgetColor"></span> 9325</dt> 9326<dd><p>Get the <code>r</code>, <code>g</code>, <code>b</code>, <code>a</code> value of a color option. <code>name</code> is of the form "Category.Color.Option" or "Category[num].Color.Option". Available categories and options are listed in the <a href="https://gmsh.info/doc/texinfo/gmsh.html#Gmsh-options">"Gmsh options" chapter of the Gmsh reference manual</a>. For conciseness "Color." can be ommitted in <code>name</code>. 9327</p> 9328<dl compact="compact"> 9329<dt>Input:</dt> 9330<dd><p><code>name</code> (string) 9331</p></dd> 9332<dt>Output:</dt> 9333<dd><p><code>r</code> (integer), <code>g</code> (integer), <code>b</code> (integer), <code>a</code> (integer) 9334</p></dd> 9335<dt>Return:</dt> 9336<dd><p>- 9337</p></dd> 9338<dt>Language-specific definition:</dt> 9339<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L174">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L145">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L533">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L314">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1210">Fortran</a> 9340</p></dd> 9341<dt>Examples:</dt> 9342<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L97">t3.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L90">t3.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L90">t3.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L34">t3.f90</a>) 9343</p></dd> 9344</dl> 9345 9346</dd> 9347<dt><code>
9347gmsh/option/restoreDefaults</code> 9348<span id="index-gmsh_002foption_002frestoreDefaults"></span> 9349</dt> 9350<dd><p>Restore all options to default settings. 9351</p> 9352<dl compact="compact"> 9353<dt>Input:</dt> 9354<dd><p>- 9355</p></dd> 9356<dt>Output:</dt> 9357<dd><p>- 9358</p></dd> 9359<dt>Return:</dt> 9360<dd><p>- 9361</p></dd> 9362<dt>Language-specific definition:</dt> 9363<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L183">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L153">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L574">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L333">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1248">Fortran</a> 9364</p></dd> 9365</dl> 9366 9367</dd> 9368</dl> 9369 9370<hr> 9371<span id="Namespace-gmsh_002fmodel"></span><div class="header"> 9372<p> 9373Next: <a href="#Namespace-gmsh_002fmodel_002fmesh" accesskey="n" rel="next">Namespace gmsh/model/mesh</a>, Previous: <a href="#Namespace-gmsh_002foption" accesskey="p" rel="prev">Namespace gmsh/option</a>, Up: <a href="#Gmsh-application-programming-interface" accesskey="u" rel="up">Gmsh application programming interface</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 9374</div> 9375<span id="Namespace-gmsh_002fmodel_003a-model-functions"></span><h3 class="section">6.3 Namespace <code>gmsh/model</code>: model functions</h3> 9376 9377<dl compact="compact"> 9378<dt><code>gmsh/model/add</code> 9379<span id="index-gmsh_002fmodel_002fadd"></span> 9380</dt> 9381<dd><p>Add a new model, with name <code>name</code>, and set it as the current model. 9382</p> 9383<dl compact="compact"> 9384<dt>Input:</dt> 9385<dd><p><code>name</code> (string) 9386</p></dd> 9387<dt>Output:</dt> 9388<dd><p>- 9389</p></dd> 9390<dt>Return:</dt> 9391<dd><p>- 9392</p></dd> 9393<dt>Language-specific definition:</dt> 9394<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L192">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L156">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L594">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L362">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1261">Fortran</a> 9395</p></dd> 9396<dt>Examples:</dt> 9397<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t1.cpp#L22">t1.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t2.cpp#L19">t2.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L21">t3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t4.cpp#L19">t4.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t6.cpp#L16">t6.cpp</a>, ...), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t1.py#L19">t1.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t2.py#L17">t2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L18">t3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t4.py#L16">t4.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t5.py#L15">t5.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t1.jl#L18">t1.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t2.jl#L15">t2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L16">t3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t4.jl#L13">t4.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t5.jl#L13">t5.jl</a>, ...), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t1.f90#L26">t1.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t2.f90#L29">t2.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L80">t3.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t4.f90#L44">t4.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t5.f90#L30">t5.f90</a>, ...) 9398</p></dd> 9399</dl> 9400 9401</dd> 9402<dt><code>gmsh/model/remove</code> 9403<span id="index-gmsh_002fmodel_002fremove"></span> 9404</dt> 9405<dd><p>Remove the current model. 9406</p> 9407<dl compact="compact"> 9408<dt>Input:</dt> 9409<dd><p>- 9410</p></dd> 9411<dt>Output:</dt> 9412<dd><p>- 9413</p></dd> 9414<dt>Return:</dt> 9415<dd><p>- 9416</p></dd> 9417<dt>Language-specific definition:</dt> 9418<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L197">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L160">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L611">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L376">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1279">Fortran</a> 9419</p></dd> 9420</dl> 9421 9422</dd> 9423<dt><code>gmsh/model/list</code> 9424<span id="index-gmsh_002fmodel_002flist"></span> 9425</dt> 9426<dd><p>List the names of all models. 9427</p> 9428<dl compact="compact"> 9429<dt>Input:</dt> 9430<dd><p>- 9431</p></dd> 9432<dt>Output:</dt> 9433<dd><p><code>names</code> (vector of strings) 9434</p></dd> 9435<dt>Return:</dt> 9436<dd><p>- 9437</p></dd> 9438<dt>Language-specific definition:</dt> 9439<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L202">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L163">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L624">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L395">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1292">Fortran</a> 9440</p></dd> 9441</dl> 9442 9443</dd> 9444<dt><code>gmsh/model/getCurrent</code> 9445<span id="index-gmsh_002fmodel_002fgetCurrent"></span> 9446</dt> 9447<dd><p>Get the name of the current model. 9448</p> 9449<dl compact="compact"> 9450<dt>Input:</dt> 9451<dd><p>- 9452</p></dd> 9453<dt>Output:</dt> 9454<dd><p><code>name</code> (string) 9455</p></dd> 9456<dt>Return:</dt> 9457<dd><p>- 9458</p></dd> 9459<dt>Language-specific definition:</dt> 9460<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L207">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L167">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L645">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L418">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1317">Fortran</a> 9461</p></dd> 9462<dt>Examples:</dt> 9463<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x1.cpp#L38">x1.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x1.py#L32">x1.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/explore.py#L14">explore.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x1.jl#L32">x1.jl</a>) 9464</p></dd> 9465</dl> 9466 9467</dd> 9468<dt><code>gmsh/model/setCurrent</code> 9469<span id="index-gmsh_002fmodel_002fsetCurrent"></span> 9470</dt> 9471<dd><p>Set the current model to the model with name <code>name</code>. If several models have the same name, select the one that was added first. 9472</p> 9473<dl compact="compact"> 9474<dt>Input:</dt> 9475<dd><p><code>name</code> (string) 9476</p></dd> 9477<dt>Output:</dt> 9478<dd><p>- 9479</p></dd> 9480<dt>Return:</dt> 9481<dd><p>- 9482</p></dd> 9483<dt>Language-specific definition:</dt> 9484<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L213">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L172">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L667">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L439">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1338">Fortran</a> 9485</p></dd> 9486<dt>Examples:</dt> 9487<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/copy_mesh.py#L45">copy_mesh.py</a>) 9488</p></dd> 9489</dl> 9490 9491</dd> 9492<dt><code>gmsh/model/getFileName</code> 9493<span id="index-gmsh_002fmodel_002fgetFileName"></span> 9494</dt> 9495<dd><p>Get the file name (if any) associated with the current model. A file name is associated when a model is read from a file on disk. 9496</p> 9497<dl compact="compact"> 9498<dt>Input:</dt> 9499<dd><p>- 9500</p></dd> 9501<dt>Output:</dt> 9502<dd><p><code>fileName</code> (string) 9503</p></dd> 9504<dt>Return:</dt> 9505<dd><p>- 9506</p></dd> 9507<dt>Language-specific definition:</dt> 9508<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L219">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L177">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L686">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L460">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1357">Fortran</a> 9509</p></dd> 9510</dl> 9511 9512</dd> 9513<dt><code>gmsh/model/setFileName</code> 9514<span id="index-gmsh_002fmodel_002fsetFileName"></span> 9515</dt> 9516<dd><p>Set the file name associated with the current model. 9517</p> 9518<dl compact="compact"> 9519<dt>Input:</dt> 9520<dd><p><code>fileName</code> (string) 9521</p></dd> 9522<dt>Output:</dt> 9523<dd><p>- 9524</p></dd> 9525<dt>Return:</dt> 9526<dd><p>- 9527</p></dd> 9528<dt>Language-specific definition:</dt> 9529<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L224">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L181">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L709">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L480">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1377">Fortran</a> 9530</p></dd> 9531</dl> 9532 9533</dd> 9534<dt><code>gmsh/model/getEntities</code> 9535<span id="index-gmsh_002fmodel_002fgetEntities"></span> 9536</dt> 9537<dd><p>Get all the entities in the current model. A model entity is represented by two integers: its dimension (dim == 0, 1, 2 or 3) and its tag (its unique, strictly positive identifier). If <code>dim</code> is >= 0, return only the entities of the specified dimension (e.g. points if <code>dim</code> == 0). The entities are returned as a vector of (dim, tag) pairs. 9538</p> 9539<dl compact="compact"> 9540<dt>Input:</dt> 9541<dd><p><code>dim = -1</code> (integer) 9542</p></dd> 9543<dt>Output:</dt> 9544<dd><p><code>dimTags</code> (vector of pairs of integers) 9545</p></dd> 9546<dt>Return:</dt> 9547<dd><p>- 9548</p></dd> 9549<dt>Language-specific definition:</dt> 9550<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L233">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L189">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L727">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L505">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1399">Fortran</a> 9551</p></dd> 9552<dt>Examples:</dt> 9553<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t13.cpp#L74">t13.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t16.cpp#L112">t16.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t18.cpp#L31">t18.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t20.cpp#L113">t20.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t21.cpp#L46">t21.cpp</a>, ...), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t13.py#L64">t13.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t16.py#L96">t16.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t18.py#L29">t18.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t20.py#L91">t20.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t21.py#L35">t21.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t13.jl#L60">t13.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t16.jl#L97">t16.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t18.jl#L26">t18.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t20.jl#L92">t20.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t21.jl#L34">t21.jl</a>, ...), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t13.f90#L114">t13.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t16.f90#L121">t16.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t18.f90#L39">t18.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t20.f90#L109">t20.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t21.f90#L46">t21.f90</a>) 9554</p></dd> 9555</dl> 9556 9557</dd> 9558<dt><code>gmsh/model/setEntityName</code> 9559<span id="index-gmsh_002fmodel_002fsetEntityName"></span> 9560</dt> 9561<dd><p>Set the name of the entity of dimension <code>dim</code> and tag <code>tag</code>. 9562</p> 9563<dl compact="compact"> 9564<dt>Input:</dt> 9565<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>name</code> (string) 9566</p></dd> 9567<dt>Output:</dt> 9568<dd><p>- 9569</p></dd> 9570<dt>Return:</dt> 9571<dd><p>- 9572</p></dd> 9573<dt>Language-specific definition:</dt> 9574<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L239">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L194">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L755">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L529">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1429">Fortran</a> 9575</p></dd> 9576</dl> 9577 9578</dd> 9579<dt><code>gmsh/model/getEntityName</code> 9580<span id="index-gmsh_002fmodel_002fgetEntityName"></span> 9581</dt> 9582<dd><p>Get the name of the entity of dimension <code>dim</code> and tag <code>tag</code>. 9583</p> 9584<dl compact="compact"> 9585<dt>Input:</dt> 9586<dd><p><code>dim</code> (integer), <code>tag</code> (integer) 9587</p></dd> 9588<dt>Output:</dt> 9589<dd><p><code>name</code> (string) 9590</p></dd> 9591<dt>Return:</dt> 9592<dd><p>- 9593</p></dd> 9594<dt>Language-specific definition:</dt> 9595<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L246">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L200">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L777">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L551">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1457">Fortran</a> 9596</p></dd> 9597<dt>Examples:</dt> 9598<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x1.cpp#L96">x1.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x1.py#L83">x1.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/step_assembly.py#L23">step_assembly.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x1.jl#L82">x1.jl</a>) 9599</p></dd> 9600</dl> 9601 9602</dd> 9603<dt><code>gmsh/model/removeEntityName</code> 9604<span id="index-gmsh_002fmodel_002fremoveEntityName"></span> 9605</dt> 9606<dd><p>Remove the entity name <code>name</code> from the current model. 9607</p> 9608<dl compact="compact"> 9609<dt>Input:</dt> 9610<dd><p><code>name</code> (string) 9611</p></dd> 9612<dt>Output:</dt> 9613<dd><p>- 9614</p></dd> 9615<dt>Return:</dt> 9616<dd><
9616p>- 9617</p></dd> 9618<dt>Language-specific definition:</dt> 9619<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L253">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L206">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L803">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L571">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1487">Fortran</a> 9620</p></dd> 9621</dl> 9622 9623</dd> 9624<dt><code>gmsh/model/getPhysicalGroups</code> 9625<span id="index-gmsh_002fmodel_002fgetPhysicalGroups"></span> 9626</dt> 9627<dd><p>Get the physical groups in the current model. The physical groups are returned as a vector of (dim, tag) pairs. If <code>dim</code> is >= 0, return only the groups of the specified dimension (e.g. physical points if <code>dim</code> == 0). 9628</p> 9629<dl compact="compact"> 9630<dt>Input:</dt> 9631<dd><p><code>dim = -1</code> (integer) 9632</p></dd> 9633<dt>Output:</dt> 9634<dd><p><code>dimTags</code> (vector of pairs of integers) 9635</p></dd> 9636<dt>Return:</dt> 9637<dd><p>- 9638</p></dd> 9639<dt>Language-specific definition:</dt> 9640<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L260">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L212">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L821">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L594">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1507">Fortran</a> 9641</p></dd> 9642<dt>Examples:</dt> 9643<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/poisson.py#L83">poisson.py</a>) 9644</p></dd> 9645</dl> 9646 9647</dd> 9648<dt><code>gmsh/model/getPhysicalGroupsEntities</code> 9649<span id="index-gmsh_002fmodel_002fgetPhysicalGroupsEntities"></span> 9650</dt> 9651<dd><p>Get the physical groups in the current model as well as the model entities that make them up. The physical groups are returned as the vector of (dim, tag) pairs <code>dimTags</code>. The model entities making up the corresponding physical groups are returned in <code>entities</code>. If <code>dim</code> is >= 0, return only the groups of the specified dimension (e.g. physical points if <code>dim</code> == 0). 9652</p> 9653<dl compact="compact"> 9654<dt>Input:</dt> 9655<dd><p><code>dim = -1</code> (integer) 9656</p></dd> 9657<dt>Output:</dt> 9658<dd><p><code>dimTags</code> (vector of pairs of integers), <code>entities</code> (vector of vectors of pairs of integers) 9659</p></dd> 9660<dt>Return:</dt> 9661<dd><p>- 9662</p></dd> 9663<dt>Language-specific definition:</dt> 9664<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L270">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L221">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L847">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L624">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1541">Fortran</a> 9665</p></dd> 9666</dl> 9667 9668</dd> 9669<dt><code>gmsh/model/getEntitiesForPhysicalGroup</code> 9670<span id="index-gmsh_002fmodel_002fgetEntitiesForPhysicalGroup"></span> 9671</dt> 9672<dd><p>Get the tags of the model entities making up the physical group of dimension <code>dim</code> and tag <code>tag</code>. 9673</p> 9674<dl compact="compact"> 9675<dt>Input:</dt> 9676<dd><p><code>dim</code> (integer), <code>tag</code> (integer) 9677</p></dd> 9678<dt>Output:</dt> 9679<dd><p><code>tags</code> (vector of integers) 9680</p></dd> 9681<dt>Return:</dt> 9682<dd><p>- 9683</p></dd> 9684<dt>Language-specific definition:</dt> 9685<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L278">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L228">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L880">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L662">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1592">Fortran</a> 9686</p></dd> 9687<dt>Examples:</dt> 9688<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/poisson.py#L88">poisson.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/test.py#L24">test.py</a>) 9689</p></dd> 9690</dl> 9691 9692</dd> 9693<dt><code>gmsh/model/getEntitiesForPhysicalName</code> 9694<span id="index-gmsh_002fmodel_002fgetEntitiesForPhysicalName"></span> 9695</dt> 9696<dd><p>Get the model entities (as a vector (dim, tag) pairs) making up the physical group with name <code>name</code>. 9697</p> 9698<dl compact="compact"> 9699<dt>Input:</dt> 9700<dd><p><code>name</code> (string) 9701</p></dd> 9702<dt>Output:</dt> 9703<dd><p><code>dimTags</code> (vector of pairs of integers) 9704</p></dd> 9705<dt>Return:</dt> 9706<dd><p>- 9707</p></dd> 9708<dt>Language-specific definition:</dt> 9709<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L286">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L235">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L907">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L687">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1628">Fortran</a> 9710</p></dd> 9711</dl> 9712 9713</dd> 9714<dt><code>gmsh/model/getPhysicalGroupsForEntity</code> 9715<span id="index-gmsh_002fmodel_002fgetPhysicalGroupsForEntity"></span> 9716</dt> 9717<dd><p>Get the tags of the physical groups (if any) to which the model entity of dimension <code>dim</code> and tag <code>tag</code> belongs. 9718</p> 9719<dl compact="compact"> 9720<dt>Input:</dt> 9721<dd><p><code>dim</code> (integer), <code>tag</code> (integer) 9722</p></dd> 9723<dt>Output:</dt> 9724<dd><p><code>physicalTags</code> (vector of integers) 9725</p></dd> 9726<dt>Return:</dt> 9727<dd><p>- 9728</p></dd> 9729<dt>Language-specific definition:</dt> 9730<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L293">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L241">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L932">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L714">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1659">Fortran</a> 9731</p></dd> 9732<dt>Examples:</dt> 9733<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x1.cpp#L123">x1.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x1.py#L100">x1.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x1.jl#L103">x1.jl</a>) 9734</p></dd> 9735</dl> 9736 9737</dd> 9738<dt><code>gmsh/model/addPhysicalGroup</code> 9739<span id="index-gmsh_002fmodel_002faddPhysicalGroup"></span> 9740</dt> 9741<dd><p>Add a physical group of dimension <code>dim</code>, grouping the model entities with tags <code>tags</code>. Return the tag of the physical group, equal to <code>tag</code> if <code>tag</code> is positive, or a new tag if <code>tag</code> < 0. Set the name of the physical group if <code>name</code> is not empty. 9742</p> 9743<dl compact="compact"> 9744<dt>Input:</dt> 9745<dd><p><code>dim</code> (integer), <code>tags</code> (vector of integers), <code>tag = -1</code> (integer), <code>name = ""</code> (string) 9746</p></dd> 9747<dt>Output:</dt> 9748<dd><p>- 9749</p></dd> 9750<dt>Return:</dt> 9751<dd><p>integer 9752</p></dd> 9753<dt>Language-specific definition:</dt> 9754<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L303">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L250">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L959">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L743">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1697">Fortran</a> 9755</p></dd> 9756<dt>Examples:</dt> 9757<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t1.cpp#L116">t1.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t2.cpp#L34">t2.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L36">t3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t5.cpp#L192">t5.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t14.cpp#L76">t14.cpp</a>, ...), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t1.py#L115">t1.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t2.py#L32">t2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L33">t3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t5.py#L188">t5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t14.py#L70">t14.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t1.jl#L114">t1.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t2.jl#L30">t2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L31">t3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t5.jl#L185">t5.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t14.jl#L69">t14.jl</a>, ...), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t1.f90#L117">t1.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t2.f90#L44">t2.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L95">t3.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t5.f90#L140">t5.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t14.f90#L82">t14.f90</a>, ...) 9758</p></dd> 9759</dl> 9760 9761</dd> 9762<dt><code>gmsh/model/removePhysicalGroups</code> 9763<span id="index-gmsh_002fmodel_002fremovePhysicalGroups"></span> 9764</dt> 9765<dd><p>Remove the physical groups <code>dimTags</code> (given as a vector of (dim, tag) pairs) from the current model. If <code>dimTags</code> is empty, remove all groups. 9766</p> 9767<dl compact="compact"> 9768<dt>Input:</dt> 9769<dd><p><code>dimTags = []</code> (vector of pairs of integers) 9770</p></dd> 9771<dt>Output:</dt> 9772<dd><p>- 9773</p></dd> 9774<dt>Return:</dt> 9775<dd><p>- 9776</p></dd> 9777<dt>Language-specific definition:</dt> 9778<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L312">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L258">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L990">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L762">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1736">Fortran</a> 9779</p></dd> 9780</dl> 9781 9782</dd> 9783<dt><code>gmsh/model/setPhysicalName</code> 9784<span id="index-gmsh_002fmodel_002fsetPhysicalName"></span> 9785</dt> 9786<dd><p>Set the name of the physical group of dimension <code>dim</code> and tag <code>tag</code>. 9787</p> 9788<dl compact="compact"> 9789<dt>Input:</dt> 9790<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>name</code> (string) 9791</p></dd> 9792<dt>Output:</dt> 9793<dd><p>- 9794</p></dd> 9795<dt>Return:</dt> 9796<dd><p>- 9797</p></dd> 9798<dt>Language-specific definition:</dt> 9799<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L317">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L262">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1010">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L784">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1757">Fortran</a> 9800</p></dd> 9801<dt>Examples:</dt> 9802<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/poisson.py#L49">poisson.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/step_assembly.py#L38">step_assembly.py</a>) 9803</p></dd> 9804</dl> 9805 9806</dd> 9807<dt><code>gmsh/model/getPhysicalName</code> 9808<span id="index-gmsh_002fmodel_002fgetPhysicalName"></span> 9809</dt> 9810<dd><p>Get the name of the physical group of dimension <code>dim</code> and tag <code>tag</code>. 9811</p> 9812<dl compact="compact"> 9813<dt>Input:</dt> 9814<dd><p><code>dim</code> (integer), <code>tag</code> (integer) 9815</p></dd> 9816<dt>Output:</dt> 9817<dd><p><code>name</code> (string) 9818</p></dd> 9819<dt>Return:</dt> 9820<dd><p>- 9821</p></dd> 9822<dt>Language-specific definition:</dt> 9823<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L324">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L268">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1032">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L806">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1785">Fortran</a> 9824</p></dd> 9825<dt>Examples:</dt> 9826<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x1.cpp#L128">x1.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x1.py#L104">x1.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/poisson.py#L87">poisson.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x1.jl#L107">x1.jl</a>) 9827</p></dd> 9828</dl> 9829 9830</dd> 9831<dt><code>gmsh/model/removePhysicalName</code> 9832<span id="index-gmsh_002fmodel_002fremovePhysicalName"></span> 9833</dt> 9834<dd><p>Remove the physical name <code>name</code> from the current model. 9835</p> 9836<dl compact="compact"> 9837<dt>Input:</dt> 9838<dd><p><code>name</code> (string) 9839</p></dd> 9840<dt>Output:</dt> 9841<dd><p>- 9842</p></dd> 9843<dt>Return:</dt> 9844<dd><p>- 9845</p></dd> 9846<dt>Language-specific definition:</dt> 9847<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L331">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L274">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1058">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L826">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1815">Fortran</a> 9848</p></dd> 9849</dl> 9850 9851</dd> 9852<dt><code>gmsh/model/setTag</code> 9853<span id="index-gmsh_002fmodel_002fsetTag"></span> 9854</dt> 9855<dd><p>Set the tag of the entity of dimension <code>dim</code> and tag <code>tag</code> to the new value <code>newTag</code>. 9856</p> 9857<dl compact="compact"> 9858<dt>Input:</dt> 9859<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>newTag</code> (integer) 9860</p></dd> 9861<dt>Output:</dt> 9862<dd><p>- 9863</p></dd> 9864<dt>Return:</dt> 9865<dd><p>- 9866</p></dd> 9867<dt>Language-specific definition:</dt> 9868<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L337">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L279">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1076">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L847">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1834">Fortran</a> 9869</p></dd> 9870</dl> 9871 9872</dd> 9873<dt><code>gmsh/model/getBoundary</code> 9874<span id="index-gmsh_002fmodel_002fgetBoundary"></span> 9875</dt> 9876<dd><p>Get the boundary of the model entities <code>dimTags</code>, given as a vector of (dim, tag) pairs. Return in <code>outDimTags</code> the boundary of the individual entities (if <code>combined</code> is false) or the boundary of the combined geometrical shape formed by all input entities (if <code>combined</code> is true). Return tags multiplied by the sign of the boundary entity if <code>oriented</code> is true. Apply the boundary operator recursively down to dimension 0 (i.e. to points) if <code>recursive</code> is true. 9877</p> 9878<dl compact="compact"> 9879<dt>Input:</dt> 9880<dd><p><code>d
9880imTags</code> (vector of pairs of integers), <code>combined = True</code> (boolean), <code>oriented = False</code> (boolean), <code>recursive = False</code> (boolean) 9881</p></dd> 9882<dt>Output:</dt> 9883<dd><p><code>outDimTags</code> (vector of pairs of integers) 9884</p></dd> 9885<dt>Return:</dt> 9886<dd><p>- 9887</p></dd> 9888<dt>Language-specific definition:</dt> 9889<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L350">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L291">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1099">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L876">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1868">Fortran</a> 9890</p></dd> 9891<dt>Examples:</dt> 9892<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t14.cpp#L88">t14.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t16.cpp#L114">t16.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t18.cpp#L97">t18.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t19.cpp#L50">t19.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t21.cpp#L174">t21.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t14.py#L80">t14.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t16.py#L96">t16.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t18.py#L88">t18.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t19.py#L46">t19.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t21.py#L150">t21.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t14.jl#L79">t14.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t16.jl#L97">t16.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t18.jl#L86">t18.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t19.jl#L43">t19.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t21.jl#L150">t21.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t14.f90#L93">t14.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t16.f90#L122">t16.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t18.f90#L112">t18.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t19.f90#L57">t19.f90</a>) 9893</p></dd> 9894</dl> 9895 9896</dd> 9897<dt><code>gmsh/model/getAdjacencies</code> 9898<span id="index-gmsh_002fmodel_002fgetAdjacencies"></span> 9899</dt> 9900<dd><p>Get the upward and downward adjacencies of the model entity of dimension <code>dim</code> and tag <code>tag</code>. The <code>upward</code> vector returns the tags of adjacent entities of dimension <code>dim</code> + 1; the <code>downward</code> vector returns the tags of adjacent entities of dimension <code>dim</code> - 1. 9901</p> 9902<dl compact="compact"> 9903<dt>Input:</dt> 9904<dd><p><code>dim</code> (integer), <code>tag</code> (integer) 9905</p></dd> 9906<dt>Output:</dt> 9907<dd><p><code>upward</code> (vector of integers), <code>downward</code> (vector of integers) 9908</p></dd> 9909<dt>Return:</dt> 9910<dd><p>- 9911</p></dd> 9912<dt>Language-specific definition:</dt> 9913<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L362">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L302">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1136">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L908">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1919">Fortran</a> 9914</p></dd> 9915<dt>Examples:</dt> 9916<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x1.cpp#L109">x1.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x1.py#L93">x1.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x1.jl#L94">x1.jl</a>) 9917</p></dd> 9918</dl> 9919 9920</dd> 9921<dt><code>gmsh/model/isEntityOrphan</code> 9922<span id="index-gmsh_002fmodel_002fisEntityOrphan"></span> 9923</dt> 9924<dd><p>Return whether the model entity of dimension <code>dim</code> and tag <code>tag</code> is an orphan, i.e. is not connected to any entity of the highest dimension in the model. 9925</p> 9926<dl compact="compact"> 9927<dt>Input:</dt> 9928<dd><p><code>dim</code> (integer), <code>tag</code> (integer) 9929</p></dd> 9930<dt>Output:</dt> 9931<dd><p>- 9932</p></dd> 9933<dt>Return:</dt> 9934<dd><p>integer 9935</p></dd> 9936<dt>Language-specific definition:</dt> 9937<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L372">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L311">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1170">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L936">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1968">Fortran</a> 9938</p></dd> 9939</dl> 9940 9941</dd> 9942<dt><code>gmsh/model/getEntitiesInBoundingBox</code> 9943<span id="index-gmsh_002fmodel_002fgetEntitiesInBoundingBox"></span> 9944</dt> 9945<dd><p>Get the model entities in the bounding box defined by the two points (<code>xmin</code>, <code>ymin</code>, <code>zmin</code>) and (<code>xmax</code>, <code>ymax</code>, <code>zmax</code>). If <code>dim</code> is >= 0, return only the entities of the specified dimension (e.g. points if <code>dim</code> == 0). 9946</p> 9947<dl compact="compact"> 9948<dt>Input:</dt> 9949<dd><p><code>xmin</code>
9949 (double), <code>ymin</code> (double), <code>zmin</code> (double), <code>xmax</code> (double), <code>ymax</code> (double), <code>zmax</code> (double), <code>dim = -1</code> (integer) 9950</p></dd> 9951<dt>Output:</dt> 9952<dd><p><code>dimTags</code> (vector of pairs of integers) 9953</p></dd> 9954<dt>Return:</dt> 9955<dd><p>- 9956</p></dd> 9957<dt>Language-specific definition:</dt> 9958<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L381">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L319">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1195">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L965">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L1996">Fortran</a> 9959</p></dd> 9960<dt>Examples:</dt> 9961<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t16.cpp#L134">t16.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t18.cpp#L86">t18.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t20.cpp#L105">t20.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t16.py#L114">t16.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t18.py#L80">t18.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t20.py#L86">t20.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_3d.py#L80">naca_boundary_layer_3d.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t16.jl#L116">t16.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t18.jl#L77">t18.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t20.jl#L85">t20.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t16.f90#L146">t16.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t18.f90#L96">t18.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t20.f90#L102">t20.f90</a>) 9962</p></dd> 9963</dl> 9964 9965</dd> 9966<dt><code>gmsh/model/getBoundingBox</code> 9967<span id="index-gmsh_002fmodel_002fgetBoundingBox"></span> 9968</dt> 9969<dd><p>Get the bounding box (<code>xmin</code>, <code>ymin</code>, <code>zmin</code>), (<code>xmax</code>, <code>ymax</code>, <code>zmax</code>) of the model entity of dimension <code>dim</code> and tag <code>tag</code>. If <code>dim</code> and <code>tag</code> are negative, get the bounding box of the whole model. 9970</p> 9971<dl compact="compact"> 9972<dt>Input:</dt> 9973<dd><p><code>dim</code> (integer), <code>tag</code> (integer) 9974</p></dd> 9975<dt>Output:</dt> 9976<dd><p><code>xmin</code> (double), <code>ymin</code> (double), <code>zmin</code> (double), <code>xmax</code> (double), <code>ymax</code> (double), <code>zmax</code> (double) 9977</p></dd> 9978<dt>Return:</dt> 9979<dd><p>- 9980</p></dd> 9981<dt>Language-specific definition:</dt> 9982<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L395">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L332">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1234">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L998">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L2058">Fortran</a> 9983</p></dd> 9984<dt>Examples:</dt> 9985<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t18.cpp#L113">t18.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t18.py#L103">t18.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t18.jl#L101">t18.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t18.f90#L130">t18.f90</a>) 9986</p></dd> 9987</dl> 9988 9989</dd> 9990<dt><code>gmsh/model/getDimension</code> 9991<span id="index-gmsh_002fmodel_002fgetDimension"></span> 9992</dt> 9993<dd><p>Return the geometrical dimension of the current model. 9994</p> 9995<dl compact="compact"> 9996<dt>Input:</dt> 9997<dd><p>- 9998</p></dd> 9999<dt>Output:</dt> 10000<dd><p>- 10001</p></dd> 10002<dt>Return:</dt> 10003<dd><p>integer 10004</p></dd> 10005<dt>Language-specific definition:</dt> 10006<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L407">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L343">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1283">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1021">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L2111">Fortran</a> 10007</p></dd> 10008<dt>Examples:</dt> 10009<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x1.cpp#L39">x1.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x1.py#L33">x1.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x1.jl#L32">x1.jl</a>) 10010</p></dd> 10011</dl> 10012 10013</dd> 10014<dt><code>gmsh/model/addDiscreteEntity</code> 10015<span id="index-gmsh_002fmodel_002faddDiscreteEntity"></span> 10016</dt> 10017<dd><p>Add a discrete model entity (defined by a mesh) of dimension <code>dim</code> in the current model. Return the tag of the new discrete entity, equal to <code>tag</code> if <code>tag</code> is positive, or a new tag if <code>tag</code> < 0. <code>boundary</code> specifies the tags of the entities on the boundary of the discrete entity, if any. Specifying <code>boundary</code> allows Gmsh to construct the topology of the overall model. 10018</p> 10019<dl compact="compact"> 10020<dt>Input:</dt> 10021<dd><p><code>dim</code> (integer), <code>tag = -1</code> (integer), <code>boundary = []</code> (vector of integers) 10022</p></dd> 10023<dt>Output:</dt> 10024<dd><p>- 10025</p></dd> 10026<dt>Return:</dt> 10027<dd><p>integer 10028</p></dd> 10029<dt>Language-specific definition:</dt> 10030<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L416">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L350">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1300">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1047">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L2130">Fortran</a> 10031</p></dd> 10032<dt>Examples:</dt> 10033<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x2.cpp#L78">x2.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x4.cpp#L24">x4.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x7.cpp#L71">x7.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x2.py#L74">x2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x4.py#L22">x4.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x7.py#L70">x7.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/copy_mesh.py#L28">copy_mesh.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/cylinderFFD.py#L142">cylinderFFD.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x2.jl#L75">x2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x4.jl#L21">x4.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x7.jl#L73">x7.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/discrete.jl#L8">discrete.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/import_perf.jl#L47">
10033import_perf.jl</a>) 10034</p></dd> 10035</dl> 10036 10037</dd> 10038<dt><code>gmsh/model/removeEntities</code> 10039<span id="index-gmsh_002fmodel_002fremoveEntities"></span> 10040</dt> 10041<dd><p>Remove the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) of the current model, provided that they are not on the boundary of (or embedded in) higher-dimensional entities. If <code>recursive</code> is true, remove all the entities on their boundaries, down to dimension 0. 10042</p> 10043<dl compact="compact"> 10044<dt>Input:</dt> 10045<dd><p><code>dimTags</code> (vector of pairs of integers), <code>recursive = False</code> (boolean) 10046</p></dd> 10047<dt>Output:</dt> 10048<dd><p>- 10049</p></dd> 10050<dt>Return:</dt> 10051<dd><p>- 10052</p></dd> 10053<dt>Language-specific definition:</dt> 10054<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L426">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L359">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1330">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1069">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L2166">Fortran</a> 10055</p></dd> 10056<dt>Examples:</dt> 10057<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t18.cpp#L92">t18.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t20.cpp#L119">t20.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t18.py#L84">t18.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t20.py#L94">t20.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/spherical_surf.py#L16">spherical_surf.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t18.jl#L82">t18.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t20.jl#L96">t20.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/spherical_surf.jl#L14">spherical_surf.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t18.f90#L107">t18.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t20.f90#L117">t20.f90</a>) 10058</p></dd> 10059</dl> 10060 10061</dd> 10062<dt><code>gmsh/model/getEntityType</code> 10063<span id="index-gmsh_002fmodel_002fgetEntityType"></span> 10064</dt> 10065<dd><p>Get the type of the entity of dimension <code>dim</code> and tag <code>tag</code>. 10066</p> 10067<dl compact="compact"> 10068<dt>Input:</dt> 10069<dd><p><code>dim</code> (integer), <code>tag</code> (integer) 10070</p></dd> 10071<dt>Output:</dt> 10072<dd><p><code>entityType</code> (string) 10073</p></dd> 10074<dt>Return:</dt> 10075<dd><p>- 10076</p></dd> 10077<dt>Language-specific definition:</dt> 10078<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L432">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L364">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1354">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1093">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L2192">Fortran</a> 10079</p></dd> 10080</dl> 10081 10082</dd> 10083<dt><code>gmsh/model/getType</code> 10084<span id="index-gmsh_002fmodel_002fgetType"></span> 10085</dt> 10086<dd><p>Get the type of the entity of dimension <code>dim</code> and tag <code>tag</code>. (This is a deprecated synonym for <code>getType</code>.) 10087</p> 10088<dl compact="compact"> 10089<dt>Input:</dt> 10090<dd><p><code>dim</code> (integer), <code>tag</code> (integer) 10091</p></dd> 10092<dt>Output:</dt> 10093<dd><p><code>entityType</code> (string) 10094</p></dd> 10095<dt>Return:</dt> 10096<dd><p>- 10097</p></dd> 10098<dt>Language-specific definition:</dt> 10099<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L440">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L371">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1380">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1118">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L2223">Fortran</a> 10100</p></dd> 10101<dt>Examples:</dt> 10102<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t21.cpp#L164">t21.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x1.cpp#L94">x1.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t21.py#L147">t21.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x1.py#L82">x1.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/explore.py#L20">explore.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/partition.py#L44">partition.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t21.jl#L147">t21.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x1.jl#L81">x1.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/explore.jl#L26">explore.jl</a>) 10103</p></dd> 10104</dl> 10105 10106</dd> 10107<dt><code>gmsh/model/getEntityProperties</code> 10108<span id="index-gmsh_002fmodel_002fgetEntityProperties"></span> 10109</dt> 10110<dd><p>Get the properties of the entity of dimension <code>dim</code> and tag <code>tag</code>. The <code>reals</code> vector contains the 4 coefficients of the cartesian equation for a plane surface; the center coordinates, axis direction, major radius and minor radius for a torus; the center coordinates, axis direction and radius for a cylinder; the center coordinates, axis direction, radius and semi-angle for surfaces of revolution; the center coordinates and the radius for a sphere. 10111</p> 10112<dl compact="compact"> 10113<dt>Input:</dt> 10114<dd><p><code>dim</code> (integer), <code>tag</code> (integer) 10115</p></dd> 10116<dt>Output:</dt> 10117<dd><p><code>integers</code> (vector of integers), <code>reals</code> (vector of doubles) 10118</p></dd> 10119<dt>Return:</dt> 10120<dd><p>- 10121</p></dd> 10122<dt>Language-specific definition:</dt> 10123<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L453">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L383">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1407">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1148">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L2259">Fortran</a> 10124</p></dd> 10125</dl> 10126 10127</dd> 10128<dt><code>gmsh/model/getParent</code> 10129<span id="index-gmsh_002fmodel_002fgetParent"></span> 10130</dt> 10131<dd><p>In a partitioned model, get the parent of the entity of dimension <code>dim</code> and tag <code>tag</code>, i.e. from which the entity is a part of, if any. <code>parentDim</code> and <code>parentTag</code> are set to -1 if the entity has no parent. 10132</p> 10133<dl compact="compact"> 10134<dt>Input:</dt> 10135<dd><p><code>dim</code> (integer), <code>tag</code> (integer) 10136</p></dd> 10137<dt>Output:</dt> 10138<dd><p><code>parentDim</code> (integer), <code>parentTag</code> (integer) 10139</p></dd> 10140<dt>Return:</dt> 10141<dd><p>- 10142</p></dd> 10143<dt>Language-specific definition:</dt> 10144<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L463">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L392">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1444">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1179">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L2308">Fortran</a> 10145</p></dd> 10146<dt>Examples:</dt> 10147<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t21.cpp#L171">t21.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x1.cpp#L142">x1.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t21.py#L149">t21.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x1.py#L113">x1.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/explore.py#L34">explore.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/partition.py#L46">partition.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t21.jl#L149">t21.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x1.jl#L120">x1.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/explore.jl#L30">explore.jl</a>) 10148</p></dd> 10149</dl> 10150 10151</dd> 10152<dt><code>gmsh/model/getNumberOfPartitions</code> 10153<span id="index-gmsh_002fmodel_002fgetNumberOfPartitions"></span> 10154</dt> 10155<dd><p>Return the number of partitions in the model. 10156</p> 10157<dl compact="compact"> 10158<dt>Input:</dt> 10159<dd><p>- 10160</p></dd> 10161<dt>Output:</dt> 10162<dd><p>- 10163</p></dd> 10164<dt>Return:</dt> 10165<dd><p>integer 10166</p></dd> 10167<dt>Language-specific definition:</dt> 10168<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L471">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L399">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1477">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1198">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L2341">Fortran</a> 10169</p></dd> 10170</dl> 10171 10172</dd> 10173<dt><code>gmsh/model/getPartitions</code> 10174<span id="index-gmsh_002fmodel_002fgetPartitions"></span> 10175</dt> 10176<dd><p>In a partitioned model, return the tags of the partition(s) to which the entity belongs. 10177</p> 10178<dl compact="compact"> 10179<dt>Input:</dt> 10180<dd><p><code>dim</code> (integer), <code>tag</code> (integer) 10181</p></dd> 10182<dt>Output:</dt> 10183<dd><p><code>partitions</code> (vector of integers) 10184</p></dd> 10185<dt>Return:</dt> 10186<dd><p>- 10187</p></dd> 10188<dt>Language-specific definition:</dt> 10189<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L477">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L403">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1494">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1221">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L2357">Fortran</a> 10190</p></dd> 10191<dt>Examples:</dt> 10192<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t21.cpp#L161">t21.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x1.cpp#L137">x1.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t21.py#L144">t21.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x1.py#L110">x1.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/explore.py#L31">explore.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/partition.py#L41">partition.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t21.jl#L145">t21.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x1.jl#L117">x1.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/explore.jl#L27">explore.jl</a>) 10193</p></dd> 10194</dl> 10195 10196</dd> 10197<dt><code>gmsh/model/getValue</code> 10198<span id="index-gmsh_002fmodel_002fgetValue"></span> 10199</dt> 10200<dd><p>Evaluate the parametrization of the entity of dimension <code>dim</code> and tag <code>tag</code> at the parametric coordinates <code>parametricCoord</code>. Only valid for <code>dim</code> equal to 0 (with empty <code>parametricCoord</code>), 1 (with <code>parametricCoord</code> containing parametric coordinates on the curve) or 2 (with <code>parametricCoord</code> containing u, v parametric coordinates on the surface, concatenated: [p1u, p1v, p2u, ...]). Return x, y, z coordinates in <code>coord</code>, concatenated: [p1x, p1y, p1z, p2x, ...]. 10201</p> 10202<dl compact="compact"> 10203<dt>Input:</dt> 10204<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>parametricCoord</code> (vector of doubles) 10205</p></dd> 10206<dt>Output:</dt> 10207<dd><p><code>coord</code> (vector of doubles) 10208</p></dd> 10209<dt>Return:</dt> 10210<dd><p>- 10211</p></dd> 10212<dt>Language-specific definition:</dt> 10213<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L490">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L415">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1521">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1252">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L2398">Fortran</a> 10214</p></dd> 10215<dt>Examples:</dt> 10216<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t2.cpp#L90">t2.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x5.cpp#L97">x5.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t2.py#L85">t2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x5.py#L82">x5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/reparamOnFace.py#L20">reparamOnFace.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_stl.py#L35">terrain_stl.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t2.jl#L83">t2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x5.jl#L76">x5.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t2.f90#L99">t2.f90</a>) 10217</p></dd> 10218</dl> 10219 10220</dd> 10221<dt><code>gmsh/model/getDerivative</code> 10222<span id="index-gmsh_002fmodel_002fgetDerivative"></span> 10223</dt> 10224<dd><p>Evaluate the derivative of the parametrization of the entity of dimension <code>dim</code> and tag <code>tag</code> at the parametric coordinates <code>parametricCoord</code>. Only valid for <code>dim</code> equal to 1 (with <code>parametricCoord</code> containing parametric coordinates on the curve) or 2 (with <code>parametricCoord</code> containing u, v parametric coordinates on the surface, concatenated: [p1u, p1v, p2u, ...]). For <code>dim</code> equal to 1 return the x, y, z components of the derivative with respect to u [d1ux, d1uy, d1uz, d2ux, ...]; for <code>dim</code> equal to 2 return the x, y, z components of the derivative with respect to u and v: [d1ux, d1uy, d1uz, d1vx, d1vy, d1vz, d2ux, ...]. 10225</p> 10226<dl compact="compact"> 10227<dt>Input:</dt> 10228<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>parametricCoord</code> (vector of doubles) 10229</p></dd> 10230<dt>Output:</dt> 10231<dd><p><code>derivatives</code> (vector of doubles) 10232</p></dd> 10233<dt>Return:</dt> 10234<dd><p>- 10235</p></dd> 10236<dt>Language-specific definition:</dt> 10237<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L506">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L430">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1556">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1285">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L2449">Fortran</a> 10238</p></dd> 10239</dl> 10240 10241</dd> 10242<dt><code>gmsh/model/getSecondDerivative</code> 10243<span id="index-gmsh_002fmodel_002fgetSecondDerivative"></span> 10244</dt> 10245<dd><p>Evaluate the second derivative of the parametrization of the entity of dimension <code>dim</code> and tag <code>tag</code> at the parametric coordinates <code>parametricCoord</code>. Only valid for <code>dim</code> equal to 1 (with <code>parametricCoord</code> containing parametric coordinates on the curve) or 2 (with <code>parametricCoord</code> containing u, v parametric coordinates on the surface, concatenated: [p1u, p1v, p2u, ...]). For <code>dim</code> equal to 1 return the x, y, z c
10245omponents of the second derivative with respect to u [d1uux, d1uuy, d1uuz, d2uux, ...]; for <code>dim</code> equal to 2 return the x, y, z components of the second derivative with respect to u and v, and the mixed derivative with respect to u and v: [d1uux, d1uuy, d1uuz, d1vvx, d1vvy, d1vvz, d1uvx, d1uvy, d1uvz, d2uux, ...]. 10246</p> 10247<dl compact="compact"> 10248<dt>Input:</dt> 10249<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>parametricCoord</code> (vector of doubles) 10250</p></dd> 10251<dt>Output:</dt> 10252<dd><p><code>derivatives</code> (vector of doubles) 10253</p></dd> 10254<dt>Return:</dt> 10255<dd><p>- 10256</p></dd> 10257<dt>Language-specific definition:</dt> 10258<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L523">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L447">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1593">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1320">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L2502">Fortran</a> 10259</p></dd> 10260</dl> 10261 10262</dd> 10263<dt><code>gmsh/model/getCurvature</code> 10264<span id="index-gmsh_002fmodel_002fgetCurvature"></span> 10265</dt> 10266<dd><p>Evaluate the (maximum) curvature of the entity of dimension <code>dim</code> and tag <code>tag</code> at the parametric coordinates <code>parametricCoord</code>. Only valid for <code>dim</code> equal to 1 (with <code>parametricCoord</code> containing parametric coordinates on the curve) or 2 (with <code>parametricCoord</code> containing u, v parametric coordinates on the surface, concatenated: [p1u, p1v, p2u, ...]). 10267</p> 10268<dl compact="compact"> 10269<dt>Input:</dt> 10270<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>parametricCoord</code> (vector of doubles) 10271</p></dd> 10272<dt>Output:</dt> 10273<dd><p><code>curvatures</code> (vector of doubles) 10274</p></dd> 10275<dt>Return:</dt> 10276<dd><p>- 10277</p></dd> 10278<dt>Language-specific definition:</dt> 10279<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L535">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L458">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1632">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1350">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L2549">Fortran</a> 10280</p></dd> 10281<dt>Examples:</dt> 10282<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x5.cpp#L60">x5.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x5.py#L50">x5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/normals.py#L28">normals.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x5.jl#L48">x5.jl</a>) 10283</p></dd> 10284</dl> 10285 10286</dd> 10287<dt><code>gmsh/model/getPrincipalCurvatures</code> 10288<span id="index-gmsh_002fmodel_002fgetPrincipalCurvatures"></span> 10289</dt> 10290<dd><p>Evaluate the principal curvatures of the surface with tag <code>tag</code> at the parametric coordinates <code>parametricCoord</code>, as well as their respective directions. <code>parametricCoord</code> are given by pair of u and v coordinates, concatenated: [p1u, p1v, p2u, ...]. 10291</p> 10292<dl compact="compact"> 10293<dt>Input:</dt> 10294<dd><p><code>tag</code> (integer), <code>parametricCoord</code> (vector of doubles) 10295</p></dd> 10296<dt>Output:</dt> 10297<dd><p><code>curvatureMax</code> (vector of doubles), <code>curvatureMin</code> (vector of doubles), <code>directionMax</code> (vector of doubles), <code>directionMin</code> (vector of doubles) 10298</p></dd> 10299<dt>Return:</dt> 10300<dd><p>- 10301</p></dd> 10302<dt>Language-specific definition:</dt> 10303<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L546">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L468">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1665">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1381">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L2595">Fortran</a> 10304</p></dd> 10305</dl> 10306 10307</dd> 10308<dt><code>gmsh/model/getNormal</code> 10309<span id="index-gmsh_002fmodel_002fgetNormal"></span> 10310</dt> 10311<dd><p>Get the normal to the surface with tag <code>tag</code> at the parametric coordinates <code>parametricCoord</code>. The <code>parametricCoord</code> vector should contain u and v coordinates, concatenated: [p1u, p1v, p2u, ...]. <code>normals</code> are returned as a vector of x, y, z components, concatenated: [n1x, n1y, n1z, n2x, ...]. 10312</p> 10313<dl compact="compact"> 10314<dt>Input:</dt> 10315<dd><p><code>tag</code> (integer), <code>parametricCoord</code> (vector of doubles) 10316</p></dd> 10317<dt>Output:</dt> 10318<dd><p><code>normals</code> (vector of doubles) 10319</p></dd> 10320<dt>Return:</dt> 10321<dd><p>- 10322</p></dd> 10323<dt>Language-specific definition:</dt> 10324<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L559">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L480">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1708">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1418">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L2672">Fortran</a> 10325</p></dd> 10326<dt>Examples:</dt> 10327<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x5.cpp#L56">x5.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x5.py#L47">x5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/normals.py#L26">normals.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x5.jl#L45">x5.jl</a>) 10328</p></dd> 10329</dl> 10330 10331</dd> 10332<dt><code>gmsh/model/getParametrization</code> 10333<span id="index-gmsh_002fmodel_002fgetParametrization"></span> 10334</dt> 10335<dd><p>Get the parametric coordinates <code>parametricCoord</code> for the points <code>coord</code> on the entity of dimension <code>dim</code> and tag <code>tag</code>. <code>coord</code> are given as x, y, z coordinates, concatenated: [p1x, p1y, p1z, p2x, ...]. <code>parametricCoord</code> returns the parametric coordinates t on the curve (if <code>dim</code> = 1) or u and v coordinates concatenated on the surface (if <code>dim</code> == 2), i.e. [p1t, p2t, ...] or [p1u, p1v, p2u, ...]. 10336</p> 10337<dl compact="compact"> 10338<dt>Input:</dt> 10339<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>coord</code> (vector of doubles) 10340</p></dd> 10341<dt>Output:</dt> 10342<dd><p><code>parametricCoord</code> (vector of doubles) 10343</p></dd> 10344<dt>Return:</dt> 10345<dd><p>- 10346</p></dd> 10347<dt>Language-specific definition:</dt> 10348<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L571">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L491">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1738">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1449">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L2715">Fortran</a> 10349</p></dd> 10350</dl> 10351 10352</dd> 10353<dt><code>gmsh/model/getParametrizationBounds</code> 10354<span id="index-gmsh_002fmodel_002fgetParametrizationBounds"></span> 10355</dt> 10356<dd><p>Get the <code>min</code> and <code>max</code> bounds of the parametric coordinates for the entity of dimension <code>dim</code> and tag <code>tag</code>. 10357</p> 10358<dl compact="compact"> 10359<dt>Input:</dt> 10360<dd><p><code>dim</code> (integer), <code>tag</code> (integer) 10361</p></dd> 10362<dt>Output:</dt> 10363<dd><p><code>min</code> (vector of doubles), <code>max</code> (vector of doubles) 10364</p></dd> 10365<dt>Return:</dt> 10366<dd><p>- 10367</p></dd> 10368<dt>Language-specific definition:</dt> 10369<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L580">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L499">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1772">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1476">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L2759">
10369Fortran</a> 10370</p></dd> 10371<dt>Examples:</dt> 10372<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x5.cpp#L93">x5.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x5.py#L79">x5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/reparamOnFace.py#L17">reparamOnFace.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x5.jl#L73">x5.jl</a>) 10373</p></dd> 10374</dl> 10375 10376</dd> 10377<dt><code>gmsh/model/isInside</code> 10378<span id="index-gmsh_002fmodel_002fisInside"></span> 10379</dt> 10380<dd><p>Check if the coordinates (or the parametric coordinates if <code>parametric</code> is set) provided in <code>coord</code> correspond to points inside the entity of dimension <code>dim</code> and tag <code>tag</code>, and return the number of points inside. This feature is only available for a subset of entities, depending on the underlying geometrical representation. 10381</p> 10382<dl compact="compact"> 10383<dt>Input:</dt> 10384<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>coord</code> (vector of doubles), <code>parametric = False</code> (boolean) 10385</p></dd> 10386<dt>Output:</dt> 10387<dd><p>- 10388</p></dd> 10389<dt>Return:</dt> 10390<dd><p>integer 10391</p></dd> 10392<dt>Language-specific definition:</dt> 10393<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L592">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L510">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1804">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1509">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L2810">Fortran</a> 10394</p></dd> 10395</dl> 10396 10397</dd> 10398<dt><code>gmsh/model/getClosestPoint</code> 10399<span id="index-gmsh_002fmodel_002fgetClosestPoint"></span> 10400</dt> 10401<dd><p>Get the points <code>closestCoord</code> on the entity of dimension <code>dim</code> (1 or 2) and tag <code>tag</code> to the points <code>coord</code>, by orthogonal projection. <code>coord</code> and <code>closestCoord</code> are given as x, y, z coordinates, concatenated: [p1x, p1y, p1z, p2x, ...]. <code>parametricCoord</code> returns the parametric coordinates t on the curve (if <code>dim</code> == 1) or u and v coordinates concatenated on the surface (if <code>dim</code> = 2), i.e. [p1t, p2t, ...] or [p1u, p1v, p2u, ...]. The closest points can lie outside the (trimmed) entities: use <code>isInside()</code> to check. 10402</p> 10403<dl compact="compact"> 10404<dt>Input:</dt> 10405<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>coord</code> (vector of doubles) 10406</p></dd> 10407<dt>Output:</dt> 10408<dd><p><code>closestCoord</code> (vector of doubles), <code>parametricCoord</code> (vector of doubles) 10409</p></dd> 10410<dt>Return:</dt> 10411<dd><p>- 10412</p></dd> 10413<dt>Language-specific definition:</dt> 10414<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L606">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L524">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1836">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1539">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L2855">Fortran</a> 10415</p></dd> 10416<dt>Examples:</dt> 10417<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/closest_point.py#L11">closest_point.py</a>) 10418</p></dd> 10419</dl> 10420 10421</dd> 10422<dt><code>gmsh/model/reparametrizeOnSurface</code> 10423<span id="index-gmsh_002fmodel_002freparametrizeOnSurface"></span> 10424</dt> 10425<dd><p>Reparametrize the boundary entity (point or curve, i.e. with <code>dim</code> == 0 or <code>dim</code> == 1) of tag <code>tag</code> on the surface <code>surfaceTag</code>. If <code>dim</code> == 1, reparametrize all the points corresponding to the parametric coordinates <code>parametricCoord</code>. Multiple matches in case of periodic surfaces can be selected with <code>which</code>. This feature is only available for a subset of entities, depending on the underlying geometrical representation. 10426</p> 10427<dl compact="compact"> 10428<dt>Input:</dt> 10429<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>parametricCoord</code> (vector of doubles), <code>surfaceTag</code> (integer), <code>which = 0</code> (integer) 10430</p></dd> 10431<dt>Output:</dt> 10432<dd><p><code>surfaceParametricCoord</code> (vector of doubles) 10433</p></dd> 10434<dt>Return:</dt> 10435<dd><p>- 10436</p></dd> 10437<dt>Language-specific definition:</dt> 10438<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L620">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L537">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1877">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1575">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L2915">Fortran</a> 10439</p></dd> 10440<dt>Examples:</dt> 10441<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x5.cpp#L102">x5.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x5.py#L86">x5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/reparamOnFace.py#L19">reparamOnFace.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x5.jl#L80">x5.jl</a>) 10442</p></dd> 10443</dl> 10444 10445</dd> 10446<dt><code>gmsh/model/setVisibility</code> 10447<span id="index-gmsh_002fmodel_002fsetVisibility"></span> 10448</dt> 10449<dd><p>Set the visibility of the model entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) to <code>value</code>. Apply the visibility setting recursively if <code>recursive</code> is true. 10450</p> 10451<dl compact="compact"> 10452<dt>Input:</dt> 10453<dd><p><code>dimTags</code> (vector of pairs of integers), <code>value</code> (integer), <code>recursive = False</code> (boolean) 10454</p></dd> 10455<dt>Output:</dt> 10456<dd><p>- 10457</p></dd> 10458<dt>Return:</dt> 10459<dd><p>- 10460</p></dd> 10461<dt>Language-specific definition:</dt> 10462<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L632">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L548">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1915">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1600">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L2970">Fortran</a> 10463</p></dd> 10464<dt>Examples:</dt> 10465<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/test.py#L16">test.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/gui.py#L33">gui.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/hybrid_order.py#L16">
10465hybrid_order.py</a>) 10466</p></dd> 10467</dl> 10468 10469</dd> 10470<dt><code>gmsh/model/getVisibility</code> 10471<span id="index-gmsh_002fmodel_002fgetVisibility"></span> 10472</dt> 10473<dd><p>Get the visibility of the model entity of dimension <code>dim</code> and tag <code>tag</code>. 10474</p> 10475<dl compact="compact"> 10476<dt>Input:</dt> 10477<dd><p><code>dim</code> (integer), <code>tag</code> (integer) 10478</p></dd> 10479<dt>Output:</dt> 10480<dd><p><code>value</code> (integer) 10481</p></dd> 10482<dt>Return:</dt> 10483<dd><p>- 10484</p></dd> 10485<dt>Language-specific definition:</dt> 10486<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L639">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L554">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1940">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1624">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3001">Fortran</a> 10487</p></dd> 10488</dl> 10489 10490</dd> 10491<dt><code>gmsh/model/setVisibilityPerWindow</code> 10492<span id="index-gmsh_002fmodel_002fsetVisibilityPerWindow"></span> 10493</dt> 10494<dd><p>Set the global visibility of the model per window to <code>value</code>, where <code>windowIndex</code> identifies the window in the window list. 10495</p> 10496<dl compact="compact"> 10497<dt>Input:</dt> 10498<dd><p><code>value</code> (integer), <code>windowIndex = 0</code> (integer) 10499</p></dd> 10500<dt>Output:</dt> 10501<dd><p>- 10502</p></dd> 10503<dt>Return:</dt> 10504<dd><p>- 10505</p></dd> 10506<dt>Language-specific definition:</dt> 10507<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L647">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L561">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1966">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1645">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3030">Fortran</a> 10508</p></dd> 10509</dl> 10510 10511</dd> 10512<dt><code>gmsh/model/setColor</code> 10513<span id="index-gmsh_002fmodel_002fsetColor"></span> 10514</dt> 10515<dd><p>Set the color of the model entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) to the RGBA value (<code>r</code>, <code>g</code>, <code>b</code>, <code>a</code>), where <code>r</code>, <code>g</code>, <code>b</code> and <code>a</code> should be integers between 0 and 255. Apply the color setting recursively if <code>recursive</code> is true. 10516</p> 10517<dl compact="compact"> 10518<dt>Input:</dt> 10519<dd><p><code>dimTags</code> (vector of pairs of integers), <code>r</code> (integer), <code>g</code> (integer), <code>b</code> (integer), <code>a = 255</code> (integer), <code>recursive = False</code> (boolean) 10520</p></dd> 10521<dt>Output:</dt> 10522<dd><p>- 10523</p></dd> 10524<dt>Return:</dt> 10525<dd><p>- 10526</p></dd> 10527<dt>Language-specific definition:</dt> 10528<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L656">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L569">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L1987">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1671">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3056">Fortran</a> 10529</p></dd> 10530<dt>Examples:</dt> 10531<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t4.cpp#L158">t4.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t4.py#L169">t4.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/gui.py#L35">gui.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t4.jl#L155">t4.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t4.f90#L171">t4.f90</a>) 10532</p></dd> 10533</dl> 10534 10535</dd> 10536<dt><code>gmsh/model/getColor</code> 10537<span id="index-gmsh_002fmodel_002fgetColor"></span> 10538</dt> 10539<dd><p>Get the color of the model entity of dimension <code>dim</code> and tag <code>tag</code>. If no color is specified for the entity, return fully transparent blue, i.e. (0, 0, 255, 0). 10540</p> 10541<dl compact="compact"> 10542<dt>Input:</dt> 10543<dd><p><code>dim</code> (integer), <code>tag</code> (integer) 10544</p></dd> 10545<dt>Output:</dt> 10546<dd><p><code>r</code> (integer), <code>g</code> (integer), <code>b</code> (integer), <code>a</code> (integer) 10547</p></dd> 10548<dt>Return:</dt> 10549<dd><p>- 10550</p></dd> 10551<dt>Language-specific definition:</dt> 10552<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L668">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L580">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2019">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1699">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3104">Fortran</a> 10553</p></dd> 10554<dt>Examples:</dt> 10555<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/step_boundary_colors.py#L10">step_boundary_colors.py</a>) 10556</p></dd> 10557</dl> 10558 10559</dd> 10560<dt><code>gmsh/model/setCoordinates</code> 10561<span id="index-gmsh_002fmodel_002fsetCoordinates"></span> 10562</dt> 10563<dd><p>Set the <code>x</code>, <code>y</code>, <code>z</code> coordinates of a geometrical point. 10564</p> 10565<dl compact="compact"> 10566<dt>Input:</dt> 10567<dd><p><code>tag</code> (integer), <code>x</code>
10567 (double), <code>y</code> (double), <code>z</code> (double) 10568</p></dd> 10569<dt>Output:</dt> 10570<dd><p>- 10571</p></dd> 10572<dt>Return:</dt> 10573<dd><p>- 10574</p></dd> 10575<dt>Language-specific definition:</dt> 10576<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L678">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L589">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2060">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1724">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3147">Fortran</a> 10577</p></dd> 10578<dt>Examples:</dt> 10579<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x2.cpp#L79">x2.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x2.py#L75">x2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/reparamOnFace.py#L23">reparamOnFace.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x2.jl#L77">x2.jl</a>) 10580</p></dd> 10581</dl> 10582 10583</dd> 10584<dt><code>gmsh/model/setAttribute</code> 10585<span id="index-gmsh_002fmodel_002fsetAttribute"></span> 10586</dt> 10587<dd><p>Set the values of the attribute with name <code>name</code>. 10588</p> 10589<dl compact="compact"> 10590<dt>Input:</dt> 10591<dd><p><code>name</code> (string), <code>values</code> (vector of strings) 10592</p></dd> 10593<dt>Output:</dt> 10594<dd><p>- 10595</p></dd> 10596<dt>Return:</dt> 10597<dd><p>- 10598</p></dd> 10599<dt>Language-specific definition:</dt> 10600<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L686">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L596">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2084">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1743">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3180">Fortran</a> 10601</p></dd> 10602<dt>Examples:</dt> 10603<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/msh_attributes.py#L6">msh_attributes.py</a>) 10604</p></dd> 10605</dl> 10606 10607</dd> 10608<dt><code>gmsh/model/getAttribute</code> 10609<span id="index-gmsh_002fmodel_002fgetAttribute"></span> 10610</dt> 10611<dd><p>Get the values of the attribute with name <code>name</code>. 10612</p> 10613<dl compact="compact"> 10614<dt>Input:</dt> 10615<dd><p><code>name</code> (string) 10616</p></dd> 10617<dt>Output:</dt> 10618<dd><p><code>values</code> (vector of strings) 10619</p></dd> 10620<dt>Return:</dt> 10621<dd><p>- 10622</p></dd> 10623<dt>Language-specific definition:</dt> 10624<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L692">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L601">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2105">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1764">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3211">Fortran</a> 10625</p></dd> 10626<dt>Examples:</dt> 10627<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/msh_attributes.py#L14">msh_attributes.py</a>) 10628</p></dd> 10629</dl> 10630 10631</dd> 10632<dt><code>gmsh/model/getAttributeNames</code> 10633<span id="index-gmsh_002fmodel_002fgetAttributeNames"></span> 10634</dt> 10635<dd><p>Get the names of any optional attributes stored in the model. 10636</p> 10637<dl compact="compact"> 10638<dt>Input:</dt> 10639<dd><p>- 10640</p></dd> 10641<dt>Output:</dt> 10642<dd><p><code>names</code> (vector of strings) 10643</p></dd> 10644<dt>Return:</dt> 10645<dd><p>- 10646</p></dd> 10647<dt>Language-specific definition:</dt> 10648<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L698">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L606">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2129">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1788">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3241">Fortran</a> 10649</p></dd> 10650<dt>Examples:</dt> 10651<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/msh_attributes.py#L13">msh_attributes.py</a>) 10652</p></dd> 10653</dl> 10654 10655</dd> 10656<dt><code>gmsh/model/removeAttribute</code> 10657<span id="index-gmsh_002fmodel_002fremoveAttribute"></span> 10658</dt> 10659<dd><p>Remove the attribute with name <code>name</code>. 10660</p> 10661<dl compact="compact"> 10662<dt>Input:</dt> 10663<dd><p><code>name</code> (string) 10664</p></dd> 10665<dt>Output:</dt> 10666<dd><p>- 10667</p></dd> 10668<dt>Return:</dt> 10669<dd><p>- 10670</p></dd> 10671<dt>Language-specific definition:</dt> 10672<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L703">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L610">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2151">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1810">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3266">Fortran</a> 10673</p></dd> 10674</dl> 10675 10676</dd> 10677</dl> 10678 10679<hr> 10680<span id="Namespace-gmsh_002fmodel_002fmesh"></span><div class="header"> 10681<p>
10682Next: <a href="#Namespace-gmsh_002fmodel_002fmesh_002ffield" accesskey="n" rel="next">Namespace gmsh/model/mesh/field</a>, Previous: <a href="#Namespace-gmsh_002fmodel" accesskey="p" rel="prev">Namespace gmsh/model</a>, Up: <a href="#Gmsh-application-programming-interface" accesskey="u" rel="up">Gmsh application programming interface</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 10683</div> 10684<span id="Namespace-gmsh_002fmodel_002fmesh_003a-mesh-functions"></span><h3 class="section">6.4 Namespace <code>gmsh/model/mesh</code>: mesh functions</h3> 10685 10686<dl compact="compact"> 10687<dt><code>gmsh/model/mesh/generate</code> 10688<span id="index-gmsh_002fmodel_002fmesh_002fgenerate"></span> 10689</dt> 10690<dd><p>Generate a mesh of the current model, up to dimension <code>dim</code> (0, 1, 2 or 3). 10691</p> 10692<dl compact="compact"> 10693<dt>Input:</dt> 10694<dd><p><code>dim = 3</code> (integer) 10695</p></dd> 10696<dt>Output:</dt> 10697<dd><p>- 10698</p></dd> 10699<dt>Return:</dt> 10700<dd><p>- 10701</p></dd> 10702<dt>Language-specific definition:</dt> 10703<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L711">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L614">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2175">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1837">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3284">Fortran</a> 10704</p></dd> 10705<dt>Examples:</dt> 10706<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t1.cpp#L120">t1.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t2.cpp#L141">t2.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L83">t3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t4.cpp#L165">t4.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t5.cpp#L220">t5.cpp</a>, ...), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t1.py#L119">t1.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t2.py#L134">t2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L78">t3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t4.py#L174">t4.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t5.py#L214">t5.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t1.jl#L118">t1.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t2.jl#L132">t2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L77">t3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t4.jl#L160">t4.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t5.jl#L211">t5.jl</a>, ...), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t1.f90#L121">t1.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t2.f90#L149">t2.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L154">t3.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t4.f90#L176">t4.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t5.f90#L166">t5.f90</a>, ...) 10707</p></dd> 10708</dl> 10709 10710</dd> 10711<dt><code>gmsh/model/mesh/partition</code> 10712<span id="index-gmsh_002fmodel_002fmesh_002fpartition"></span> 10713</dt> 10714<dd><p>Partition the mesh of the current model into <code>numPart</code> partitions. Optionally, <code>elementTags</code> and <code>partitions</code> can be provided to specify the partition of each element explicitly. 10715</p> 10716<dl compact="compact"> 10717<dt>Input:</dt> 10718<dd><p><code>numPart</code> (integer), <code>elementTags = []</code> (vector of sizes), <code>partitions = []</code> (vector of integers) 10719</p></dd> 10720<dt>Output:</dt> 10721<dd><p>- 10722</p></dd> 10723<dt>Return:</dt> 10724<dd><p>- 10725</p></dd> 10726<dt>Language-specific definition:</dt> 10727<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L718">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L620">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2192">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1858">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3304">Fortran</a> 10728</p></dd> 10729<dt>Examples:</dt> 10730<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t21.cpp#L136">t21.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t21.py#L124">t21.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/test.py#L12">test.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/partition.py#L26">partition.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t21.jl#L123">t21.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t21.f90#L150">t21.f90</a>) 10731</p></dd> 10732</dl> 10733 10734</dd> 10735<dt><code>gmsh/model/mesh/unpartition</code> 10736<span id="index-gmsh_002fmodel_002fmesh_002funpartition"></span> 10737</dt> 10738<dd><p>Unpartition the mesh of the current model. 10739</p> 10740<dl compact="compact"> 10741<dt>Input:</dt> 10742<dd><p>- 10743</p></dd> 10744<dt>Output:</dt> 10745<dd><p>- 10746</p></dd> 10747<dt>Return:</dt> 10748<dd><p>- 10749</p></dd> 10750<dt>Language-specific definition:</dt> 10751<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L725">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L626">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2217">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1872">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3338">Fortran</a> 10752</p></dd> 10753</dl> 10754 10755</dd> 10756<dt><code>gmsh/model/mesh/optimize</code> 10757<span id="index-gmsh_002fmodel_002fmesh_002foptimize"></span> 10758</dt> 10759<dd><p>Optimize the mesh of the current model using <code>method</code> (empty for default tetrahedral mesh optimizer, "Netgen" for Netgen optimizer, "HighOrder" for direct high-order mesh optimizer, "HighOrderElastic" for high-order elastic smoother, "HighOrderFastCurving" for fast curving algorithm, "Laplace2D" for Laplace smoothing, "Relocate2D" and "Relocate3D" for node relocation, "QuadQuasiStructured" for quad mesh optimization, "UntangleMeshGeometry" for untangling). If <code>
10759force</code> is set apply the optimization also to discrete entities. If <code>dimTags</code> (given as a vector of (dim, tag) pairs) is given, only apply the optimizer to the given entities. 10760</p> 10761<dl compact="compact"> 10762<dt>Input:</dt> 10763<dd><p><code>method = ""</code> (string), <code>force = False</code> (boolean), <code>niter = 1</code> (integer), <code>dimTags = []</code> (vector of pairs of integers) 10764</p></dd> 10765<dt>Output:</dt> 10766<dd><p>- 10767</p></dd> 10768<dt>Return:</dt> 10769<dd><p>- 10770</p></dd> 10771<dt>Language-specific definition:</dt> 10772<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L739">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L637">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2230">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1900">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3359">Fortran</a> 10773</p></dd> 10774<dt>Examples:</dt> 10775<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_2d.py#L140">naca_boundary_layer_2d.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_3d.py#L167">naca_boundary_layer_3d.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/opt.py#L15">opt.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/tube_boundary_layer.py#L53">tube_boundary_layer.py</a>) 10776</p></dd> 10777</dl> 10778 10779</dd> 10780<dt><code>gmsh/model/mesh/recombine</code> 10781<span id="index-gmsh_002fmodel_002fmesh_002frecombine"></span> 10782</dt> 10783<dd><p>Recombine the mesh of the current model. 10784</p> 10785<dl compact="compact"> 10786<dt>Input:</dt> 10787<dd><p>- 10788</p></dd> 10789<dt>Output:</dt> 10790<dd><p>- 10791</p></dd> 10792<dt>Return:</dt> 10793<dd><p>- 10794</p></dd> 10795<dt>Language-specific definition:</dt> 10796<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L747">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L644">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2262">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1916">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3395">Fortran</a> 10797</p></dd> 10798<dt>Examples:</dt> 10799<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/stl_to_mesh.py#L29">stl_to_mesh.py</a>) 10800</p></dd> 10801</dl> 10802 10803</dd> 10804<dt><code>gmsh/model/mesh/refine</code> 10805<span id="index-gmsh_002fmodel_002fmesh_002frefine"></span> 10806</dt> 10807<dd><p>Refine the mesh of the current model by uniformly splitting the elements. This resets any high-order elements to order 1. 10808</p> 10809<dl compact="compact"> 10810<dt>Input:</dt> 10811<dd><p>- 10812</p></dd> 10813<dt>Output:</dt> 10814<dd><p>- 10815</p></dd> 10816<dt>Return:</dt> 10817<dd><p>- 10818</p></dd> 10819<dt>Language-specific definition:</dt> 10820<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L753">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L648">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2275">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1931">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3409">Fortran</a> 10821</p></dd> 10822</dl> 10823 10824</dd> 10825<dt><code>gmsh/model/mesh/setOrder</code> 10826<span id="index-gmsh_002fmodel_002fmesh_002fsetOrder"></span> 10827</dt> 10828<dd><p>Change the order of the elements in the mesh of the current model to <code>order</code>. 10829</p> 10830<dl compact="compact"> 10831<dt>Input:</dt> 10832<dd><p><code>order</code> (integer) 10833</p></dd> 10834<dt>Output:</dt> 10835<dd><p>- 10836</p></dd> 10837<dt>Return:</dt> 10838<dd><p>- 10839</p></dd> 10840<dt>Language-specific definition:</dt> 10841<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L759">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L652">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2289">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1948">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3423">Fortran</a> 10842</p></dd> 10843<dt>Examples:</dt> 10844<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x6.cpp#L27">x6.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x6.py#L27">x6.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/hybrid_order.py#L18">hybrid_order.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_2d.py#L139">naca_boundary_layer_2d.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_3d.py#L166">naca_boundary_layer_3d.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/tube_boundary_layer.py#L52">tube_boundary_layer.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x6.jl#L26">x6.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/julia_exception.jl#L7">julia_exception.jl</a>) 10845</p></dd> 10846</dl> 10847 10848</dd> 10849<dt><code>gmsh/model/mesh/getLastEntityError</code> 10850<span id="index-gmsh_002fmodel_002fmesh_002fgetLastEntityError"></span> 10851</dt> 10852<dd><p>Get the last entities <code>dimTags</code> (as a vector of (dim, tag) pairs) where a meshing error occurred. Currently only populated by the new 3D meshing algorithms. 10853</p> 10854<dl compact="compact"> 10855<dt>Input:</dt> 10856<dd><p>- 10857</p></dd> 10858<dt>Output:</dt> 10859<dd><p><code>dimTags</code> (vector of pairs of integers) 10860</p></dd> 10861<dt>Return:</dt> 10862<dd><p>- 10863</p></dd> 10864<dt>Language-specific definition:</dt> 10865<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L766">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L658">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2308">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1970">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3443">Fortran</a> 10866</p></dd> 10867</dl> 10868 10869</dd> 10870<dt><code>gmsh/model/mesh/getLastNodeError</code> 10871<span id="index-gmsh_002fmodel_002fmesh_002fgetLastNodeError"></span> 10872</dt> 10873<dd><p>Get the last node tags <code>nodeTags</code> where a meshing error occurred. Currently only populated by the new 3D meshing algorithms. 10874</p> 10875<dl compact="compact"> 10876<dt>Input:</dt> 10877<dd><p>- 10878</p></dd> 10879<dt>Output:</dt> 10880<dd><p><code>nodeTags</code> (vector of sizes) 10881</p></dd> 10882<dt>Return:</dt> 10883<dd><p>- 10884</p></dd> 10885<dt>Language-specific definition:</dt> 10886<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L772">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L663">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2332">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L1995">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3469">Fortran</a> 10887</p></dd> 10888</dl> 10889 10890</dd> 10891<dt><code>gmsh/model/mesh/clear</code> 10892<span id="index-gmsh_002fmodel_002fmesh_002fclear"></span> 10893</dt> 10894<dd><p>Clear the mesh, i.e. delete all the nodes and elements, for the entities <code>dimTags</code>, given as a vector of (dim, tag) pairs. If <code>dimTags</code> is empty, clear the whole mesh. Note that the mesh of an entity can only be cleared if this entity is not on the boundary of another entity with a non-empty mesh. 10895</p> 10896<dl compact="compact"> 10897<dt>Input:</dt> 10898<dd><p><code>dimTags = []</code> (vector of pairs of integers) 10899</p></dd> 10900<dt>Output:</dt> 10901<dd><p>- 10902</p></dd> 10903<dt>Return:</dt> 10904<dd><p>- 10905</p></dd> 10906<dt>Language-specific definition:</dt> 10907<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L781">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L671">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2355">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2019">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3498">Fortran</a> 10908</p></dd> 10909<dt>Examples:</dt> 10910<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/copy_mesh.py#L53">copy_mesh.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/flatten.py#L35">flatten.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/remesh_partial_move.py#L20">remesh_partial_move.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/remove_elements.py#L13">remove_elements.py</a>) 10911</p></dd> 10912</dl> 10913 10914</dd> 10915<dt><code>gmsh/model/mesh/removeElements</code> 10916<span id="index-gmsh_002fmodel_002fmesh_002fremoveElements"></span> 10917</dt> 10918<dd><p>Remove the elements with tags <code>elementTags</code> from the entity of dimension <code>dim</code> and tag <code>tag</code>. If <code>elementTags</code> is empty, remove all the elements classified on the entity. To get consistent node classification on model entities, <code>reclassifyNodes()</code> should be called afterwards. 10919</p> 10920<dl compact="compact"> 10921<dt>Input:</dt> 10922<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>elementTags = []</code> (vector of sizes) 10923</p></dd> 10924<dt>Output:</dt> 10925<dd><p>- 10926</p></dd> 10927<dt>Return:</dt> 10928<dd><p>- 10929</p></dd> 10930<dt>Language-specific definition:</dt> 10931<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L789">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L678">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2377">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2043">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3522">Fortran</a> 10932</p></dd> 10933<dt>Examples:</dt> 10934<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/remove_elements.py#L18">remove_elements.py</a>) 10935</p></dd> 10936</dl> 10937 10938</dd> 10939<dt><code>gmsh/model/mesh/reverse</code> 10940<span id="index-gmsh_002fmodel_002fmesh_002freverse"></span> 10941</dt> 10942<dd><p>Reverse the orientation of the elements in the entities <code>dimTags</code>, given as a vector of (dim, tag) pairs. If <code>dimTags</code> is empty, reverse the orientation of the elements in the whole mesh. 10943</p> 10944<dl compact="compact"> 10945<dt>Input:</dt> 10946<dd><p><code>dimTags = []</code> (vector of pairs of integers) 10947</p></dd> 10948<dt>Output:</dt> 10949<dd><p>- 10950</p></dd> 10951<dt>Return:</dt> 10952<dd><p>- 10953</p></dd> 10954<dt>Language-specific definition:</dt> 10955<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L798">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L686">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2403">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2063">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3555">Fortran</a> 10956</p></dd> 10957<dt>Examples:</dt> 10958<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/mirror_mesh.py#L47">mirror_mesh.py</a>) 10959</p></dd> 10960</dl> 10961 10962</dd> 10963<dt><code>gmsh/model/mesh/reverseElements</code> 10964<span id="index-gmsh_002fmodel_002fmesh_002freverseElements"></span> 10965</dt> 10966<dd><p>Reverse the orientation of the elements with tags <code>elementTags</code>. 10967</p> 10968<dl compact="compact"> 10969<dt>Input:</dt> 10970<dd><p><code>elementTags</code> (vector of sizes) 10971</p></dd> 10972<dt>Output:</dt> 10973<dd><p>- 10974</p></dd> 10975<dt>Return:</dt> 10976<dd><p>- 10977</p></dd> 10978<dt>Language-specific definition:</dt> 10979<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L803">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L690">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2423">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2082">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3576">Fortran</a> 10980</p></dd> 10981</dl> 10982 10983</dd> 10984<dt><code>gmsh/model/mesh/affineTransform</code> 10985<span id="index-gmsh_002fmodel_002fmesh_002faffineTransform"></span> 10986</dt> 10987<dd><p>Apply the affine transformation <code>affineTransform</code> (16 entries of a 4x4 matrix, by row;
10987 only the 12 first can be provided for convenience) to the coordinates of the nodes classified on the entities <code>dimTags</code>, given as a vector of (dim, tag) pairs. If <code>dimTags</code> is empty, transform all the nodes in the mesh. 10988</p> 10989<dl compact="compact"> 10990<dt>Input:</dt> 10991<dd><p><code>affineTransform</code> (vector of doubles), <code>dimTags = []</code> (vector of pairs of integers) 10992</p></dd> 10993<dt>Output:</dt> 10994<dd><p>- 10995</p></dd> 10996<dt>Return:</dt> 10997<dd><p>- 10998</p></dd> 10999<dt>Language-specific definition:</dt> 11000<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L812">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L698">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2442">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2104">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3601">Fortran</a> 11001</p></dd> 11002<dt>Examples:</dt> 11003<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/flatten2.py#L19">flatten2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/remesh_partial_move.py#L31">remesh_partial_move.py</a>) 11004</p></dd> 11005</dl> 11006 11007</dd> 11008<dt><code>gmsh/model/mesh/getNodes</code> 11009<span id="index-gmsh_002fmodel_002fmesh_002fgetNodes"></span> 11010</dt> 11011<dd><p>Get the nodes classified on the entity of dimension <code>dim</code> and tag <code>tag</code>. If <code>tag</code> < 0, get the nodes for all entities of dimension <code>dim</code>. If <code>dim</code> and <code>tag</code> are negative, get all the nodes in the mesh. <code>nodeTags</code> contains the node tags (their unique, strictly positive identification numbers). <code>coord</code> is a vector of length 3 times the length of <code>nodeTags</code> that contains the x, y, z coordinates of the nodes, concatenated: [n1x, n1y, n1z, n2x, ...]. If <code>dim</code> >= 0 and <code>returnParamtricCoord</code> is set, <code>parametricCoord</code> contains the parametric coordinates ([u1, u2, ...] or [u1, v1, u2, ...]) of the nodes, if available. The length of <code>parametricCoord</code> can be 0 or <code>dim</code> times the length of <code>nodeTags</code>. If <code>includeBoundary</code> is set, also return the nodes classified on the boundary of the entity (which will be reparametrized on the entity if <code>dim</code> >= 0 in order to compute their parametric coordinates). 11012</p> 11013<dl compact="compact"> 11014<dt>Input:</dt> 11015<dd><p><code>dim = -1</code> (integer), <code>tag = -1</code> (integer), <code>includeBoundary = False</code> (boolean), <code>returnParametricCoord = True</code> (boolean) 11016</p></dd> 11017<dt>Output:</dt> 11018<dd><p><code>nodeTags</code> (vector of sizes), <code>coord</code> (vector of doubles), <code>parametricCoord</code> (vector of doubles) 11019</p></dd> 11020<dt>Return:</dt> 11021<dd><p>- 11022</p></dd> 11023<dt>Language-specific definition:</dt> 11024<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L830">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L715">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2468">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2143">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3642">Fortran</a> 11025</p></dd> 11026<dt>Examples:</dt> 11027<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x1.cpp#L79">x1.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x4.cpp#L65">x4.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x5.cpp#L51">x5.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x1.py#L70">x1.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x4.py#L61">x4.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x5.py#L43">x5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/adapt_mesh.py#L15">adapt_mesh.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/copy_mesh.py#L20">copy_mesh.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x1.jl#L69">x1.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x4.jl#L62">x4.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x5.jl#L41">x5.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/explore.jl#L20">explore.jl</a>) 11028</p></dd> 11029</dl> 11030 11031</dd> 11032<dt><code>gmsh/model/mesh/getNodesByElementType</code> 11033<span id="index-gmsh_002fmodel_002fmesh_002fgetNodesByElementType"></span> 11034</dt> 11035<dd><p>Get the nodes classified on the entity of tag <code>tag</code>, for all the elements of type <code>elementType</code>. The other arguments are treated as in <code>
11035getNodes</code>. 11036</p> 11037<dl compact="compact"> 11038<dt>Input:</dt> 11039<dd><p><code>elementType</code> (integer), <code>tag = -1</code> (integer), <code>returnParametricCoord = True</code> (boolean) 11040</p></dd> 11041<dt>Output:</dt> 11042<dd><p><code>nodeTags</code> (vector of sizes), <code>coord</code> (vector of doubles), <code>parametricCoord</code> (vector of doubles) 11043</p></dd> 11044<dt>Return:</dt> 11045<dd><p>- 11046</p></dd> 11047<dt>Language-specific definition:</dt> 11048<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L842">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L726">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2519">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2178">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3712">Fortran</a> 11049</p></dd> 11050<dt>Examples:</dt> 11051<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/stl_to_brep.py#L22">stl_to_brep.py</a>) 11052</p></dd> 11053</dl> 11054 11055</dd> 11056<dt><code>gmsh/model/mesh/getNode</code> 11057<span id="index-gmsh_002fmodel_002fmesh_002fgetNode"></span> 11058</dt> 11059<dd><p>Get the coordinates and the parametric coordinates (if any) of the node with tag <code>tag</code>, as well as the dimension <code>dim</code> and tag <code>tag</code> of the entity on which the node is classified. This function relies on an internal cache (a vector in case of dense node numbering, a map otherwise); for large meshes accessing nodes in bulk is often preferable. 11060</p> 11061<dl compact="compact"> 11062<dt>Input:</dt> 11063<dd><p><code>nodeTag</code> (size) 11064</p></dd> 11065<dt>Output:</dt> 11066<dd><p><code>coord</code> (vector of doubles), <code>parametricCoord</code> (vector of doubles), <code>dim</code> (integer), <code>tag</code> (integer) 11067</p></dd> 11068<dt>Return:</dt> 11069<dd><p>- 11070</p></dd> 11071<dt>Language-specific definition:</dt> 11072<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L856">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L739">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2557">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2215">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3780">Fortran</a> 11073</p></dd> 11074</dl> 11075 11076</dd> 11077<dt><code>gmsh/model/mesh/setNode</code> 11078<span id="index-gmsh_002fmodel_002fmesh_002fsetNode"></span> 11079</dt> 11080<dd><p>Set the coordinates and the parametric coordinates (if any) of the node with tag <code>tag</code>. This function relies on an internal cache (a vector in case of dense node numbering, a map otherwise); for large meshes accessing nodes in bulk is often preferable. 11081</p> 11082<dl compact="compact"> 11083<dt>Input:</dt> 11084<dd><p><code>nodeTag</code> (size), <code>coord</code> (vector of doubles), <code>parametricCoord</code> (vector of doubles) 11085</p></dd> 11086<dt>Output:</dt> 11087<dd><p>- 11088</p></dd> 11089<dt>Return:</dt> 11090<dd><p>- 11091</p></dd> 11092<dt>Language-specific definition:</dt> 11093<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L868">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L750">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2598">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2246">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3835">Fortran</a> 11094</p></dd> 11095</dl> 11096 11097</dd> 11098<dt><code>gmsh/model/mesh/rebuildNodeCache</code> 11099<span id="index-gmsh_002fmodel_002fmesh_002frebuildNodeCache"></span> 11100</dt> 11101<dd><p>Rebuild the node cache. 11102</p> 11103<dl compact="compact"> 11104<dt>Input:</dt> 11105<dd><p><code>onlyIfNecessary = True</code> (boolean) 11106</p></dd> 11107<dt>Output:</dt> 11108<dd><p>- 11109</p></dd> 11110<dt>Return:</dt> 11111<dd><p>- 11112</p></dd> 11113<dt>Language-specific definition:</dt> 11114<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L875">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L756">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2625">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2264">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3869">Fortran</a> 11115</p></dd> 11116</dl> 11117 11118</dd> 11119<dt><code>gmsh/model/mesh/rebuildElementCache</code> 11120<span id="index-gmsh_002fmodel_002fmesh_002frebuildElementCache"></span> 11121</dt> 11122<dd><p>Rebuild the element cache. 11123</p> 11124<dl compact="compact"> 11125<dt>Input:</dt> 11126<dd><p><code>onlyIfNecessary = True</code> (boolean) 11127</p></dd> 11128<dt>Output:</dt> 11129<dd><p>- 11130</p></dd> 11131<dt>Return:</dt> 11132<dd><p>- 11133</p></dd> 11134<dt>Language-specific definition:</dt> 11135<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L880">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L760">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2643">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2282">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3887">Fortran</a> 11136</p></dd> 11137</dl> 11138 11139</dd> 11140<dt><code>gmsh/model/mesh/getNodesForPhysicalGroup</code> 11141<span id="index-gmsh_002fmodel_002fmesh_002fgetNodesForPhysicalGroup"></span> 11142</dt> 11143<dd><p>Get the nodes from all the elements belonging to the physical group of dimension <code>dim</code> and tag <code>tag</code>. <code>nodeTags</code> contains the node tags; <code>coord</code> is a vector of length 3 times the length of <code>nodeTags</code> that contains the x, y, z coordinates of the nodes, concatenated: [n1x, n1y, n1z, n2x, ...]. 11144</p> 11145<dl compact="compact"> 11146<dt>Input:</dt> 11147<dd><p><code>dim</code> (integer), <code>tag</code> (integer) 11148</p></dd> 11149<dt>Output:</dt> 11150<dd><p><code>nodeTags</code> (vector of sizes), <code>coord</code> (vector of doubles) 11151</p></dd> 11152<dt>Return:</dt> 11153<dd><p>- 11154</p></dd> 11155<dt>Language-specific definition:</dt> 11156<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L888">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L767">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2661">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2308">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3908">Fortran</a> 11157</p></dd> 11158</dl> 11159 11160</dd> 11161<dt><code>gmsh/model/mesh/getMaxNodeTag</code> 11162<span id="index-gmsh_002fmodel_002fmesh_002fgetMaxNodeTag"></span> 11163</dt> 11164<dd><p>Get the maximum tag <code>maxTag</code> of a node in the mesh. 11165</p> 11166<dl compact="compact"> 11167<dt>Input:</dt> 11168<dd><p>- 11169</p></dd> 11170<dt>Output:</dt> 11171<dd><p><code>maxTag</code> (size) 11172</p></dd> 11173<dt>Return:</dt> 11174<dd><p>- 11175</p></dd> 11176<dt>Language-specific definition:</dt> 11177<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L896">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L774">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2695">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2334">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3955">Fortran</a> 11178</p></dd> 11179</dl> 11180 11181</dd> 11182<dt><code>gmsh/model/mesh/addNodes</code> 11183<span id="index-gmsh_002fmodel_002fmesh_002faddNodes"></span> 11184</dt> 11185<dd><p>
11185Add nodes classified on the model entity of dimension <code>dim</code> and tag <code>tag</code>. <code>nodeTags</code> contains the node tags (their unique, strictly positive identification numbers). <code>coord</code> is a vector of length 3 times the length of <code>nodeTags</code> that contains the x, y, z coordinates of the nodes, concatenated: [n1x, n1y, n1z, n2x, ...]. The optional <code>parametricCoord</code> vector contains the parametric coordinates of the nodes, if any. The length of <code>parametricCoord</code> can be 0 or <code>dim</code> times the length of <code>nodeTags</code>. If the <code>nodeTags</code> vector is empty, new tags are automatically assigned to the nodes. 11186</p> 11187<dl compact="compact"> 11188<dt>Input:</dt> 11189<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>nodeTags</code> (vector of sizes), <code>coord</code> (vector of doubles), <code>parametricCoord = []</code> (vector of doubles) 11190</p></dd> 11191<dt>Output:</dt> 11192<dd><p>- 11193</p></dd> 11194<dt>Return:</dt> 11195<dd><p>- 11196</p></dd> 11197<dt>Language-specific definition:</dt> 11198<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L909">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L786">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2717">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2364">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L3981">Fortran</a> 11199</p></dd> 11200<dt>Examples:</dt> 11201<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x2.cpp#L92">x2.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x4.cpp#L27">x4.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x2.py#L88">x2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x4.py#L25">x4.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/copy_mesh.py#L29">copy_mesh.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/cylinderFFD.py#L143">cylinderFFD.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/discrete.py#L12">discrete.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x2.jl#L91">x2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x4.jl#L24">x4.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/discrete.jl#L11">discrete.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/import_perf.jl#L52">import_perf.jl</a>) 11202</p></dd> 11203</dl> 11204 11205</dd> 11206<dt><code>gmsh/model/mesh/reclassifyNodes</code> 11207<span id="index-gmsh_002fmodel_002fmesh_002freclassifyNodes"></span> 11208</dt> 11209<dd><p>Reclassify all nodes on their associated model entity, based on the elements. Can be used when importing nodes in bulk (e.g. by associating them all to a single volume), to reclassify them correctly on model surfaces, curves, etc. after the elements have been set. 11210</p> 11211<dl compact="compact"> 11212<dt>Input:</dt> 11213<dd><p>- 11214</p></dd> 11215<dt>Output:</dt> 11216<dd><p>- 11217</p></dd> 11218<dt>Return:</dt> 11219<dd><p>- 11220</p></dd> 11221<dt>Language-specific definition:</dt> 11222<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L921">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L797">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2754">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2382">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L4031">Fortran</a> 11223</p></dd> 11224<dt>Examples:</dt> 11225<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x2.cpp#L107">x2.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x2.py#L102">x2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/remesh_cavity.py#L69">remesh_cavity.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/remove_elements.py#L28">remove_elements.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain.py#L66">terrain.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x2.jl#L106">
11225x2.jl</a>) 11226</p></dd> 11227</dl> 11228 11229</dd> 11230<dt><code>gmsh/model/mesh/relocateNodes</code> 11231<span id="index-gmsh_002fmodel_002fmesh_002frelocateNodes"></span> 11232</dt> 11233<dd><p>Relocate the nodes classified on the entity of dimension <code>dim</code> and tag <code>tag</code> using their parametric coordinates. If <code>tag</code> < 0, relocate the nodes for all entities of dimension <code>dim</code>. If <code>dim</code> and <code>tag</code> are negative, relocate all the nodes in the mesh. 11234</p> 11235<dl compact="compact"> 11236<dt>Input:</dt> 11237<dd><p><code>dim = -1</code> (integer), <code>tag = -1</code> (integer) 11238</p></dd> 11239<dt>Output:</dt> 11240<dd><p>- 11241</p></dd> 11242<dt>Return:</dt> 11243<dd><p>- 11244</p></dd> 11245<dt>Language-specific definition:</dt> 11246<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L929">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L803">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2771">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2404">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L4047">Fortran</a> 11247</p></dd> 11248<dt>Examples:</dt> 11249<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/relocate_nodes.py#L48">relocate_nodes.py</a>) 11250</p></dd> 11251</dl> 11252 11253</dd> 11254<dt><code>gmsh/model/mesh/getElements</code> 11255<span id="index-gmsh_002fmodel_002fmesh_002fgetElements"></span> 11256</dt> 11257<dd><p>Get the elements classified on the entity of dimension <code>dim</code> and tag <code>tag</code>. If <code>tag</code> < 0, get the elements for all entities of dimension <code>dim</code>. If <code>dim</code> and <code>tag</code> are negative, get all the elements in the mesh. <code>elementTypes</code> contains the MSH types of the elements (e.g. <code>2</code> for 3-node triangles: see <code>getElementProperties</code> to obtain the properties for a given element type). <code>elementTags</code> is a vector of the same length as <code>elementTypes</code>; each entry is a vector containing the tags (unique, strictly positive identifiers) of the elements of the corresponding type. <code>nodeTags</code> is also a vector of the same length as <code>elementTypes</code>; each entry is a vector of length equal to the number of elements of the given type times the number N of nodes for this type of element, that contains the node tags of all the elements of the given type, concatenated: [e1n1, e1n2, ..., e1nN, e2n1, ...]. 11258</p> 11259<dl compact="compact"> 11260<dt>Input:</dt> 11261<dd><p><code>dim = -1</code> (integer), <code>tag = -1</code> (integer) 11262</p></dd> 11263<dt>Output:</dt> 11264<dd><p><code>elementTypes</code> (vector of integers), <code>elementTags</code> (vector of vectors of sizes), <code>nodeTags</code> (vector of vectors of sizes) 11265</p></dd> 11266<dt>Return:</dt> 11267<dd><p>- 11268</p></dd> 11269<dt>Language-specific definition:</dt> 11270<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L947">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L820">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2794">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2439">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L4082">Fortran</a> 11271</p></dd> 11272<dt>Examples:</dt> 11273<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x1.cpp#L84">x1.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x1.py#L73">x1.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/copy_mesh.py#L21">copy_mesh.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/cylinderFFD.py#L47">cylinderFFD.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/explore.py#L24">explore.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/flatten.py#L32">flatten.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x1.jl#L72">x1.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/explore.jl#L22">explore.jl</a>) 11274</p></dd> 11275</dl> 11276 11277</dd> 11278<dt><code>gmsh/model/mesh/getElement</code> 11279<span id="index-gmsh_002fmodel_002fmesh_002fgetElement"></span> 11280</dt> 11281<dd><p>
11281Get the type and node tags of the element with tag <code>elementTag</code>, as well as the dimension <code>dim</code> and tag <code>tag</code> of the entity on which the element is classified. This function relies on an internal cache (a vector in case of dense element numbering, a map otherwise); for large meshes accessing elements in bulk is often preferable. 11282</p> 11283<dl compact="compact"> 11284<dt>Input:</dt> 11285<dd><p><code>elementTag</code> (size) 11286</p></dd> 11287<dt>Output:</dt> 11288<dd><p><code>elementType</code> (integer), <code>nodeTags</code> (vector of sizes), <code>dim</code> (integer), <code>tag</code> (integer) 11289</p></dd> 11290<dt>Return:</dt> 11291<dd><p>- 11292</p></dd> 11293<dt>Language-specific definition:</dt> 11294<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L960">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L832">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2841">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2482">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L4161">Fortran</a> 11295</p></dd> 11296</dl> 11297 11298</dd> 11299<dt><code>gmsh/model/mesh/getElementByCoordinates</code> 11300<span id="index-gmsh_002fmodel_002fmesh_002fgetElementByCoordinates"></span> 11301</dt> 11302<dd><p>Search the mesh for an element located at coordinates (<code>x</code>, <code>y</code>, <code>z</code>). This function performs a search in a spatial octree. If an element is found, return its tag, type and node tags, as well as the local coordinates (<code>u</code>, <code>v</code>, <code>w</code>) within the reference element corresponding to search location. If <code>dim</code> is >= 0, only search for elements of the given dimension. If <code>strict</code> is not set, use a tolerance to find elements near the search location. 11303</p> 11304<dl compact="compact"> 11305<dt>Input:</dt> 11306<dd><p><code>x</code> (double), <code>y</code> (double), <code>z</code>
11306 (double), <code>dim = -1</code> (integer), <code>strict = False</code> (boolean) 11307</p></dd> 11308<dt>Output:</dt> 11309<dd><p><code>elementTag</code> (size), <code>elementType</code> (integer), <code>nodeTags</code> (vector of sizes), <code>u</code> (double), <code>v</code> (double), <code>w</code> (double) 11310</p></dd> 11311<dt>Return:</dt> 11312<dd><p>- 11313</p></dd> 11314<dt>Language-specific definition:</dt> 11315<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L975">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L845">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2882">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2523">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L4211">Fortran</a> 11316</p></dd> 11317</dl> 11318 11319</dd> 11320<dt><code>gmsh/model/mesh/getElementsByCoordinates</code> 11321<span id="index-gmsh_002fmodel_002fmesh_002fgetElementsByCoordinates"></span> 11322</dt> 11323<dd><p>Search the mesh for element(s) located at coordinates (<code>x</code>, <code>y</code>, <code>z</code>). This function performs a search in a spatial octree. Return the tags of all found elements in <code>elementTags</code>. Additional information about the elements can be accessed through <code>getElement</code> and <code>getLocalCoordinatesInElement</code>. If <code>dim</code> is >= 0, only search for elements of the given dimension. If <code>strict</code> is not set, use a tolerance to find elements near the search location. 11324</p> 11325<dl compact="compact"> 11326<dt>Input:</dt> 11327<dd><p><code>x</code> (double), <code>y</code> (double), <code>z</code>
11327 (double), <code>dim = -1</code> (integer), <code>strict = False</code> (boolean) 11328</p></dd> 11329<dt>Output:</dt> 11330<dd><p><code>elementTags</code> (vector of sizes) 11331</p></dd> 11332<dt>Return:</dt> 11333<dd><p>- 11334</p></dd> 11335<dt>Language-specific definition:</dt> 11336<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L996">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L864">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2940">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2561">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L4291">Fortran</a> 11337</p></dd> 11338</dl> 11339 11340</dd> 11341<dt><code>gmsh/model/mesh/getLocalCoordinatesInElement</code> 11342<span id="index-gmsh_002fmodel_002fmesh_002fgetLocalCoordinatesInElement"></span> 11343</dt> 11344<dd><p>Return the local coordinates (<code>u</code>, <code>v</code>, <code>w</code>) within the element <code>elementTag</code> corresponding to the model coordinates (<code>x</code>, <code>y</code>, <code>z</code>). This function relies on an internal cache (a vector in case of dense element numbering, a map otherwise); for large meshes accessing elements in bulk is often preferable. 11345</p> 11346<dl compact="compact"> 11347<dt>Input:</dt> 11348<dd><p><code>elementTag</code> (size), <code>x</code> (double), <code>y</code> (double), <code>z</code>
11348 (double) 11349</p></dd> 11350<dt>Output:</dt> 11351<dd><p><code>u</code> (double), <code>v</code> (double), <code>w</code> (double) 11352</p></dd> 11353<dt>Return:</dt> 11354<dd><p>- 11355</p></dd> 11356<dt>Language-specific definition:</dt> 11357<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1010">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L877">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L2977">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2593">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L4345">Fortran</a> 11358</p></dd> 11359</dl> 11360 11361</dd> 11362<dt><code>gmsh/model/mesh/getElementTypes</code> 11363<span id="index-gmsh_002fmodel_002fmesh_002fgetElementTypes"></span> 11364</dt> 11365<dd><p>Get the types of elements in the entity of dimension <code>dim</code> and tag <code>tag</code>. If <code>tag</code> < 0, get the types for all entities of dimension <code>dim</code>. If <code>dim</code> and <code>tag</code> are negative, get all the types in the mesh. 11366</p> 11367<dl compact="compact"> 11368<dt>Input:</dt> 11369<dd><p><code>dim = -1</code> (integer), <code>tag = -1</code> (integer) 11370</p></dd> 11371<dt>Output:</dt> 11372<dd><p><code>elementTypes</code> (vector of integers) 11373</p></dd> 11374<dt>Return:</dt> 11375<dd><p>- 11376</p></dd> 11377<dt>Language-specific definition:</dt> 11378<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1023">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L889">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3020">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2620">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L4395">Fortran</a> 11379</p></dd> 11380<dt>Examples:</dt> 11381<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x6.cpp#L38">x6.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x6.py#L33">x6.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/poisson.py#L92">poisson.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x6.jl#L33">x6.jl</a>) 11382</p></dd> 11383</dl> 11384 11385</dd> 11386<dt><code>gmsh/model/mesh/getElementType</code> 11387<span id="index-gmsh_002fmodel_002fmesh_002fgetElementType"></span> 11388</dt> 11389<dd><p>Return an element type given its family name <code>familyName</code> ("Point", "Line", "Triangle", "Quadrangle", "Tetrahedron", "Pyramid", "Prism", "Hexahedron") and polynomial order <code>order</code>. If <code>serendip</code> is true, return the corresponding serendip element type (element without interior nodes). 11390</p> 11391<dl compact="compact"> 11392<dt>Input:</dt> 11393<dd><p><code>familyName</code> (string), <code>order</code> (integer), <code>serendip = False</code> (boolean) 11394</p></dd> 11395<dt>Output:</dt> 11396<dd><p>- 11397</p></dd> 11398<dt>Return:</dt> 11399<dd><p>integer 11400</p></dd> 11401<dt>Language-specific definition:</dt> 11402<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1033">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L898">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3048">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2648">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L4433">Fortran</a> 11403</p></dd> 11404<dt>Examples:</dt> 11405<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x7.cpp#L32">x7.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x7.py#L29">x7.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x7.jl#L28">x7.jl</a>) 11406</p></dd> 11407</dl> 11408 11409</dd> 11410<dt><code>gmsh/model/mesh/getElementProperties</code> 11411<span id="index-gmsh_002fmodel_002fmesh_002fgetElementProperties"></span> 11412</dt> 11413<dd><p>Get the properties of an element of type <code>elementType</code>: its name (<code>elementName</code>), dimension (<code>dim</code>), order (<code>order</code>), number of nodes (<code>numNodes</code>), local coordinates of the nodes in the reference element (<code>localNodeCoord</code> vector, of length <code>dim</code> times <code>numNodes</code>) and number of primary (first order) nodes (<code>numPrimaryNodes</code>). 11414</p> 11415<dl compact="compact"> 11416<dt>Input:</dt> 11417<dd><p><code>elementType</code> (integer) 11418</p></dd> 11419<dt>Output:</dt> 11420<dd><p><code>elementName</code> (string), <code>dim</code> (integer), <code>order</code> (integer), <code>numNodes</code> (integer), <code>localNodeCoord</code> (vector of doubles), <code>numPrimaryNodes</code> (integer) 11421</p></dd> 11422<dt>Return:</dt> 11423<dd><p>- 11424</p></dd> 11425<dt>Language-specific definition:</dt> 11426<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1044">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L908">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3076">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2678">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L4467">Fortran</a> 11427</p></dd> 11428<dt>Examples:</dt> 11429<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x1.cpp#L152">x1.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x1.py#L117">x1.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x6.py#L38">x6.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/explore.py#L36">explore.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/poisson.py#L111">poisson.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x1.jl#L125">x1.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x6.jl#L38">x6.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/explore.jl#L33">explore.jl</a>) 11430</p></dd> 11431</dl> 11432 11433</dd> 11434<dt><code>gmsh/model/mesh/getElementsByType</code> 11435<span id="index-gmsh_002fmodel_002fmesh_002fgetElementsByType"></span> 11436</dt> 11437<dd><p>Get the elements of type <code>elementType</code> classified on the entity of tag <code>tag</code>. If <code>tag</code> < 0, get the elements for all entities. <code>elementTags</code> is a vector containing the tags (unique, strictly positive identifiers) of the elements of the corresponding type. <code>nodeTags</code> is a vector of length equal to the number of elements of the given type times the number N of nodes for this type of element, that c
11437ontains the node tags of all the elements of the given type, concatenated: [e1n1, e1n2, ..., e1nN, e2n1, ...]. If <code>numTasks</code> > 1, only compute and return the part of the data indexed by <code>task</code> (for C++ only; output vectors must be preallocated). 11438</p> 11439<dl compact="compact"> 11440<dt>Input:</dt> 11441<dd><p><code>elementType</code> (integer), <code>tag = -1</code> (integer), <code>task = 0</code> (size), <code>numTasks = 1</code> (size) 11442</p></dd> 11443<dt>Output:</dt> 11444<dd><p><code>elementTags</code> (vector of sizes), <code>nodeTags</code> (vector of sizes) 11445</p></dd> 11446<dt>Return:</dt> 11447<dd><p>- 11448</p></dd> 11449<dt>Language-specific definition:</dt> 11450<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1063">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L926">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3125">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2720">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L4532">Fortran</a> 11451</p></dd> 11452<dt>Examples:</dt> 11453<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x7.cpp#L58">x7.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x7.py#L50">x7.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/adapt_mesh.py#L18">adapt_mesh.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/neighbors.py#L15">neighbors.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/poisson.py#L95">poisson.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/stl_to_brep.py#L21">stl_to_brep.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x7.jl#L49">x7.jl</a>) 11454</p></dd> 11455</dl> 11456 11457</dd> 11458<dt><code>gmsh/model/mesh/getMaxElementTag</code> 11459<span id="index-gmsh_002fmodel_002fmesh_002fgetMaxElementTag"></span> 11460</dt> 11461<dd><p>Get the maximum tag <code>maxTag</code> of an element in the mesh. 11462</p> 11463<dl compact="compact"> 11464<dt>Input:</dt> 11465<dd><p>- 11466</p></dd> 11467<dt>Output:</dt> 11468<dd><p><code>maxTag</code> (size) 11469</p></dd> 11470<dt>Return:</dt> 11471<dd><p>- 11472</p></dd> 11473<dt>Language-specific definition:</dt> 11474<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1073">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L935">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3168">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2746">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L4589">Fortran</a> 11475</p></dd> 11476<dt>Examples:</dt> 11477<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x7.cpp#L78">x7.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x7.py#L74">x7.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x7.jl#L77">x7.jl</a>) 11478</p></dd> 11479</dl> 11480 11481</dd> 11482<dt><code>gmsh/model/mesh/preallocateElementsByType</code> 11483<span id="index-gmsh_002fmodel_002fmesh_002fpreallocateElementsByType"></span> 11484</dt> 11485<dd><p>Preallocate data before calling <code>getElementsByType</code> with <code>numTasks</code> > 1. For C++ only. 11486</p> 11487<dl compact="compact"> 11488<dt>Input:</dt> 11489<dd><p><code>elementType</code> (integer), <code>elementTag</code> (boolean), <code>nodeTag</code> (boolean), <code>tag = -1</code> (integer) 11490</p></dd> 11491<dt>Output:</dt> 11492<dd><p><code>elementTags</code> (vector of sizes), <code>nodeTags</code> (vector of sizes) 11493</p></dd> 11494<dt>Return:</dt> 11495<dd><p>- 11496</p></dd> 11497<dt>Language-specific definition:</dt> 11498<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1079">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L940">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L4608">Fortran</a> 11499</p></dd> 11500</dl> 11501 11502</dd> 11503<dt><code>gmsh/model/mesh/getElementQualities</code> 11504<span id="index-gmsh_002fmodel_002fmesh_002fgetElementQualities"></span> 11505</dt> 11506<dd><p>Get the quality <code>elementQualities</code> of the elements with tags <code>elementTags</code>. <code>qualityType</code> is the requested quality measure: "minDetJac" and "maxDetJac" for the adaptively computed minimal and maximal Jacobian determinant, "minSJ" for the sampled minimal scaled jacobien, "minSICN" for the sampled minimal signed inverted condition number, "minSIGE" for the sampled signed inverted gradient error, "gamma" for the ratio of the inscribed to circumcribed sphere radius, "innerRadius" for the inner radius, "outerRadius" for the outerRadius, "minIsotropy" for the minimum isotropy measure, "angleShape" for the angle shape measure, "minEdge" for the minimum straight edge length, "maxEdge" for the maximum straight edge length, "volume" for the volume. If <code>numTasks</code> > 1, only compute and return the part of the data indexed by <code>task</code> (for C++ only; output vector must be preallocated). 11507</p> 11508<dl compact="compact"> 11509<dt>Input:</dt> 11510<dd><p><code>elementTags</code> (vector of sizes), <code>qualityName = "minSICN"</code> (string), <code>task = 0</code> (size), <code>numTasks = 1</code> (size) 11511</p></dd> 11512<dt>Output:</dt> 11513<dd><p><code>elementsQuality</code> (vector of doubles) 11514</p></dd> 11515<dt>Return:</dt> 11516<dd><p>- 11517</p></dd> 11518<dt>Language-specific definition:</dt> 11519<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1101">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L961">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3190">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2782">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L4677">Fortran</a> 11520</p></dd> 11521<dt>Examples:</dt> 11522<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/mesh_quality.py#L12">mesh_quality.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/min_edge.py#L7">min_edge.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/view_element_size.py#L16">view_element_size.py</a>) 11523</p></dd> 11524</dl> 11525 11526</dd> 11527<dt><code>gmsh/model/mesh/addElements</code> 11528<span id="index-gmsh_002fmodel_002fmesh_002faddElements"></span> 11529</dt> 11530<dd><p>Add elements classified on the entity of dimension <code>dim</code> and tag <code>tag</code>. <code>types</code> contains the MSH types of the elements (e.g. <code>2</code> for 3-node triangles: see the Gmsh reference manual). <code>elementTags</code> is a vector of the same length as <code>types</code>; each entry is a vector containing the tags (unique, strictly positive identifiers) of the elements of the corresponding type. <code>nodeTags</code> is also a vector of the same length as <code>types</code>; each entry is a vector of length equal to the number of elements of the given type times the number N of nodes per element, that c
11530ontains the node tags of all the elements of the given type, concatenated: [e1n1, e1n2, ..., e1nN, e2n1, ...]. 11531</p> 11532<dl compact="compact"> 11533<dt>Input:</dt> 11534<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>elementTypes</code> (vector of integers), <code>elementTags</code> (vector of vectors of integers (size)), <code>nodeTags</code> (vector of vectors of integers (size)) 11535</p></dd> 11536<dt>Output:</dt> 11537<dd><p>- 11538</p></dd> 11539<dt>Return:</dt> 11540<dd><p>- 11541</p></dd> 11542<dt>Language-specific definition:</dt> 11543<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1119">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L978">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3233">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2815">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L4734">Fortran</a> 11544</p></dd> 11545<dt>Examples:</dt> 11546<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/copy_mesh.py#L30">copy_mesh.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/cylinderFFD.py#L144">cylinderFFD.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/discrete.py#L32">discrete.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/flatten.py#L42">flatten.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/mesh_from_discrete_curve.py#L21">mesh_from_discrete_curve.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/discrete.jl#L19">discrete.jl</a>) 11547</p></dd> 11548</dl> 11549 11550</dd> 11551<dt><code>gmsh/model/mesh/addElementsByType</code> 11552<span id="index-gmsh_002fmodel_002fmesh_002faddElementsByType"></span> 11553</dt> 11554<dd><p>Add elements of type <code>elementType</code> classified on the entity of tag <code>tag</code>. <code>elementTags</code> contains the tags (unique, strictly positive identifiers) of the elements of the corresponding type. <code>nodeTags</code> is a vector of length equal to the number of elements times the number N of nodes per element, that contains the node tags of all the elements, concatenated: [e1n1, e1n2, ..., e1nN, e2n1, ...]. If the <code>elementTag</code> vector is empty, new tags are automatically assigned to the elements. 11555</p> 11556<dl compact="compact"> 11557<dt>Input:</dt> 11558<dd><p><code>tag</code> (integer), <code>elementType</code> (integer), <code>elementTags</code> (vector of sizes), <code>nodeTags</code> (vector of sizes) 11559</p></dd> 11560<dt>Output:</dt> 11561<dd><p>- 11562</p></dd> 11563<dt>Return:</dt> 11564<dd><p>- 11565</p></dd> 11566<dt>Language-specific definition:</dt> 11567<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1134">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L992">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3271">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2844">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L4813">Fortran</a> 11568</p></dd> 11569<dt>Examples:</dt> 11570<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x2.cpp#L98">x2.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x4.cpp#L29">x4.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x7.cpp#L89">x7.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x2.py#L94">x2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x4.py#L27">x4.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x7.py#L86">x7.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/import_perf.py#L70">import_perf.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/raw_tetrahedralization.py#L21">raw_tetrahedralization.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x2.jl#L97">
11570x2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x4.jl#L26">x4.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x7.jl#L90">x7.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/import_perf.jl#L57">import_perf.jl</a>) 11571</p></dd> 11572</dl> 11573 11574</dd> 11575<dt><code>gmsh/model/mesh/getIntegrationPoints</code> 11576<span id="index-gmsh_002fmodel_002fmesh_002fgetIntegrationPoints"></span> 11577</dt> 11578<dd><p>Get the numerical quadrature information for the given element type <code>elementType</code> and integration rule <code>integrationType</code>, where <code>integrationType</code> concatenates the integration rule family name with the desired order (e.g. "Gauss4" for a quadrature suited for integrating 4th order polynomials). The "CompositeGauss" family uses tensor-product rules based the 1D Gauss-Legendre rule; the "Gauss" family uses an economic scheme when available (i.e. with a minimal number of points), and falls back to "CompositeGauss" otherwise. Note that integration points for the "Gauss" family can fall outside of the reference element for high-order rules. <code>localCoord</code> contains the u, v, w coordinates of the G integration points in the reference element: [g1u, g1v, g1w, ..., gGu, gGv, gGw]. <code>weights</code> contains the associated weights: [g1q, ..., gGq]. 11579</p> 11580<dl compact="compact"> 11581<dt>Input:</dt> 11582<dd><p><code>elementType</code> (integer), <code>integrationType</code> (string) 11583</p></dd> 11584<dt>Output:</dt> 11585<dd><p><code>localCoord</code> (vector of doubles), <code>weights</code> (vector of doubles) 11586</p></dd> 11587<dt>Return:</dt> 11588<dd><p>- 11589</p></dd> 11590<dt>Language-specific definition:</dt> 11591<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1153">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1010">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3303">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2877">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L4863">Fortran</a> 11592</p></dd> 11593<dt>Examples:</dt> 11594<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x6.py#L46">x6.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/adapt_mesh.py#L30">adapt_mesh.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/poisson.py#L112">poisson.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x6.jl#L46">x6.jl</a>) 11595</p></dd> 11596</dl> 11597 11598</dd> 11599<dt><code>gmsh/model/mesh/getJacobians</code> 11600<span id="index-gmsh_002fmodel_002fmesh_002fgetJacobians"></span> 11601</dt> 11602<dd><p>Get the Jacobians of all the elements of type <code>elementType</code> classified on the entity of tag <code>tag</code>, at the G evaluation points <code>localCoord</code> given as concatenated u, v, w coordinates in the reference element [g1u, g1v, g1w, ..., gGu, gGv, gGw]. Data is returned by element, with elements in the same order as in <code>getElements</code> and <code>getElementsByType</code>. <code>jacobians</code> contains for each element the 9 entries of the 3x3 Jacobian matrix at each evaluation point. The matrix is returned by column: [e1g1Jxu, e1g1Jyu, e1g1Jzu, e1g1Jxv, ..., e1g1Jzw, e1g2Jxu, ..., e1gGJzw, e2g1Jxu, ...], with Jxu = dx/du, Jyu = dy/du, etc. <code>determinants</code> contains for each element the determinant of the Jacobian matrix at each evaluation point: [e1g1, e1g2, ... e1gG, e2g1, ...]. <code>coord</code> contains for each element the x, y, z coordinates of the evaluation points. If <code>tag</code> < 0, get the Jacobian data for all entities. If <code>numTasks</code> > 1, only compute and return the part of the data indexed by <code>task</code> (for C++ only; output vectors must be preallocated). 11603</p> 11604<dl compact="compact"> 11605<dt>Input:</dt> 11606<dd><p><code>elementType</code> (integer), <code>localCoord</code> (vector of doubles), <code>tag = -1</code> (integer), <code>task = 0</code> (size), <code>numTasks = 1</code> (size) 11607</p></dd> 11608<dt>Output:</dt> 11609<dd><p><code>jacobians</code> (vector of doubles), <code>determinants</code> (vector of doubles), <code>coord</code> (vector of doubles) 11610</p></dd> 11611<dt>Return:</dt> 11612<dd><p>- 11613</p></dd> 11614<dt>Language-specific definition:</dt> 11615<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1175">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1031">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3345">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2923">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L4924">Fortran</a> 11616</p></dd> 11617<dt>Examples:</dt> 11618<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x6.py#L67">x6.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/adapt_mesh.py#L31">adapt_mesh.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/poisson.py#L131">poisson.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x6.jl#L67">x6.jl</a>) 11619</p></dd> 11620</dl> 11621 11622</dd> 11623<dt><code>gmsh/model/mesh/preallocateJacobians</code> 11624<span id="index-gmsh_002fmodel_002fmesh_002fpreallocateJacobians"></span> 11625</dt> 11626<dd><p>Preallocate data before calling <code>getJacobians</code> with <code>numTasks</code> > 1. For C++ only. 11627</p> 11628<dl compact="compact"> 11629<dt>Input:</dt> 11630<dd><p><code>elementType</code> (integer), <code>numEvaluationPoints</code> (integer), <code>allocateJacobians</code> (boolean), <code>allocateDeterminants</code> (boolean), <code>allocateCoord</code> (boolean), <code>tag = -1</code> (integer) 11631</p></dd> 11632<dt>Output:</dt> 11633<dd><p><code>jacobians</code> (vector of doubles), <code>determinants</code> (vector of doubles), <code>coord</code> (vector of doubles) 11634</p></dd> 11635<dt>Return:</dt> 11636<dd><p>- 11637</p></dd> 11638<dt>Language-specific definition:</dt> 11639<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1188">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1043">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L5002">Fortran</a> 11640</p></dd> 11641</dl> 11642 11643</dd> 11644<dt><code>gmsh/model/mesh/getJacobian</code> 11645<span id="index-gmsh_002fmodel_002fmesh_002fgetJacobian"></span> 11646</dt> 11647<dd><p>Get the Jacobian for a single element <code>elementTag</code>, at the G evaluation points <code>localCoord</code> given as concatenated u, v, w coordinates in the reference element [g1u, g1v, g1w, ..., gGu, gGv, gGw]. <code>jacobians</code> contains the 9 entries of the 3x3 Jacobian matrix at each evaluation point. The matrix is returned by column: [e1g1Jxu, e1g1Jyu, e1g1Jzu, e1g1Jxv, ..., e1g1Jzw, e1g2Jxu, ..., e1gGJzw, e2g1Jxu, ...], with Jxu = dx/du, Jyu = dy/du, etc. <code>determinants</code> contains the determinant of the Jacobian matrix at each evaluation point. <code>coord</code> contains the x, y, z coordinates of the evaluation points. This function relies on an internal
11647cache (a vector in case of dense element numbering, a map otherwise); for large meshes accessing Jacobians in bulk is often preferable. 11648</p> 11649<dl compact="compact"> 11650<dt>Input:</dt> 11651<dd><p><code>elementTag</code> (size), <code>localCoord</code> (vector of doubles) 11652</p></dd> 11653<dt>Output:</dt> 11654<dd><p><code>jacobians</code> (vector of doubles), <code>determinants</code> (vector of doubles), <code>coord</code> (vector of doubles) 11655</p></dd> 11656<dt>Return:</dt> 11657<dd><p>- 11658</p></dd> 11659<dt>Language-specific definition:</dt> 11660<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1211">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1065">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3401">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L2965">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L5091">Fortran</a> 11661</p></dd> 11662</dl> 11663 11664</dd> 11665<dt><code>gmsh/model/mesh/getBasisFunctions</code> 11666<span id="index-gmsh_002fmodel_002fmesh_002fgetBasisFunctions"></span> 11667</dt> 11668<dd><p>Get the basis functions of the element of type <code>elementType</code> at the evaluation points <code>localCoord</code> (given as concatenated u, v, w coordinates in the reference element [g1u, g1v, g1w, ..., gGu, gGv, gGw]), for the function space <code>functionSpaceType</code>. Currently supported function spaces include "Lagrange" and "GradLagrange" for isoparametric Lagrange basis functions and their gradient in the u, v, w coordinates of the reference element; "LagrangeN" and "GradLagrangeN", with N = 1, 2, ..., for N-th order Lagrange basis functions; "H1LegendreN" and "GradH1LegendreN", with N = 1, 2, ..., for N-th order hierarchical H1 Legendre functions; "HcurlLegendreN" and "CurlHcurlLegendreN", with N = 1, 2, ..., for N-th order curl-conforming basis functions. <code>numComponents</code> returns the number C of components of a basis function (e.g. 1 for scalar functions and 3 for vector functions). <code>basisFunctions</code> returns the value of the N basis functions at the evaluation points, i.e. [g1f1, g1f2, ..., g1fN, g2f1, ...] when C == 1 or [g1f1u, g1f1v, g1f1w, g1f2u, ..., g1fNw, g2f1u, ...] when C == 3. For basis functions that depend on the orientation of the elements, all values for the first orientation are returned first, followed by values for the second, etc. <code>numOrientations</code> returns the overall number of orientations. If the <code>wantedOrientations</code> vector is not empty, only return the values for the desired orientation indices. 11669</p> 11670<dl compact="compact"> 11671<dt>Input:</dt> 11672<dd><p><code>elementType</code> (integer), <code>localCoord</code> (vector of doubles), <code>functionSpaceType</code> (string), <code>wantedOrientations = []</code> (vector of integers) 11673</p></dd> 11674<dt>Output:</dt> 11675<dd><p><code>numComponents</code> (integer), <code>basisFunctions</code> (vector of doubles), <code>numOrientations</code> (integer) 11676</p></dd> 11677<dt>Return:</dt> 11678<dd><p>- 11679</p></dd> 11680<dt>Language-specific definition:</dt> 11681<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1239">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1092">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3447">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3018">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L5172">Fortran</a> 11682</p></dd> 11683<dt>Examples:</dt> 11684<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x6.py#L57">x6.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/adapt_mesh.py#L32">adapt_mesh.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/poisson.py#L114">poisson.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x6.jl#L57">x6.jl</a>) 11685</p></dd> 11686</dl> 11687 11688</dd> 11689<dt><code>gmsh/model/mesh/getBasisFunctionsOrientation</code> 11690<span id="index-gmsh_002fmodel_002fmesh_002fgetBasisFunctionsOrientation"></span> 11691</dt> 11692<dd><p>Get the orientation index of the elements of type <code>elementType</code> in the entity of tag <code>tag</code>. The arguments have the same meaning as in <code>getBasisFunctions</code>. <code>basisFunctionsOrientation</code> is a vector giving for each element the orientation index in the values returned by <code>getBasisFunctions</code>. For Lagrange basis functions the call is superfluous as it will return a vector of zeros. If <code>numTasks</code> > 1, only compute and return the part of the data indexed by <code>task</code> (for C++ only; output vector must be preallocated). 11693</p> 11694<dl compact="compact"> 11695<dt>Input:</dt> 11696<dd><p><code>elementType</code> (integer), <code>functionSpaceType</code> (string), <code>tag = -1</code> (integer), <code>task = 0</code> (size), <code>numTasks = 1</code> (size) 11697</p></dd> 11698<dt>Output:</dt> 11699<dd><p><code>basisFunctionsOrientation</code> (vector of integers) 11700</p></dd> 11701<dt>Return:</dt> 11702<dd><p>- 11703</p></dd> 11704<dt>Language-specific definition:</dt> 11705<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1257">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1109">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3507">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3054">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L5240">Fortran</a> 11706</p></dd> 11707</dl> 11708 11709</dd> 11710<dt><code>gmsh/model/mesh/getBasisFunctionsOrientationForElement</code> 11711<span id="index-gmsh_002fmodel_002fmesh_002fgetBasisFunctionsOrientationForElement"></span> 11712</dt> 11713<dd><p>Get the orientation of a single element <code>elementTag</code>. 11714</p> 11715<dl compact="compact"> 11716<dt>Input:</dt> 11717<dd><p><code>elementTag</code> (size), <code>functionSpaceType</code> (string) 11718</p></dd> 11719<dt>Output:</dt> 11720<dd><p><code>basisFunctionsOrientation</code> (integer) 11721</p></dd> 11722<dt>Return:</dt> 11723<dd><p>- 11724</p></dd> 11725<dt>Language-specific definition:</dt> 11726<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1267">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1118">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3546">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3079">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L5290">Fortran</a> 11727</p></dd> 11728</dl> 11729 11730</dd> 11731<dt><code>gmsh/model/mesh/getNumberOfOrientations</code> 11732<span id="index-gmsh_002fmodel_002fmesh_002fgetNumberOfOrientations"></span> 11733</dt> 11734<dd><p>Get the number of possible orientations for elements of type <code>elementType</code> and function space named <code>functionSpaceType</code>. 11735</p> 11736<dl compact="compact"> 11737<dt>Input:</dt> 11738<dd><p><code>elementType</code> (integer), <code>functionSpaceType</code> (string) 11739</p></dd> 11740<dt>Output:</dt> 11741<dd><p>- 11742</p></dd> 11743<dt>Return:</dt> 11744<dd><p>integer 11745</p></dd> 11746<dt>Language-specific definition:</dt> 11747<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1275">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1125">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3572">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3102">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L5319">Fortran</a> 11748</p></dd> 11749</dl> 11750 11751</dd> 11752<dt><code>gmsh/model/mesh/preallocateBasisFunctionsOrientation</code> 11753<span id="index-gmsh_002fmodel_002fmesh_002fpreallocateBasisFunctionsOrientation"></span> 11754</dt> 11755<dd><p>Preallocate data before calling <code>getBasisFunctionsOrientation</code> with <code>numTasks</code> > 1. For C++ only. 11756</p> 11757<dl compact="compact"> 11758<dt>Input:</dt> 11759<dd><p><code>elementType</code> (integer), <code>tag = -1</code> (integer) 11760</p></dd> 11761<dt>Output:</dt> 11762<dd><p><code>basisFunctionsOrientation</code> (vector of integers) 11763</p></dd> 11764<dt>Return:</dt> 11765<dd><p>- 11766</p></dd> 11767<dt>Language-specific definition:</dt> 11768<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1282">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1131">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L5345">Fortran</a> 11769</p></dd> 11770</dl> 11771 11772</dd> 11773<dt><code>gmsh/model/mesh/getEdges</code> 11774<span id="index-gmsh_002fmodel_002fmesh_002fgetEdges"></span> 11775</dt> 11776<dd><p>Get the global unique mesh edge identifiers <code>edgeTags</code> and orientations <code>edgeOrientation</code> for an input list of node tag pairs defining these edges, concatenated in the vector <code>nodeTags</code>. Mesh edges are created e.g. by <code>createEdges()</code>, <code>getKeys()</code> or <code>addEdges()</code>. The reference positive orientation is n1 < n2, where n1 and n2 are the tags of the two edge nodes, which corresponds to the local orientation of edge-based basis functions as well. 11777</p> 11778<dl compact="compact"> 11779<dt>Input:</dt> 11780<dd><p><code>nodeTags</code> (vector of sizes) 11781</p></dd> 11782<dt>Output:</dt> 11783<dd><p><code>edgeTags</code> (vector of sizes), <code>edgeOrientations</code> (vector of integers) 11784</p></dd> 11785<dt>Return:</dt> 11786<dd><p>- 11787</p></dd> 11788<dt>Language-specific definition:</dt> 11789<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1295">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1143">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3596">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3129">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L5386">Fortran</a> 11790</p></dd> 11791<dt>Examples:</dt> 11792<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x7.cpp#L51">x7.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x7.py#L44">x7.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x7.jl#L43">x7.jl</a>) 11793</p></dd> 11794</dl> 11795 11796</dd> 11797<dt><code>gmsh/model/mesh/getFaces</code> 11798<span id="index-gmsh_002fmodel_002fmesh_002fgetFaces"></span> 11799</dt> 11800<dd><p>Get the global unique mesh face identifiers <code>faceTags</code> and orientations <code>faceOrientations</code> for an input list of a multiple of three (if <code>faceType</code> == 3) or four (if <code>faceType</code> == 4) node tags defining these faces, concatenated in the vector <code>nodeTags</code>. Mesh faces are created e.g. by <code>createFaces()</code>, <code>getKeys()</code> or <code>addFaces()</code>. 11801</p> 11802<dl compact="compact"> 11803<dt>Input:</dt> 11804<dd><p><code>faceType</code> (integer), <code>nodeTags</code> (vector of sizes) 11805</p></dd> 11806<dt>Output:</dt> 11807<dd><p><code>faceTags</code> (vector of sizes), <code>faceOrientations</code> (vector of integers) 11808</p></dd> 11809<dt>Return:</dt> 11810<dd><p>- 11811</p></dd> 11812<dt>Language-specific definition:</dt> 11813<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1306">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1153">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3632">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3162">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L5435">Fortran</a> 11814</p></dd> 11815<dt>Examples:</dt> 11816<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x7.cpp#L52">x7.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x7.py#L45">x7.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/remesh_cavity.py#L38">remesh_cavity.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x7.jl#L44">x7.jl</a>) 11817</p></dd> 11818</dl> 11819 11820</dd> 11821<dt><code>gmsh/model/mesh/createEdges</code> 11822<span id="index-gmsh_002fmodel_002fmesh_002fcreateEdges"></span> 11823</dt> 11824<dd><p>Create unique mesh edges for the entities <code>dimTags</code>, given as a vector of (dim, tag) pairs. 11825</p> 11826<dl compact="compact"> 11827<dt>Input:</dt> 11828<dd><p><code>dimTags = []</code> (vector of pairs of integers) 11829</p></dd> 11830<dt>Output:</dt> 11831<dd><p>- 11832</p></dd> 11833<dt>Return:</dt> 11834<dd><p>- 11835</p></dd> 11836<dt>Language-specific definition:</dt> 11837<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1315">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1161">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3668">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3187">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L5486">Fortran</a> 11838</p></dd> 11839<dt>Examples:</dt> 11840<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x7.cpp#L45">x7.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x7.py#L40">x7.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x7.jl#L39">x7.jl</a>) 11841</p></dd> 11842</dl> 11843 11844</dd> 11845<dt><code>gmsh/model/mesh/createFaces</code> 11846<span id="index-gmsh_002fmodel_002fmesh_002fcreateFaces"></span> 11847</dt> 11848<dd><p>Create unique mesh faces for the entities <code>dimTags</code>, given as a vector of (dim, tag) pairs. 11849</p> 11850<dl compact="compact"> 11851<dt>Input:</dt> 11852<dd><p><code>dimTags = []</code> (vector of pairs of integers) 11853</p></dd> 11854<dt>Output:</dt> 11855<dd><p>- 11856</p></dd> 11857<dt>Return:</dt> 11858<dd><p>- 11859</p></dd> 11860<dt>Language-specific definition:</dt> 11861<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1321">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1166">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3688">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3208">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L5508">Fortran</a> 11862</p></dd> 11863<dt>Examples:</dt> 11864<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x7.cpp#L46">x7.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x7.py#L41">x7.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/remesh_cavity.py#L37">remesh_cavity.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x7.jl#L40">x7.jl</a>) 11865</p></dd> 11866</dl> 11867 11868</dd> 11869<dt><code>gmsh/model/mesh/getAllEdges</code> 11870<span id="index-gmsh_002fmodel_002fmesh_002fgetAllEdges"></span> 11871</dt> 11872<dd><p>Get the global unique identifiers <code>edgeTags</code> and the nodes <code>edgeNodes</code> of the edges in the mesh. Mesh edges are created e.g. by <code>createEdges()</code>, <code>getKeys()</code> or addEdges(). 11873</p> 11874<dl compact="compact"> 11875<dt>Input:</dt> 11876<dd><p>- 11877</p></dd> 11878<dt>Output:</dt> 11879<dd><p><code>edgeTags</code> (vector of sizes), <code>edgeNodes</code> (vector of sizes) 11880</p></dd> 11881<dt>Return:</dt> 11882<dd><p>- 11883</p></dd> 11884<dt>Language-specific definition:</dt> 11885<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1328">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1172">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3708">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3233">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L5531">Fortran</a> 11886</p></dd> 11887<dt>Examples:</dt> 11888<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x7.cpp#L103">x7.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh
11888/blob/gmsh_4_15_2/tutorials/python/x7.py#L98">x7.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x7.jl#L103">x7.jl</a>) 11889</p></dd> 11890</dl> 11891 11892</dd> 11893<dt><code>gmsh/model/mesh/getAllFaces</code> 11894<span id="index-gmsh_002fmodel_002fmesh_002fgetAllFaces"></span> 11895</dt> 11896<dd><p>Get the global unique identifiers <code>faceTags</code> and the nodes <code>faceNodes</code> of the faces of type <code>faceType</code> in the mesh. Mesh faces are created e.g. by <code>createFaces()</code>, <code>getKeys()</code> or addFaces(). 11897</p> 11898<dl compact="compact"> 11899<dt>Input:</dt> 11900<dd><p><code>faceType</code> (integer) 11901</p></dd> 11902<dt>Output:</dt> 11903<dd><p><code>faceTags</code> (vector of sizes), <code>faceNodes</code> (vector of sizes) 11904</p></dd> 11905<dt>Return:</dt> 11906<dd><p>- 11907</p></dd> 11908<dt>Language-specific definition:</dt> 11909<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1336">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1179">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3737">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3263">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L5570">Fortran</a> 11910</p></dd> 11911<dt>Examples:</dt> 11912<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x7.cpp#L104">x7.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x7.py#L99">x7.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x7.jl#L104">x7.jl</a>) 11913</p></dd> 11914</dl> 11915 11916</dd> 11917<dt><code>gmsh/model/mesh/addEdges</code> 11918<span id="index-gmsh_002fmodel_002fmesh_002faddEdges"></span> 11919</dt> 11920<dd><p>Add mesh edges defined by their global unique identifiers <code>edgeTags</code> and their nodes <code>edgeNodes</code>. 11921</p> 11922<dl compact="compact"> 11923<dt>Input:</dt> 11924<dd><p><code>edgeTags</code> (vector of sizes), <code>edgeNodes</code> (vector of sizes) 11925</p></dd> 11926<dt>Output:</dt> 11927<dd><p>- 11928</p></dd> 11929<dt>Return:</dt> 11930<dd><p>- 11931</p></dd> 11932<dt>Language-specific definition:</dt> 11933<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1344">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1186">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3768">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3289">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L5613">Fortran</a> 11934</p></dd> 11935</dl> 11936 11937</dd> 11938<dt><code>gmsh/model/mesh/addFaces</code> 11939<span id="index-gmsh_002fmodel_002fmesh_002faddFaces"></span> 11940</dt> 11941<dd><p>Add mesh faces of type <code>faceType</code> defined by their global unique identifiers <code>faceTags</code> and their nodes <code>faceNodes</code>. 11942</p> 11943<dl compact="compact"> 11944<dt>Input:</dt> 11945<dd><p><code>faceType</code> (integer), <code>faceTags</code> (vector of sizes), <code>faceNodes</code> (vector of sizes) 11946</p></dd> 11947<dt>Output:</dt> 11948<dd><p>- 11949</p></dd> 11950<dt>Return:</dt> 11951<dd><p>- 11952</p></dd> 11953<dt>Language-specific definition:</dt> 11954<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1351">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1192">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3791">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3310">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L5643">Fortran</a> 11955</p></dd> 11956</dl> 11957 11958</dd> 11959<dt><code>gmsh/model/mesh/getKeys</code> 11960<span id="index-gmsh_002fmodel_002fmesh_002fgetKeys"></span> 11961</dt> 11962<dd><p>Generate the pair of keys for the elements of type <code>elementType</code> in the entity of tag <code>tag</code>, for the <code>functionSpaceType</code> function space. Each pair (<code>typeKey</code>, <code>entityKey</code>) uniquely identifies a basis function in the function space. If <code>returnCoord</code> is set, the <code>coord</code> vector contains the x, y, z coordinates locating basis functions for sorting purposes. Warning: this is an experimental feature and will probably change in a future release. 11963</p> 11964<dl compact="compact"> 11965<dt>Input:</dt> 11966<dd><p><code>elementType</code> (integer), <code>functionSpaceType</code> (string), <code>tag = -1</code> (integer), <code>returnCoord = True</code> (boolean) 11967</p></dd> 11968<dt>Output:</dt> 11969<dd><p><code>typeKeys</code> (vector of integers), <code>entityKeys</code> (vector of sizes), <code>coord</code> (vector of doubles) 11970</p></dd> 11971<dt>Return:</dt> 11972<dd><p>- 11973</p></dd> 11974<dt>Language-specific definition:</dt> 11975<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1364">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1204">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3816">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3341">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L5683">Fortran</a> 11976</p></dd> 11977</dl> 11978 11979</dd> 11980<dt><code>gmsh/model/mesh/getKeysForElement</code> 11981<span id="index-gmsh_002fmodel_002fmesh_002fgetKeysForElement"></span> 11982</dt> 11983<dd><p>Get the pair of keys for a single element <code>elementTag</code>. 11984</p> 11985<dl compact="compact"> 11986<dt>Input:</dt> 11987<dd><p><code>elementTag</code> (size), <code>functionSpaceType</code> (string), <code>returnCoord = True</code> (boolean) 11988</p></dd> 11989<dt>Output:</dt> 11990<dd><p><code>typeKeys</code> (vector of integers), <code>entityKeys</code> (vector of sizes), <code>coord</code> (vector of doubles) 11991</p></dd> 11992<dt>Return:</dt> 11993<dd><p>- 11994</p></dd> 11995<dt>Language-specific definition:</dt> 11996<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1375">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1214">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3861">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3375">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L5752">Fortran</a> 11997</p></dd> 11998</dl> 11999 12000</dd> 12001<dt><code>gmsh/model/mesh/getNumberOfKeys</code> 12002<span id="index-gmsh_002fmodel_002fmesh_002fgetNumberOfKeys"></span> 12003</dt> 12004<dd><p>Get the number of keys by elements of type <code>elementType</code> for function space named <code>functionSpaceType</code>. 12005</p> 12006<dl compact="compact"> 12007<dt>Input:</dt> 12008<dd><p><code>elementType</code> (integer), <code>functionSpaceType</code> (string) 12009</p></dd> 12010<dt>Output:</dt> 12011<dd><p>- 12012</p></dd> 12013<dt>Return:</dt> 12014<dd><p>integer 12015</p></dd> 12016<dt>Language-specific definition:</dt> 12017<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1386">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1224">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3898">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3406">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L5817">Fortran</a> 12018</p></dd> 12019</dl> 12020 12021</dd> 12022<dt><code>gmsh/model/mesh/getKeysInformation</code> 12023<span id="index-gmsh_002fmodel_002fmesh_002fgetKeysInformation"></span> 12024</dt> 12025<dd><p>Get information about the pair of <code>keys</code>. <code>infoKeys</code> returns information about the functions associated with the pairs (<code>typeKeys</code>, <code>entityKey</code>). <code>infoKeys[0].first</code> describes the type of function (0 for vertex function, 1 for edge function, 2 for face function and 3 for bubble function). <code>infoKeys[0].second</code> gives the order of the function associated with the key. Warning: this is an experimental feature and will probably change in a future release. 12026</p> 12027<dl compact="compact"> 12028<dt>Input:</dt> 12029<dd><p><code>typeKeys</code> (vector of integers), <code>entityKeys</code> (vector of sizes), <code>elementType</code> (integer), <code>functionSpaceType</code> (string) 12030</p></dd> 12031<dt>Output:</dt> 12032<dd><p><code>infoKeys</code> (vector of pairs of integers) 12033</p></dd> 12034<dt>Return:</dt> 12035<dd><p>- 12036</p></dd> 12037<dt>Language-specific definition:</dt> 12038<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1398">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1235">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3922">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3436">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L5848">Fortran</a> 12039</p></dd> 12040</dl> 12041 12042</dd> 12043<dt><code>gmsh/model/mesh/getBarycenters</code> 12044<span id="index-gmsh_002fmodel_002fmesh_002fgetBarycenters"></span> 12045</dt> 12046<dd><p>Get the barycenters of all elements of type <code>elementType</code> classified on the entity of tag <code>tag</code>. If <code>primary</code> is set, only the primary nodes of the elements are taken into account for the barycenter calculation. If <code>fast</code> is set, the function returns the sum of the primary node coordinates (without normalizing by the number of nodes). If <code>tag</code> < 0, get the barycenters for all entities. If <code>numTasks</code> > 1, only compute and return the part of the data indexed by <code>task</code> (for C++ only; output vector must be preallocated). 12047</p> 12048<dl compact="compact"> 12049<dt>Input:</dt> 12050<dd><p><code>elementType</code> (integer), <code>tag</code> (integer), <code>fast</code> (boolean), <code>primary</code> (boolean), <code>task = 0</code> (size), <code>numTasks = 1</code> (size) 12051</p></dd> 12052<dt>Output:</dt> 12053<dd><p><code>barycenters</code> (vector of doubles) 12054</p></dd> 12055<dt>Return:</dt> 12056<dd><p>- 12057</p></dd> 12058<dt>Language-specific definition:</dt> 12059<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1414">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1250">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L3960">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3472">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L5906">Fortran</a> 12060</p></dd> 12061</dl> 12062 12063</dd> 12064<dt><code>gmsh/model/mesh/preallocateBarycenters</code> 12065<span id="index-gmsh_002fmodel_002fmesh_002fpreallocateBarycenters"></span> 12066</dt> 12067<dd><p>Preallocate data before calling <code>getBarycenters</code> with <code>numTasks</code> > 1. For C++ only. 12068</p> 12069<dl compact="compact"> 12070<dt>Input:</dt> 12071<dd><p><code>elementType</code> (integer), <code>tag = -1</code> (integer) 12072</p></dd> 12073<dt>Output:</dt> 12074<dd><p><code>barycenters</code> (vector of doubles) 12075</p></dd> 12076<dt>Return:</dt> 12077<dd><p>- 12078</p></dd> 12079<dt>Language-specific definition:</dt> 12080<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1426">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1261">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L5962">Fortran</a> 12081</p></dd> 12082</dl> 12083 12084</dd> 12085<dt><code>gmsh/model/mesh/getElementEdgeNodes</code> 12086<span id="index-gmsh_002fmodel_002fmesh_002fgetElementEdgeNodes"></span> 12087</dt> 12088<dd><p>Get the nodes on the edges of all elements of type <code>elementType</code> classified on the entity of tag <code>tag</code>. <code>nodeTags</code> contains the node tags of the edges for all the elements: [e1a1n1, e1a1n2, e1a2n1, ...]. Data is returned by element, with elements in the same order as in <code>getElements</code> and <code>getElementsByType</code>. If <code>primary</code> is set, only the primary (begin/end) nodes of the edges are returned. If <code>tag</code> < 0, get the edge nodes for all entities. If <code>numTasks</code> > 1, only compute and return the part of the data indexed by <code>task</code> (for C++ only; output vector must be preallocated). 12089</p> 12090<dl compact="compact"> 12091<dt>Input:</dt> 12092<dd><p><code>elementType</code> (integer), <code>tag = -1</code> (integer), <code>primary = False</code> (boolean), <code>task = 0</code> (size), <code>numTasks = 1</code> (size) 12093</p></dd> 12094<dt>Output:</dt> 12095<dd><p><code>nodeTags</code> (vector of sizes) 12096</p></dd> 12097<dt>Return:</dt> 12098<dd><p>- 12099</p></dd> 12100<dt>Language-specific definition:</dt> 12101<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1440">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1274">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4001">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3507">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6004">Fortran</a> 12102</p></dd> 12103<dt>Examples:</dt> 12104<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x7.cpp#L34">x7.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x7.py#L30">x7.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/stl_to_brep.py#L23">stl_to_brep.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x7.jl#L29">x7.jl</a>) 12105</p></dd> 12106</dl> 12107 12108</dd> 12109<dt><code>gmsh/model/mesh/getElementFaceNodes</code> 12110<span id="index-gmsh_002fmodel_002fmesh_002fgetElementFaceNodes"></span> 12111</dt> 12112<dd><p>Get the nodes on the faces of type <code>faceType</code> (3 for triangular faces, 4 for quadrangular faces) of all elements of type <code>elementType</code> classified on the entity of tag <code>tag</code>. <code>nodeTags</code> contains the node tags of the faces for all elements: [e1f1n1, ..., e1f1nFaceType, e1f2n1, ...]. Data is returned by element, with elements in the same order as in <code>getElements</code> and <code>getElementsByType</code>. If <code>primary</code>
12112 is set, only the primary (corner) nodes of the faces are returned. If <code>tag</code> < 0, get the face nodes for all entities. If <code>numTasks</code> > 1, only compute and return the part of the data indexed by <code>task</code> (for C++ only; output vector must be preallocated). 12113</p> 12114<dl compact="compact"> 12115<dt>Input:</dt> 12116<dd><p><code>elementType</code> (integer), <code>faceType</code> (integer), <code>tag = -1</code> (integer), <code>primary = False</code> (boolean), <code>task = 0</code> (size), <code>numTasks = 1</code> (size) 12117</p></dd> 12118<dt>Output:</dt> 12119<dd><p><code>nodeTags</code> (vector of sizes) 12120</p></dd> 12121<dt>Return:</dt> 12122<dd><p>- 12123</p></dd> 12124<dt>Language-specific definition:</dt> 12125<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1458">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1291">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4040">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3544">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6062">Fortran</a> 12126</p></dd> 12127<dt>Examples:</dt> 12128<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x7.cpp#L35">x7.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x7.py#L31">x7.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/neighbors.py#L16">neighbors.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/remesh_cavity.py#L36">remesh_cavity.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x7.jl#L30">x7.jl</a>) 12129</p></dd> 12130</dl> 12131 12132</dd> 12133<dt><code>gmsh/model/mesh/getGhostElements</code> 12134<span id="index-gmsh_002fmodel_002fmesh_002fgetGhostElements"></span> 12135</dt> 12136<dd><p>Get the ghost elements <code>elementTags</code> and their associated <code>partitions</code> stored in the ghost entity of dimension <code>dim</code> and tag <code>tag</code>. 12137</p> 12138<dl compact="compact"> 12139<dt>Input:</dt> 12140<dd><p><code>dim</code> (integer), <code>tag</code> (integer) 12141</p></dd> 12142<dt>Output:</dt> 12143<dd><p><code>elementTags</code> (vector of sizes), <code>partitions</code> (vector of integers) 12144</p></dd> 12145<dt>Return:</dt> 12146<dd><p>- 12147</p></dd> 12148<dt>Language-specific definition:</dt> 12149<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1470">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1302">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4082">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3571">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6118">Fortran</a> 12150</p></dd> 12151</dl> 12152 12153</dd> 12154<dt><code>gmsh/model/mesh/setSize</code> 12155<span id="index-gmsh_002fmodel_002fmesh_002fsetSize"></span> 12156</dt> 12157<dd><p>Set a mesh size constraint on the model entities <code>dimTags</code>, given as a vector of (dim, tag) pairs. Currently only entities of dimension 0 (points) are handled. 12158</p> 12159<dl compact="compact"> 12160<dt>Input:</dt> 12161<dd><p><code>dimTags</code> (vector of pairs of integers), <code>size</code>
12161 (double) 12162</p></dd> 12163<dt>Output:</dt> 12164<dd><p>- 12165</p></dd> 12166<dt>Return:</dt> 12167<dd><p>- 12168</p></dd> 12169<dt>Language-specific definition:</dt> 12170<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1480">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1311">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4114">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3597">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6167">Fortran</a> 12171</p></dd> 12172<dt>Examples:</dt> 12173<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t16.cpp#L125">t16.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t18.cpp#L32">t18.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t21.cpp#L47">t21.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t16.py#L105">t16.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t18.py#L29">t18.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t21.py#L35">t21.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/adapt_mesh.py#L80">adapt_mesh.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/extend_field.py#L18">extend_field.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t16.jl#L107">t16.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t18.jl#L26">t18.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t21.jl#L34">t21.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t16.f90#L135">t16.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t18.f90#L40">t18.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t21.f90#L47">t21.f90</a>) 12174</p></dd> 12175</dl> 12176 12177</dd> 12178<dt><code>gmsh/model/mesh/getSizes</code> 12179<span id="index-gmsh_002fmodel_002fmesh_002fgetSizes"></span> 12180</dt> 12181<dd><p>Get the mesh size constraints (if any) associated with the model entities <code>dimTags</code>, given as a vector of (dim, tag) pairs. A zero entry in the output <code>sizes</code> vector indicates that no size constraint is specified on the corresponding entity. 12182</p> 12183<dl compact="compact"> 12184<dt>Input:</dt> 12185<dd><p><code>dimTags</code> (vector of pairs of integers) 12186</p></dd> 12187<dt>Output:</dt> 12188<dd><p><code>sizes</code> (vector of doubles) 12189</p></dd> 12190<dt>Return:</dt> 12191<dd><p>- 12192</p></dd> 12193<dt>Language-specific definition:</dt> 12194<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1489">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1319">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4137">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3623">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6196">Fortran</a> 12195</p></dd> 12196</dl> 12197 12198</dd> 12199<dt><code>gmsh/model/mesh/setSizeAtParametricPoints</code> 12200<span id="index-gmsh_002fmodel_002fmesh_002fsetSizeAtParametricPoints"></span> 12201</dt> 12202<dd><p>Set mesh size constraints at the given parametric points <code>parametricCoord</code> on the model entity of dimension <code>dim</code> and tag <code>tag</code>. Currently only entities of dimension 1 (lines) are handled. 12203</p> 12204<dl compact="compact"> 12205<dt>Input:</dt> 12206<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>parametricCoord</code> (vector of doubles), <code>sizes</code> (vector of doubles) 12207</p></dd> 12208<dt>Output:</dt> 12209<dd><p>- 12210</p></dd> 12211<dt>Return:</dt> 12212<dd><p>- 12213</p></dd> 12214<dt>Language-specific definition:</dt> 12215<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1497">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1326">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4165">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3651">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6231">Fortran</a> 12216</p></dd> 12217</dl> 12218 12219</dd> 12220<dt><code>gmsh/model/mesh/setSizeCallback</code> 12221<span id="index-gmsh_002fmodel_002fmesh_002fsetSizeCallback"></span> 12222</dt> 12223<dd><p>Set a mesh size callback for the current model. The callback function should take six arguments as input (<code>dim</code>, <code>tag</code>, <code>x</code>, <code>y</code>, <code>z</code> and <code>lc</code>). The first two integer arguments correspond to the dimension <code>dim</code> and tag <code>tag</code> of the entity being meshed. The next four double precision arguments correspond to the coordinates <code>x</code>, <code>y</code> and <code>z</code> around which to prescribe the mesh size and to the mesh size <code>lc</code>
12223 that would be prescribed if the callback had not been called. The callback function should return a double precision number specifying the desired mesh size; returning <code>lc</code> is equivalent to a no-op. 12224</p> 12225<dl compact="compact"> 12226<dt>Input:</dt> 12227<dd><p><code>callback</code> () 12228</p></dd> 12229<dt>Output:</dt> 12230<dd><p>- 12231</p></dd> 12232<dt>Return:</dt> 12233<dd><p>- 12234</p></dd> 12235<dt>Language-specific definition:</dt> 12236<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1513">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1341">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4193">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3676">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6278">Fortran</a> 12237</p></dd> 12238<dt>Examples:</dt> 12239<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t10.cpp#L117">t10.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t10.py#L109">t10.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t10.jl#L108">t10.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t10.f90#L113">t10.f90</a>) 12240</p></dd> 12241</dl> 12242 12243</dd> 12244<dt><code>gmsh/model/mesh/removeSizeCallback</code> 12245<span id="index-gmsh_002fmodel_002fmesh_002fremoveSizeCallback"></span> 12246</dt> 12247<dd><p>Remove the mesh size callback from the current model. 12248</p> 12249<dl compact="compact"> 12250<dt>Input:</dt> 12251<dd><p>- 12252</p></dd> 12253<dt>Output:</dt> 12254<dd><p>- 12255</p></dd> 12256<dt>Return:</dt> 12257<dd><p>- 12258</p></dd> 12259<dt>Language-specific definition:</dt> 12260<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1518">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1345">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4223">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3693">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6296">Fortran</a> 12261</p></dd> 12262</dl> 12263 12264</dd> 12265<dt><code>gmsh/model/mesh/setTransfiniteCurve</code> 12266<span id="index-gmsh_002fmodel_002fmesh_002fsetTransfiniteCurve"></span> 12267</dt> 12268<dd><p>Set a transfinite meshing constraint on the curve <code>tag</code>, with <code>numNodes</code> nodes distributed according to <code>meshType</code> and <code>coef</code>. Currently supported types are "Progression" (geometrical progression with power <code>coef</code>), "Bump" (refinement toward both extremities of the curve) and "Beta" (beta law). 12269</p> 12270<dl compact="compact"> 12271<dt>Input:</dt> 12272<dd><p><code>tag</code> (integer), <code>numNodes</code> (integer), <code>meshType = "Progression"</code> (string), <code>coef = 1.</code>
12272 (double) 12273</p></dd> 12274<dt>Output:</dt> 12275<dd><p>- 12276</p></dd> 12277<dt>Return:</dt> 12278<dd><p>- 12279</p></dd> 12280<dt>Language-specific definition:</dt> 12281<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1527">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1351">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4237">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3717">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6312">Fortran</a> 12282</p></dd> 12283<dt>Examples:</dt> 12284<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x2.cpp#L155">x2.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x2.py#L151">x2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain.py#L149">terrain.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_bspline.py#L43">terrain_bspline.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_stl.py#L78">terrain_stl.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x2.jl#L155">x2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_bspline.jl#L43">terrain_bspline.jl</a>) 12285</p></dd> 12286</dl> 12287 12288</dd> 12289<dt><code>gmsh/model/mesh/setTransfiniteSurface</code> 12290<span id="index-gmsh_002fmodel_002fmesh_002fsetTransfiniteSurface"></span> 12291</dt> 12292<dd><p>Set a transfinite meshing constraint on the surface <code>tag</code>. <code>arrangement</code> describes the arrangement of the triangles when the surface is not flagged as recombined: currently supported values are "Left", "Right", "AlternateLeft" and "AlternateRight". <code>cornerTags</code> can be used to specify the (3 or 4) corners of the transfinite interpolation explicitly; specifying the corners explicitly is mandatory if the surface has more that 3 or 4 points on its boundary. 12293</p> 12294<dl compact="compact"> 12295<dt>Input:</dt> 12296<dd><p><code>tag</code> (integer), <code>arrangement = "Left"</code> (string), <code>cornerTags = []</code> (vector of integers) 12297</p></dd> 12298<dt>Output:</dt> 12299<dd><p>- 12300</p></dd> 12301<dt>Return:</dt> 12302<dd><p>- 12303</p></dd> 12304<dt>Language-specific definition:</dt> 12305<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1541">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1364">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4264">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3742">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6351">Fortran</a> 12306</p></dd> 12307<dt>Examples:</dt> 12308<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x2.cpp#L158">x2.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x2.py#L153">x2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/get_data_perf.py#L11">get_data_perf.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain.py#L151">terrain.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_bspline.py#L45">terrain_bspline.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_stl.py#L80">terrain_stl.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x2.jl#L158">x2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_bspline.jl#L45">terrain_bspline.jl</a>) 12309</p></dd> 12310</dl> 12311 12312</dd> 12313<dt><code>gmsh/model/mesh/setTransfiniteVolume</code> 12314<span id="index-gmsh_002fmodel_002fmesh_002fsetTransfiniteVolume"></span> 12315</dt> 12316<dd><p>Set a transfinite meshing constraint on the surface <code>tag</code>. <code>cornerTags</code> can be used to specify the (6 or 8) corners of the transfinite interpolation explicitly. 12317</p> 12318<dl compact="compact"> 12319<dt>Input:</dt> 12320<dd><p><code>tag</code> (integer), <code>cornerTags = []</code> (vector of integers) 12321</p></dd> 12322<dt>Output:</dt> 12323<dd><p>- 12324</p></dd> 12325<dt>Return:</dt> 12326<dd><p>- 12327</p></dd> 12328<dt>Language-specific definition:</dt> 12329<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1550">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1372">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4293">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3763">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6384">Fortran</a> 12330</p></dd> 12331<dt>Examples:</dt> 12332<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x2.cpp#L162">x2.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x2.py#L156">x2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain.py#L154">terrain.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_bspline.py#L48">terrain_bspline.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_stl.py#L83">terrain_stl.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x2.jl#L162">x2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_bspline.jl#L50">
12332terrain_bspline.jl</a>) 12333</p></dd> 12334</dl> 12335 12336</dd> 12337<dt><code>gmsh/model/mesh/setTransfiniteAutomatic</code> 12338<span id="index-gmsh_002fmodel_002fmesh_002fsetTransfiniteAutomatic"></span> 12339</dt> 12340<dd><p>Set transfinite meshing constraints on the model entities in <code>dimTags</code>, given as a vector of (dim, tag) pairs. Transfinite meshing constraints are added to the curves of the quadrangular surfaces and to the faces of 6-sided volumes. Quadragular faces with a corner angle superior to <code>cornerAngle</code> (in radians) are ignored. The number of points is automatically determined from the sizing constraints. If <code>dimTag</code> is empty, the constraints are applied to all entities in the model. If <code>recombine</code> is true, the recombine flag is automatically set on the transfinite surfaces. 12341</p> 12342<dl compact="compact"> 12343<dt>Input:</dt> 12344<dd><p><code>dimTags = []</code> (vector of pairs of integers), <code>cornerAngle = 2.35</code> (double), <code>recombine = True</code> (boolean) 12345</p></dd> 12346<dt>Output:</dt> 12347<dd><p>- 12348</p></dd> 12349<dt>Return:</dt> 12350<dd><p>- 12351</p></dd> 12352<dt>Language-specific definition:</dt> 12353<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1564">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1384">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4316">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3790">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6417">Fortran</a> 12354</p></dd> 12355<dt>Examples:</dt> 12356<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x2.cpp#L169">x2.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x6.cpp#L22">x6.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x2.py#L162">x2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x6.py#L21">x6.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x2.jl#L168">x2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x6.jl#L20">x6.jl</a>) 12357</p></dd> 12358</dl> 12359 12360</dd> 12361<dt><code>gmsh/model/mesh/setRecombine</code> 12362<span id="index-gmsh_002fmodel_002fmesh_002fsetRecombine"></span> 12363</dt> 12364<dd><p>Set a recombination meshing constraint on the model entity of dimension <code>dim</code> and tag <code>tag</code>. Currently only entities of dimension 2 (to recombine triangles into quadrangles) are supported; <code>angle</code> specifies the threshold angle for the simple recombination algorithm.. 12365</p> 12366<dl compact="compact"> 12367<dt>Input:</dt> 12368<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>angle = 45.</code> (double) 12369</p></dd> 12370<dt>Output:</dt> 12371<dd><p>- 12372</p></dd> 12373<dt>Return:</dt> 12374<dd><p>- 12375</p></dd> 12376<dt>Language-specific definition:</dt> 12377<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1574">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1393">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4346">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3815">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6451">Fortran</a> 12378</p></dd> 12379<dt>Examples:</dt> 12380<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t11.cpp#L44">t11.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x2.cpp#L159">x2.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t11.py#L42">t11.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x2.py#L154">x2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/poisson.py#L238">poisson.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain.py#L152">terrain.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_bspline.py#L46">terrain_bspline.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t11.jl#L41">t11.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x2.jl#L159">x2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_bspline.jl#L46">
12380terrain_bspline.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t11.f90#L50">t11.f90</a>) 12381</p></dd> 12382</dl> 12383 12384</dd> 12385<dt><code>gmsh/model/mesh/setSmoothing</code> 12386<span id="index-gmsh_002fmodel_002fmesh_002fsetSmoothing"></span> 12387</dt> 12388<dd><p>Set a smoothing meshing constraint on the model entity of dimension <code>dim</code> and tag <code>tag</code>. <code>val</code> iterations of a Laplace smoother are applied. 12389</p> 12390<dl compact="compact"> 12391<dt>Input:</dt> 12392<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>val</code> (integer) 12393</p></dd> 12394<dt>Output:</dt> 12395<dd><p>- 12396</p></dd> 12397<dt>Return:</dt> 12398<dd><p>- 12399</p></dd> 12400<dt>Language-specific definition:</dt> 12401<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1582">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1400">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4371">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3836">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6480">Fortran</a> 12402</p></dd> 12403<dt>Examples:</dt> 12404<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x2.cpp#L160">x2.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x2.py#L155">x2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain.py#L153">terrain.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_bspline.py#L47">terrain_bspline.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_stl.py#L82">terrain_stl.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x2.jl#L160">x2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_bspline.jl#L47">terrain_bspline.jl</a>) 12405</p></dd> 12406</dl> 12407 12408</dd> 12409<dt><code>gmsh/model/mesh/setReverse</code> 12410<span id="index-gmsh_002fmodel_002fmesh_002fsetReverse"></span> 12411</dt> 12412<dd><p>Set a reverse meshing constraint on the model entity of dimension <code>dim</code> and tag <code>tag</code>. If <code>val</code> is true, the mesh orientation will be reversed with respect to the natural mesh orientation (i.e. the orientation consistent with the orientation of the geometry). If <code>val</code> is false, the mesh is left as-is. 12413</p> 12414<dl compact="compact"> 12415<dt>Input:</dt> 12416<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>val = True</code> (boolean) 12417</p></dd> 12418<dt>Output:</dt> 12419<dd><p>- 12420</p></dd> 12421<dt>Return:</dt> 12422<dd><p>- 12423</p></dd> 12424<dt>Language-specific definition:</dt> 12425<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1593">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1410">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4394">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3859">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6512">Fortran</a> 12426</p></dd> 12427</dl> 12428 12429</dd> 12430<dt><code>gmsh/model/mesh/setAlgorithm</code> 12431<span id="index-gmsh_002fmodel_002fmesh_002fsetAlgorithm"></span> 12432</dt> 12433<dd><p>Set the meshing algorithm on the model entity of dimension <code>dim</code> and tag <code>tag</code>. Supported values are those of the <code>Mesh.Algorithm</code> option, as listed in the Gmsh reference manual. Currently only supported for <code>dim</code> == 2. 12434</p> 12435<dl compact="compact"> 12436<dt>Input:</dt> 12437<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>val</code> (integer) 12438</p></dd> 12439<dt>Output:</dt> 12440<dd><p>- 12441</p></dd> 12442<dt>Return:</dt> 12443<dd><p>- 12444</p></dd> 12445<dt>Language-specific definition:</dt> 12446<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1603">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1418">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4420">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3881">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6542">Fortran</a> 12447</p></dd> 12448<dt>Examples:</dt> 12449<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t5.cpp#L207">t5.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t5.py#L201">t5.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t5.jl#L198">t5.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t5.f90#L153">t5.f90</a>) 12450</p></dd> 12451</dl> 12452 12453</dd> 12454<dt><code>gmsh/model/mesh/setSizeFromBoundary</code> 12455<span id="index-gmsh_002fmodel_002fmesh_002fsetSizeFromBoundary"></span> 12456</dt> 12457<dd><p>Force the mesh size to be extended from the boundary, or not, for the model entity of dimension <code>dim</code> and tag <code>tag</code>. Currently only supported for <code>dim</code> == 2. 12458</p> 12459<dl compact="compact"> 12460<dt>Input:</dt> 12461<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>val</code> (integer) 12462</p></dd> 12463<dt>Output:</dt> 12464<dd><p>- 12465</p></dd> 12466<dt>Return:</dt> 12467<dd><p>- 12468</p></dd> 12469<dt>Language-specific definition:</dt> 12470<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1612">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1426">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4444">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3903">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6572">Fortran</a> 12471</p></dd> 12472</dl> 12473 12474</dd> 12475<dt><code>gmsh/model/mesh/setCompound</code> 12476<span id="index-gmsh_002fmodel_002fmesh_002fsetCompound"></span> 12477</dt> 12478<dd><p>Set a compound meshing constraint on the model entities of dimension <code>dim</code> and tags <code>tags</code>. During meshing, compound entities are treated as a single discrete entity, which is automatically reparametrized. 12479</p> 12480<dl compact="compact"> 12481<dt>Input:</dt> 12482<dd><p><code>dim</code> (integer), <code>tags</code> (vector of integers) 12483</p></dd> 12484<dt>Output:</dt> 12485<dd><p>- 12486</p></dd> 12487<dt>Return:</dt> 12488<dd><p>- 12489</p></dd> 12490<dt>Language-specific definition:</dt> 12491<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1621">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1434">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4468">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3924">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6602">Fortran</a> 12492</p></dd> 12493<dt>Examples:</dt> 12494<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t12.cpp#L83">t12.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t12.py#L79">t12.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t12.jl#L78">t12.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t12.f90#L85">t12.f90</a>) 12495</p></dd> 12496</dl> 12497 12498</dd> 12499<dt><code>
12499gmsh/model/mesh/setOutwardOrientation</code> 12500<span id="index-gmsh_002fmodel_002fmesh_002fsetOutwardOrientation"></span> 12501</dt> 12502<dd><p>Set meshing constraints on the bounding surfaces of the volume of tag <code>tag</code> so that all surfaces are oriented with outward pointing normals; and if a mesh already exists, reorient it. Currently only available with the OpenCASCADE kernel, as it relies on the STL triangulation. 12503</p> 12504<dl compact="compact"> 12505<dt>Input:</dt> 12506<dd><p><code>tag</code> (integer) 12507</p></dd> 12508<dt>Output:</dt> 12509<dd><p>- 12510</p></dd> 12511<dt>Return:</dt> 12512<dd><p>- 12513</p></dd> 12514<dt>Language-specific definition:</dt> 12515<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1630">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1442">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4491">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3945">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6631">Fortran</a> 12516</p></dd> 12517</dl> 12518 12519</dd> 12520<dt><code>gmsh/model/mesh/removeConstraints</code> 12521<span id="index-gmsh_002fmodel_002fmesh_002fremoveConstraints"></span> 12522</dt> 12523<dd><p>Remove all meshing constraints from the model entities <code>dimTags</code>, given as a vector of (dim, tag) pairs. If <code>dimTags</code> is empty, remove all constraings. 12524</p> 12525<dl compact="compact"> 12526<dt>Input:</dt> 12527<dd><p><code>dimTags = []</code> (vector of pairs of integers) 12528</p></dd> 12529<dt>Output:</dt> 12530<dd><p>- 12531</p></dd> 12532<dt>Return:</dt> 12533<dd><p>- 12534</p></dd> 12535<dt>Language-specific definition:</dt> 12536<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1637">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1448">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4512">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3964">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6651">Fortran</a> 12537</p></dd> 12538<dt>Examples:</dt> 12539<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_bspline.py#L51">terrain_bspline.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_bspline.jl#L53">terrain_bspline.jl</a>) 12540</p></dd> 12541</dl> 12542 12543</dd> 12544<dt><code>gmsh/model/mesh/embed</code> 12545<span id="index-gmsh_002fmodel_002fmesh_002fembed"></span> 12546</dt> 12547<dd><p>Embed the model entities of dimension <code>dim</code> and tags <code>tags</code> in the (<code>inDim</code>, <code>inTag</code>) model entity. The dimension <code>dim</code> can 0, 1 or 2 and must be strictly smaller than <code>inDim</code>, which must be either 2 or 3. The embedded entities should not intersect each other or be part of the boundary of the entity <code>inTag</code>, whose mesh will conform to the mesh of the embedded entities. With the OpenCASCADE kernel, if the <code>fragment</code> operation is applied to entities of different dimensions, the lower dimensional entities will be automatically embedded in the higher dimensional entities if they are not on their boundary. 12548</p> 12549<dl compact="compact"> 12550<dt>Input:</dt> 12551<dd><p><code>dim</code> (integer), <code>tags</code> (vector of integers), <code>inDim</code> (integer), <code>inTag</code> (integer) 12552</p></dd> 12553<dt>Output:</dt> 12554<dd><p>- 12555</p></dd> 12556<dt>Return:</dt> 12557<dd><p>- 12558</p></dd> 12559<dt>Language-specific definition:</dt> 12560<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1650">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1460">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4533">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L3994">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6680">Fortran</a> 12561</p></dd> 12562<dt>Examples:</dt> 12563<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t15.cpp#L51">t15.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t15.py#L47">t15.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t15.jl#L46">t15.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t15.f90#L56">t15.f90</a>) 12564</p></dd> 12565</dl> 12566 12567</dd> 12568<dt><code>gmsh/model/mesh/removeEmbedded</code> 12569<span id="index-gmsh_002fmodel_002fmesh_002fremoveEmbedded"></span> 12570</dt> 12571<dd><p>Remove embedded entities from the model entities <code>dimTags</code>, given as a vector of (dim, tag) pairs. if <code>dim</code> is >= 0, only remove embedded entities of the given dimension (e.g. embedded points if <code>dim</code> == 0). 12572</p> 12573<dl compact="compact"> 12574<dt>Input:</dt> 12575<dd><p><code>dimTags</code> (vector of pairs of integers), <code>dim = -1</code> (integer) 12576</p></dd> 12577<dt>Output:</dt> 12578<dd><p>- 12579</p></dd> 12580<dt>Return:</dt> 12581<dd><p>- 12582</p></dd> 12583<dt>Language-specific definition:</dt> 12584<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1660">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1469">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4565">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4014">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6718">Fortran</a> 12585</p></dd> 12586</dl> 12587 12588</dd> 12589<dt><code>gmsh/model/mesh/getEmbedded</code> 12590<span id="index-gmsh_002fmodel_002fmesh_002fgetEmbedded"></span> 12591</dt> 12592<dd><p>Get the entities (if any) embedded in the model entity of dimension <code>dim</code> and tag <code>tag</code>. 12593</p> 12594<dl compact="compact"> 12595<dt>Input:</dt> 12596<dd><p><code>dim</code> (integer), <code>tag</code> (integer) 12597</p></dd> 12598<dt>Output:</dt> 12599<dd><p><code>dimTags</code> (vector of pairs of integers) 12600</p></dd> 12601<dt>Return:</dt> 12602<dd><p>- 12603</p></dd> 12604<dt>Language-specific definition:</dt> 12605<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1667">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1475">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4588">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4039">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6745">Fortran</a> 12606</p></dd> 12607</dl> 12608 12609</dd> 12610<dt><code>gmsh/model/mesh/reorderElements</code> 12611<span id="index-gmsh_002fmodel_002fmesh_002freorderElements"></span> 12612</dt> 12613<dd><p>Reorder the elements of type <code>elementType</code> classified on the entity of tag <code>tag</code> according to the <code>ordering</code> vector. 12614</p> 12615<dl compact="compact"> 12616<dt>Input:</dt> 12617<dd><p><code>elementType</code> (integer), <code>tag</code> (integer), <code>ordering</code> (vector of sizes) 12618</p></dd> 12619<dt>Output:</dt> 12620<dd><p>- 12621</p></dd> 12622<dt>Return:</dt> 12623<dd><p>- 12624</p></dd> 12625<dt>Language-specific definition:</dt> 12626<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1675">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1482">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4615">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4064">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6781">Fortran</a> 12627</p></dd> 12628</dl> 12629 12630</dd> 12631<dt><code>gmsh/model/mesh/computeRenumbering</code> 12632<span id="index-gmsh_002fmodel_002fmesh_002fcomputeRenumbering"></span> 12633</dt> 12634<dd><p>Compute a renumbering vector <code>newTags</code> corresponding to the input tags <code>oldTags</code> for a given list of element tags <code>elementTags</code>. If <code>elementTags</code> is empty, compute the renumbering on the full mesh. If <code>method</code> is equal to "RCMK", compute a node renumering with Reverse Cuthill McKee. If <code>method</code> is equal to "Hilbert", compute a node renumering along a Hilbert curve. If <code>method</code> is equal to "Metis", compute a node renumering using Metis. Element renumbering is not available yet. 12635</p> 12636<dl compact="compact"> 12637<dt>Input:</dt> 12638<dd><p><code>method = "RCMK"</code> (string), <code>elementTags = []</code> (vector of sizes) 12639</p></dd> 12640<dt>Output:</dt> 12641<dd><p><code>oldTags</code> (vector of sizes), <code>newTags</code> (vector of sizes) 12642</p></dd> 12643<dt>Return:</dt> 12644<dd><p>- 12645</p></dd> 12646<dt>Language-specific definition:</dt> 12647<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1688">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1494">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4639">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4093">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6818">Fortran</a> 12648</p></dd> 12649<dt>Examples:</dt> 12650<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/renumbering.py#L16">renumbering.py</a>) 12651</p></dd> 12652</dl> 12653 12654</dd> 12655<dt><code>gmsh/model/mesh/renumberNodes</code> 12656<span id="index-gmsh_002fmodel_002fmesh_002frenumberNodes"></span> 12657</dt> 12658<dd><p>Renumber the node tags. If no explicit renumbering is provided through the <code>oldTags</code> and <code>newTags</code> vectors, renumber the nodes in a continuous sequence, taking into account the subset of elements to be saved later on if the option "Mesh.SaveAll" is not set. 12659</p> 12660<dl compact="compact"> 12661<dt>Input:</dt> 12662<dd><p><code>oldTags = []</code> (vector of sizes), <code>newTags = []</code> (vector of sizes) 12663</p></dd> 12664<dt>Output:</dt> 12665<dd><p>- 12666</p></dd> 12667<dt>Return:</dt> 12668<dd><p>- 12669</p></dd> 12670<dt>Language-specific definition:</dt> 12671<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1699">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1504">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4677">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4121">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6871">Fortran</a> 12672</p></dd> 12673<dt>Examples:</dt> 12674<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/renumbering.py#L17">renumbering.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/view_renumbering.py#L31">view_renumbering.py</a>) 12675</p></dd> 12676</dl> 12677 12678</dd> 12679<dt><code>gmsh/model/mesh/renumberElements</code> 12680<span id="index-gmsh_002fmodel_002fmesh_002frenumberElements"></span> 12681</dt> 12682<dd><p>Renumber the element tags in a continuous sequence. If no explicit renumbering is provided through the <code>oldTags</code> and <code>newTags</code> vectors, renumber the elements in a continuous sequence, taking into account the subset of elements to be saved later on if the option "Mesh.SaveAll" is not set. 12683</p> 12684<dl compact="compact"> 12685<dt>Input:</dt> 12686<dd><p><code>oldTags = []</code> (vector of sizes), <code>newTags = []</code> (vector of sizes) 12687</p></dd> 12688<dt>Output:</dt> 12689<dd><p>- 12690</p></dd> 12691<dt>Return:</dt> 12692<dd><p>- 12693</p></dd> 12694<dt>Language-specific definition:</dt> 12695<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1709">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1513">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4702">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4143">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6904">Fortran</a> 12696</p></dd> 12697<dt>Examples:</dt> 12698<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/view_renumbering.py#L32">view_renumbering.py</a>) 12699</p></dd> 12700</dl> 12701 12702</dd> 12703<dt><code>gmsh/model/mesh/setPeriodic</code> 12704<span id="index-gmsh_002fmodel_002fmesh_002fsetPeriodic"></span> 12705</dt> 12706<dd><p>Set the meshes of the entities of dimension <code>dim</code> and tag <code>tags</code> as periodic copies of the meshes of entities <code>tagsMaster</code>, using the affine transformation specified in <code>affineTransformation</code> (16 entries of a 4x4 matrix, by row). If used after meshing, generate the peri
12706odic node correspondence information assuming the meshes of entities <code>tags</code> effectively match the meshes of entities <code>tagsMaster</code> (useful for structured and extruded meshes). Currently only available for <code>dim</code> == 1 and <code>dim</code> == 2. 12707</p> 12708<dl compact="compact"> 12709<dt>Input:</dt> 12710<dd><p><code>dim</code> (integer), <code>tags</code> (vector of integers), <code>tagsMaster</code> (vector of integers), <code>affineTransform</code> (vector of doubles) 12711</p></dd> 12712<dt>Output:</dt> 12713<dd><p>- 12714</p></dd> 12715<dt>Return:</dt> 12716<dd><p>- 12717</p></dd> 12718<dt>Language-specific definition:</dt> 12719<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1722">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1525">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4728">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4170">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6940">Fortran</a> 12720</p></dd> 12721<dt>Examples:</dt> 12722<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t18.cpp#L40">t18.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t18.py#L36">t18.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/periodic.py#L13">periodic.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t18.jl#L33">t18.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t18.f90#L48">t18.f90</a>) 12723</p></dd> 12724</dl> 12725 12726</dd> 12727<dt><code>gmsh/model/mesh/getPeriodic</code> 12728<span id="index-gmsh_002fmodel_002fmesh_002fgetPeriodic"></span> 12729</dt> 12730<dd><p>Get master entities <code>tagsMaster</code> for the entities of dimension <code>dim</code> and tags <code>tags</code>. 12731</p> 12732<dl compact="compact"> 12733<dt>Input:</dt> 12734<dd><p><code>dim</code> (integer), <code>tags</code> (vector of integers) 12735</p></dd> 12736<dt>Output:</dt> 12737<dd><p><code>tagMaster</code> (vector of integers) 12738</p></dd> 12739<dt>Return:</dt> 12740<dd><p>- 12741</p></dd> 12742<dt>Language-specific definition:</dt> 12743<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1731">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1533">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4762">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4193">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L6983">Fortran</a> 12744</p></dd> 12745</dl> 12746 12747</dd> 12748<dt><code>gmsh/model/mesh/getPeriodicNodes</code> 12749<span id="index-gmsh_002fmodel_002fmesh_002fgetPeriodicNodes"></span> 12750</dt> 12751<dd><p>Get the master entity <code>tagMaster</code>, the node tags <code>nodeTags</code> and their corresponding master node tags <code>nodeTagsMaster</code>, and the affine transform <code>affineTransform</code> for the entity of dimension <code>dim</code> and tag <code>tag</code>. If <code>includeHighOrderNodes</code> is set, include high-order nodes in the returned data. 12752</p> 12753<dl compact="compact"> 12754<dt>Input:</dt> 12755<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>includeHighOrderNodes = False</code> (boolean) 12756</p></dd> 12757<dt>Output:</dt> 12758<dd><p><code>tagMaster</code> (integer), <code>nodeTags</code> (vector of sizes), <code>nodeTagsMaster</code> (vector of sizes), <code>affineTransform</code> (vector of doubles) 12759</p></dd> 12760<dt>Return:</dt> 12761<dd><p>- 12762</p></dd> 12763<dt>Language-specific definition:</dt> 12764<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1742">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1543">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4790">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4225">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7025">Fortran</a> 12765</p></dd> 12766<dt>Examples:</dt> 12767<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/periodic.py#L19">periodic.py</a>) 12768</p></dd> 12769</dl> 12770 12771</dd> 12772<dt><code>
12772gmsh/model/mesh/getPeriodicKeys</code> 12773<span id="index-gmsh_002fmodel_002fmesh_002fgetPeriodicKeys"></span> 12774</dt> 12775<dd><p>Get the master entity <code>tagMaster</code> and the key pairs (<code>typeKeyMaster</code>, <code>entityKeyMaster</code>) corresponding to the entity <code>tag</code> and the key pairs (<code>typeKey</code>, <code>entityKey</code>) for the elements of type <code>elementType</code> and function space type <code>functionSpaceType</code>. If <code>returnCoord</code> is set, the <code>coord</code> and <code>coordMaster</code> vectors contain the x, y, z coordinates locating basis functions for sorting purposes. 12776</p> 12777<dl compact="compact"> 12778<dt>Input:</dt> 12779<dd><p><code>elementType</code> (integer), <code>functionSpaceType</code> (string), <code>tag</code> (integer), <code>returnCoord = True</code> (boolean) 12780</p></dd> 12781<dt>Output:</dt> 12782<dd><p><code>tagMaster</code> (integer), <code>typeKeys</code> (vector of integers), <code>typeKeysMaster</code> (vector of integers), <code>entityKeys</code> (vector of sizes), <code>entityKeysMaster</code> (vector of sizes), <code>coord</code> (vector of doubles), <code>coordMaster</code> (vector of doubles) 12783</p></dd> 12784<dt>Return:</dt> 12785<dd><p>- 12786</p></dd> 12787<dt>Language-specific definition:</dt> 12788<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1758">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1558">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4835">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4270">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7099">Fortran</a> 12789</p></dd> 12790<dt>Examples:</dt> 12791<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/periodic.py#L23">periodic.py</a>) 12792</p></dd> 12793</dl> 12794 12795</dd> 12796<dt><code>gmsh/model/mesh/importStl</code> 12797<span id="index-gmsh_002fmodel_002fmesh_002fimportStl"></span> 12798</dt> 12799<dd><p>Import the model STL representation (if available) as the current mesh. 12800</p> 12801<dl compact="compact"> 12802<dt>Input:</dt> 12803<dd><p>- 12804</p></dd> 12805<dt>Output:</dt> 12806<dd><p>- 12807</p></dd> 12808<dt>Return:</dt> 12809<dd><p>- 12810</p></dd> 12811<dt>Language-specific definition:</dt> 12812<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1773">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1572">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4895">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4304">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7209">Fortran</a> 12813</p></dd> 12814<dt>Examples:</dt> 12815<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/stl_to_mesh.py#L20">stl_to_mesh.py</a>) 12816</p></dd> 12817</dl> 12818 12819</dd> 12820<dt><code>gmsh/model/mesh/getDuplicateNodes</code> 12821<span id="index-gmsh_002fmodel_002fmesh_002fgetDuplicateNodes"></span> 12822</dt> 12823<dd><p>Get the <code>tags</code> of any duplicate nodes in the mesh of the entities <code>dimTags</code>, given as a vector of (dim, tag) pairs. If <code>dimTags</code> is empty, consider the whole mesh. 12824</p> 12825<dl compact="compact"> 12826<dt>Input:</dt> 12827<dd><p><code>dimTags = []</code> (vector of pairs of integers) 12828</p></dd> 12829<dt>Output:</dt> 12830<dd><p><code>tags</code> (vector of sizes) 12831</p></dd> 12832<dt>Return:</dt> 12833<dd><p>- 12834</p></dd> 12835<dt>Language-specific definition:</dt> 12836<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1780">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1577">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4909">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4327">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7224">Fortran</a> 12837</p></dd> 12838</dl> 12839 12840</dd> 12841<dt><code>gmsh/model/mesh/removeDuplicateNodes</code> 12842<span id="index-gmsh_002fmodel_002fmesh_002fremoveDuplicateNodes"></span> 12843</dt> 12844<dd><p>Remove duplicate nodes in the mesh of the entities <code>dimTags</code>, given as a vector of (dim, tag) pairs. If <code>dimTags</code> is empty, consider the whole mesh. 12845</p> 12846<dl compact="compact"> 12847<dt>Input:</dt> 12848<dd><p><code>dimTags = []</code> (vector of pairs of integers) 12849</p></dd> 12850<dt>Output:</dt> 12851<dd><p>- 12852</p></dd> 12853<dt>Return:</dt> 12854<dd><p>- 12855</p></dd> 12856<dt>Language-specific definition:</dt> 12857<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1788">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1583">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4936">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4351">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7258">Fortran</a> 12858</p></dd> 12859<dt>Examples:</dt> 12860<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/glue_and_remesh_stl.py#L15">glue_and_remesh_stl.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/mirror_mesh.py#L55">mirror_mesh.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/stl_to_mesh.py#L21">stl_to_mesh.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/view_adaptive_to_mesh.py#L74">view_adaptive_to_mesh.py</a>) 12861</p></dd> 12862</dl> 12863 12864</dd> 12865<dt><code>gmsh/model/mesh/removeDuplicateElements</code> 12866<span id="index-gmsh_002fmodel_002fmesh_002fremoveDuplicateElements"></span> 12867</dt> 12868<dd><p>Remove duplicate elements (defined by the same nodes, in the same entity) in the mesh of the entities <code>dimTags</code>, given as a vector of (dim, tag) pairs. If <code>dimTags</code> is empty, consider the whole mesh. 12869</p> 12870<dl compact="compact"> 12871<dt>Input:</dt> 12872<dd><p><code>dimTags = []</code> (vector of pairs of integers) 12873</p></dd> 12874<dt>Output:</dt> 12875<dd><p>- 12876</p></dd> 12877<dt>Return:</dt> 12878<dd><p>- 12879</p></dd> 12880<dt>Language-specific definition:</dt> 12881<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1795">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1589">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4956">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4373">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7281">Fortran</a> 12882</p></dd> 12883</dl> 12884 12885</dd> 12886<dt><code>gmsh/model/mesh/splitQuadrangles</code> 12887<span id="index-gmsh_002fmodel_002fmesh_002fsplitQuadrangles"></span> 12888</dt> 12889<dd><p>Split (into two triangles) all quadrangles in surface <code>tag</code> whose quality is lower than <code>quality</code>. If <code>tag</code> < 0, split quadrangles in all surfaces. 12890</p> 12891<dl compact="compact"> 12892<dt>Input:</dt> 12893<dd><p><code>quality = 1.</code>
12893 (double), <code>tag = -1</code> (integer) 12894</p></dd> 12895<dt>Output:</dt> 12896<dd><p>- 12897</p></dd> 12898<dt>Return:</dt> 12899<dd><p>- 12900</p></dd> 12901<dt>Language-specific definition:</dt> 12902<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1801">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1594">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4977">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4395">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7303">Fortran</a> 12903</p></dd> 12904</dl> 12905 12906</dd> 12907<dt><code>gmsh/model/mesh/setVisibility</code> 12908<span id="index-gmsh_002fmodel_002fmesh_002fsetVisibility"></span> 12909</dt> 12910<dd><p>Set the visibility of the elements of tags <code>elementTags</code> to <code>value</code>. 12911</p> 12912<dl compact="compact"> 12913<dt>Input:</dt> 12914<dd><p><code>elementTags</code> (vector of sizes), <code>value</code> (integer) 12915</p></dd> 12916<dt>Output:</dt> 12917<dd><p>- 12918</p></dd> 12919<dt>Return:</dt> 12920<dd><p>- 12921</p></dd> 12922<dt>Language-specific definition:</dt> 12923<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1807">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1599">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L4998">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4414">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7326">Fortran</a> 12924</p></dd> 12925</dl> 12926 12927</dd> 12928<dt><code>gmsh/model/mesh/getVisibility</code> 12929<span id="index-gmsh_002fmodel_002fmesh_002fgetVisibility"></span> 12930</dt> 12931<dd><p>Get the visibility of the elements of tags <code>elementTags</code>. 12932</p> 12933<dl compact="compact"> 12934<dt>Input:</dt> 12935<dd><p><code>elementTags</code> (vector of sizes) 12936</p></dd> 12937<dt>Output:</dt> 12938<dd><p><code>values</code> (vector of integers) 12939</p></dd> 12940<dt>Return:</dt> 12941<dd><p>- 12942</p></dd> 12943<dt>Language-specific definition:</dt> 12944<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1813">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1604">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5019">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4435">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7352">Fortran</a> 12945</p></dd> 12946</dl> 12947 12948</dd> 12949<dt><code>gmsh/model/mesh/classifySurfaces</code> 12950<span id="index-gmsh_002fmodel_002fmesh_002fclassifySurfaces"></span> 12951</dt> 12952<dd><p>Classify ("color") the surface mesh based on the angle threshold <code>angle</code> (in radians), and create new discrete surfaces, curves and points accordingly. If <code>boundary</code> is set, also create discrete curves on the boundary if the surface is open. If <code>forReparametrization</code> is set, create curves and surfaces that can be reparametrized using a single map. If <code>curveAngle</code> is less than Pi, also force curves to be split according to <code>curveAngle</code>. If <code>exportDiscrete</code> is set, clear any built-in CAD kernel entities and export the discrete entities in the built-in CAD kernel. 12953</p> 12954<dl compact="compact"> 12955<dt>Input:</dt> 12956<dd><p><code>angle</code>
12956 (double), <code>boundary = True</code> (boolean), <code>forReparametrization = False</code> (boolean), <code>curveAngle = pi</code> (double), <code>exportDiscrete = True</code> (boolean) 12957</p></dd> 12958<dt>Output:</dt> 12959<dd><p>- 12960</p></dd> 12961<dt>Return:</dt> 12962<dd><p>- 12963</p></dd> 12964<dt>Language-specific definition:</dt> 12965<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1826">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1616">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5044">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4467">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7392">Fortran</a> 12966</p></dd> 12967<dt>Examples:</dt> 12968<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t13.cpp#L53">t13.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t13.py#L44">t13.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/aneurysm.py#L12">aneurysm.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/glue_and_remesh_stl.py#L19">glue_and_remesh_stl.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/remesh_stl.py#L22">remesh_stl.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_stl.py#L16">terrain_stl.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t13.jl#L40">t13.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t13.f90#L94">t13.f90</a>) 12969</p></dd> 12970</dl> 12971 12972</dd> 12973<dt><code>gmsh/model/mesh/createGeometry</code> 12974<span id="index-gmsh_002fmodel_002fmesh_002fcreateGeometry"></span> 12975</dt> 12976<dd><p>Create a geometry for the discrete entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) represented solely by a mesh (without an underlying CAD description), i.e. create a parametrization for discrete curves and surfaces, assuming that each can be parametrized with a single map. If <code>dimTags</code> is empty, create a geometry for all the discrete entities. 12977</p> 12978<dl compact="compact"> 12979<dt>Input:</dt> 12980<dd><p><code>dimTags = []</code> (vector of pairs of integers) 12981</p></dd> 12982<dt>Output:</dt> 12983<dd><p>- 12984</p></dd> 12985<dt>Return:</dt> 12986<dd><p>- 12987</p></dd> 12988<dt>Language-specific definition:</dt> 12989<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1839">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1628">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5077">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4489">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7434">Fortran</a> 12990</p></dd> 12991<dt>Examples:</dt> 12992<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t13.cpp#L59">t13.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x2.cpp#L111">x2.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t13.py#L50">t13.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x2.py#L106">x2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/aneurysm.py#L13">aneurysm.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/glue_and_remesh_stl.py#L32">glue_and_remesh_stl.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/remesh_cavity.py#L73">remesh_cavity.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t13.jl#L46">t13.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x2.jl#L110">x2.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t13.f90#L100">t13.f90</a>) 12993</p></dd> 12994</dl> 12995 12996</dd> 12997<dt><code>gmsh/model/mesh/createTopology</code> 12998<span id="index-gmsh_002fmodel_002fmesh_002fcreateTopology"></span> 12999</dt> 13000<dd><p>Create a boundary representation from the mesh if the model does not have one (e.g. when imported from mesh file formats with no BRep representation of the underlying model). If <code>makeSimplyConnected</code> is set, enforce simply connected discrete surfaces and volumes. If <code>
13000exportDiscrete</code> is set, clear any built-in CAD kernel entities and export the discrete entities in the built-in CAD kernel. 13001</p> 13002<dl compact="compact"> 13003<dt>Input:</dt> 13004<dd><p><code>makeSimplyConnected = True</code> (boolean), <code>exportDiscrete = True</code> (boolean) 13005</p></dd> 13006<dt>Output:</dt> 13007<dd><p>- 13008</p></dd> 13009<dt>Return:</dt> 13010<dd><p>- 13011</p></dd> 13012<dt>Language-specific definition:</dt> 13013<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1849">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1637">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5100">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4514">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7460">Fortran</a> 13014</p></dd> 13015</dl> 13016 13017</dd> 13018<dt><code>gmsh/model/mesh/addHomologyRequest</code> 13019<span id="index-gmsh_002fmodel_002fmesh_002faddHomologyRequest"></span> 13020</dt> 13021<dd><p>Add a request to compute a basis representation for homology spaces (if <code>type</code> == "Homology") or cohomology spaces (if <code>type</code> == "Cohomology"). The computation domain is given in a list of physical group tags <code>domainTags</code>; if empty, the whole mesh is the domain. The computation subdomain for relative (co)homology computation is given in a list of physical group tags <code>subdomainTags</code>; if empty, absolute (co)homology is computed. The dimensions of the (co)homology bases to be computed are given in the list <code>dim</code>; if empty, all bases are computed. Resulting basis representation (co)chains are stored as physical groups in the mesh. If the request is added before mesh generation, the computation will be performed at the end of the meshing pipeline. 13022</p> 13023<dl compact="compact"> 13024<dt>Input:</dt> 13025<dd><p><code>type = "Homology"</code> (string), <code>domainTags = []</code> (vector of integers), <code>subdomainTags = []</code> (vector of integers), <code>dims = []</code> (vector of integers) 13026</p></dd> 13027<dt>Output:</dt> 13028<dd><p>- 13029</p></dd> 13030<dt>Return:</dt> 13031<dd><p>- 13032</p></dd> 13033<dt>Language-specific definition:</dt> 13034<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1865">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1652">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5125">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4544">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7493">Fortran</a> 13035</p></dd> 13036<dt>Examples:</dt> 13037<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t14.cpp#L112">t14.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t14.py#L101">t14.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t14.jl#L104">t14.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t14.f90#L116">t14.f90</a>) 13038</p></dd> 13039</dl> 13040 13041</dd> 13042<dt><code>gmsh/model/mesh/clearHomologyRequests</code> 13043<span id="index-gmsh_002fmodel_002fmesh_002fclearHomologyRequests"></span> 13044</dt> 13045<dd><p>Clear all (co)homology computation requests. 13046</p> 13047<dl compact="compact"> 13048<dt>Input:</dt> 13049<dd><p>- 13050</p></dd> 13051<dt>Output:</dt> 13052<dd><p>- 13053</p></dd> 13054<dt>Return:</dt> 13055<dd><p>- 13056</p></dd> 13057<dt>Language-specific definition:</dt> 13058<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1873">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1659">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5162">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4559">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7535">Fortran</a> 13059</p></dd> 13060</dl> 13061 13062</dd> 13063<dt><code>gmsh/model/mesh/computeHomology</code> 13064<span id="index-gmsh_002fmodel_002fmesh_002fcomputeHomology"></span> 13065</dt> 13066<dd><p>Perform the (co)homology computations requested by addHomologyRequest(). The newly created physical groups are returned in <code>dimTags</code> as a vector of (dim, tag) pairs. 13067</p> 13068<dl compact="compact"> 13069<dt>Input:</dt> 13070<dd><p>- 13071</p></dd> 13072<dt>Output:</dt> 13073<dd><p><code>dimTags</code> (vector of pairs of integers) 13074</p></dd> 13075<dt>Return:</dt> 13076<dd><p>- 13077</p></dd> 13078<dt>Language-specific definition:</dt> 13079<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1880">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1664">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5176">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4581">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7550">Fortran</a> 13080</p></dd> 13081</dl> 13082 13083</dd> 13084<dt><code>gmsh/model/mesh/computeCrossField</code> 13085<span id="index-gmsh_002fmodel_002fmesh_002fcomputeCrossField"></span> 13086</dt> 13087<dd><p>Compute a cross field for the current mesh. The function creates 3 views: the H function, the Theta function and cross directions. Return the tags of the views. 13088</p> 13089<dl compact="compact"> 13090<dt>Input:</dt> 13091<dd><p>- 13092</p></dd> 13093<dt>Output:</dt> 13094<dd><p><code>viewTags</code> (vector of integers) 13095</p></dd> 13096<dt>Return:</dt> 13097<dd><p>- 13098</p></dd> 13099<dt>Language-specific definition:</dt> 13100<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1887">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1670">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5200">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4606">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7577">Fortran</a> 13101</p></dd> 13102</dl> 13103 13104</dd> 13105</dl> 13106 13107<hr>
13108<span id="Namespace-gmsh_002fmodel_002fmesh_002ffield"></span><div class="header"> 13109<p> 13110Next: <a href="#Namespace-gmsh_002fmodel_002fgeo" accesskey="n" rel="next">Namespace gmsh/model/geo</a>, Previous: <a href="#Namespace-gmsh_002fmodel_002fmesh" accesskey="p" rel="prev">Namespace gmsh/model/mesh</a>, Up: <a href="#Gmsh-application-programming-interface" accesskey="u" rel="up">Gmsh application programming interface</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 13111</div> 13112<span id="Namespace-gmsh_002fmodel_002fmesh_002ffield_003a-mesh-size-field-functions"></span><h3 class="section">6.5 Namespace <code>gmsh/model/mesh/field</code>: mesh size field functions</h3> 13113 13114<dl compact="compact"> 13115<dt><code>gmsh/model/mesh/field/add</code> 13116<span id="index-gmsh_002fmodel_002fmesh_002ffield_002fadd"></span> 13117</dt> 13118<dd><p>Add a new mesh size field of type <code>fieldType</code>. If <code>tag</code> is positive, assign the tag explicitly; otherwise a new tag is assigned automatically. Return the field tag. Available field types are listed in the <a href="https://gmsh.info/doc/texinfo/gmsh.html#Gmsh-mesh-size-fields">"Gmsh mesh size fields" chapter of the Gmsh reference manual</a>. 13119</p> 13120<dl compact="compact"> 13121<dt>Input:</dt> 13122<dd><p><code>fieldType</code> (string), <code>tag = -1</code> (integer) 13123</p></dd> 13124<dt>Output:</dt> 13125<dd><p>- 13126</p></dd> 13127<dt>Return:</dt> 13128<dd><p>integer 13129</p></dd> 13130<dt>Language-specific definition:</dt> 13131<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1898">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1678">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5230">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4643">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7606">Fortran</a> 13132</p></dd> 13133<dt>Examples:</dt> 13134<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t7.cpp#L50">t7.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t10.cpp#L47">t10.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t11.cpp#L38">t11.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t13.cpp#L83">t13.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t17.cpp#L41">t17.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t7.py#L43">t7.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t10.py#L43">t10.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t13.py#L71">t13.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t17.py#L35">t17.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/adapt_mesh.py#L114">adapt_mesh.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t7.jl#L40">t7.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t10.jl#L42">t10.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t13.jl#L67">t13.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t17.jl#L31">t17.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t7.f90#L48">t7.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t10.f90#L49">t10.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t13.f90#L121">t13.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t17.f90#L39">t17.f90</a>) 13135</p></dd> 13136</dl> 13137 13138</dd> 13139<dt><code>gmsh/model/mesh/field/remove</code> 13140<span id="index-gmsh_002fmodel_002fmesh_002ffield_002fremove"></span> 13141</dt> 13142<dd><p>Remove the field with tag <code>tag</code>. 13143</p> 13144<dl compact="compact"> 13145<dt>Input:</dt> 13146<dd><p><code>tag</code> (integer) 13147</p></dd> 13148<dt>Output:</dt> 13149<dd><p>- 13150</p></dd> 13151<dt>Return:</dt> 13152<dd><p>- 13153</p></dd> 13154<dt>Language-specific definition:</dt> 13155<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1904">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1683">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5256">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4660">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7631">Fortran</a> 13156</p></dd> 13157</dl> 13158 13159</dd> 13160<dt><code>gmsh/model/mesh/field/list</code>
13161<span id="index-gmsh_002fmodel_002fmesh_002ffield_002flist"></span> 13162</dt> 13163<dd><p>Get the list of all fields. 13164</p> 13165<dl compact="compact"> 13166<dt>Input:</dt> 13167<dd><p>- 13168</p></dd> 13169<dt>Output:</dt> 13170<dd><p><code>tags</code> (vector of integers) 13171</p></dd> 13172<dt>Return:</dt> 13173<dd><p>- 13174</p></dd> 13175<dt>Language-specific definition:</dt> 13176<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1909">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1687">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5273">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4679">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7649">Fortran</a> 13177</p></dd> 13178</dl> 13179 13180</dd> 13181<dt><code>gmsh/model/mesh/field/getType</code> 13182<span id="index-gmsh_002fmodel_002fmesh_002ffield_002fgetType"></span> 13183</dt> 13184<dd><p>Get the type <code>fieldType</code> of the field with tag <code>tag</code>. 13185</p> 13186<dl compact="compact"> 13187<dt>Input:</dt> 13188<dd><p><code>tag</code> (integer) 13189</p></dd> 13190<dt>Output:</dt> 13191<dd><p><code>fileType</code> (string) 13192</p></dd> 13193<dt>Return:</dt> 13194<dd><p>- 13195</p></dd> 13196<dt>Language-specific definition:</dt> 13197<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1914">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1691">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5294">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4702">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7674">Fortran</a> 13198</p></dd> 13199</dl> 13200 13201</dd> 13202<dt><code>gmsh/model/mesh/field/setNumber</code> 13203<span id="index-gmsh_002fmodel_002fmesh_002ffield_002fsetNumber"></span> 13204</dt> 13205<dd><p>Set the numerical option <code>option</code> to value <code>value</code> for field <code>tag</code>. 13206</p> 13207<dl compact="compact"> 13208<dt>Input:</dt> 13209<dd><p><code>tag</code> (integer), <code>option</code> (string), <code>value</code>
13209 (double) 13210</p></dd> 13211<dt>Output:</dt> 13212<dd><p>- 13213</p></dd> 13214<dt>Return:</dt> 13215<dd><p>- 13216</p></dd> 13217<dt>Language-specific definition:</dt> 13218<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1920">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1696">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5318">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4724">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7699">Fortran</a> 13219</p></dd> 13220<dt>Examples:</dt> 13221<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t7.cpp#L51">t7.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t10.cpp#L50">t10.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t17.cpp#L42">t17.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t7.py#L44">t7.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t10.py#L46">t10.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t17.py#L36">t17.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/adapt_mesh.py#L115">adapt_mesh.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/copy_mesh.py#L47">copy_mesh.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t7.jl#L41">t7.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t10.jl#L45">t10.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t17.jl#L32">t17.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t7.f90#L49">t7.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t10.f90#L52">t10.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t17.f90#L40">t17.f90</a>) 13222</p></dd> 13223</dl> 13224 13225</dd> 13226<dt><code>gmsh/model/mesh/field/getNumber</code> 13227<span id="index-gmsh_002fmodel_002fmesh_002ffield_002fgetNumber"></span> 13228</dt> 13229<dd><p>Get the value of the numerical option <code>option</code> for field <code>tag</code>. 13230</p> 13231<dl compact="compact"> 13232<dt>Input:</dt> 13233<dd><p><code>tag</code> (integer), <code>option</code> (string) 13234</p></dd> 13235<dt>Output:</dt> 13236<dd><p><code>value</code>
13236 (double) 13237</p></dd> 13238<dt>Return:</dt> 13239<dd><p>- 13240</p></dd> 13241<dt>Language-specific definition:</dt> 13242<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1927">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1702">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5340">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4746">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7727">Fortran</a> 13243</p></dd> 13244</dl> 13245 13246</dd> 13247<dt><code>gmsh/model/mesh/field/setString</code> 13248<span id="index-gmsh_002fmodel_002fmesh_002ffield_002fsetString"></span> 13249</dt> 13250<dd><p>Set the string option <code>option</code> to value <code>value</code> for field <code>tag</code>. 13251</p> 13252<dl compact="compact"> 13253<dt>Input:</dt> 13254<dd><p><code>tag</code> (integer), <code>option</code> (string), <code>value</code> (string) 13255</p></dd> 13256<dt>Output:</dt> 13257<dd><p>- 13258</p></dd> 13259<dt>Return:</dt> 13260<dd><p>- 13261</p></dd> 13262<dt>Language-specific definition:</dt> 13263<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1934">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1708">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5366">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4767">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7755">Fortran</a> 13264</p></dd> 13265<dt>Examples:</dt> 13266<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t10.cpp#L74">t10.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t11.cpp#L39">t11.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t13.cpp#L86">t13.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t10.py#L69">t10.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t13.py#L73">t13.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t10.jl#L68">t10.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t13.jl#L69">t13.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t10.f90#L75">t10.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t13.f90#L124">t13.f90</a>) 13267</p></dd> 13268</dl> 13269 13270</dd> 13271<dt><code>gmsh/model/mesh/field/getString</code> 13272<span id="index-gmsh_002fmodel_002fmesh_002ffield_002fgetString"></span> 13273</dt> 13274<dd><p>Get the value of the string option <code>option</code> for field <code>tag</code>. 13275</p> 13276<dl compact="compact"> 13277<dt>Input:</dt> 13278<dd><p><code>tag</code> (integer), <code>option</code> (string) 13279</p></dd> 13280<dt>Output:</dt> 13281<dd><p><code>value</code> (string) 13282</p></dd> 13283<dt>Return:</dt> 13284<dd><p>- 13285</p></dd> 13286<dt>Language-specific definition:</dt> 13287<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1941">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1714">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5388">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4789">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7783">Fortran</a> 13288</p></dd> 13289</dl> 13290 13291</dd> 13292<dt><code>gmsh/model/mesh/field/setNumbers</code> 13293<span id="index-gmsh_002fmodel_002fmesh_002ffield_002fsetNumbers"></span> 13294</dt> 13295<dd><p>Set the numerical list option <code>option</code> to value <code>values</code> for field <code>tag</code>. 13296</p> 13297<dl compact="compact"> 13298<dt>Input:</dt> 13299<dd><p><code>tag</code> (integer), <code>option</code> (string), <code>values</code> (vector of doubles) 13300</p></dd> 13301<dt>Output:</dt> 13302<dd><p>- 13303</p></dd> 13304<dt>Return:</dt> 13305<dd><p>- 13306</p></dd> 13307<dt>Language-specific definition:</dt> 13308<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1949">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1720">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5414">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4811">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7813">Fortran</a> 13309</p></dd> 13310<dt>Examples:</dt> 13311<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t10.cpp#L48">t10.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t10.py#L44">t10.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/extend_field.py#L23">extend_field.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_2d.py#L122">naca_boundary_layer_2d.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/ocean.py#L4544">ocean.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t10.jl#L43">t10.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t10.f90#L50">t10.f90</a>) 13312</p></dd> 13313</dl> 13314 13315</dd> 13316<dt><code>gmsh/model/mesh/field/getNumbers</code>
13317<span id="index-gmsh_002fmodel_002fmesh_002ffield_002fgetNumbers"></span> 13318</dt> 13319<dd><p>Get the value of the numerical list option <code>option</code> for field <code>tag</code>. 13320</p> 13321<dl compact="compact"> 13322<dt>Input:</dt> 13323<dd><p><code>tag</code> (integer), <code>option</code> (string) 13324</p></dd> 13325<dt>Output:</dt> 13326<dd><p><code>values</code> (vector of doubles) 13327</p></dd> 13328<dt>Return:</dt> 13329<dd><p>- 13330</p></dd> 13331<dt>Language-specific definition:</dt> 13332<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1956">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1726">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5437">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4833">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7844">Fortran</a> 13333</p></dd> 13334</dl> 13335 13336</dd> 13337<dt><code>gmsh/model/mesh/field/setAsBackgroundMesh</code> 13338<span id="index-gmsh_002fmodel_002fmesh_002ffield_002fsetAsBackgroundMesh"></span> 13339</dt> 13340<dd><p>Set the field <code>tag</code> as the background mesh size field. 13341</p> 13342<dl compact="compact"> 13343<dt>Input:</dt> 13344<dd><p><code>tag</code> (integer) 13345</p></dd> 13346<dt>Output:</dt> 13347<dd><p>- 13348</p></dd> 13349<dt>Return:</dt> 13350<dd><p>- 13351</p></dd> 13352<dt>Language-specific definition:</dt> 13353<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1963">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1732">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5463">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4854">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7879">Fortran</a> 13354</p></dd> 13355<dt>Examples:</dt> 13356<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t7.cpp#L54">t7.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t10.cpp#L109">t10.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t11.cpp#L41">t11.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t13.cpp#L89">t13.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t17.cpp#L43">t17.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t7.py#L47">t7.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t10.py#L102">t10.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t13.py#L76">t13.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t17.py#L37">t17.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/adapt_mesh.py#L116">adapt_mesh.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t7.jl#L44">t7.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t10.jl#L100">t10.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t13.jl#L73">t13.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t17.jl#L33">t17.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t7.f90#L52">t7.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t10.f90#L109">t10.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t13.f90#L128">t13.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t17.f90#L41">t17.f90</a>) 13357</p></dd> 13358</dl> 13359 13360</dd> 13361<dt><code>gmsh/model/mesh/field/setAsBoundaryLayer</code> 13362<span id="index-gmsh_002fmodel_002fmesh_002ffield_002fsetAsBoundaryLayer"></span> 13363</dt> 13364<dd><p>Set the field <code>tag</code> as a boundary layer size field. 13365</p> 13366<dl compact="compact"> 13367<dt>Input:</dt> 13368<dd><p><code>tag</code> (integer) 13369</p></dd> 13370<dt>Output:</dt> 13371<dd><p>- 13372</p></dd> 13373<dt>Return:</dt> 13374<dd><p>- 13375</p></dd> 13376<dt>Language-specific definition:</dt> 13377<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1968">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1736">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5481">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4872">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7897">
13377Fortran</a> 13378</p></dd> 13379<dt>Examples:</dt> 13380<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_2d.py#L132">naca_boundary_layer_2d.py</a>) 13381</p></dd> 13382</dl> 13383 13384</dd> 13385</dl> 13386 13387<hr> 13388<span id="Namespace-gmsh_002fmodel_002fgeo"></span><div class="header"> 13389<p> 13390Next: <a href="#Namespace-gmsh_002fmodel_002fgeo_002fmesh" accesskey="n" rel="next">Namespace gmsh/model/geo/mesh</a>, Previous: <a href="#Namespace-gmsh_002fmodel_002fmesh_002ffield" accesskey="p" rel="prev">Namespace gmsh/model/mesh/field</a>, Up: <a href="#Gmsh-application-programming-interface" accesskey="u" rel="up">Gmsh application programming interface</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 13391</div> 13392<span id="Namespace-gmsh_002fmodel_002fgeo_003a-built_002din-CAD-kernel-functions"></span><h3 class="section">6.6 Namespace <code>gmsh/model/geo</code>: built-in CAD kernel functions</h3> 13393 13394<dl compact="compact"> 13395<dt><code>gmsh/model/geo/addPoint</code> 13396<span id="index-gmsh_002fmodel_002fgeo_002faddPoint"></span> 13397</dt> 13398<dd><p>Add a geometrical point in the built-in CAD representation, at coordinates (<code>x</code>, <code>y</code>, <code>z</code>). If <code>meshSize</code> is > 0, add a meshing constraint at that point. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the point. (Note that the point will be added in the current model only after <code>synchronize</code> is called. This behavior holds for all the entities added in the geo module.) 13399</p> 13400<dl compact="compact"> 13401<dt>Input:</dt> 13402<dd><p><code>x</code> (double), <code>y</code> (double), <code>z</code>
13402 (double), <code>meshSize = 0.</code> (double), <code>tag = -1</code> (integer) 13403</p></dd> 13404<dt>Output:</dt> 13405<dd><p>- 13406</p></dd> 13407<dt>Return:</dt> 13408<dd><p>integer 13409</p></dd> 13410<dt>Language-specific definition:</dt> 13411<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1984">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1745">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5505">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4914">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7920">Fortran</a> 13412</p></dd> 13413<dt>Examples:</dt> 13414<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t1.cpp#L36">t1.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t2.cpp#L23">t2.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L25">t3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t5.cpp#L19">t5.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t6.cpp#L20">t6.cpp</a>, ...), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t1.py#L33">t1.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t2.py#L21">t2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L22">t3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t5.py#L45">t5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t6.py#L19">t6.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t1.jl#L32">t1.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t2.jl#L19">t2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L20">t3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t5.jl#L43">t5.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t6.jl#L17">t6.jl</a>, ...), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t1.f90#L40">t1.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t2.f90#L33">t2.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L84">t3.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t5.f90#L56">t5.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t6.f90#L24">t6.f90</a>, ...) 13415</p></dd> 13416</dl> 13417 13418</dd> 13419<dt><code>gmsh/model/geo/addLine</code> 13420<span id="index-gmsh_002fmodel_002fgeo_002faddLine"></span> 13421</dt> 13422<dd><p>Add a straight line segment in the built-in CAD representation, between the two points with tags <code>startTag</code> and <code>endTag</code>. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the line. 13423</p> 13424<dl compact="compact"> 13425<dt>Input:</dt> 13426<dd><p><code>startTag</code> (integer), <code>endTag</code> (integer), <code>tag = -1</code> (integer) 13427</p></dd> 13428<dt>Output:</dt> 13429<dd><p>- 13430</p></dd> 13431<dt>Return:</dt> 13432<dd><p>integer 13433</p></dd> 13434<dt>Language-specific definition:</dt> 13435<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L1996">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1756">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5539">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4939">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7963">Fortran</a> 13436</p></dd> 13437<dt>Examples:</dt> 13438<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t1.cpp#L67">t1.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t2.cpp#L27">t2.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L29">t3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t5.cpp#L121">t5.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t6.cpp#L24">t6.cpp</a>, ...), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t1.py#L69">t1.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t2.py#L25">t2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L26">t3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t5.py#L60">t5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t6.py#L23">t6.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t1.jl#L68">t1.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t2.jl#L23">t2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L24">t3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t5.jl#L58">t5.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t6.jl#L21">t6.jl</a>, ...), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t1.f90#L71">t1.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t2.f90#L37">t2.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L88">t3.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t5.f90#L71">t5.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t6.f90#L28">t6.f90</a>, ...) 13439</p></dd> 13440</dl> 13441 13442</dd> 13443<dt><code>gmsh/model/geo/addCircleArc</code> 13444<span id="index-gmsh_002fmodel_002fgeo_002faddCircleArc"></span> 13445</dt> 13446<dd><p>Add a circle arc (strictly smaller than Pi) in the built-in CAD representation, between the two points with tags <code>startTag</code> and <code>endTag</code>, and with center <code>centerTag</code>. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. If (<code>nx</code>, <code>ny</code>, <code>nz</code>) != (0, 0, 0), explicitly set the plane of the circle arc. Return the tag of the circle arc. 13447</p> 13448<dl compact="compact"> 13449<dt>Input:</dt> 13450<dd><p><code>startTag</code> (integer), <code>centerTag</code> (integer), <code>endTag</code> (integer), <code>tag = -1</code> (integer), <code>nx = 0.</code>
13450 (double), <code>ny = 0.</code> (double), <code>nz = 0.</code> (double) 13451</p></dd> 13452<dt>Output:</dt> 13453<dd><p>- 13454</p></dd> 13455<dt>Return:</dt> 13456<dd><p>integer 13457</p></dd> 13458<dt>Language-specific definition:</dt> 13459<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2008">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1767">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5567">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L4969">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L7998">Fortran</a> 13460</p></dd> 13461<dt>Examples:</dt> 13462<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t5.cpp#L27">t5.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t5.py#L119">t5.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t5.jl#L116">t5.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t5.f90#L195">t5.f90</a>) 13463</p></dd> 13464</dl> 13465 13466</dd> 13467<dt><code>gmsh/model/geo/addEllipseArc</code> 13468<span id="index-gmsh_002fmodel_002fgeo_002faddEllipseArc"></span> 13469</dt> 13470<dd><p>Add an ellipse arc (strictly smaller than Pi) in the built-in CAD representation, between the two points <code>startTag</code> and <code>endTag</code>, and with center <code>centerTag</code> and major axis point <code>majorTag</code>. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. If (<code>nx</code>, <code>ny</code>, <code>nz</code>) != (0, 0, 0), explicitly set the plane of the circle arc. Return the tag of the ellipse arc. 13471</p> 13472<dl compact="compact"> 13473<dt>Input:</dt> 13474<dd><p><code>startTag</code> (integer), <code>centerTag</code> (integer), <code>majorTag</code> (integer), <code>endTag</code> (integer), <code>tag = -1</code> (integer), <code>nx = 0.</code>
13474 (double), <code>ny = 0.</code> (double), <code>nz = 0.</code> (double) 13475</p></dd> 13476<dt>Output:</dt> 13477<dd><p>- 13478</p></dd> 13479<dt>Return:</dt> 13480<dd><p>integer 13481</p></dd> 13482<dt>Language-specific definition:</dt> 13483<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2024">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1782">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5605">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5001">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L8053">Fortran</a> 13484</p></dd> 13485</dl> 13486 13487</dd> 13488<dt><code>gmsh/model/geo/addSpline</code> 13489<span id="index-gmsh_002fmodel_002fgeo_002faddSpline"></span> 13490</dt> 13491<dd><p>Add a spline (Catmull-Rom) curve in the built-in CAD representation, going through the points <code>pointTags</code>. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Create a periodic curve if the first and last points are the same. Return the tag of the spline curve. 13492</p> 13493<dl compact="compact"> 13494<dt>Input:</dt> 13495<dd><p><code>pointTags</code> (vector of integers), <code>tag = -1</code> (integer) 13496</p></dd> 13497<dt>Output:</dt> 13498<dd><p>- 13499</p></dd> 13500<dt>Return:</dt> 13501<dd><p>integer 13502</p></dd> 13503<dt>Language-specific definition:</dt> 13504<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2040">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1797">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5645">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5025">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L8112">Fortran</a> 13505</p></dd> 13506<dt>Examples:</dt> 13507<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t12.cpp#L67">t12.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t12.py#L63">t12.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t12.jl#L62">t12.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t12.f90#L69">t12.f90</a>) 13508</p></dd> 13509</dl> 13510 13511</dd> 13512<dt><code>gmsh/model/geo/addBSpline</code> 13513<span id="index-gmsh_002fmodel_002fgeo_002faddBSpline"></span> 13514</dt> 13515<dd><p>Add a cubic b-spline curve in the built-in CAD representation, with <code>pointTags</code> control points. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Creates a periodic curve if the first and last points are the same. Return the tag of the b-spline curve. 13516</p> 13517<dl compact="compact"> 13518<dt>Input:</dt> 13519<dd><p><code>pointTags</code> (vector of integers), <code>tag = -1</code> (integer) 13520</p></dd> 13521<dt>Output:</dt> 13522<dd><p>- 13523</p></dd> 13524<dt>Return:</dt> 13525<dd><p>integer 13526</p></dd> 13527<dt>Language-specific definition:</dt> 13528<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2050">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1806">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5673">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5049">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L8144">Fortran</a> 13529</p></dd> 13530</dl> 13531 13532</dd> 13533<dt><code>gmsh/model/geo/addBezier</code> 13534<span id="index-gmsh_002fmodel_002fgeo_002faddBezier"></span> 13535</dt> 13536<dd><p>Add a Bezier curve in the built-in CAD representation, with <code>pointTags</code> control points. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the Bezier curve. 13537</p> 13538<dl compact="compact"> 13539<dt>Input:</dt> 13540<dd><p><code>pointTags</code> (vector of integers), <code>tag = -1</code> (integer) 13541</p></dd> 13542<dt>Output:</dt> 13543<dd><p>- 13544</p></dd> 13545<dt>Return:</dt> 13546<dd><p>integer 13547</p></dd> 13548<dt>Language-specific definition:</dt> 13549<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2058">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1813">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5701">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5072">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L8174">Fortran</a> 13550</p></dd> 13551</dl> 13552 13553</dd> 13554<dt><code>gmsh/model/geo/addPolyline</code> 13555<span id="index-gmsh_002fmodel_002fgeo_002faddPolyline"></span> 13556</dt> 13557<dd><p>Add a polyline curve in the built-in CAD representation, going through the points <code>pointTags</code>. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Create a periodic curve if the first and last points are the same. Return the tag of the polyline curve. 13558</p> 13559<dl compact="compact"> 13560<dt>Input:</dt> 13561<dd><p><code>pointTags</code> (vector of integers), <code>tag = -1</code> (integer) 13562</p></dd> 13563<dt>Output:</dt> 13564<dd><p>- 13565</p></dd> 13566<dt>Return:</dt> 13567<dd><p>integer 13568</p></dd> 13569<dt>Language-specific definition:</dt> 13570<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2068">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1821">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5727">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5096">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L8205">Fortran</a> 13571</p></dd> 13572</dl> 13573 13574</dd> 13575<dt><code>gmsh/model/geo/addCompoundSpline</code> 13576<span id="index-gmsh_002fmodel_002fgeo_002faddCompoundSpline"></span> 13577</dt> 13578<dd><p>Add a spline (Catmull-Rom) curve in the built-in CAD representation, going through points sampling the curves in <code>curveTags</code>. The density of sampling points on each curve is governed by <code>numIntervals</code>. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the spline. 13579</p> 13580<dl compact="compact"> 13581<dt>Input:</dt> 13582<dd><p><code>curveTags</code> (vector of integers), <code>numIntervals = 5</code> (integer), <code>tag = -1</code> (integer) 13583</p></dd> 13584<dt>Output:</dt> 13585<dd><p>- 13586</p></dd> 13587<dt>Return:</dt> 13588<dd><p>integer 13589</p></dd> 13590<dt>Language-specific definition:</dt> 13591<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2078">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1830">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5754">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5122">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L8237">Fortran</a> 13592</p></dd> 13593</dl> 13594 13595</dd> 13596<dt><code>gmsh/model/geo/addCompoundBSpline</code> 13597<span id="index-gmsh_002fmodel_002fgeo_002faddCompoundBSpline"></span> 13598</dt> 13599<dd><p>Add a b-spline curve in the built-in CAD representation, with control points sampling the curves in <code>curveTags</code>. The density of sampling points on each curve is governed by <code>numIntervals</code>. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the b-spline. 13600</p> 13601<dl compact="compact"> 13602<dt>Input:</dt> 13603<dd><p><code>curveTags</code> (vector of integers), <code>numIntervals = 20</code> (integer), <code>tag = -1</code> (integer) 13604</p></dd> 13605<dt>Output:</dt> 13606<dd><p>- 13607</p></dd> 13608<dt>Return:</dt> 13609<dd><p>integer 13610</p></dd> 13611<dt>Language-specific definition:</dt> 13612<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2089">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1840">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5784">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5147">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L8274">Fortran</a> 13613</p></dd> 13614</dl> 13615 13616</dd> 13617<dt><code>gmsh/model/geo/addCurveLoop</code> 13618<span id="index-gmsh_002fmodel_002fgeo_002faddCurveLoop"></span> 13619</dt> 13620<dd><p>Add a curve loop (a closed wire) in the built-in CAD representation, formed by the curves <code>curveTags</code>. <code>curveTags</code> should contain (signed) tags of model entities of dimension 1 forming a closed loop: a negative tag signifies that the underlying curve is considered with reversed orientation. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. If <code>reorient</code> is set, automatically reorient the curves if necessary. Return the tag of the curve loop. 13621</p> 13622<dl compact="compact"> 13623<dt>Input:</dt> 13624<dd><p><code>curveTags</code> (vector of integers), <code>tag = -1</code> (integer), <code>reorient = False</code> (boolean) 13625</p></dd> 13626<dt>Output:</dt> 13627<dd><p>- 13628</p></dd> 13629<dt>Return:</dt> 13630<dd><p>integer 13631</p></dd> 13632<dt>Language-specific definition:</dt> 13633<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2102">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1852">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5814">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5175">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L8313">Fortran</a> 13634</p></dd> 13635<dt>Examples:</dt> 13636<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t1.cpp#L80">t1.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t2.cpp#L31">t2.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L33">t3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t5.cpp#L40">t5.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t6.cpp#L28">t6.cpp</a>, ...), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t1.py#L81">t1.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t2.py#L29">t2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L30">t3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t5.py#L82">t5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t6.py#L27">t6.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t1.jl#L80">t1.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t2.jl#L27">t2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L28">t3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t5.jl#L80">t5.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t6.jl#L25">t6.jl</a>, ...), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t1.f90#L83">t1.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t2.f90#L41">t2.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L92">t3.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t5.f90#L93">t5.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t6.f90#L32">t6.f90</a>, ...) 13637</p></dd> 13638</dl> 13639 13640</dd> 13641<dt><code>gmsh/model/geo/addCurveLoops</code> 13642<span id="index-gmsh_002fmodel_002fgeo_002faddCurveLoops"></span> 13643</dt> 13644<dd><p>Add curve loops in the built-in CAD representation based on the curves <code>curveTags</code>. Return the <code>tags</code> of found curve loops, if any. 13645</p> 13646<dl compact="compact"> 13647<dt>Input:</dt> 13648<dd><p><code>curveTags</code> (vector of integers) 13649</p></dd> 13650<dt>Output:</dt> 13651<dd><p><code>tags</code> (vector of integers) 13652</p></dd> 13653<dt>Return:</dt> 13654<dd><p>- 13655</p></dd> 13656<dt>Language-specific definition:</dt> 13657<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2110">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1859">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5846">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5197">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L8347">Fortran</a> 13658</p></dd> 13659<dt>Examples:</dt> 13660<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/aneurysm.py#L43">aneurysm.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/tube_boundary_layer.py#L39">tube_boundary_layer.py</a>) 13661</p></dd> 13662</dl> 13663 13664</dd> 13665<dt><code>gmsh/model/geo/addPlaneSurface</code> 13666<span id="index-gmsh_002fmodel_002fgeo_002faddPlaneSurface"></span> 13667</dt> 13668<dd><p>Add a plane surface in the built-in CAD representation, defined by one or more curve loops <code>wireTags</code>. The first curve loop defines the exterior contour; additional curve loop define holes. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the surface. 13669</p> 13670<dl compact="compact"> 13671<dt>Input:</dt> 13672<dd><p><code>wireTags</code> (vector of integers), <code>tag = -1</code> (integer) 13673</p></dd> 13674<dt>Output:</dt> 13675<dd><p>- 13676</p></dd> 13677<dt>Return:</dt> 13678<dd><p>integer 13679</p></dd> 13680<dt>Language-specific definition:</dt> 13681<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2120">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1868">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5872">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5225">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L8384">Fortran</a> 13682</p></dd> 13683<dt>Examples:</dt> 13684<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t1.cpp#L85">t1.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t2.cpp#L32">t2.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L34">t3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t5.cpp#L144">t5.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t6.cpp#L29">t6.cpp</a>, ...), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t1.py#L86">t1.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t2.py#L30">t2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L31">t3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t5.py#L83">t5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t6.py#L28">t6.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t1.jl#L85">t1.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t2.jl#L28">t2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L29">t3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t5.jl#L81">t5.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t6.jl#L26">t6.jl</a>, ...), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t1.f90#L88">t1.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t2.f90#L42">t2.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L93">t3.f90</a>, <a href="https:
13684//gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t5.f90#L94">t5.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t6.f90#L33">t6.f90</a>, ...) 13685</p></dd> 13686</dl> 13687 13688</dd> 13689<dt><code>gmsh/model/geo/addSurfaceFilling</code> 13690<span id="index-gmsh_002fmodel_002fgeo_002faddSurfaceFilling"></span> 13691</dt> 13692<dd><p>Add a surface in the built-in CAD representation, filling the curve loops in <code>wireTags</code> using transfinite interpolation. Currently only a single curve loop is supported; this curve loop should be composed by 3 or 4 curves only. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the surface. 13693</p> 13694<dl compact="compact"> 13695<dt>Input:</dt> 13696<dd><p><code>wireTags</code> (vector of integers), <code>tag = -1</code> (integer), <code>sphereCenterTag = -1</code> (integer) 13697</p></dd> 13698<dt>Output:</dt> 13699<dd><p>- 13700</p></dd> 13701<dt>Return:</dt> 13702<dd><p>integer 13703</p></dd> 13704<dt>Language-specific definition:</dt> 13705<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2130">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1877">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5900">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5251">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L8416">Fortran</a> 13706</p></dd> 13707<dt>Examples:</dt> 13708<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t5.cpp#L57">t5.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t12.cpp#L71">t12.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t5.py#L149">t5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t12.py#L67">t12.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t5.jl#L146">t5.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t12.jl#L66">t12.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t5.f90#L225">t5.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t12.f90#L73">t12.f90</a>) 13709</p></dd> 13710</dl> 13711 13712</dd> 13713<dt><code>gmsh/model/geo/addSurfaceLoop</code> 13714<span id="index-gmsh_002fmodel_002fgeo_002faddSurfaceLoop"></span> 13715</dt> 13716<dd><p>Add a surface loop (a closed shell) formed by <code>surfaceTags</code> in the built-in CAD representation. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the shell. 13717</p> 13718<dl compact="compact"> 13719<dt>Input:</dt> 13720<dd><p><code>surfaceTags</code> (vector of integers), <code>tag = -1</code> (integer) 13721</p></dd> 13722<dt>Output:</dt> 13723<dd><p>- 13724</p></dd> 13725<dt>Return:</dt> 13726<dd><p>integer 13727</p></dd> 13728<dt>Language-specific definition:</dt> 13729<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2140">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1885">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5930">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5274">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L8451">Fortran</a> 13730</p></dd> 13731<dt>Examples:</dt> 13732<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t2.cpp#L113">t2.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t5.cpp#L66">t5.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t13.cpp#L77">t13.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x2.cpp#L143">x2.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t2.py#L108">t2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t5.py#L103">t5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t13.py#L65">t13.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x2.py#L139">x2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/aneurysm.py#L49">aneurysm.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t2.jl#L106">t2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t5.jl#L101">t5.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t13.jl#L61">t13.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x2.jl#L143">x2.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t2.f90#L122">t2.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t5.f90#L113">t5.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t13.f90#L115">t13.f90</a>) 13733</p></dd> 13734</dl> 13735 13736</dd> 13737<dt><code>gmsh/model/geo/addVolume</code> 13738<span id="index-gmsh_002fmodel_002fgeo_002faddVolume"></span> 13739</dt> 13740<dd><p>Add a volume (a region) in the built-in CAD representation, defined by one or more shells <code>shellTags</code>. The first surface loop defines the exterior boundary; additional surface loop define holes. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the volume. 13741</p> 13742<dl compact="compact"> 13743<dt>Input:</dt> 13744<dd><p><code>shellTags</code> (vector of integers), <code>tag = -1</code> (integer) 13745</p></dd> 13746<dt>Output:</dt> 13747<dd><p>- 13748</p></dd> 13749<dt>Return:</dt> 13750<dd><p>integer 13751</p></dd> 13752<dt>Language-specific definition:</dt> 13753<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2150">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1894">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5956">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5299">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L8483">Fortran</a> 13754</p></dd> 13755<dt>Examples:</dt> 13756<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t2.cpp#L114">t2.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t5.cpp#L67">t5.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t13.cpp#L78">t13.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x2.cpp#L144">x2.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t2.py#L109">t2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t5.py#L159">t5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t13.py#L66">t13.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x2.py#L140">x2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/aneurysm.py#L49">aneurysm.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t2.jl#L107">t2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t5.jl#L156">t5.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t13.jl#L62">t13.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x2.jl#L144">x2.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t2.f90#L123">t2.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t5.f90#L130">t5.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t13.f90#L116">t13.f90</a>) 13757</p></dd> 13758</dl> 13759 13760</dd> 13761<dt><code>gmsh/model/geo/addGeometry</code> 13762<span id="index-gmsh_002fmodel_002fgeo_002faddGeometry"></span> 13763</dt> 13764<dd><p>Add a <code>geometry</code> in the built-in CAD representation. <code>geometry</code> can currently be one of "Sphere" or "PolarSphere" (where <code>numbers</code> should contain the x, y, z coordinates of the center, followed by the radius), or "ParametricSurface" (where <code>strings</code> should contains three expression evaluating to the x, y and z coordinates in terms of parametric coordinates u and v). If <code>tag</code> is positive, set the tag of the geometry explicitly; otherwise a new tag is selected automatically. Return the tag of the geometry. 13765</p> 13766<dl compact="compact"> 13767<dt>Input:</dt> 13768<dd><p><code>geometry</code> (string), <code>numbers = []</code> (vector of doubles), <code>strings = []</code> (vector of strings), <code>tag = -1</code> (integer) 13769</p></dd> 13770<dt>Output:</dt> 13771<dd><p>- 13772</p></dd> 13773<dt>Return:</dt> 13774<dd><p>integer 13775</p></dd> 13776<dt>Language-specific definition:</dt> 13777<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2163">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1906">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L5984">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5328">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L8518">Fortran</a> 13778</p></dd> 13779<dt>Examples:</dt> 13780<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/ocean.py#L9">ocean.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/parametric_surface.py#L9">parametric_surface.py</a>) 13781</p></dd> 13782</dl> 13783 13784</dd> 13785<dt><code>gmsh/model/geo/addPointOnGeometry</code> 13786<span id="index-gmsh_002fmodel_002fgeo_002faddPointOnGeometry"></span> 13787</dt> 13788<dd><p>Add a point in the built-in CAD representation, at coordinates (<code>x</code>, <code>y</code>, <code>z</code>) on the geometry <code>geometryTag</code>. If <code>meshSize</code> is > 0, add a meshing constraint at that point. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the point. For surface geometries, only the <code>x</code> and <code>y</code> coordinates are used. 13789</p> 13790<dl compact="compact"> 13791<dt>Input:</dt> 13792<dd><p><code>geometryTag</code> (integer), <code>x</code>
13792 (double), <code>y</code> (double), <code>z = 0.</code> (double), <code>meshSize = 0.</code> (double), <code>tag = -1</code> (integer) 13793</p></dd> 13794<dt>Output:</dt> 13795<dd><p>- 13796</p></dd> 13797<dt>Return:</dt> 13798<dd><p>integer 13799</p></dd> 13800<dt>Language-specific definition:</dt> 13801<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2175">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1917">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6020">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5357">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L8568">Fortran</a> 13802</p></dd> 13803<dt>Examples:</dt> 13804<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/ocean.py#L11">ocean.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/parametric_surface.py#L11">parametric_surface.py</a>) 13805</p></dd> 13806</dl> 13807 13808</dd> 13809<dt><code>gmsh/model/geo/extrude</code> 13810<span id="index-gmsh_002fmodel_002fgeo_002fextrude"></span> 13811</dt> 13812<dd><p>Extrude the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) in the built-in CAD representation, using a translation along (<code>dx</code>, <code>dy</code>, <code>dz</code>). Return extruded entities in <code>outDimTags</code>. If the <code>numElements</code> vector is not empty, also extrude the mesh: the entries in <code>numElements</code> give the number of elements in each layer. If the <code>height</code> vector is not empty, it provides the (cumulative) height of the different layers, normalized to 1. If <code>recombine</code> is set, recombine the mesh in the layers. 13813</p> 13814<dl compact="compact"> 13815<dt>Input:</dt> 13816<dd><p><code>dimTags</code> (vector of pairs of integers), <code>dx</code> (double), <code>dy</code> (double), <code>dz</code> (double), <code>numElements = []</code> (vector of integers), <code>heights = []</code> (vector of doubles), <code>recombine = False</code> (boolean) 13817</p></dd> 13818<dt>Output:</dt> 13819<dd><p><code>outDimTags</code> (vector of pairs of integers) 13820</p></dd> 13821<dt>Return:</dt> 13822<dd><p>- 13823</p></dd> 13824<dt>Language-specific definition:</dt> 13825<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2191">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1932">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6055">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5390">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L8619">Fortran</a> 13826</p></dd> 13827<dt>Examples:</dt> 13828<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t2.cpp#L124">t2.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L48">t3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t14.cpp#L65">t14.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t15.cpp#L63">t15.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t2.py#L118">t2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L44">t3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t14.py#L59">t14.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t15.py#L59">t15.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/hex.py#L8">hex.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t2.jl#L116">t2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L44">t3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t14.jl#L58">t14.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t15.jl#L58">t15.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t2.f90#L132">t2.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L106">t3.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t14.f90#L71">t14.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t15.f90#L68">t15.f90</a>) 13829</p></dd> 13830</dl> 13831 13832</dd> 13833<dt><code>gmsh/model/geo/revolve</code> 13834<span id="index-gmsh_002fmodel_002fgeo_002frevolve"></span> 13835</dt> 13836<dd><p>Extrude the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) in the built-in CAD representation, using a rotation of <code>angle</code> radians around the axis of revolution defined by the point (<code>x</code>, <code>y</code>, <code>z</code>) and the direction (<code>ax</code>, <code>ay</code>, <code>az</code>). The angle should be strictly smaller than Pi. Return extruded entities in <code>outDimTags</code>. If the <code>numElements</code> vector is not empty, also extrude the mesh: the entries in <code>numElements</code> give the number of elements in each layer. If the <code>height</code> vector is not empty, it provides the (cumulative) height of the different layers, normalized to 1. If <code>recombine</code> is set, recombine the mesh in the layers. 13837</p> 13838<dl compact="compact"> 13839<dt>Input:</dt> 13840<dd><p><code>dimTags</code> (vector of pairs of integers), <code>x</code>
13840 (double), <code>y</code> (double), <code>z</code> (double), <code>ax</code> (double), <code>ay</code> (double), <code>az</code> (double), <code>angle</code> (double), <code>numElements = []</code> (vector of integers), <code>heights = []</code> (vector of doubles), <code>recombine = False</code> (boolean) 13841</p></dd> 13842<dt>Output:</dt> 13843<dd><p><code>outDimTags</code> (vector of pairs of integers) 13844</p></dd> 13845<dt>Return:</dt> 13846<dd><p>- 13847</p></dd> 13848<dt>Language-specific definition:</dt> 13849<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2211">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1951">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6099">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5434">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L8696">Fortran</a> 13850</p></dd> 13851<dt>Examples:</dt> 13852<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L55">t3.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L51">t3.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L51">t3.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L118">t3.f90</a>) 13853</p></dd> 13854</dl> 13855 13856</dd> 13857<dt><code>gmsh/model/geo/twist</code> 13858<span id="index-gmsh_002fmodel_002fgeo_002ftwist"></span> 13859</dt> 13860<dd><p>Extrude the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) in the built-in CAD representation, using a combined translation and rotation of <code>angle</code> radians, along (<code>dx</code>, <code>dy</code>, <code>dz</code>) and around the axis of revolution defined by the point (<code>x</code>, <code>y</code>, <code>z</code>) and the direction (<code>ax</code>, <code>ay</code>, <code>az</code>). The angle should be strictly smaller than Pi. Return extruded entities in <code>outDimTags</code>. If the <code>numElements</code> vector is not empty, also extrude the mesh: the entries in <code>numElements</code> give the number of elements in each layer. If the <code>height</code> vector is not empty, it provides the (cumulative) height of the different layers, normalized to 1. If <code>recombine</code> is set, recombine the mesh in the layers. 13861</p> 13862<dl compact="compact"> 13863<dt>Input:</dt> 13864<dd><p><code>dimTags</code> (vector of pairs of integers), <code>x</code> (double), <code>y</code> (double), <code>z</code>
13864 (double), <code>dx</code> (double), <code>dy</code> (double), <code>dz</code> (double), <code>ax</code> (double), <code>ay</code> (double), <code>az</code> (double), <code>angle</code> (double), <code>numElements = []</code> (vector of integers), <code>heights = []</code> (vector of doubles), <code>recombine = False</code> (boolean) 13865</p></dd> 13866<dt>Output:</dt> 13867<dd><p><code>outDimTags</code> (vector of pairs of integers) 13868</p></dd> 13869<dt>Return:</dt> 13870<dd><p>- 13871</p></dd> 13872<dt>Language-specific definition:</dt> 13873<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2236">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L1975">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6153">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5482">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L8794">Fortran</a> 13874</p></dd> 13875<dt>Examples:</dt> 13876<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L70">t3.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L65">t3.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L64">t3.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L136">t3.f90</a>) 13877</p></dd> 13878</dl> 13879 13880</dd> 13881<dt><code>gmsh/model/geo/extrudeBoundaryLayer</code> 13882<span id="index-gmsh_002fmodel_002fgeo_002fextrudeBoundaryLayer"></span> 13883</dt> 13884<dd><p>Extrude the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) in the built-in CAD representation along the normals of the mesh, creating discrete boundary layer entities. Return extruded entities in <code>outDimTags</code>. The entries in <code>numElements</code> give the number of elements in each layer. If the <code>height</code> vector is not empty, it provides the (cumulative) height of the different layers. If <code>recombine</code> is set, recombine the mesh in the layers. A second boundary layer can be created from the same entities if <code>second</code> is set. If <code>viewIndex</code> is >= 0, use the corresponding view to either specify the normals (if the view contains a vector field) or scale the normals (if the view is scalar). 13885</p> 13886<dl compact="compact"> 13887<dt>Input:</dt> 13888<dd><p><code>dimTags</code> (vector of pairs of integers), <code>numElements = [1]</code> (vector of integers), <code>heights = []</code> (vector of doubles), <code>recombine = False</code> (boolean), <code>second = False</code> (boolean), <code>viewIndex = -1</code> (integer) 13889</p></dd> 13890<dt>Output:</dt> 13891<dd><p><code>outDimTags</code> (vector of pairs of integers) 13892</p></dd> 13893<dt>Return:</dt> 13894<dd><p>- 13895</p></dd> 13896<dt>Language-specific definition:</dt> 13897<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2264">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2002">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6214">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5522">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L8907">Fortran</a> 13898</p></dd> 13899<dt>Examples:</dt> 13900<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/aneurysm.py#L25">aneurysm.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_2d.py#L86">naca_boundary_layer_2d.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_3d.py#L106">naca_boundary_layer_3d.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/tube_boundary_layer.py#L26">tube_boundary_layer.py</a>) 13901</p></dd> 13902</dl> 13903 13904</dd> 13905<dt><code>gmsh/model/geo/translate</code> 13906<span id="index-gmsh_002fmodel_002fgeo_002ftranslate"></span> 13907</dt> 13908<dd><p>Translate the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) in the built-in CAD representation along (<code>dx</code>, <code>dy</code>, <code>dz</code>). 13909</p> 13910<dl compact="compact"> 13911<dt>Input:</dt> 13912<dd><p><code>dimTags</code> (vector of pairs of integers), <code>dx</code>
13912 (double), <code>dy</code> (double), <code>dz</code> (double) 13913</p></dd> 13914<dt>Output:</dt> 13915<dd><p>- 13916</p></dd> 13917<dt>Return:</dt> 13918<dd><p>- 13919</p></dd> 13920<dt>Language-specific definition:</dt> 13921<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2276">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2013">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6260">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5550">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L8972">Fortran</a> 13922</p></dd> 13923<dt>Examples:</dt> 13924<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t2.cpp#L48">t2.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t2.py#L45">t2.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t2.jl#L43">t2.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t2.f90#L58">t2.f90</a>) 13925</p></dd> 13926</dl> 13927 13928</dd> 13929<dt><code>gmsh/model/geo/rotate</code> 13930<span id="index-gmsh_002fmodel_002fgeo_002frotate"></span> 13931</dt> 13932<dd><p>Rotate the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) in the built-in CAD representation by <code>angle</code> radians around the axis of revolution defined by the point (<code>x</code>, <code>y</code>, <code>z</code>) and the direction (<code>ax</code>, <code>ay</code>, <code>az</code>). 13933</p> 13934<dl compact="compact"> 13935<dt>Input:</dt> 13936<dd><p><code>dimTags</code> (vector of pairs of integers), <code>x</code> (double), <code>y</code> (double), <code>z</code>
13936 (double), <code>ax</code> (double), <code>ay</code> (double), <code>az</code> (double), <code>angle</code> (double) 13937</p></dd> 13938<dt>Output:</dt> 13939<dd><p>- 13940</p></dd> 13941<dt>Return:</dt> 13942<dd><p>- 13943</p></dd> 13944<dt>Language-specific definition:</dt> 13945<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2287">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2023">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6285">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5578">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9011">Fortran</a> 13946</p></dd> 13947<dt>Examples:</dt> 13948<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t2.cpp#L52">t2.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t2.py#L49">t2.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t2.jl#L47">t2.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t2.f90#L62">t2.f90</a>) 13949</p></dd> 13950</dl> 13951 13952</dd> 13953<dt><code>gmsh/model/geo/dilate</code> 13954<span id="index-gmsh_002fmodel_002fgeo_002fdilate"></span> 13955</dt> 13956<dd><p>Scale the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) in the built-in CAD representation by factors <code>a</code>, <code>b</code> and <code>c</code> along the three coordinate axes; use (<code>x</code>, <code>y</code>, <code>z</code>) as the center of the homothetic transformation. 13957</p> 13958<dl compact="compact"> 13959<dt>Input:</dt> 13960<dd><p><code>dimTags</code> (vector of pairs of integers), <code>x</code> (double), <code>y</code> (double), <code>z</code>
13960 (double), <code>a</code> (double), <code>b</code> (double), <code>c</code> (double) 13961</p></dd> 13962<dt>Output:</dt> 13963<dd><p>- 13964</p></dd> 13965<dt>Return:</dt> 13966<dd><p>- 13967</p></dd> 13968<dt>Language-specific definition:</dt> 13969<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2302">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2037">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6320">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5606">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9070">Fortran</a> 13970</p></dd> 13971</dl> 13972 13973</dd> 13974<dt><code>gmsh/model/geo/mirror</code> 13975<span id="index-gmsh_002fmodel_002fgeo_002fmirror"></span> 13976</dt> 13977<dd><p>Mirror the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) in the built-in CAD representation, with respect to the plane of equation <code>a</code> * x + <code>b</code> * y + <code>c</code> * z + <code>d</code> = 0. 13978</p> 13979<dl compact="compact"> 13980<dt>Input:</dt> 13981<dd><p><code>dimTags</code> (vector of pairs of integers), <code>a</code> (double), <code>b</code>
13981 (double), <code>c</code> (double), <code>d</code> (double) 13982</p></dd> 13983<dt>Output:</dt> 13984<dd><p>- 13985</p></dd> 13986<dt>Return:</dt> 13987<dd><p>- 13988</p></dd> 13989<dt>Language-specific definition:</dt> 13990<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2315">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2049">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6353">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5631">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9123">Fortran</a> 13991</p></dd> 13992</dl> 13993 13994</dd> 13995<dt><code>gmsh/model/geo/symmetrize</code> 13996<span id="index-gmsh_002fmodel_002fgeo_002fsymmetrize"></span> 13997</dt> 13998<dd><p>Mirror the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) in the built-in CAD representation, with respect to the plane of equation <code>a</code> * x + <code>b</code> * y + <code>c</code> * z + <code>d</code> = 0. (This is a deprecated synonym for <code>mirror</code>.) 13999</p> 14000<dl compact="compact"> 14001<dt>Input:</dt> 14002<dd><p><code>dimTags</code> (vector of pairs of integers), <code>a</code> (double), <code>b</code>
14002 (double), <code>c</code> (double), <code>d</code> (double) 14003</p></dd> 14004<dt>Output:</dt> 14005<dd><p>- 14006</p></dd> 14007<dt>Return:</dt> 14008<dd><p>- 14009</p></dd> 14010<dt>Language-specific definition:</dt> 14011<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2327">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2060">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6381">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5656">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9167">Fortran</a> 14012</p></dd> 14013</dl> 14014 14015</dd> 14016<dt><code>gmsh/model/geo/copy</code> 14017<span id="index-gmsh_002fmodel_002fgeo_002fcopy"></span> 14018</dt> 14019<dd><p>Copy the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) in the built-in CAD representation; the new entities are returned in <code>outDimTags</code>. 14020</p> 14021<dl compact="compact"> 14022<dt>Input:</dt> 14023<dd><p><code>dimTags</code> (vector of pairs of integers) 14024</p></dd> 14025<dt>Output:</dt> 14026<dd><p><code>outDimTags</code> (vector of pairs of integers) 14027</p></dd> 14028<dt>Return:</dt> 14029<dd><p>- 14030</p></dd> 14031<dt>Language-specific definition:</dt> 14032<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2338">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2069">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6410">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5679">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9209">Fortran</a> 14033</p></dd> 14034<dt>Examples:</dt> 14035<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t2.cpp#L61">t2.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t2.py#L57">t2.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t2.jl#L55">t2.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t2.f90#L70">t2.f90</a>) 14036</p></dd> 14037</dl> 14038 14039</dd> 14040<dt><code>gmsh/model/geo/remove</code> 14041<span id="index-gmsh_002fmodel_002fgeo_002fremove"></span> 14042</dt> 14043<dd><p>Remove the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) in the built-in CAD representation, provided that they are not on the boundary of higher-dimensional entities. If <code>recursive</code> is true, remove all the entities on their boundaries, down to dimension 0. 14044</p> 14045<dl compact="compact"> 14046<dt>Input:</dt> 14047<dd><p><code>dimTags</code> (vector of pairs of integers), <code>recursive = False</code> (boolean) 14048</p></dd> 14049<dt>Output:</dt> 14050<dd><p>- 14051</p></dd> 14052<dt>Return:</dt> 14053<dd><p>- 14054</p></dd> 14055<dt>Language-specific definition:</dt> 14056<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2347">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2077">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6435">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5706">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9245">Fortran</a> 14057</p></dd> 14058<dt>Examples:</dt> 14059<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t6.cpp#L32">t6.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t6.py#L31">t6.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t6.jl#L29">t6.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t6.f90#L36">t6.f90</a>) 14060</p></dd> 14061</dl> 14062 14063</dd> 14064<dt><code>gmsh/model/geo/removeAllDuplicates</code> 14065<span id="index-gmsh_002fmodel_002fgeo_002fremoveAllDuplicates"></span> 14066</dt> 14067<dd><p>Remove all duplicate entities in the built-in CAD representation (different entities at the same geometrical location). 14068</p> 14069<dl compact="compact"> 14070<dt>Input:</dt> 14071<dd><p>- 14072</p></dd> 14073<dt>Output:</dt> 14074<dd><p>- 14075</p></dd> 14076<dt>Return:</dt> 14077<dd><p>- 14078</p></dd> 14079<dt>Language-specific definition:</dt> 14080<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2354">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2083">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6458">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5723">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9272">Fortran</a> 14081</p></dd> 14082</dl> 14083 14084</dd> 14085<dt><code>gmsh/model/geo/splitCurve</code> 14086<span id="index-gmsh_002fmodel_002fgeo_002fsplitCurve"></span> 14087</dt> 14088<dd><p>Split the curve of tag <code>tag</code> in the built-in CAD representation, on the specified control points <code>pointTags</code>. This feature is only available for splines and b-splines. Return the tag(s) <code>curveTags</code> of the newly created curve(s). 14089</p> 14090<dl compact="compact"> 14091<dt>Input:</dt> 14092<dd><p><code>tag</code> (integer), <code>pointTags</code> (vector of integers) 14093</p></dd> 14094<dt>Output:</dt> 14095<dd><p><code>curveTags</code> (vector of integers) 14096</p></dd> 14097<dt>Return:</dt> 14098<dd><p>- 14099</p></dd> 14100<dt>Language-specific definition:</dt> 14101<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2362">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2089">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6473">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5747">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9288">Fortran</a> 14102</p></dd> 14103</dl> 14104 14105</dd> 14106<dt><code>gmsh/model/geo/getMaxTag</code> 14107<span id="index-gmsh_002fmodel_002fgeo_002fgetMaxTag"></span> 14108</dt> 14109<dd><p>Get the maximum tag of entities of dimension <code>dim</code> in the built-in CAD representation. 14110</p> 14111<dl compact="compact"> 14112<dt>Input:</dt> 14113<dd><p><code>dim</code> (integer) 14114</p></dd> 14115<dt>Output:</dt> 14116<dd><p>- 14117</p></dd> 14118<dt>Return:</dt> 14119<dd><p>integer 14120</p></dd> 14121<dt>Language-specific definition:</dt> 14122<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2370">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2096">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6503">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5771">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9327">Fortran</a> 14123</p></dd> 14124</dl> 14125 14126</dd> 14127<dt><code>gmsh/model/geo/setMaxTag</code> 14128<span id="index-gmsh_002fmodel_002fgeo_002fsetMaxTag"></span> 14129</dt> 14130<dd><p>Set the maximum tag <code>maxTag</code> for entities of dimension <code>dim</code> in the built-in CAD representation. 14131</p> 14132<dl compact="compact"> 14133<dt>Input:</dt> 14134<dd><p><code>dim</code> (integer), <code>maxTag</code> (integer) 14135</p></dd> 14136<dt>Output:</dt> 14137<dd><p>- 14138</p></dd> 14139<dt>Return:</dt> 14140<dd><p>- 14141</p></dd> 14142<dt>Language-specific definition:</dt> 14143<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2376">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2101">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6525">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5791">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9348">Fortran</a> 14144</p></dd> 14145</dl> 14146 14147</dd> 14148<dt><code>gmsh/model/geo/addPhysicalGroup</code> 14149<span id="index-gmsh_002fmodel_002fgeo_002faddPhysicalGroup"></span> 14150</dt> 14151<dd><p>Add a physical group of dimension <code>dim</code>, grouping the entities with tags <code>tags</code> in the built-in CAD representation. Return the tag of the physical group, equal to <code>tag</code> if <code>tag</code> is positive, or a new tag if <code>tag</code> < 0. Set the name of the physical group if <code>name</code> is not empty. 14152</p> 14153<dl compact="compact"> 14154<dt>Input:</dt> 14155<dd><p><code>dim</code> (integer), <code>tags</code> (vector of integers), <code>tag = -1</code> (integer), <code>name = ""</code> (string) 14156</p></dd> 14157<dt>Output:</dt> 14158<dd><p>- 14159</p></dd> 14160<dt>Return:</dt> 14161<dd><p>integer 14162</p></dd> 14163<dt>Language-specific definition:</dt> 14164<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2385">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2109">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6546">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5817">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9374">Fortran</a> 14165</p></dd> 14166<dt>Examples:</dt> 14167<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t5.cpp#L174">
14167t5.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t5.py#L173">t5.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t5.jl#L169">t5.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t5.f90#L124">t5.f90</a>) 14168</p></dd> 14169</dl> 14170 14171</dd> 14172<dt><code>gmsh/model/geo/removePhysicalGroups</code> 14173<span id="index-gmsh_002fmodel_002fgeo_002fremovePhysicalGroups"></span> 14174</dt> 14175<dd><p>Remove the physical groups <code>dimTags</code> (given as a vector of (dim, tag) pairs) from the built-in CAD representation. If <code>dimTags</code> is empty, remove all groups. 14176</p> 14177<dl compact="compact"> 14178<dt>Input:</dt> 14179<dd><p><code>dimTags = []</code> (vector of pairs of integers) 14180</p></dd> 14181<dt>Output:</dt> 14182<dd><p>- 14183</p></dd> 14184<dt>Return:</dt> 14185<dd><p>- 14186</p></dd> 14187<dt>Language-specific definition:</dt> 14188<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2395">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2118">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6577">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5836">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9414">Fortran</a> 14189</p></dd> 14190</dl> 14191 14192</dd> 14193<dt><code>gmsh/model/geo/synchronize</code> 14194<span id="index-gmsh_002fmodel_002fgeo_002fsynchronize"></span> 14195</dt> 14196<dd><p>Synchronize the built-in CAD representation with the current Gmsh model. This can be called at any time, but since it involves a non trivial amount of processing, the number of synchronization points should normally be minimized. Without synchronization the entities in the built-in CAD representation are not available to any function outside of the built-in CAD kernel functions. 14197</p> 14198<dl compact="compact"> 14199<dt>Input:</dt> 14200<dd><p>- 14201</p></dd> 14202<dt>Output:</dt> 14203<dd><p>- 14204</p></dd> 14205<dt>Return:</dt> 14206<dd><p>- 14207</p></dd> 14208<dt>Language-specific definition:</dt> 14209<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2405">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2127">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6598">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5857">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9440">Fortran</a> 14210</p></dd> 14211<dt>Examples:</dt> 14212<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t1.cpp#L96">t1.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t2.cpp#L33">t2.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L35">t3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t5.cpp#L184">t5.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t6.cpp#L98">t6.cpp</a>, ...), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t1.py#L96">t1.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t2.py#L31">t2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L32">t3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t5.py#L180">t5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t6.py#L93">t6.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t1.jl#L95">t1.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t2.jl#L29">t2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L30">t3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t5.jl#L177">t5.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t6.jl#L92">t6.jl</a>, ...), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t1.f90#L98">t1.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t2.f90#L43">t2.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L94">t3.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t5.f90#L132">t5.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t6.f90#L99">t6.f90</a>, ...) 14213</p></dd> 14214</dl> 14215 14216</dd> 14217</dl> 14218 14219<hr> 14220<span id="Namespace-gmsh_002fmodel_002fgeo_002fmesh"></span><div class="header"> 14221<p> 14222Next: <a href="#Namespace-gmsh_002fmodel_002focc" accesskey="n" rel="next">Namespace gmsh/model/occ</a>, Previous: <a href="#Namespace-gmsh_002fmodel_002fgeo" accesskey="p" rel="prev">Namespace gmsh/model/geo</a>, Up: <a href="#Gmsh-application-programming-interface" accesskey="u" rel="up">Gmsh application programming interface</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 14223</div> 14224<span id="Namespace-gmsh_002fmodel_002fgeo_002fmesh_003a-built_002din-CAD-kernel-meshing-constraints"></span>
14224<h3 class="section">6.7 Namespace <code>gmsh/model/geo/mesh</code>: built-in CAD kernel meshing constraints</h3> 14225 14226<dl compact="compact"> 14227<dt><code>gmsh/model/geo/mesh/setSize</code> 14228<span id="index-gmsh_002fmodel_002fgeo_002fmesh_002fsetSize"></span> 14229</dt> 14230<dd><p>Set a mesh size constraint on the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) in the built-in CAD kernel representation. Currently only entities of dimension 0 (points) are handled. 14231</p> 14232<dl compact="compact"> 14233<dt>Input:</dt> 14234<dd><p><code>dimTags</code> (vector of pairs of integers), <code>size</code> (double) 14235</p></dd> 14236<dt>Output:</dt> 14237<dd><p>- 14238</p></dd> 14239<dt>Return:</dt> 14240<dd><p>- 14241</p></dd> 14242<dt>Language-specific definition:</dt> 14243<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2414">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2132">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6622">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5886">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9455">Fortran</a> 14244</p></dd> 14245<dt>Examples:</dt> 14246<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t2.cpp#L128">t2.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t15.cpp#L41">t15.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t2.py#L122">t2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t15.py#L37">t15.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t2.jl#L120">t2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t15.jl#L36">t15.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t2.f90#L137">t2.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t15.f90#L46">t15.f90</a>) 14247</p></dd> 14248</dl> 14249 14250</dd> 14251<dt><code>gmsh/model/geo/mesh/setTransfiniteCurve</code> 14252<span id="index-gmsh_002fmodel_002fgeo_002fmesh_002fsetTransfiniteCurve"></span> 14253</dt> 14254<dd><p>Set a transfinite meshing constraint on the curve <code>tag</code> in the built-in CAD kernel representation, with <code>numNodes</code> nodes distributed according to <code>meshType</code> and <code>coef</code>. Currently supported types are "Progression" (geometrical progression with power <code>coef</code>) and "Bump" (refinement toward both extremities of the curve). 14255</p> 14256<dl compact="compact"> 14257<dt>Input:</dt> 14258<dd><p><code>tag</code> (integer), <code>nPoints</code> (integer), <code>meshType = "Progression"</code> (string), <code>coef = 1.</code>
14258 (double) 14259</p></dd> 14260<dt>Output:</dt> 14261<dd><p>- 14262</p></dd> 14263<dt>Return:</dt> 14264<dd><p>- 14265</p></dd> 14266<dt>Language-specific definition:</dt> 14267<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2424">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2141">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6645">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5912">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9485">Fortran</a> 14268</p></dd> 14269<dt>Examples:</dt> 14270<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t6.cpp#L48">t6.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t6.py#L47">t6.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t6.jl#L45">t6.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t6.f90#L52">t6.f90</a>) 14271</p></dd> 14272</dl> 14273 14274</dd> 14275<dt><code>gmsh/model/geo/mesh/setTransfiniteSurface</code> 14276<span id="index-gmsh_002fmodel_002fgeo_002fmesh_002fsetTransfiniteSurface"></span> 14277</dt> 14278<dd><p>Set a transfinite meshing constraint on the surface <code>tag</code> in the built-in CAD kernel representation. <code>arrangement</code> describes the arrangement of the triangles when the surface is not flagged as recombined: currently supported values are "Left", "Right", "AlternateLeft" and "AlternateRight". <code>cornerTags</code> can be used to specify the (3 or 4) corners of the transfinite interpolation explicitly; specifying the corners explicitly is mandatory if the surface has more that 3 or 4 points on its boundary. 14279</p> 14280<dl compact="compact"> 14281<dt>Input:</dt> 14282<dd><p><code>tag</code> (integer), <code>arrangement = "Left"</code> (string), <code>cornerTags = []</code> (vector of integers) 14283</p></dd> 14284<dt>Output:</dt> 14285<dd><p>- 14286</p></dd> 14287<dt>Return:</dt> 14288<dd><p>- 14289</p></dd> 14290<dt>Language-specific definition:</dt> 14291<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2439">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2154">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6673">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5938">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9524">Fortran</a> 14292</p></dd> 14293<dt>Examples:</dt> 14294<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t6.cpp#L67">t6.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t6.py#L66">t6.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t6.jl#L64">t6.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t6.f90#L71">t6.f90</a>) 14295</p></dd> 14296</dl> 14297 14298</dd> 14299<dt><code>gmsh/model/geo/mesh/setTransfiniteVolume</code> 14300<span id="index-gmsh_002fmodel_002fgeo_002fmesh_002fsetTransfiniteVolume"></span> 14301</dt> 14302<dd><p>Set a transfinite meshing constraint on the surface <code>tag</code> in the built-in CAD kernel representation. <code>cornerTags</code> can be used to specify the (6 or 8) corners of the transfinite interpolation explicitly. 14303</p> 14304<dl compact="compact"> 14305<dt>Input:</dt> 14306<dd><p><code>tag</code> (integer), <code>cornerTags = []</code> (vector of integers) 14307</p></dd> 14308<dt>Output:</dt> 14309<dd><p>- 14310</p></dd> 14311<dt>Return:</dt> 14312<dd><p>- 14313</p></dd> 14314<dt>Language-specific definition:</dt> 14315<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2448">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2162">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6702">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5959">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9557">Fortran</a> 14316</p></dd> 14317</dl> 14318 14319</dd> 14320<dt><code>gmsh/model/geo/mesh/setRecombine</code> 14321<span id="index-gmsh_002fmodel_002fgeo_002fmesh_002fsetRecombine"></span> 14322</dt> 14323<dd><p>Set a recombination meshing constraint on the entity of dimension <code>dim</code> and tag <code>tag</code> in the built-in CAD kernel representation. Currently only entities of dimension 2 (to recombine triangles into quadrangles) are supported; <code>angle</code> specifies the threshold angle for the simple recombination algorithm. 14324</p> 14325<dl compact="compact"> 14326<dt>Input:</dt> 14327<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>angle = 45.</code>
14327 (double) 14328</p></dd> 14329<dt>Output:</dt> 14330<dd><p>- 14331</p></dd> 14332<dt>Return:</dt> 14333<dd><p>- 14334</p></dd> 14335<dt>Language-specific definition:</dt> 14336<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2458">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2171">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6725">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L5982">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9587">Fortran</a> 14337</p></dd> 14338<dt>Examples:</dt> 14339<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t6.cpp#L71">t6.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t6.py#L70">t6.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t6.jl#L68">t6.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t6.f90#L75">t6.f90</a>) 14340</p></dd> 14341</dl> 14342 14343</dd> 14344<dt><code>gmsh/model/geo/mesh/setSmoothing</code> 14345<span id="index-gmsh_002fmodel_002fgeo_002fmesh_002fsetSmoothing"></span> 14346</dt> 14347<dd><p>Set a smoothing meshing constraint on the entity of dimension <code>dim</code> and tag <code>tag</code> in the built-in CAD kernel representation. <code>val</code> iterations of a Laplace smoother are applied. 14348</p> 14349<dl compact="compact"> 14350<dt>Input:</dt> 14351<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>val</code> (integer) 14352</p></dd> 14353<dt>Output:</dt> 14354<dd><p>- 14355</p></dd> 14356<dt>Return:</dt> 14357<dd><p>- 14358</p></dd> 14359<dt>Language-specific definition:</dt> 14360<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2467">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2179">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6751">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6004">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9617">Fortran</a> 14361</p></dd> 14362</dl> 14363 14364</dd> 14365<dt><code>gmsh/model/geo/mesh/setReverse</code> 14366<span id="index-gmsh_002fmodel_002fgeo_002fmesh_002fsetReverse"></span> 14367</dt> 14368<dd><p>Set a reverse meshing constraint on the entity of dimension <code>dim</code> and tag <code>tag</code> in the built-in CAD kernel representation. If <code>val</code> is true, the mesh orientation will be reversed with respect to the natural mesh orientation (i.e. the orientation consistent with the orientation of the geometry). If <code>val</code> is false, the mesh is left as-is. 14369</p> 14370<dl compact="compact"> 14371<dt>Input:</dt> 14372<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>val = True</code> (boolean) 14373</p></dd> 14374<dt>Output:</dt> 14375<dd><p>- 14376</p></dd> 14377<dt>Return:</dt> 14378<dd><p>- 14379</p></dd> 14380<dt>Language-specific definition:</dt> 14381<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2478">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2189">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6775">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6028">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9649">Fortran</a> 14382</p></dd> 14383</dl> 14384 14385</dd> 14386<dt><code>gmsh/model/geo/mesh/setAlgorithm</code> 14387<span id="index-gmsh_002fmodel_002fgeo_002fmesh_002fsetAlgorithm"></span> 14388</dt> 14389<dd><p>Set the meshing algorithm on the entity of dimension <code>dim</code> and tag <code>tag</code> in the built-in CAD kernel representation. Currently only supported for <code>dim</code> == 2. 14390</p> 14391<dl compact="compact"> 14392<dt>Input:</dt> 14393<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>val</code> (integer) 14394</p></dd> 14395<dt>Output:</dt> 14396<dd><p>- 14397</p></dd> 14398<dt>Return:</dt> 14399<dd><p>- 14400</p></dd> 14401<dt>Language-specific definition:</dt> 14402<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2487">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2197">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6801">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6049">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9679">Fortran</a> 14403</p></dd> 14404</dl> 14405 14406</dd> 14407<dt><code>gmsh/model/geo/mesh/setSizeFromBoundary</code> 14408<span id="index-gmsh_002fmodel_002fgeo_002fmesh_002fsetSizeFromBoundary"></span> 14409</dt> 14410<dd><p>Force the mesh size to be extended from the boundary, or not, for the entity of dimension <code>dim</code> and tag <code>tag</code> in the built-in CAD kernel representation. Currently only supported for <code>dim</code> == 2. 14411</p> 14412<dl compact="compact"> 14413<dt>Input:</dt> 14414<dd><p><code>dim</code> (integer), <code>tag</code> (integer), <code>val</code> (integer) 14415</p></dd> 14416<dt>Output:</dt> 14417<dd><p>- 14418</p></dd> 14419<dt>Return:</dt> 14420<dd><p>- 14421</p></dd> 14422<dt>Language-specific definition:</dt> 14423<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2496">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2205">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6825">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6071">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9709">Fortran</a> 14424</p></dd> 14425</dl> 14426 14427</dd> 14428</dl> 14429 14430<hr> 14431<span id="Namespace-gmsh_002fmodel_002focc"></span><div class="header"> 14432<p> 14433Next: <a href="#Namespace-gmsh_002fmodel_002focc_002fmesh" accesskey="n" rel="next">Namespace gmsh/model/occ/mesh</a>, Previous: <a href="#Namespace-gmsh_002fmodel_002fgeo_002fmesh" accesskey="p" rel="prev">Namespace gmsh/model/geo/mesh</a>, Up: <a href="#Gmsh-application-programming-interface" accesskey="u" rel="up">Gmsh application programming interface</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 14434</div> 14435<span id="Namespace-gmsh_002fmodel_002focc_003a-OpenCASCADE-CAD-kernel-functions"></span>
14435<h3 class="section">6.8 Namespace <code>gmsh/model/occ</code>: OpenCASCADE CAD kernel functions</h3> 14436 14437<dl compact="compact"> 14438<dt><code>gmsh/model/occ/addPoint</code> 14439<span id="index-gmsh_002fmodel_002focc_002faddPoint"></span> 14440</dt> 14441<dd><p>Add a geometrical point in the OpenCASCADE CAD representation, at coordinates (<code>x</code>, <code>y</code>, <code>z</code>). If <code>meshSize</code> is > 0, add a meshing constraint at that point. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the point. (Note that the point will be added in the current model only after <code>synchronize</code> is called. This behavior holds for all the entities added in the occ module.) 14442</p> 14443<dl compact="compact"> 14444<dt>Input:</dt> 14445<dd><p><code>x</code> (double), <code>y</code> (double), <code>z</code> (double), <code>meshSize = 0.</code> (double), <code>tag = -1</code> (integer) 14446</p></dd> 14447<dt>Output:</dt> 14448<dd><p>- 14449</p></dd> 14450<dt>Return:</dt> 14451<dd><p>integer 14452</p></dd> 14453<dt>Language-specific definition:</dt> 14454<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2515">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2216">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6855">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6113">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9742">Fortran</a> 14455</p></dd> 14456<dt>Examples:</dt> 14457<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t19.cpp#L67">t19.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t19.py#L59">t19.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/bspline_bezier_patches.py#L6">bspline_bezier_patches.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/bspline_bezier_trimmed.py#L6">bspline_bezier_trimmed.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/bspline_filling.py#L14">bspline_filling.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/circle_arc.py#L4">circle_arc.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t19.jl#L56">
14457t19.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_bspline.jl#L15">terrain_bspline.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t19.f90#L71">t19.f90</a>) 14458</p></dd> 14459</dl> 14460 14461</dd> 14462<dt><code>gmsh/model/occ/addLine</code> 14463<span id="index-gmsh_002fmodel_002focc_002faddLine"></span> 14464</dt> 14465<dd><p>Add a straight line segment in the OpenCASCADE CAD representation, between the two points with tags <code>startTag</code> and <code>endTag</code>. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the line. 14466</p> 14467<dl compact="compact"> 14468<dt>Input:</dt> 14469<dd><p><code>startTag</code> (integer), <code>endTag</code> (integer), <code>tag = -1</code> (integer) 14470</p></dd> 14471<dt>Output:</dt> 14472<dd><p>- 14473</p></dd> 14474<dt>Return:</dt> 14475<dd><p>integer 14476</p></dd> 14477<dt>Language-specific definition:</dt> 14478<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2527">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2227">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6889">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6138">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9785">Fortran</a> 14479</p></dd> 14480<dt>Examples:</dt> 14481<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/crack.py#L13">crack.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_2d.py#L67">naca_boundary_layer_2d.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_3d.py#L70">naca_boundary_layer_3d.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/relocate_nodes.py#L10">relocate_nodes.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/stl_to_brep.py#L44">stl_to_brep.py</a>) 14482</p></dd> 14483</dl> 14484 14485</dd> 14486<dt><code>gmsh/model/occ/addCircleArc</code> 14487<span id="index-gmsh_002fmodel_002focc_002faddCircleArc"></span> 14488</dt> 14489<dd><p>Add a circle arc in the OpenCASCADE CAD representation, between the two points with tags <code>startTag</code> and <code>endTag</code>, with middle point <code>middleTag</code>. If <code>center</code> is true, the middle point is the center of the circle; otherwise the circle goes through the middle point. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the circle arc. 14490</p> 14491<dl compact="compact"> 14492<dt>Input:</dt> 14493<dd><p><code>startTag</code> (integer), <code>middleTag</code> (integer), <code>endTag</code> (integer), <code>tag = -1</code> (integer), <code>center = True</code> (boolean) 14494</p></dd> 14495<dt>Output:</dt> 14496<dd><p>- 14497</p></dd> 14498<dt>Return:</dt> 14499<dd><p>integer 14500</p></dd> 14501<dt>Language-specific definition:</dt> 14502<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2539">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2238">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6917">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6166">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9820">Fortran</a> 14503</p></dd> 14504<dt>Examples:</dt> 14505<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/circle_arc.py#L8">circle_arc.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_2d.py#L64">naca_boundary_layer_2d.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_3d.py#L60">naca_boundary_layer_3d.py</a>) 14506</p></dd> 14507</dl> 14508 14509</dd> 14510<dt><code>gmsh/model/occ/addCircle</code> 14511<span id="index-gmsh_002fmodel_002focc_002faddCircle"></span> 14512</dt> 14513<dd><p>Add a circle of center (<code>x</code>, <code>y</code>, <code>z</code>) and radius <code>r</code> in the OpenCASCADE CAD representation. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. If <code>angle1</code> and <code>angle2</code> are specified, create a circle arc between the two angles. If a vector <code>zAxis</code> of size 3 is provided, use it as the normal to the circle plane (z-axis). If a vector <code>xAxis</code> of size 3 is provided in addition to <code>zAxis</code>, use it to define the x-axis. Return the tag of the circle. 14514</p> 14515<dl compact="compact"> 14516<dt>Input:</dt> 14517<dd><p><code>x</code>
14517 (double), <code>y</code> (double), <code>z</code> (double), <code>r</code> (double), <code>tag = -1</code> (integer), <code>angle1 = 0.</code> (double), <code>angle2 = 2*pi</code> (double), <code>zAxis = []</code> (vector of doubles), <code>xAxis = []</code> (vector of doubles) 14518</p></dd> 14519<dt>Output:</dt> 14520<dd><p>- 14521</p></dd> 14522<dt>Return:</dt> 14523<dd><p>integer 14524</p></dd> 14525<dt>Language-specific definition:</dt> 14526<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2554">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2252">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6951">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6200">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9866">Fortran</a> 14527</p></dd> 14528<dt>Examples:</dt> 14529<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t19.cpp#L25">t19.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t19.py#L23">t19.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/bspline_bezier_trimmed.py#L30">bspline_bezier_trimmed.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/closest_point.py#L7">closest_point.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/prim_axis.py#L6">prim_axis.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/trimmed.py#L9">trimmed.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t19.jl#L20">t19.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t19.f90#L32">t19.f90</a>) 14530</p></dd> 14531</dl> 14532 14533</dd> 14534<dt><code>gmsh/model/occ/addEllipseArc</code> 14535<span id="index-gmsh_002fmodel_002focc_002faddEllipseArc"></span> 14536</dt> 14537<dd><p>Add an ellipse arc in the OpenCASCADE CAD representation, between the two points <code>startTag</code> and <code>endTag</code>, and with center <code>centerTag</code> and major axis point <code>majorTag</code>. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the ellipse arc. Note that OpenCASCADE does not allow creating ellipse arcs with the major radius smaller than the minor radius. 14538</p> 14539<dl compact="compact"> 14540<dt>Input:</dt> 14541<dd><p><code>startTag</code> (integer), <code>centerTag</code> (integer), <code>majorTag</code> (integer), <code>endTag</code> (integer), <code>tag = -1</code> (integer) 14542</p></dd> 14543<dt>Output:</dt> 14544<dd><p>- 14545</p></dd> 14546<dt>Return:</dt> 14547<dd><p>integer 14548</p></dd> 14549<dt>Language-specific definition:</dt> 14550<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2572">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2269">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L6996">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6229">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9937">Fortran</a> 14551</p></dd> 14552</dl> 14553 14554</dd> 14555<dt><code>gmsh/model/occ/addEllipse</code> 14556<span id="index-gmsh_002fmodel_002focc_002faddEllipse"></span> 14557</dt> 14558<dd><p>Add an ellipse of center (<code>x</code>, <code>y</code>, <code>z</code>) and radii <code>r1</code> and <code>r2</code> (with <code>r1</code> >= <code>r2</code>) along the x- and y-axes, respectively, in the OpenCASCADE CAD representation. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. If <code>angle1</code> and <code>angle2</code> are specified, create an ellipse arc between the two angles. If a vector <code>zAxis</code> of size 3 is provided, use it as the normal to the ellipse plane (z-axis). If a vector <code>xAxis</code> of size 3 is provided in addition to <code>zAxis</code>, use it to define the x-axis. Return the tag of the ellipse. 14559</p> 14560<dl compact="compact"> 14561<dt>Input:</dt> 14562<dd><p><code>x</code>
14562 (double), <code>y</code> (double), <code>z</code> (double), <code>r1</code> (double), <code>r2</code> (double), <code>tag = -1</code> (integer), <code>angle1 = 0.</code> (double), <code>angle2 = 2*pi</code> (double), <code>zAxis = []</code> (vector of doubles), <code>xAxis = []</code> (vector of doubles) 14563</p></dd> 14564<dt>Output:</dt> 14565<dd><p>- 14566</p></dd> 14567<dt>Return:</dt> 14568<dd><p>integer 14569</p></dd> 14570<dt>Language-specific definition:</dt> 14571<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2588">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2284">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7030">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6265">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L9984">Fortran</a> 14572</p></dd> 14573<dt>Examples:</dt> 14574<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/prim_axis.py#L11">prim_axis.py</a>) 14575</p></dd> 14576</dl> 14577 14578</dd> 14579<dt><code>gmsh/model/occ/addSpline</code> 14580<span id="index-gmsh_002fmodel_002focc_002faddSpline"></span> 14581</dt> 14582<dd><p>Add a spline (C2 b-spline) curve in the OpenCASCADE CAD representation, going through the points <code>pointTags</code>. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Create a periodic curve if the first and last points are the same. Return the tag of the spline curve. If the <code>tangents</code> vector contains 6 entries, use them as concatenated x, y, z components of the initial and final tangents of the b-spline; if it contains 3 times as many entries as the number of points, use them as concatenated x, y, z components of the tangents at each point, unless the norm of the tangent is zero. 14583</p> 14584<dl compact="compact"> 14585<dt>Input:</dt> 14586<dd><p><code>pointTags</code> (vector of integers), <code>tag = -1</code> (integer), <code>tangents = []</code> (vector of doubles) 14587</p></dd> 14588<dt>Output:</dt> 14589<dd><p>- 14590</p></dd> 14591<dt>Return:</dt> 14592<dd><p>integer 14593</p></dd> 14594<dt>Language-specific definition:</dt> 14595<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2610">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2305">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7078">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6295">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L10063">Fortran</a> 14596</p></dd> 14597<dt>Examples:</dt> 14598<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t19.cpp#L71">t19.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t19.py#L62">t19.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_2d.py#L59">naca_boundary_layer_2d.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_3d.py#L56">naca_boundary_layer_3d.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/pipe.py#L20">pipe.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/spline.py#L12">spline.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t19.jl#L60">t19.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t19.f90#L73">t19.f90</a>) 14599</p></dd> 14600</dl> 14601 14602</dd> 14603<dt><code>gmsh/model/occ/addBSpline</code> 14604<span id="index-gmsh_002fmodel_002focc_002faddBSpline"></span> 14605</dt> 14606<dd><p>Add a b-spline curve of degree <code>degree</code> in the OpenCASCADE CAD representation, with <code>pointTags</code> control points. If <code>weights</code>, <code>knots</code> or <code>multiplicities</code> are not provided, default parameters are computed automatically. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Create a periodic curve if the first and last points are the same. Return the tag of the b-spline curve. 14607</p> 14608<dl compact="compact"> 14609<dt>Input:</dt> 14610<dd><p><code>pointTags</code> (vector of integers), <code>tag = -1</code> (integer), <code>degree = 3</code> (integer), <code>weights = []</code> (vector of doubles), <code>knots = []</code> (vector of doubles), <code>multiplicities = []</code> (vector of integers) 14611</p></dd> 14612<dt>Output:</dt> 14613<dd><p>- 14614</p></dd> 14615<dt>Return:</dt> 14616<dd><p>integer 14617</p></dd> 14618<dt>Language-specific definition:</dt> 14619<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2622">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2316">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7113">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6325">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L10104">Fortran</a> 14620</p></dd> 14621<dt>Examples:</dt> 14622<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/bspline_filling.py#L18">bspline_filling.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/spline.py#L13">spline.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/torus_bspline.py#L292">torus_bspline.py</a>) 14623</p></dd> 14624</dl> 14625 14626</dd> 14627<dt><code>gmsh/model/occ/addBezier</code> 14628<span id="index-gmsh_002fmodel_002focc_002faddBezier"></span> 14629</dt> 14630<dd><p>Add a Bezier curve in the OpenCASCADE CAD representation, with <code>pointTags</code> control points. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the Bezier curve. 14631</p> 14632<dl compact="compact"> 14633<dt>Input:</dt> 14634<dd><p><code>pointTags</code> (vector of integers), <code>tag = -1</code> (integer) 14635</p></dd> 14636<dt>Output:</dt> 14637<dd><p>- 14638</p></dd> 14639<dt>Return:</dt> 14640<dd><p>integer 14641</p></dd> 14642<dt>Language-specific definition:</dt> 14643<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2634">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2327">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7153">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6348">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L10163">Fortran</a> 14644</p></dd> 14645<dt>Examples:</dt> 14646<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/spline.py#L14">spline.py</a>) 14647</p></dd> 14648</dl> 14649 14650</dd> 14651<dt><code>gmsh/model/occ/addWire</code> 14652<span id="index-gmsh_002fmodel_002focc_002faddWire"></span> 14653</dt> 14654<dd><p>Add a wire (open or closed) in the OpenCASCADE CAD representation, formed by the curves <code>curveTags</code>. Note that an OpenCASCADE wire can be made of curves that share geometrically identical (but topologically different) points. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the wire. 14655</p> 14656<dl compact="compact"> 14657<dt>Input:</dt> 14658<dd><p><code>curveTags</code> (vector of integers), <code>tag = -1</code> (integer), <code>checkClosed = False</code> (boolean) 14659</p></dd> 14660<dt>Output:</dt> 14661<dd><p>- 14662</p></dd> 14663<dt>Return:</dt> 14664<dd><p>integer 14665</p></dd> 14666<dt>Language-specific definition:</dt> 14667<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2644">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2336">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7179">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6374">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L10195">Fortran</a> 14668</p></dd> 14669<dt>Examples:</dt> 14670<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t19.cpp#L74">t19.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t19.py#L65">t19.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/bspline_bezier_trimmed.py#L31">bspline_bezier_trimmed.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/bspline_filling.py#L36">bspline_filling.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/pipe.py#L21">pipe.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/trimmed.py#L10">trimmed.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t19.jl#L63">
14670t19.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t19.f90#L76">t19.f90</a>) 14671</p></dd> 14672</dl> 14673 14674</dd> 14675<dt><code>gmsh/model/occ/addCurveLoop</code> 14676<span id="index-gmsh_002fmodel_002focc_002faddCurveLoop"></span> 14677</dt> 14678<dd><p>Add a curve loop (a closed wire) in the OpenCASCADE CAD representation, formed by the curves <code>curveTags</code>. <code>curveTags</code> should contain tags of curves forming a closed loop. Negative tags can be specified for compatibility with the built-in kernel, but are simply ignored: the wire is oriented according to the orientation of its first curve. Note that an OpenCASCADE curve loop can be made of curves that share geometrically identical (but topologically different) points. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the curve loop. 14679</p> 14680<dl compact="compact"> 14681<dt>Input:</dt> 14682<dd><p><code>curveTags</code> (vector of integers), <code>tag = -1</code> (integer) 14683</p></dd> 14684<dt>Output:</dt> 14685<dd><p>- 14686</p></dd> 14687<dt>Return:</dt> 14688<dd><p>integer 14689</p></dd> 14690<dt>Language-specific definition:</dt> 14691<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2659">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2350">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7209">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6402">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L10236">Fortran</a> 14692</p></dd> 14693<dt>Examples:</dt> 14694<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t19.cpp#L26">t19.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t19.py#L24">t19.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_2d.py#L73">naca_boundary_layer_2d.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/relocate_nodes.py#L15">relocate_nodes.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/stl_to_brep.py#L49">stl_to_brep.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/surface_filling.py#L16">surface_filling.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t19.jl#L21">t19.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t19.f90#L33">t19.f90</a>) 14695</p></dd> 14696</dl> 14697 14698</dd> 14699<dt><code>gmsh/model/occ/addRectangle</code> 14700<span id="index-gmsh_002fmodel_002focc_002faddRectangle"></span> 14701</dt> 14702<dd><p>Add a rectangle in the OpenCASCADE CAD representation, with lower left corner at (<code>x</code>, <code>y</code>, <code>z</code>) and upper right corner at (<code>x</code> + <code>dx</code>, <code>y</code> + <code>dy</code>, <code>z</code>). If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Round the corners if <code>roundedRadius</code> is nonzero. Return the tag of the rectangle. 14703</p> 14704<dl compact="compact"> 14705<dt>Input:</dt> 14706<dd><p><code>x</code> (double), <code>y</code> (double), <code>z</code>
14706 (double), <code>dx</code> (double), <code>dy</code> (double), <code>tag = -1</code> (integer), <code>roundedRadius = 0.</code> (double) 14707</p></dd> 14708<dt>Output:</dt> 14709<dd><p>- 14710</p></dd> 14711<dt>Return:</dt> 14712<dd><p>integer 14713</p></dd> 14714<dt>Language-specific definition:</dt> 14715<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2669">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2359">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7241">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6432">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L10268">Fortran</a> 14716</p></dd> 14717<dt>Examples:</dt> 14718<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t17.cpp#L28">t17.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t20.cpp#L62">t20.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t21.cpp#L39">t21.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x6.cpp#L20">x6.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t17.py#L27">t17.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t20.py#L52">t20.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t21.py#L31">t21.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x6.py#L19">x6.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/adapt_mesh.py#L75">adapt_mesh.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t17.jl#L24">t17.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t20.jl#L49">t20.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t21.jl#L30">t21.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x6.jl#L18">x6.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t17.f90#L32">t17.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t20.f90#L60">t20.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t21.f90#L42">t21.f90</a>) 14719</p></dd> 14720</dl> 14721 14722</dd> 14723<dt><code>gmsh/model/occ/addDisk</code> 14724<span id="index-gmsh_002fmodel_002focc_002faddDisk"></span> 14725</dt> 14726<dd><p>Add a disk in the OpenCASCADE CAD representation, with center (<code>xc</code>, <code>yc</code>, <code>zc</code>) and radius <code>rx</code> along the x-axis and <code>ry</code> along the y-axis (<code>rx</code> >= <code>ry</code>). If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. If a vector <code>zAxis</code> of size 3 is provided, use it as the normal to the disk (z-axis). If a vector <code>xAxis</code> of size 3 is provided in addition to <code>zAxis</code>, use it to define the x-axis. Return the tag of the disk. 14727</p> 14728<dl compact="compact"> 14729<dt>Input:</dt> 14730<dd><p><code>xc</code> (double), <code>yc</code> (double), <code>zc</code> (double), <code>rx</code> (double), <code>ry</code> (double), <code>tag = -1</code> (integer), <code>zAxis = []</code> (vector of doubles), <code>xAxis = []</code> (vector of doubles) 14731</p></dd> 14732<dt>Output:</dt> 14733<dd><p>- 14734</p></dd> 14735<dt>Return:</dt> 14736<dd><p>integer 14737</p></dd> 14738<dt>Language-specific definition:</dt> 14739<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2686">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2375">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7278">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6464">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L10324">Fortran</a> 14740</p></dd> 14741<dt>Examples:</dt> 14742<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t19.cpp#L77">t19.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t19.py#L68">t19.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/pipe.py#L23">pipe.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/poisson.py#L37">poisson.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/prim_axis.py#L15">prim_axis.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t19.jl#L66">
14742t19.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t19.f90#L79">t19.f90</a>) 14743</p></dd> 14744</dl> 14745 14746</dd> 14747<dt><code>gmsh/model/occ/addPlaneSurface</code> 14748<span id="index-gmsh_002fmodel_002focc_002faddPlaneSurface"></span> 14749</dt> 14750<dd><p>Add a plane surface in the OpenCASCADE CAD representation, defined by one or more curve loops (or closed wires) <code>wireTags</code>. The first curve loop defines the exterior contour; additional curve loop define holes. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the surface. 14751</p> 14752<dl compact="compact"> 14753<dt>Input:</dt> 14754<dd><p><code>wireTags</code> (vector of integers), <code>tag = -1</code> (integer) 14755</p></dd> 14756<dt>Output:</dt> 14757<dd><p>- 14758</p></dd> 14759<dt>Return:</dt> 14760<dd><p>integer 14761</p></dd> 14762<dt>Language-specific definition:</dt> 14763<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2702">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2390">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7321">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6489">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L10389">Fortran</a> 14764</p></dd> 14765<dt>Examples:</dt> 14766<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_2d.py#L118">naca_boundary_layer_2d.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/stl_to_brep.py#L50">stl_to_brep.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/torus_bspline.py#L276">torus_bspline.py</a>) 14767</p></dd> 14768</dl> 14769 14770</dd> 14771<dt><code>gmsh/model/occ/addSurfaceFilling</code> 14772<span id="index-gmsh_002fmodel_002focc_002faddSurfaceFilling"></span> 14773</dt> 14774<dd><p>Add a surface in the OpenCASCADE CAD representation, filling the curve loop <code>wireTag</code>. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the surface. If <code>pointTags</code> are provided, force the surface to pass through the given points. The other optional arguments are <code>degree</code> (the degree of the energy criterion to minimize for computing the deformation of the surface), <code>numPointsOnCurves</code> (the average number of points for discretisation of the bounding curves), <code>numIter</code> (the maximum number of iterations of the optimization process), <code>anisotropic</code> (improve performance when the ratio of the length along the two parametric coordinates of the surface is high), <code>tol2d</code> (tolerance to the constraints in the parametric plane of the surface), <code>tol3d</code> (the maximum distance allowed between the support surface and the constraints), <code>tolAng</code> (the maximum angle allowed between the normal of the surface and the constraints), <code>tolCurv</code> (the maximum difference of curvature allowed between the surface and the constraint), <code>maxDegree</code> (the highest degree which the polynomial defining the filling surface can have) and, <code>maxSegments</code> (the largest number of segments which the filling surface can have). 14775</p> 14776<dl compact="compact"> 14777<dt>Input:</dt> 14778<dd><p><code>wireTag</code> (integer), <code>tag = -1</code> (integer), <code>pointTags = []</code> (vector of integers), <code>degree = 2</code> (integer), <code>numPointsOnCurves = 15</code> (integer), <code>numIter = 2</code> (integer), <code>anisotropic = False</code> (boolean), <code>tol2d = 0.00001</code> (double), <code>tol3d = 0.0001</code> (double), <code>tolAng = 0.01</code> (double), <code>tolCurv = 0.1</code> (double), <code>maxDegree = 8</code> (integer), <code>maxSegments = 9</code> (integer) 14779</p></dd> 14780<dt>Output:</dt> 14781<dd><p>- 14782</p></dd> 14783<dt>Return:</dt> 14784<dd><p>integer 14785</p></dd> 14786<dt>Language-specific definition:</dt> 14787<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2726">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2412">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7349">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6537">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L10434">Fortran</a> 14788</p></dd> 14789<dt>Examples:</dt> 14790<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/relocate_nodes.py#L21">relocate_nodes.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/surface_filling.py#L19">surface_filling.py</a>) 14791</p></dd> 14792</dl> 14793 14794</dd> 14795<dt><code>gmsh/model/occ/addBSplineFilling</code> 14796<span id="index-gmsh_002fmodel_002focc_002faddBSplineFilling"></span> 14797</dt> 14798<dd><p>Add a BSpline surface in the OpenCASCADE CAD representation, filling the curve loop <code>wireTag</code>. The curve loop should be made of 2, 3 or 4 curves. The optional <code>type</code> argument specifies the type of filling: "Stretch" creates the flattest patch, "Curved" (the default) creates the most rounded patch, and "Coons" creates a rounded patch with less depth than "Curved". If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the surface. 14799</p> 14800<dl compact="compact"> 14801<dt>Input:</dt> 14802<dd><p><code>wireTag</code> (integer), <code>tag = -1</code> (integer), <code>type = ""</code> (string) 14803</p></dd> 14804<dt>Output:</dt> 14805<dd><p>- 14806</p></dd> 14807<dt>Return:</dt> 14808<dd><p>integer 14809</p></dd> 14810<dt>Language-specific definition:</dt> 14811<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2749">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2434">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7412">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6565">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L10523">Fortran</a> 14812</p></dd> 14813<dt>Examples:</dt> 14814<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/bspline_filling.py#L39">bspline_filling.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/surface_filling.py#L22">surface_filling.py</a>) 14815</p></dd> 14816</dl> 14817 14818</dd> 14819<dt><code>gmsh/model/occ/addBezierFilling</code> 14820<span id="index-gmsh_002fmodel_002focc_002faddBezierFilling"></span> 14821</dt> 14822<dd><p>Add a Bezier surface in the OpenCASCADE CAD representation, filling the curve loop <code>wireTag</code>. The curve loop should be made of 2, 3 or 4 Bezier curves. The optional <code>type</code> argument specifies the type of filling: "Stretch" creates the flattest patch, "Curved" (the default) creates the most rounded patch, and "Coons" creates a rounded patch with less depth than "Curved". If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the surface. 14823</p> 14824<dl compact="compact"> 14825<dt>Input:</dt> 14826<dd><p><code>wireTag</code> (integer), <code>tag = -1</code> (integer), <code>type = ""</code> (string) 14827</p></dd> 14828<dt>Output:</dt> 14829<dd><p>- 14830</p></dd> 14831<dt>Return:</dt> 14832<dd><p>integer 14833</p></dd> 14834<dt>Language-specific definition:</dt> 14835<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2762">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2446">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7443">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6593">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L10559">Fortran</a> 14836</p></dd> 14837</dl> 14838 14839</dd> 14840<dt><code>gmsh/model/occ/addBSplineSurface</code> 14841<span id="index-gmsh_002fmodel_002focc_002faddBSplineSurface"></span> 14842</dt> 14843<dd><p>Add a b-spline surface of degree <code>degreeU</code> x <code>degreeV</code> in the OpenCASCADE CAD representation, with <code>pointTags</code>
14843 control points given as a single vector [Pu1v1, ... Pu<code>numPointsU</code>v1, Pu1v2, ...]. If <code>weights</code>, <code>knotsU</code>, <code>knotsV</code>, <code>multiplicitiesU</code> or <code>multiplicitiesV</code> are not provided, default parameters are computed automatically. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. If <code>wireTags</code> is provided, trim the b-spline patch using the provided wires: the first wire defines the external contour, the others define holes. If <code>wire3D</code> is set, consider wire curves as 3D curves and project them on the b-spline surface; otherwise consider the wire curves as defined in the parametric space of the surface. Return the tag of the b-spline surface. 14844</p> 14845<dl compact="compact"> 14846<dt>Input:</dt> 14847<dd><p><code>pointTags</code> (vector of integers), <code>numPointsU</code> (integer), <code>tag = -1</code> (integer), <code>degreeU = 3</code> (integer), <code>degreeV = 3</code> (integer), <code>weights = []</code> (vector of doubles), <code>knotsU = []</code> (vector of doubles), <code>knotsV = []</code> (vector of doubles), <code>multiplicitiesU = []</code> (vector of integers), <code>multiplicitiesV = []</code> (vector of integers), <code>wireTags = []</code> (vector of integers), <code>wire3D = False</code> (boolean) 14848</p></dd> 14849<dt>Output:</dt> 14850<dd><p>- 14851</p></dd> 14852<dt>Return:</dt> 14853<dd><p>integer 14854</p></dd> 14855<dt>Language-specific definition:</dt> 14856<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2779">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2462">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7474">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6634">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L10599">Fortran</a> 14857</p></dd> 14858<dt>Examples:</dt> 14859<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/bspline_bezier_patches.py#L55">bspline_bezier_patches.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/bspline_bezier_trimmed.py#L41">bspline_bezier_trimmed.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_bspline.py#L20">terrain_bspline.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/torus_bspline.py#L353">torus_bspline.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_bspline.jl#L19">terrain_bspline.jl</a>) 14860</p></dd> 14861</dl> 14862 14863</dd> 14864<dt><code>gmsh/model/occ/addBezierSurface</code> 14865<span id="index-gmsh_002fmodel_002focc_002faddBezierSurface"></span> 14866</dt> 14867<dd><p>Add a Bezier surface in the OpenCASCADE CAD representation, with <code>pointTags</code>
14867 control points given as a single vector [Pu1v1, ... Pu<code>numPointsU</code>v1, Pu1v2, ...]. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. If <code>wireTags</code> is provided, trim the Bezier patch using the provided wires: the first wire defines the external contour, the others define holes. If <code>wire3D</code> is set, consider wire curves as 3D curves and project them on the Bezier surface; otherwise consider the wire curves as defined in the parametric space of the surface. Return the tag of the Bezier surface. 14868</p> 14869<dl compact="compact"> 14870<dt>Input:</dt> 14871<dd><p><code>pointTags</code> (vector of integers), <code>numPointsU</code> (integer), <code>tag = -1</code> (integer), <code>wireTags = []</code> (vector of integers), <code>wire3D = False</code> (boolean) 14872</p></dd> 14873<dt>Output:</dt> 14874<dd><p>- 14875</p></dd> 14876<dt>Return:</dt> 14877<dd><p>integer 14878</p></dd> 14879<dt>Language-specific definition:</dt> 14880<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2803">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2485">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7534">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6665">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L10703">Fortran</a> 14881</p></dd> 14882<dt>Examples:</dt> 14883<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/bspline_bezier_patches.py#L52">bspline_bezier_patches.py</a>) 14884</p></dd> 14885</dl> 14886 14887</dd> 14888<dt><code>gmsh/model/occ/addTrimmedSurface</code> 14889<span id="index-gmsh_002fmodel_002focc_002faddTrimmedSurface"></span> 14890</dt> 14891<dd><p>Trim the surface <code>surfaceTag</code> with the wires <code>wireTags</code>, replacing any existing trimming curves. The first wire defines the external contour, the others define holes. If <code>wire3D</code> is set, consider wire curves as 3D curves and project them on the surface; otherwise consider the wire curves as defined in the parametric space of the surface. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the trimmed surface. 14892</p> 14893<dl compact="compact"> 14894<dt>Input:</dt> 14895<dd><p><code>surfaceTag</code> (integer), <code>wireTags = []</code> (vector of integers), <code>wire3D = False</code> (boolean), <code>tag = -1</code> (integer) 14896</p></dd> 14897<dt>Output:</dt> 14898<dd><p>- 14899</p></dd> 14900<dt>Return:</dt> 14901<dd><p>integer 14902</p></dd> 14903<dt>Language-specific definition:</dt> 14904<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2818">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2499">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7573">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6693">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L10755">Fortran</a> 14905</p></dd> 14906<dt>Examples:</dt> 14907<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/trimmed.py#L24">trimmed.py</a>) 14908</p></dd> 14909</dl> 14910 14911</dd> 14912<dt><code>gmsh/model/occ/addSurfaceLoop</code> 14913<span id="index-gmsh_002fmodel_002focc_002faddSurfaceLoop"></span> 14914</dt> 14915<dd><p>Add a surface loop (a closed shell) in the OpenCASCADE CAD representation, formed by <code>surfaceTags</code>. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the surface loop. Setting <code>sewing</code> allows one to build a shell made of surfaces that share geometrically identical (but topologically different) curves. 14916</p> 14917<dl compact="compact"> 14918<dt>Input:</dt> 14919<dd><p><code>surfaceTags</code> (vector of integers), <code>tag = -1</code> (integer), <code>sewing = False</code> (boolean) 14920</p></dd> 14921<dt>Output:</dt> 14922<dd><p>- 14923</p></dd> 14924<dt>Return:</dt> 14925<dd><p>integer 14926</p></dd> 14927<dt>Language-specific definition:</dt> 14928<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2831">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2510">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7607">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6719">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L10797">Fortran</a> 14929</p></dd> 14930<dt>Examples:</dt> 14931<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/stl_to_brep.py#L59">stl_to_brep.py</a>) 14932</p></dd> 14933</dl> 14934 14935</dd> 14936<dt><code>gmsh/model/occ/addVolume</code> 14937<span id="index-gmsh_002fmodel_002focc_002faddVolume"></span> 14938</dt> 14939<dd><p>Add a volume (a region) in the OpenCASCADE CAD representation, defined by one or more surface loops <code>shellTags</code>. The first surface loop defines the exterior boundary; additional surface loop define holes. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the volume. 14940</p> 14941<dl compact="compact"> 14942<dt>Input:</dt> 14943<dd><p><code>shellTags</code> (vector of integers), <code>tag = -1</code> (integer) 14944</p></dd> 14945<dt>Output:</dt> 14946<dd><p>- 14947</p></dd> 14948<dt>Return:</dt> 14949<dd><p>integer 14950</p></dd> 14951<dt>Language-specific definition:</dt> 14952<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2842">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2520">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7637">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6744">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L10834">Fortran</a> 14953</p></dd> 14954<dt>Examples:</dt> 14955<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/stl_to_brep.py#L60">stl_to_brep.py</a>) 14956</p></dd> 14957</dl> 14958 14959</dd> 14960<dt><code>gmsh/model/occ/addSphere</code> 14961<span id="index-gmsh_002fmodel_002focc_002faddSphere"></span> 14962</dt> 14963<dd><p>Add a sphere of center (<code>xc</code>, <code>yc</code>, <code>zc</code>) and radius <code>r</code> in the OpenCASCADE CAD representation. The optional <code>angle1</code> and <code>angle2</code> arguments define the polar angle opening (from -Pi/2 to Pi/2). The optional <code>angle3</code> argument defines the azimuthal opening (from 0 to 2*Pi). If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the sphere. 14964</p> 14965<dl compact="compact"> 14966<dt>Input:</dt> 14967<dd><p><code>xc</code>
14967 (double), <code>yc</code> (double), <code>zc</code> (double), <code>radius</code> (double), <code>tag = -1</code> (integer), <code>angle1 = -pi/2</code> (double), <code>angle2 = pi/2</code> (double), <code>angle3 = 2*pi</code> (double) 14968</p></dd> 14969<dt>Output:</dt> 14970<dd><p>- 14971</p></dd> 14972<dt>Return:</dt> 14973<dd><p>integer 14974</p></dd> 14975<dt>Language-specific definition:</dt> 14976<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2853">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2530">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7665">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6776">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L10867">Fortran</a> 14977</p></dd> 14978<dt>Examples:</dt> 14979<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t16.cpp#L53">t16.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t18.cpp#L61">t18.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x5.cpp#L23">x5.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t16.py#L47">t16.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t18.py#L59">t18.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x5.py#L20">x5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/boolean.py#L21">boolean.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/extend_field.py#L6">extend_field.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t16.jl#L43">t16.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t18.jl#L56">t18.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x5.jl#L18">x5.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/gui.jl#L22">gui.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/julia_exception.jl#L3">julia_exception.jl</a>, ...), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t16.f90#L69">t16.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t18.f90#L71">t18.f90</a>) 14980</p></dd> 14981</dl> 14982 14983</dd> 14984<dt><code>gmsh/model/occ/addBox</code> 14985<span id="index-gmsh_002fmodel_002focc_002faddBox"></span> 14986</dt> 14987<dd><p>Add a parallelepipedic box in the OpenCASCADE CAD representation, defined by a point (<code>x</code>, <code>y</code>, <code>z</code>) and the extents along the x-, y- and z-axes. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the box. 14988</p> 14989<dl compact="compact"> 14990<dt>Input:</dt> 14991<dd><p><code>x</code> (double), <code>y</code> (double), <code>z</code>
14991 (double), <code>dx</code> (double), <code>dy</code> (double), <code>dz</code> (double), <code>tag = -1</code> (integer) 14992</p></dd> 14993<dt>Output:</dt> 14994<dd><p>- 14995</p></dd> 14996<dt>Return:</dt> 14997<dd><p>integer 14998</p></dd> 14999<dt>Language-specific definition:</dt> 15000<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2868">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2544">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7705">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6805">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L10925">Fortran</a> 15001</p></dd> 15002<dt>Examples:</dt> 15003<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t16.cpp#L31">t16.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t18.cpp#L27">t18.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x4.cpp#L58">x4.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x5.cpp#L24">x5.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x7.cpp#L24">x7.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t16.py#L28">t16.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t18.py#L26">t18.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x4.py#L56">x4.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x5.py#L21">x5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x7.py#L21">x7.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t16.jl#L26">t16.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t18.jl#L23">t18.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x4.jl#L57">x4.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x5.jl#L19">x5.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x7.jl#L20">x7.jl</a>, ...), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t16.f90#L40">t16.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t18.f90#L36">t18.f90</a>) 15004</p></dd> 15005</dl> 15006 15007</dd> 15008<dt><code>gmsh/model/occ/addCylinder</code> 15009<span id="index-gmsh_002fmodel_002focc_002faddCylinder"></span> 15010</dt> 15011<dd><p>Add a cylinder in the OpenCASCADE CAD representation, defined by the center (<code>x</code>, <code>y</code>, <code>z</code>) of its first circular face, the 3 components (<code>dx</code>, <code>dy</code>, <code>dz</code>) of the vector defining its axis and its radius <code>r</code>. The optional <code>angle</code> argument defines the angular opening (from 0 to 2*Pi). If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. Return the tag of the cylinder. 15012</p> 15013<dl compact="compact"> 15014<dt>Input:</dt> 15015<dd><p><code>x</code> (double), <code>y</code> (double), <code>z</code>
15015 (double), <code>dx</code> (double), <code>dy</code> (double), <code>dz</code> (double), <code>r</code> (double), <code>tag = -1</code> (integer), <code>angle = 2*pi</code> (double) 15016</p></dd> 15017<dt>Output:</dt> 15018<dd><p>- 15019</p></dd> 15020<dt>Return:</dt> 15021<dd><p>integer 15022</p></dd> 15023<dt>Language-specific definition:</dt> 15024<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2884">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2559">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7741">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6838">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L10980">Fortran</a> 15025</p></dd> 15026<dt>Examples:</dt> 15027<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/boolean.py#L23">boolean.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/cylinderFFD.py#L32">cylinderFFD.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/gui.py#L24">gui.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/tube_boundary_layer.py#L14">tube_boundary_layer.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/gui.jl#L24">gui.jl</a>) 15028</p></dd> 15029</dl> 15030 15031</dd> 15032<dt><code>gmsh/model/occ/addCone</code> 15033<span id="index-gmsh_002fmodel_002focc_002faddCone"></span> 15034</dt> 15035<dd><p>Add a cone in the OpenCASCADE CAD representation, defined by the center (<code>x</code>, <code>y</code>, <code>z</code>) of its first circular face, the 3 components of the vector (<code>dx</code>, <code>dy</code>, <code>dz</code>) defining its axis and the two radii <code>r1</code> and <code>r2</code> of the faces (these radii can be zero). If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. <code>angle</code> defines the optional angular opening (from 0 to 2*Pi). Return the tag of the cone. 15036</p> 15037<dl compact="compact"> 15038<dt>Input:</dt> 15039<dd><p><code>x</code> (double), <code>y</code> (double), <code>z</code>
15039 (double), <code>dx</code> (double), <code>dy</code> (double), <code>dz</code> (double), <code>r1</code> (double), <code>r2</code> (double), <code>tag = -1</code> (integer), <code>angle = 2*pi</code> (double) 15040</p></dd> 15041<dt>Output:</dt> 15042<dd><p>- 15043</p></dd> 15044<dt>Return:</dt> 15045<dd><p>integer 15046</p></dd> 15047<dt>Language-specific definition:</dt> 15048<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2902">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2576">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7783">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6872">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L11045">Fortran</a> 15049</p></dd> 15050<dt>Examples:</dt> 15051<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x1.cpp#L31">x1.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x1.py#L27">x1.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x1.jl#L26">x1.jl</a>) 15052</p></dd> 15053</dl> 15054 15055</dd> 15056<dt><code>gmsh/model/occ/addWedge</code> 15057<span id="index-gmsh_002fmodel_002focc_002faddWedge"></span> 15058</dt> 15059<dd><p>Add a right angular wedge in the OpenCASCADE CAD representation, defined by the right-angle point (<code>x</code>, <code>y</code>, <code>z</code>) and the 3 extends along the x-, y- and z-axes (<code>dx</code>, <code>dy</code>, <code>dz</code>). If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. The optional argument <code>ltx</code> defines the top extent along the x-axis. If a vector <code>zAxis</code> of size 3 is provided, use it to define the z-axis. Return the tag of the wedge. 15060</p> 15061<dl compact="compact"> 15062<dt>Input:</dt> 15063<dd><p><code>x</code> (double), <code>y</code> (double), <code>z</code>
15063 (double), <code>dx</code> (double), <code>dy</code> (double), <code>dz</code> (double), <code>tag = -1</code> (integer), <code>ltx = 0.</code> (double), <code>zAxis = []</code> (vector of doubles) 15064</p></dd> 15065<dt>Output:</dt> 15066<dd><p>- 15067</p></dd> 15068<dt>Return:</dt> 15069<dd><p>integer 15070</p></dd> 15071<dt>Language-specific definition:</dt> 15072<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2922">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2595">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7827">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6905">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L11116">Fortran</a> 15073</p></dd> 15074<dt>Examples:</dt> 15075<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/prim_axis.py#L21">prim_axis.py</a>) 15076</p></dd> 15077</dl> 15078 15079</dd> 15080<dt><code>gmsh/model/occ/addTorus</code> 15081<span id="index-gmsh_002fmodel_002focc_002faddTorus"></span> 15082</dt> 15083<dd><p>Add a torus in the OpenCASCADE CAD representation, defined by its center (<code>x</code>, <code>y</code>, <code>z</code>) and its 2 radii <code>r</code> and <code>r2</code>. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. The optional argument <code>angle</code> defines the angular opening (from 0 to 2*Pi). If a vector <code>zAxis</code> of size 3 is provided, use it to define the z-axis. Return the tag of the torus. 15084</p> 15085<dl compact="compact"> 15086<dt>Input:</dt> 15087<dd><p><code>x</code> (double), <code>y</code> (double), <code>z</code>
15087 (double), <code>r1</code> (double), <code>r2</code> (double), <code>tag = -1</code> (integer), <code>angle = 2*pi</code> (double), <code>zAxis = []</code> (vector of doubles) 15088</p></dd> 15089<dt>Output:</dt> 15090<dd><p>- 15091</p></dd> 15092<dt>Return:</dt> 15093<dd><p>integer 15094</p></dd> 15095<dt>Language-specific definition:</dt> 15096<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2940">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2612">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7871">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6936">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L11184">Fortran</a> 15097</p></dd> 15098<dt>Examples:</dt> 15099<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/prim_axis.py#L18">prim_axis.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/step_header_data.py#L10">step_header_data.py</a>) 15100</p></dd> 15101</dl> 15102 15103</dd> 15104<dt><code>gmsh/model/occ/addThruSections</code> 15105<span id="index-gmsh_002fmodel_002focc_002faddThruSections"></span> 15106</dt> 15107<dd><p>Add a volume (if the optional argument <code>makeSolid</code> is set) or surfaces in the OpenCASCADE CAD representation, defined through the open or closed wires <code>wireTags</code>. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. The new entities are returned in <code>outDimTags</code> as a vector of (dim, tag) pairs. If the optional argument <code>makeRuled</code> is set, the surfaces created on the boundary are forced to be ruled surfaces. If <code>maxDegree</code> is positive, set the maximal degree of resulting surface. The optional argument <code>continuity</code> allows to specify the continuity of the resulting shape ("C0", "G1", "C1", "G2", "C2", "C3", "CN"). The optional argument <code>parametrization</code> sets the parametrization type ("ChordLength", "Centripetal", "IsoParametric"). The optional argument <code>smoothing</code> determines if smoothing is applied. 15108</p> 15109<dl compact="compact"> 15110<dt>Input:</dt> 15111<dd><p><code>wireTags</code> (vector of integers), <code>tag = -1</code> (integer), <code>makeSolid = True</code> (boolean), <code>makeRuled = False</code> (boolean), <code>maxDegree = -1</code> (integer), <code>continuity = ""</code> (string), <code>parametrization = ""</code> (string), <code>smoothing = False</code> (boolean) 15112</p></dd> 15113<dt>Output:</dt> 15114<dd><p><code>outDimTags</code> (vector of pairs of integers) 15115</p></dd> 15116<dt>Return:</dt> 15117<dd><p>- 15118</p></dd> 15119<dt>Language-specific definition:</dt> 15120<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2963">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2634">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7912">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L6974">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L11253">Fortran</a> 15121</p></dd> 15122<dt>Examples:</dt> 15123<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t19.cpp#L32">t19.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t19.py#L29">t19.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t19.jl#L26">t19.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t19.f90#L38">t19.f90</a>) 15124</p></dd> 15125</dl> 15126 15127</dd> 15128<dt><code>gmsh/model/occ/addThickSolid</code> 15129<span id="index-gmsh_002fmodel_002focc_002faddThickSolid"></span> 15130</dt> 15131<dd><p>Add a hollowed volume in the OpenCASCADE CAD representation, built from an initial volume <code>volumeTag</code> and a set of faces from this volume <code>excludeSurfaceTags</code>, which are to be removed. The remaining faces of the volume become the walls of the hollowed solid, with thickness <code>offset</code>. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. 15132</p> 15133<dl compact="compact"> 15134<dt>Input:</dt> 15135<dd><p><code>volumeTag</code> (integer), <code>excludeSurfaceTags</code> (vector of integers), <code>offset</code>
15135 (double), <code>tag = -1</code> (integer) 15136</p></dd> 15137<dt>Output:</dt> 15138<dd><p><code>outDimTags</code> (vector of pairs of integers) 15139</p></dd> 15140<dt>Return:</dt> 15141<dd><p>- 15142</p></dd> 15143<dt>Language-specific definition:</dt> 15144<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2981">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2651">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7962">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7006">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L11326">Fortran</a> 15145</p></dd> 15146</dl> 15147 15148</dd> 15149<dt><code>gmsh/model/occ/extrude</code> 15150<span id="index-gmsh_002fmodel_002focc_002fextrude"></span> 15151</dt> 15152<dd><p>Extrude the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) in the OpenCASCADE CAD representation, using a translation along (<code>dx</code>, <code>dy</code>, <code>dz</code>). Return extruded entities in <code>outDimTags</code>. If the <code>numElements</code> vector is not empty, also extrude the mesh: the entries in <code>numElements</code> give the number of elements in each layer. If the <code>height</code> vector is not empty, it provides the (cumulative) height of the different layers, normalized to 1. If <code>recombine</code> is set, recombine the mesh in the layers. 15153</p> 15154<dl compact="compact"> 15155<dt>Input:</dt> 15156<dd><p><code>dimTags</code> (vector of pairs of integers), <code>dx</code> (double), <code>dy</code> (double), <code>dz</code> (double), <code>numElements = []</code> (vector of integers), <code>heights = []</code> (vector of doubles), <code>recombine = False</code> (boolean) 15157</p></dd> 15158<dt>Output:</dt> 15159<dd><p><code>outDimTags</code> (vector of pairs of integers) 15160</p></dd> 15161<dt>Return:</dt> 15162<dd><p>- 15163</p></dd> 15164<dt>Language-specific definition:</dt> 15165<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L2996">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2665">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L7998">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7043">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L11380">Fortran</a> 15166</p></dd> 15167<dt>Examples:</dt> 15168<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_3d.py#L63">naca_boundary_layer_3d.py</a>) 15169</p></dd> 15170</dl> 15171 15172</dd> 15173<dt><code>gmsh/model/occ/revolve</code> 15174<span id="index-gmsh_002fmodel_002focc_002frevolve"></span> 15175</dt> 15176<dd><p>Extrude the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) in the OpenCASCADE CAD representation, using a rotation of <code>angle</code> radians around the axis of revolution defined by the point (<code>x</code>, <code>y</code>, <code>z</code>) and the direction (<code>ax</code>, <code>ay</code>, <code>az</code>). Return extruded entities in <code>outDimTags</code>. If the <code>numElements</code> vector is not empty, also extrude the mesh: the entries in <code>numElements</code> give the number of elements in each layer. If the <code>height</code> vector is not empty, it provides the (cumulative) height of the different layers, normalized to 1. When the mesh is extruded the angle should be strictly smaller than 2*Pi. If <code>recombine</code> is set, recombine the mesh in the layers. 15177</p> 15178<dl compact="compact"> 15179<dt>Input:</dt> 15180<dd><p><code>dimTags</code> (vector of pairs of integers), <code>x</code> (double), <code>y</code> (double), <code>z</code>
15180 (double), <code>ax</code> (double), <code>ay</code> (double), <code>az</code> (double), <code>angle</code> (double), <code>numElements = []</code> (vector of integers), <code>heights = []</code> (vector of doubles), <code>recombine = False</code> (boolean) 15181</p></dd> 15182<dt>Output:</dt> 15183<dd><p><code>outDimTags</code> (vector of pairs of integers) 15184</p></dd> 15185<dt>Return:</dt> 15186<dd><p>- 15187</p></dd> 15188<dt>Language-specific definition:</dt> 15189<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3017">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2685">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8042">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7087">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L11458">Fortran</a> 15190</p></dd> 15191<dt>Examples:</dt> 15192<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_3d.py#L84">naca_boundary_layer_3d.py</a>) 15193</p></dd> 15194</dl> 15195 15196</dd> 15197<dt><code>gmsh/model/occ/addPipe</code> 15198<span id="index-gmsh_002fmodel_002focc_002faddPipe"></span> 15199</dt> 15200<dd><p>Add a pipe in the OpenCASCADE CAD representation, by extruding the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) along the wire <code>wireTag</code>. The type of sweep can be specified with <code>trihedron</code> (possible values: "DiscreteTrihedron", "CorrectedFrenet", "Fixed", "Frenet", "ConstantNormal", "Darboux", "GuideAC", "GuidePlan", "GuideACWithContact", "GuidePlanWithContact"). If <code>trihedron</code> is not provided, "DiscreteTrihedron" is assumed. Return the pipe in <code>outDimTags</code>. 15201</p> 15202<dl compact="compact"> 15203<dt>Input:</dt> 15204<dd><p><code>dimTags</code> (vector of pairs of integers), <code>wireTag</code> (integer), <code>trihedron = ""</code> (string) 15205</p></dd> 15206<dt>Output:</dt> 15207<dd><p><code>outDimTags</code> (vector of pairs of integers) 15208</p></dd> 15209<dt>Return:</dt> 15210<dd><p>- 15211</p></dd> 15212<dt>Language-specific definition:</dt> 15213<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3039">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2706">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8097">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7121">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L11553">Fortran</a> 15214</p></dd> 15215<dt>Examples:</dt> 15216<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t19.cpp#L82">t19.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t19.py#L73">t19.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/pipe.py#L29">pipe.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t19.jl#L71">
15216t19.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t19.f90#L84">t19.f90</a>) 15217</p></dd> 15218</dl> 15219 15220</dd> 15221<dt><code>gmsh/model/occ/fillet</code> 15222<span id="index-gmsh_002fmodel_002focc_002ffillet"></span> 15223</dt> 15224<dd><p>Fillet the volumes <code>volumeTags</code> on the curves <code>curveTags</code> with radii <code>radii</code>. The <code>radii</code> vector can either contain a single radius, as many radii as <code>curveTags</code>, or twice as many as <code>curveTags</code> (in which case different radii are provided for the begin and end points of the curves). Return the filleted entities in <code>outDimTags</code> as a vector of (dim, tag) pairs. Remove the original volume if <code>removeVolume</code> is set. 15225</p> 15226<dl compact="compact"> 15227<dt>Input:</dt> 15228<dd><p><code>volumeTags</code> (vector of integers), <code>curveTags</code> (vector of integers), <code>radii</code> (vector of doubles), <code>removeVolume = True</code> (boolean) 15229</p></dd> 15230<dt>Output:</dt> 15231<dd><p><code>outDimTags</code> (vector of pairs of integers) 15232</p></dd> 15233<dt>Return:</dt> 15234<dd><p>- 15235</p></dd> 15236<dt>Language-specific definition:</dt> 15237<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3052">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2718">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8132">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7156">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L11601">Fortran</a> 15238</p></dd> 15239<dt>Examples:</dt> 15240<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t19.cpp#L55">t19.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t19.py#L47">t19.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t19.jl#L44">t19.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t19.f90#L59">t19.f90</a>) 15241</p></dd> 15242</dl> 15243 15244</dd> 15245<dt><code>gmsh/model/occ/chamfer</code> 15246<span id="index-gmsh_002fmodel_002focc_002fchamfer"></span> 15247</dt> 15248<dd><p>Chamfer the volumes <code>volumeTags</code> on the curves <code>curveTags</code> with distances <code>distances</code> measured on surfaces <code>surfaceTags</code>. The <code>distances</code> vector can either contain a single distance, as many distances as <code>curveTags</code> and <code>surfaceTags</code>, or twice as many as <code>curveTags</code> and <code>surfaceTags</code> (in which case the first in each pair is measured on the corresponding surface in <code>surfaceTags</code>, the other on the other adjacent surface). Return the chamfered entities in <code>outDimTags</code>. Remove the original volume if <code>removeVolume</code> is set. 15249</p> 15250<dl compact="compact"> 15251<dt>Input:</dt> 15252<dd><p><code>volumeTags</code> (vector of integers), <code>curveTags</code> (vector of integers), <code>surfaceTags</code> (vector of integers), <code>distances</code> (vector of doubles), <code>removeVolume = True</code> (boolean) 15253</p></dd> 15254<dt>Output:</dt> 15255<dd><p><code>outDimTags</code> (vector of pairs of integers) 15256</p></dd> 15257<dt>Return:</dt> 15258<dd><p>- 15259</p></dd> 15260<dt>Language-specific definition:</dt> 15261<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3068">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2733">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8169">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7190">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L11662">Fortran</a> 15262</p></dd> 15263</dl> 15264 15265</dd> 15266<dt><code>gmsh/model/occ/defeature</code> 15267<span id="index-gmsh_002fmodel_002focc_002fdefeature"></span> 15268</dt> 15269<dd><p>Defeature the volumes <code>volumeTags</code> by removing the surfaces <code>surfaceTags</code>. Return the defeatured entities in <code>outDimTags</code>. Remove the original volume if <code>removeVolume</code> is set. 15270</p> 15271<dl compact="compact"> 15272<dt>Input:</dt> 15273<dd><p><code>volumeTags</code> (vector of integers), <code>surfaceTags</code> (vector of integers), <code>removeVolume = True</code> (boolean) 15274</p></dd> 15275<dt>Output:</dt> 15276<dd><p><code>outDimTags</code> (vector of pairs of integers) 15277</p></dd> 15278<dt>Return:</dt> 15279<dd><p>- 15280</p></dd> 15281<dt>Language-specific definition:</dt> 15282<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3080">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2744">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8211">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7218">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L11726">Fortran</a> 15283</p></dd> 15284</dl> 15285 15286</dd> 15287<dt><code>gmsh/model/occ/fillet2D</code> 15288<span id="index-gmsh_002fmodel_002focc_002ffillet2D"></span> 15289</dt> 15290<dd><p>Create a fillet edge between edges <code>edgeTag1</code> and <code>edgeTag2</code> with radius <code>radius</code>. The modifed edges keep their tag. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. If <code>pointTag</code> is positive, set the point on the edge at which the fillet is created. If <code>reverse</code> is set, the normal of the plane through the two planes is reversed before the fillet is created. 15291</p> 15292<dl compact="compact"> 15293<dt>Input:</dt> 15294<dd><p><code>edgeTag1</code> (integer), <code>edgeTag2</code> (integer), <code>radius</code>
15294 (double), <code>tag = -1</code> (integer), <code>pointTag = -1</code> (integer), <code>reverse = False</code> (boolean) 15295</p></dd> 15296<dt>Output:</dt> 15297<dd><p>- 15298</p></dd> 15299<dt>Return:</dt> 15300<dd><p>integer 15301</p></dd> 15302<dt>Language-specific definition:</dt> 15303<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3093">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2756">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8242">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7251">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L11777">Fortran</a> 15304</p></dd> 15305</dl> 15306 15307</dd> 15308<dt><code>gmsh/model/occ/chamfer2D</code> 15309<span id="index-gmsh_002fmodel_002focc_002fchamfer2D"></span> 15310</dt> 15311<dd><p>Create a chamfer edge between edges <code>edgeTag1</code> and <code>edgeTag2</code> with distance1 <code>distance1</code> and distance2 <code>distance2</code>. The modifed edges keep their tag. If <code>tag</code> is positive, set the tag explicitly; otherwise a new tag is selected automatically. 15312</p> 15313<dl compact="compact"> 15314<dt>Input:</dt> 15315<dd><p><code>edgeTag1</code> (integer), <code>edgeTag2</code> (integer), <code>distance1</code> (double), <code>distance2</code> (double), <code>tag = -1</code> (integer) 15316</p></dd> 15317<dt>Output:</dt> 15318<dd><p>- 15319</p></dd> 15320<dt>Return:</dt> 15321<dd><p>integer 15322</p></dd> 15323<dt>Language-specific definition:</dt> 15324<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3106">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2768">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8278">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7278">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L11825">Fortran</a> 15325</p></dd> 15326</dl> 15327 15328</dd> 15329<dt><code>gmsh/model/occ/offsetCurve</code> 15330<span id="index-gmsh_002fmodel_002focc_002foffsetCurve"></span> 15331</dt> 15332<dd><p>Create an offset curve based on the curve loop <code>curveLoopTag</code> with offset <code>offset</code>. Return the offset curves in <code>outDimTags</code> as a vector of (dim, tag) pairs. 15333</p> 15334<dl compact="compact"> 15335<dt>Input:</dt> 15336<dd><p><code>curveLoopTag</code> (integer), <code>offset</code> (double) 15337</p></dd> 15338<dt>Output:</dt> 15339<dd><p><code>outDimTags</code> (vector of pairs of integers) 15340</p></dd> 15341<dt>Return:</dt> 15342<dd><p>- 15343</p></dd> 15344<dt>Language-specific definition:</dt> 15345<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3117">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2778">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8310">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7302">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L11867">Fortran</a> 15346</p></dd> 15347</dl> 15348 15349</dd> 15350<dt><code>gmsh/model/occ/getDistance</code> 15351<span id="index-gmsh_002fmodel_002focc_002fgetDistance"></span> 15352</dt> 15353<dd><p>Find the minimal distance between shape with <code>dim1</code> and <code>tag1</code> and shape with <code>dim2</code> and <code>tag2</code> and the according coordinates. Return the distance in <code>distance</code> and the coordinates of the points as <code>x1</code>, <code>y1</code>, <code>z1</code> and <code>x2</code>, <code>y2</code>, <code>z2</code>. A negative <code>distance</code> indicates failure. 15354</p> 15355<dl compact="compact"> 15356<dt>Input:</dt> 15357<dd><p><code>dim1</code> (integer), <code>tag1</code> (integer), <code>dim2</code> (integer), <code>tag2</code> (integer) 15358</p></dd> 15359<dt>Output:</dt> 15360<dd><p><code>distance</code> (double), <code>x1</code> (double), <code>y1</code> (double), <code>z1</code> (double), <code>x2</code> (double), <code>y2</code>
15360 (double), <code>z2</code> (double) 15361</p></dd> 15362<dt>Return:</dt> 15363<dd><p>- 15364</p></dd> 15365<dt>Language-specific definition:</dt> 15366<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3127">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2787">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8338">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7339">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L11905">Fortran</a> 15367</p></dd> 15368</dl> 15369 15370</dd> 15371<dt><code>gmsh/model/occ/getClosestEntities</code> 15372<span id="index-gmsh_002fmodel_002focc_002fgetClosestEntities"></span> 15373</dt> 15374<dd><p>Find the <code>n</code> closest entities to point (<code>x</code>, <code>y</code>, <code>z</code>) amongst the entities <code>dimTags</code>. Return the entities in <code>outDimTags</code> sorted by increasing distance, the corresponding distances in <code>distances</code>, and the correspdonding closest x, y, z coordinates, concatenated, in <code>coord</code>. 15375</p> 15376<dl compact="compact"> 15377<dt>Input:</dt> 15378<dd><p><code>x</code> (double), <code>y</code> (double), <code>z</code>
15378 (double), <code>dimTags</code> (vector of pairs of integers), <code>n = 1</code> (integer) 15379</p></dd> 15380<dt>Output:</dt> 15381<dd><p><code>outDimTags</code> (vector of pairs of integers), <code>distances</code> (vector of doubles), <code>coord</code> (vector of doubles) 15382</p></dd> 15383<dt>Return:</dt> 15384<dd><p>- 15385</p></dd> 15386<dt>Language-specific definition:</dt> 15387<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3145">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2804">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8396">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7376">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L11976">Fortran</a> 15388</p></dd> 15389<dt>Examples:</dt> 15390<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t16.cpp#L116">t16.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t16.py#L97">t16.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t16.jl#L98">t16.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t16.f90#L123">t16.f90</a>) 15391</p></dd> 15392</dl> 15393 15394</dd> 15395<dt><code>gmsh/model/occ/fuse</code> 15396<span id="index-gmsh_002fmodel_002focc_002ffuse"></span> 15397</dt> 15398<dd><p>Compute the boolean union (the fusion) of the entities <code>objectDimTags</code> and <code>toolDimTags</code> (vectors of (dim, tag) pairs) in the OpenCASCADE CAD representation. Return the resulting entities in <code>outDimTags</code>, and the correspondance between input and resulting entities in <code>outDimTagsMap</code>. If <code>tag</code> is positive, try to set the tag explicitly (only valid if the boolean operation results in a single entity). Remove the object if <code>removeObject</code> is set. Remove the tool if <code>removeTool</code> is set. 15399</p> 15400<dl compact="compact"> 15401<dt>Input:</dt> 15402<dd><p><code>objectDimTags</code> (vector of pairs of integers), <code>toolDimTags</code> (vector of pairs of integers), <code>tag = -1</code> (integer), <code>removeObject = True</code> (boolean), <code>removeTool = True</code> (boolean) 15403</p></dd> 15404<dt>Output:</dt> 15405<dd><p><code>outDimTags</code> (vector of pairs of integers), <code>outDimTagsMap</code> (vector of vectors of pairs of integers) 15406</p></dd> 15407<dt>Return:</dt> 15408<dd><p>- 15409</p></dd> 15410<dt>Language-specific definition:</dt> 15411<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3163">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2821">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8441">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7420">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L12059">Fortran</a> 15412</p></dd> 15413<dt>Examples:</dt> 15414<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x5.cpp#L27">x5.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x5.py#L22">x5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/boolean.py#L26">boolean.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/gui.py#L27">gui.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/tube_boundary_layer.py#L16">tube_boundary_layer.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x5.jl#L20">x5.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/gui.jl#L27">gui.jl</a>) 15415</p></dd> 15416</dl> 15417 15418</dd> 15419<dt><code>gmsh/model/occ/intersect</code> 15420<span id="index-gmsh_002fmodel_002focc_002fintersect"></span> 15421</dt> 15422<dd><p>Compute the boolean intersection (the common parts) of the entities <code>objectDimTags</code> and <code>toolDimTags</code> (vectors of (dim, tag) pairs) in the OpenCASCADE CAD representation. Return the resulting entities in <code>outDimTags</code>, and the correspondance between input and resulting entities in <code>outDimTagsMap</code>. If <code>tag</code> is positive, try to set the tag explicitly (only valid if the boolean operation results in a single entity). Remove the object if <code>removeObject</code> is set. Remove the tool if <code>removeTool</code> is set. 15423</p> 15424<dl compact="compact"> 15425<dt>Input:</dt> 15426<dd><p><code>objectDimTags</code> (vector of pairs of integers), <code>toolDimTags</code> (vector of pairs of integers), <code>tag = -1</code> (integer), <code>removeObject = True</code> (boolean), <code>removeTool = True</code> (boolean) 15427</p></dd> 15428<dt>Output:</dt> 15429<dd><p><code>outDimTags</code> (vector of pairs of integers), <code>outDimTagsMap</code> (vector of vectors of pairs of integers) 15430</p></dd> 15431<dt>Return:</dt> 15432<dd><p>- 15433</p></dd> 15434<dt>Language-specific definition:</dt> 15435<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3181">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2838">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8485">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7470">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L12142">Fortran</a> 15436</p></dd> 15437<dt>Examples:</dt> 15438<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/boolean.py#L22">boolean.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/gui.py#L23">gui.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/gui.jl#L23">gui.jl</a>) 15439</p></dd> 15440</dl> 15441 15442</dd> 15443<dt><code>gmsh/model/occ/cut</code> 15444<span id="index-gmsh_002fmodel_002focc_002fcut"></span> 15445</dt> 15446<dd><p>Compute the boolean difference between the entities <code>objectDimTags</code> and <code>toolDimTags</code> (given as vectors of (dim, tag) pairs) in the OpenCASCADE CAD representation. Return the resulting entities in <code>outDimTags</code>, and the correspondance between input and resulting entities in <code>outDimTagsMap</code>. If <code>tag</code> is positive, try to set the tag explicitly (only valid if the boolean operation results in a single entity). Remove the object if <code>removeObject</code> is set. Remove the tool if <code>removeTool</code> is set. 15447</p> 15448<dl compact="compact"> 15449<dt>Input:</dt> 15450<dd><p><code>objectDimTags</code> (vector of pairs of integers), <code>toolDimTags</code> (vector of pairs of integers), <code>tag = -1</code> (integer), <code>removeObject = True</code> (boolean), <code>removeTool = True</code> (boolean) 15451</p></dd> 15452<dt>Output:</dt> 15453<dd><p><code>outDimTags</code> (vector of pairs of integers), <code>outDimTagsMap</code> (vector of vectors of pairs of integers) 15454</p></dd> 15455<dt>Return:</dt> 15456<dd><p>- 15457</p></dd> 15458<dt>Language-specific definition:</dt> 15459<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3198">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2854">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8530">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7520">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L12224">Fortran</a> 15460</p></dd> 15461<dt>Examples:</dt> 15462<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t16.cpp#L41">t16.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t16.py#L32">t16.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/boolean.py#L27">boolean.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/extend_field.py#L7">extend_field.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/gui.py#L28">gui.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/spherical_surf.py#L13">spherical_surf.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t16.jl#L30">t16.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/gui.jl#L28">gui.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/spherical_surf.jl#L11">
15462spherical_surf.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t16.f90#L44">t16.f90</a>) 15463</p></dd> 15464</dl> 15465 15466</dd> 15467<dt><code>gmsh/model/occ/fragment</code> 15468<span id="index-gmsh_002fmodel_002focc_002ffragment"></span> 15469</dt> 15470<dd><p>Compute the boolean fragments (general fuse) resulting from the intersection of the entities <code>objectDimTags</code> and <code>toolDimTags</code> (given as vectors of (dim, tag) pairs) in the OpenCASCADE CAD representation, making all interfaces conformal. When applied to entities of different dimensions, the lower dimensional entities will be automatically embedded in the higher dimensional entities if they are not on their boundary. Return the resulting entities in <code>outDimTags</code>, and the correspondance between input and resulting entities in <code>outDimTagsMap</code>. If <code>tag</code> is positive, try to set the tag explicitly (only valid if the boolean operation results in a single entity). Remove the object if <code>removeObject</code> is set. Remove the tool if <code>removeTool</code> is set. 15471</p> 15472<dl compact="compact"> 15473<dt>Input:</dt> 15474<dd><p><code>objectDimTags</code> (vector of pairs of integers), <code>toolDimTags</code> (vector of pairs of integers), <code>tag = -1</code> (integer), <code>removeObject = True</code> (boolean), <code>removeTool = True</code> (boolean) 15475</p></dd> 15476<dt>Output:</dt> 15477<dd><p><code>outDimTags</code> (vector of pairs of integers), <code>outDimTagsMap</code> (vector of vectors of pairs of integers) 15478</p></dd> 15479<dt>Return:</dt> 15480<dd><p>- 15481</p></dd> 15482<dt>Language-specific definition:</dt> 15483<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3219">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2874">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8574">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7573">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L12310">Fortran</a> 15484</p></dd> 15485<dt>Examples:</dt> 15486<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t16.cpp#L61">t16.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t18.cpp#L75">t18.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t20.cpp#L85">t20.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t21.cpp#L43">t21.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t16.py#L54">t16.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t18.py#L70">t18.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t20.py#L68">t20.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t21.py#L33">t21.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/bspline_bezier_patches.py#L70">bspline_bezier_patches.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t16.jl#L52">t16.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t18.jl#L67">t18.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t20.jl#L67">t20.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t21.jl#L32">t21.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_bspline.jl#L25">terrain_bspline.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t16.f90#L76">t16.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t18.f90#L83">t18.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t20.f90#L81">t20.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t21.f90#L44">t21.f90</a>) 15487</p></dd> 15488</dl> 15489 15490</dd> 15491<dt><code>gmsh/model/occ/translate</code> 15492<span id="index-gmsh_002fmodel_002focc_002ftranslate"></span> 15493</dt> 15494<dd><p>Translate the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) in the OpenCASCADE CAD representation along (<code>dx</code>, <code>dy</code>, <code>dz</code>). 15495</p> 15496<dl compact="compact"> 15497<dt>Input:</dt> 15498<dd><p><code>dimTags</code> (vector of pairs of integers), <code>dx</code>
15498 (double), <code>dy</code> (double), <code>dz</code> (double) 15499</p></dd> 15500<dt>Output:</dt> 15501<dd><p>- 15502</p></dd> 15503<dt>Return:</dt> 15504<dd><p>- 15505</p></dd> 15506<dt>Language-specific definition:</dt> 15507<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3231">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2885">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8622">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7613">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L12387">Fortran</a> 15508</p></dd> 15509<dt>Examples:</dt> 15510<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t19.cpp#L47">t19.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t20.cpp#L72">t20.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t19.py#L44">t19.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t20.py#L60">t20.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t19.jl#L41">t19.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t20.jl#L58">t20.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t19.f90#L55">t19.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t20.f90#L70">t20.f90</a>) 15511</p></dd> 15512</dl> 15513 15514</dd> 15515<dt><code>gmsh/model/occ/rotate</code> 15516<span id="index-gmsh_002fmodel_002focc_002frotate"></span> 15517</dt> 15518<dd><p>Rotate the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) in the OpenCASCADE CAD representation by <code>angle</code> radians around the axis of revolution defined by the point (<code>x</code>, <code>y</code>, <code>z</code>) and the direction (<code>ax</code>, <code>ay</code>, <code>az</code>). 15519</p> 15520<dl compact="compact"> 15521<dt>Input:</dt> 15522<dd><p><code>dimTags</code> (vector of pairs of integers), <code>x</code> (double), <code>y</code> (double), <code>z</code>
15522 (double), <code>ax</code> (double), <code>ay</code> (double), <code>az</code> (double), <code>angle</code> (double) 15523</p></dd> 15524<dt>Output:</dt> 15525<dd><p>- 15526</p></dd> 15527<dt>Return:</dt> 15528<dd><p>- 15529</p></dd> 15530<dt>Language-specific definition:</dt> 15531<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3242">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2895">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8647">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7641">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L12426">Fortran</a> 15532</p></dd> 15533<dt>Examples:</dt> 15534<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t19.cpp#L78">t19.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t20.cpp#L64">t20.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t19.py#L69">t19.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t20.py#L54">t20.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/fractures.py#L18">fractures.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_2d.py#L71">naca_boundary_layer_2d.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_3d.py#L92">naca_boundary_layer_3d.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t19.jl#L67">t19.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t20.jl#L51">t20.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t19.f90#L80">t19.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t20.f90#L63">t20.f90</a>) 15535</p></dd> 15536</dl> 15537 15538</dd> 15539<dt><code>gmsh/model/occ/dilate</code> 15540<span id="index-gmsh_002fmodel_002focc_002fdilate"></span> 15541</dt> 15542<dd><p>Scale the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) in the OpenCASCADE CAD representation by factors <code>a</code>, <code>b</code> and <code>c</code> along the three coordinate axes; use (<code>x</code>, <code>y</code>, <code>z</code>) as the center of the homothetic transformation. 15543</p> 15544<dl compact="compact"> 15545<dt>Input:</dt> 15546<dd><p><code>dimTags</code> (vector of pairs of integers), <code>x</code> (double), <code>y</code> (double), <code>z</code>
15546 (double), <code>a</code> (double), <code>b</code> (double), <code>c</code> (double) 15547</p></dd> 15548<dt>Output:</dt> 15549<dd><p>- 15550</p></dd> 15551<dt>Return:</dt> 15552<dd><p>- 15553</p></dd> 15554<dt>Language-specific definition:</dt> 15555<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3257">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2909">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8682">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7669">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L12485">Fortran</a> 15556</p></dd> 15557</dl> 15558 15559</dd> 15560<dt><code>gmsh/model/occ/mirror</code> 15561<span id="index-gmsh_002fmodel_002focc_002fmirror"></span> 15562</dt> 15563<dd><p>Mirror the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) in the OpenCASCADE CAD representation, with respect to the plane of equation <code>a</code> * x + <code>b</code> * y + <code>c</code> * z + <code>d</code> = 0. 15564</p> 15565<dl compact="compact"> 15566<dt>Input:</dt> 15567<dd><p><code>dimTags</code> (vector of pairs of integers), <code>a</code> (double), <code>b</code>
15567 (double), <code>c</code> (double), <code>d</code> (double) 15568</p></dd> 15569<dt>Output:</dt> 15570<dd><p>- 15571</p></dd> 15572<dt>Return:</dt> 15573<dd><p>- 15574</p></dd> 15575<dt>Language-specific definition:</dt> 15576<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3270">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2921">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8715">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7694">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L12538">Fortran</a> 15577</p></dd> 15578</dl> 15579 15580</dd> 15581<dt><code>gmsh/model/occ/symmetrize</code> 15582<span id="index-gmsh_002fmodel_002focc_002fsymmetrize"></span> 15583</dt> 15584<dd><p>Mirror the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) in the OpenCASCADE CAD representation, with respect to the plane of equation <code>a</code> * x + <code>b</code> * y + <code>c</code> * z + <code>d</code> = 0. (This is a deprecated synonym for <code>mirror</code>.) 15585</p> 15586<dl compact="compact"> 15587<dt>Input:</dt> 15588<dd><p><code>dimTags</code> (vector of pairs of integers), <code>a</code> (double), <code>b</code>
15588 (double), <code>c</code> (double), <code>d</code> (double) 15589</p></dd> 15590<dt>Output:</dt> 15591<dd><p>- 15592</p></dd> 15593<dt>Return:</dt> 15594<dd><p>- 15595</p></dd> 15596<dt>Language-specific definition:</dt> 15597<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3282">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2932">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8743">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7719">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L12582">Fortran</a> 15598</p></dd> 15599</dl> 15600 15601</dd> 15602<dt><code>gmsh/model/occ/affineTransform</code> 15603<span id="index-gmsh_002fmodel_002focc_002faffineTransform"></span> 15604</dt> 15605<dd><p>Apply a general affine transformation matrix <code>affineTransform</code> (16 entries of a 4x4 matrix, by row; only the 12 first can be provided for convenience) to the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) in the OpenCASCADE CAD representation. 15606</p> 15607<dl compact="compact"> 15608<dt>Input:</dt> 15609<dd><p><code>dimTags</code> (vector of pairs of integers), <code>affineTransform</code> (vector of doubles) 15610</p></dd> 15611<dt>Output:</dt> 15612<dd><p>- 15613</p></dd> 15614<dt>Return:</dt> 15615<dd><p>- 15616</p></dd> 15617<dt>Language-specific definition:</dt> 15618<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3294">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2943">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8772">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7742">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L12626">Fortran</a> 15619</p></dd> 15620</dl> 15621 15622</dd> 15623<dt><code>gmsh/model/occ/copy</code> 15624<span id="index-gmsh_002fmodel_002focc_002fcopy"></span> 15625</dt> 15626<dd><p>Copy the entities <code>dimTags</code> in the OpenCASCADE CAD representation; the new entities are returned in <code>outDimTags</code>. 15627</p> 15628<dl compact="compact"> 15629<dt>Input:</dt> 15630<dd><p><code>dimTags</code> (vector of pairs of integers) 15631</p></dd> 15632<dt>Output:</dt> 15633<dd><p><code>outDimTags</code> (vector of pairs of integers) 15634</p></dd> 15635<dt>Return:</dt> 15636<dd><p>- 15637</p></dd> 15638<dt>Language-specific definition:</dt> 15639<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3301">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2949">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8797">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7766">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L12656">Fortran</a> 15640</p></dd> 15641<dt>Examples:</dt> 15642<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t19.cpp#L46">t19.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t20.cpp#L77">t20.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t19.py#L43">t19.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t20.py#L64">t20.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t19.jl#L40">t19.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t20.jl#L62">t20.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t19.f90#L54">t19.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t20.f90#L74">t20.f90</a>) 15643</p></dd> 15644</dl> 15645 15646</dd> 15647<dt><code>gmsh/model/occ/remove</code> 15648<span id="index-gmsh_002fmodel_002focc_002fremove"></span> 15649</dt> 15650<dd><p>Remove the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) in the OpenCASCADE CAD representation, provided that they are not on the boundary of higher-dimensional entities. If <code>recursive</code> is true, remove all the entities on their boundaries, down to dimension 0. 15651</p> 15652<dl compact="compact"> 15653<dt>Input:</dt> 15654<dd><p><code>dimTags</code> (vector of pairs of integers), <code>recursive = False</code> (boolean) 15655</p></dd> 15656<dt>Output:</dt> 15657<dd><p>- 15658</p></dd> 15659<dt>Return:</dt> 15660<dd><p>- 15661</p></dd> 15662<dt>Language-specific definition:</dt> 15663<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3310">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2957">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8822">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7793">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L12692">Fortran</a> 15664</p></dd> 15665<dt>Examples:</dt> 15666<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t19.cpp#L86">t19.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t20.cpp#L91">t20.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t19.py#L77">t19.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t20.py#L73">t20.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/pipe.py#L31">pipe.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/trimmed.py#L28">trimmed.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/tube_boundary_layer.py#L17">tube_boundary_layer.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t19.jl#L75">
15666t19.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t20.jl#L72">t20.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t19.f90#L89">t19.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t20.f90#L88">t20.f90</a>) 15667</p></dd> 15668</dl> 15669 15670</dd> 15671<dt><code>gmsh/model/occ/removeAllDuplicates</code> 15672<span id="index-gmsh_002fmodel_002focc_002fremoveAllDuplicates"></span> 15673</dt> 15674<dd><p>Remove all duplicate entities in the OpenCASCADE CAD representation (different entities at the same geometrical location) after intersecting (using boolean fragments) all highest dimensional entities. 15675</p> 15676<dl compact="compact"> 15677<dt>Input:</dt> 15678<dd><p>- 15679</p></dd> 15680<dt>Output:</dt> 15681<dd><p>- 15682</p></dd> 15683<dt>Return:</dt> 15684<dd><p>- 15685</p></dd> 15686<dt>Language-specific definition:</dt> 15687<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3318">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2964">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8845">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7811">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L12720">Fortran</a> 15688</p></dd> 15689<dt>Examples:</dt> 15690<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/bspline_bezier_patches.py#L75">bspline_bezier_patches.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/hybrid_order.py#L7">hybrid_order.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/stl_to_mesh.py#L11">stl_to_mesh.py</a>) 15691</p></dd> 15692</dl> 15693 15694</dd> 15695<dt><code>gmsh/model/occ/healShapes</code> 15696<span id="index-gmsh_002fmodel_002focc_002fhealShapes"></span> 15697</dt> 15698<dd><p>Apply various healing procedures to the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs), or to all the entities in the model if <code>dimTags</code> is empty, in the OpenCASCADE CAD representation. Return the healed entities in <code>outDimTags</code>. 15699</p> 15700<dl compact="compact"> 15701<dt>Input:</dt> 15702<dd><p><code>dimTags = []</code> (vector of pairs of integers), <code>tolerance = 1e-8</code> (double), <code>fixDegenerated = True</code> (boolean), <code>fixSmallEdges = True</code> (boolean), <code>fixSmallFaces = True</code> (boolean), <code>sewFaces = True</code> (boolean), <code>makeSolids = True</code> (boolean) 15703</p></dd> 15704<dt>Output:</dt> 15705<dd><p><code>outDimTags</code> (vector of pairs of integers) 15706</p></dd> 15707<dt>Return:</dt> 15708<dd><p>- 15709</p></dd> 15710<dt>Language-specific definition:</dt> 15711<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3326">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2970">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8861">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7840">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L12736">Fortran</a> 15712</p></dd> 15713<dt>Examples:</dt> 15714<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/bspline_bezier_patches.py#L65">bspline_bezier_patches.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/heal.py#L13">heal.py</a>) 15715</p></dd> 15716</dl> 15717 15718</dd> 15719<dt><code>gmsh/model/occ/convertToNURBS</code> 15720<span id="index-gmsh_002fmodel_002focc_002fconvertToNURBS"></span> 15721</dt> 15722<dd><p>Convert the entities <code>dimTags</code> to NURBS. 15723</p> 15724<dl compact="compact"> 15725<dt>Input:</dt> 15726<dd><p><code>dimTags</code> (vector of pairs of integers) 15727</p></dd> 15728<dt>Output:</dt> 15729<dd><p>- 15730</p></dd> 15731<dt>Return:</dt> 15732<dd><p>- 15733</p></dd> 15734<dt>Language-specific definition:</dt> 15735<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3338">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2981">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8901">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7864">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L12799">Fortran</a> 15736</p></dd> 15737</dl> 15738 15739</dd> 15740<dt><code>gmsh/model/occ/importShapes</code> 15741<span id="index-gmsh_002fmodel_002focc_002fimportShapes"></span> 15742</dt> 15743<dd><p>Import BREP, STEP or IGES shapes from the file <code>fileName</code> in the OpenCASCADE CAD representation. The imported entities are returned in <code>outDimTags</code>, as a vector of (dim, tag) pairs. If the optional argument <code>highestDimOnly</code> is set, only import the highest dimensional entities in the file. The optional argument <code>format</code> can be used to force the format of the file (currently "brep", "step" or "iges"). 15744</p> 15745<dl compact="compact"> 15746<dt>Input:</dt> 15747<dd><p><code>fileName</code> (string), <code>highestDimOnly = True</code> (boolean), <code>format = ""</code> (string) 15748</p></dd> 15749<dt>Output:</dt> 15750<dd><p><code>outDimTags</code> (vector of pairs of integers) 15751</p></dd> 15752<dt>Return:</dt> 15753<dd><p>- 15754</p></dd> 15755<dt>Language-specific definition:</dt> 15756<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3348">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L2990">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8920">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7894">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L12825">Fortran</a> 15757</p></dd> 15758<dt>Examples:</dt> 15759<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t20.cpp#L28">t20.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t20.py#L24">t20.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t20.jl#L21">t20.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t20.f90#L34">t20.f90</a>) 15760</p></dd> 15761</dl> 15762 15763</dd> 15764<dt><code>gmsh/model/occ/importShapesNativePointer</code> 15765<span id="index-gmsh_002fmodel_002focc_002fimportShapesNativePointer"></span> 15766</dt> 15767<dd><p>Import an OpenCASCADE <code>shape</code> by providing a pointer to a native OpenCASCADE <code>TopoDS_Shape</code> object (passed as a pointer to void). The imported entities are returned in <code>outDimTags</code> as a vector of (dim, tag) pairs. If the optional argument <code>highestDimOnly</code> is set, only import the highest dimensional entities in <code>shape</code>. In Python, this function can be used for integration with PythonOCC, in which the SwigPyObject pointer of <code>TopoDS_Shape</code> must be passed as an int to <code>shape</code>, i.e., <code>shape = int(pythonocc_shape.this)</code>
15767. Warning: this function is unsafe, as providing an invalid pointer will lead to undefined behavior. 15768</p> 15769<dl compact="compact"> 15770<dt>Input:</dt> 15771<dd><p><code>shape</code> (pointer), <code>highestDimOnly = True</code> (boolean) 15772</p></dd> 15773<dt>Output:</dt> 15774<dd><p><code>outDimTags</code> (vector of pairs of integers) 15775</p></dd> 15776<dt>Return:</dt> 15777<dd><p>- 15778</p></dd> 15779<dt>Language-specific definition:</dt> 15780<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3364">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3005">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8953">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7927">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L12873">Fortran</a> 15781</p></dd> 15782</dl> 15783 15784</dd> 15785<dt><code>gmsh/model/occ/getEntities</code> 15786<span id="index-gmsh_002fmodel_002focc_002fgetEntities"></span> 15787</dt> 15788<dd><p>Get all the OpenCASCADE entities. If <code>dim</code> is >= 0, return only the entities of the specified dimension (e.g. points if <code>dim</code> == 0). The entities are returned as a vector of (dim, tag) pairs. 15789</p> 15790<dl compact="compact"> 15791<dt>Input:</dt> 15792<dd><p><code>dim = -1</code> (integer) 15793</p></dd> 15794<dt>Output:</dt> 15795<dd><p><code>dimTags</code> (vector of pairs of integers) 15796</p></dd> 15797<dt>Return:</dt> 15798<dd><p>- 15799</p></dd> 15800<dt>Language-specific definition:</dt> 15801<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3373">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3013">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L8987">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7954">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L12910">Fortran</a> 15802</p></dd> 15803<dt>Examples:</dt> 15804<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t20.cpp#L90">t20.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t20.py#L73">t20.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/bspline_bezier_patches.py#L70">bspline_bezier_patches.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_3d.py#L74">naca_boundary_layer_3d.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/tube_boundary_layer.py#L17">tube_boundary_layer.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t20.jl#L72">t20.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t20.f90#L87">t20.f90</a>) 15805</p></dd> 15806</dl> 15807 15808</dd> 15809<dt><code>gmsh/model/occ/getEntitiesInBoundingBox</code> 15810<span id="index-gmsh_002fmodel_002focc_002fgetEntitiesInBoundingBox"></span> 15811</dt> 15812<dd><p>Get the OpenCASCADE entities in the bounding box defined by the two points (<code>xmin</code>, <code>ymin</code>, <code>zmin</code>) and (<code>xmax</code>, <code>ymax</code>, <code>zmax</code>). If <code>dim</code> is >= 0, return only the entities of the specified dimension (e.g. points if <code>dim</code> == 0). 15813</p> 15814<dl compact="compact"> 15815<dt>Input:</dt> 15816<dd><p><code>xmin</code> (double), <code>ymin</code> (double), <code>zmin</code> (double), <code>xmax</code> (double), <code>ymax</code> (double), <code>zmax</code> (double), <code>dim = -1</code> (integer) 15817</p></dd> 15818<dt>Output:</dt> 15819<dd><p><code>dimTags</code> (vector of pairs of integers) 15820</p></dd> 15821<dt>Return:</dt> 15822<dd><p>- 15823</p></dd> 15824<dt>Language-specific definition:</dt> 15825<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3382">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3021">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9013">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L7987">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L12943">Fortran</a> 15826</p></dd> 15827</dl> 15828 15829</dd> 15830<dt><code>gmsh/model/occ/getBoundingBox</code> 15831<span id="index-gmsh_002fmodel_002focc_002fgetBoundingBox"></span> 15832</dt> 15833<dd><p>Get the bounding box (<code>xmin</code>, <code>ymin</code>, <code>zmin</code>), (<code>xmax</code>, <code>ymax</code>, <code>zmax</code>) of the OpenCASCADE entity of dimension <code>dim</code> and tag <code>tag</code>. 15834</p> 15835<dl compact="compact"> 15836<dt>Input:</dt> 15837<dd><p><code>dim</code> (integer), <code>tag</code> (integer) 15838</p></dd> 15839<dt>Output:</dt> 15840<dd><p><code>xmin</code>
15840 (double), <code>ymin</code> (double), <code>zmin</code> (double), <code>xmax</code> (double), <code>ymax</code> (double), <code>zmax</code> (double) 15841</p></dd> 15842<dt>Return:</dt> 15843<dd><p>- 15844</p></dd> 15845<dt>Language-specific definition:</dt> 15846<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3395">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3033">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9052">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8019">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L13004">Fortran</a> 15847</p></dd> 15848<dt>Examples:</dt> 15849<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t20.cpp#L44">t20.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t20.py#L34">t20.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_3d.py#L67">naca_boundary_layer_3d.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t20.jl#L31">t20.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t20.f90#L44">t20.f90</a>) 15850</p></dd> 15851</dl> 15852 15853</dd> 15854<dt><code>gmsh/model/occ/getCurveLoops</code> 15855<span id="index-gmsh_002fmodel_002focc_002fgetCurveLoops"></span> 15856</dt> 15857<dd><p>Get the tags <code>curveLoopTags</code> of the curve loops making up the surface of tag <code>surfaceTag</code>, as well as the tags <code>curveTags</code> of the curves making up each curve loop. 15858</p> 15859<dl compact="compact"> 15860<dt>Input:</dt> 15861<dd><p><code>surfaceTag</code> (integer) 15862</p></dd> 15863<dt>Output:</dt> 15864<dd><p><code>curveLoopTags</code> (vector of integers), <code>curveTags</code> (vector of vectors of integers) 15865</p></dd> 15866<dt>Return:</dt> 15867<dd><p>- 15868</p></dd> 15869<dt>Language-specific definition:</dt> 15870<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3409">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3046">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9100">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8049">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L13059">Fortran</a> 15871</p></dd> 15872</dl> 15873 15874</dd> 15875<dt><code>gmsh/model/occ/getSurfaceLoops</code> 15876<span id="index-gmsh_002fmodel_002focc_002fgetSurfaceLoops"></span> 15877</dt> 15878<dd><p>Get the tags <code>surfaceLoopTags</code> of the surface loops making up the volume of tag <code>volumeTag</code>, as well as the tags <code>surfaceTags</code> of the surfaces making up each surface loop. 15879</p> 15880<dl compact="compact"> 15881<dt>Input:</dt> 15882<dd><p><code>volumeTag</code> (integer) 15883</p></dd> 15884<dt>Output:</dt> 15885<dd><p><code>surfaceLoopTags</code> (vector of integers), <code>surfaceTags</code> (vector of vectors of integers) 15886</p></dd> 15887<dt>Return:</dt> 15888<dd><p>- 15889</p></dd> 15890<dt>Language-specific definition:</dt> 15891<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3418">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3054">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9131">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8082">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L13111">Fortran</a> 15892</p></dd> 15893</dl> 15894 15895</dd> 15896<dt><code>gmsh/model/occ/getMass</code> 15897<span id="index-gmsh_002fmodel_002focc_002fgetMass"></span> 15898</dt> 15899<dd><p>Get the mass of the OpenCASCADE entity of dimension <code>dim</code> and tag <code>tag</code>. If no density is attached to the entity (the default), the value corresponds respectively to the length, area and volume for <code>dim</code> = 1, 2 and 3. 15900</p> 15901<dl compact="compact"> 15902<dt>Input:</dt> 15903<dd><p><code>dim</code> (integer), <code>tag</code> (integer) 15904</p></dd> 15905<dt>Output:</dt> 15906<dd><p><code>mass</code>
15906 (double) 15907</p></dd> 15908<dt>Return:</dt> 15909<dd><p>- 15910</p></dd> 15911<dt>Language-specific definition:</dt> 15912<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3428">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3062">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9162">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8115">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L13163">Fortran</a> 15913</p></dd> 15914<dt>Examples:</dt> 15915<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/step_assembly.py#L28">step_assembly.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/volume.py#L9">volume.py</a>) 15916</p></dd> 15917</dl> 15918 15919</dd> 15920<dt><code>gmsh/model/occ/getCenterOfMass</code> 15921<span id="index-gmsh_002fmodel_002focc_002fgetCenterOfMass"></span> 15922</dt> 15923<dd><p>Get the center of mass of the OpenCASCADE entity of dimension <code>dim</code> and tag <code>tag</code>. 15924</p> 15925<dl compact="compact"> 15926<dt>Input:</dt> 15927<dd><p><code>dim</code> (integer), <code>tag</code> (integer) 15928</p></dd> 15929<dt>Output:</dt> 15930<dd><p><code>x</code> (double), <code>y</code> (double), <code>z</code>
15930 (double) 15931</p></dd> 15932<dt>Return:</dt> 15933<dd><p>- 15934</p></dd> 15935<dt>Language-specific definition:</dt> 15936<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3436">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3069">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9190">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8141">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L13192">Fortran</a> 15937</p></dd> 15938</dl> 15939 15940</dd> 15941<dt><code>gmsh/model/occ/getMatrixOfInertia</code> 15942<span id="index-gmsh_002fmodel_002focc_002fgetMatrixOfInertia"></span> 15943</dt> 15944<dd><p>Get the matrix of inertia (by row) of the OpenCASCADE entity of dimension <code>dim</code> and tag <code>tag</code>. 15945</p> 15946<dl compact="compact"> 15947<dt>Input:</dt> 15948<dd><p><code>dim</code> (integer), <code>tag</code> (integer) 15949</p></dd> 15950<dt>Output:</dt> 15951<dd><p><code>mat</code> (vector of doubles) 15952</p></dd> 15953<dt>Return:</dt> 15954<dd><p>- 15955</p></dd> 15956<dt>Language-specific definition:</dt> 15957<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3446">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3078">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9226">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8167">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L13231">Fortran</a> 15958</p></dd> 15959</dl> 15960 15961</dd> 15962<dt><code>gmsh/model/occ/getMaxTag</code> 15963<span id="index-gmsh_002fmodel_002focc_002fgetMaxTag"></span> 15964</dt> 15965<dd><p>Get the maximum tag of entities of dimension <code>dim</code> in the OpenCASCADE CAD representation. 15966</p> 15967<dl compact="compact"> 15968<dt>Input:</dt> 15969<dd><p><code>dim</code> (integer) 15970</p></dd> 15971<dt>Output:</dt> 15972<dd><p>- 15973</p></dd> 15974<dt>Return:</dt> 15975<dd><p>integer 15976</p></dd> 15977<dt>Language-specific definition:</dt> 15978<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3454">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3085">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9253">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8191">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L13267">Fortran</a> 15979</p></dd> 15980</dl> 15981 15982</dd> 15983<dt><code>gmsh/model/occ/setMaxTag</code> 15984<span id="index-gmsh_002fmodel_002focc_002fsetMaxTag"></span> 15985</dt> 15986<dd><p>Set the maximum tag <code>maxTag</code> for entities of dimension <code>dim</code> in the OpenCASCADE CAD representation. 15987</p> 15988<dl compact="compact"> 15989<dt>Input:</dt> 15990<dd><p><code>dim</code> (integer), <code>maxTag</code> (integer) 15991</p></dd> 15992<dt>Output:</dt> 15993<dd><p>- 15994</p></dd> 15995<dt>Return:</dt> 15996<dd><p>- 15997</p></dd> 15998<dt>Language-specific definition:</dt> 15999<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3460">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3090">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9275">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8211">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L13288">Fortran</a> 16000</p></dd> 16001</dl> 16002 16003</dd> 16004<dt><code>gmsh/model/occ/synchronize</code> 16005<span id="index-gmsh_002fmodel_002focc_002fsynchronize"></span> 16006</dt> 16007<dd><p>Synchronize the OpenCASCADE CAD representation with the current Gmsh model. This can be called at any time, but since it involves a non trivial amount of processing, the number of synchronization points should normally be minimized. Without synchronization the entities in the OpenCASCADE CAD representation are not available to any function outside of the OpenCASCADE CAD kernel functions. 16008</p> 16009<dl compact="compact"> 16010<dt>Input:</dt> 16011<dd><p>- 16012</p></dd> 16013<dt>Output:</dt> 16014<dd><p>- 16015</p></dd> 16016<dt>Return:</dt> 16017<dd><p>- 16018</p></dd> 16019<dt>Language-specific definition:</dt> 16020<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3471">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3100">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9296">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8230">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L13316">Fortran</a> 16021</p></dd> 16022<dt>Examples:</dt> 16023<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t16.cpp#L84">t16.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t17.cpp#L29">t17.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t18.cpp#L28">t18.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t19.cpp#L33">t19.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t20.cpp#L93">t20.cpp</a>, ...), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t16.py#L67">t16.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t17.py#L28">t17.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t18.py#L27">t18.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t19.py#L30">t19.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t20.py#L75">t20.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t16.jl#L67">t16.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t17.jl#L25">t17.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t18.jl#L24">t18.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t19.jl#L27">
16023t19.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t20.jl#L74">t20.jl</a>, ...), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t16.f90#L90">t16.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t17.f90#L33">t17.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t18.f90#L37">t18.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t19.f90#L39">t19.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t20.f90#L90">t20.f90</a>, ...) 16024</p></dd> 16025</dl> 16026 16027</dd> 16028</dl> 16029 16030<hr> 16031<span id="Namespace-gmsh_002fmodel_002focc_002fmesh"></span><div class="header"> 16032<p> 16033Next: <a href="#Namespace-gmsh_002fview" accesskey="n" rel="next">Namespace gmsh/view</a>, Previous: <a href="#Namespace-gmsh_002fmodel_002focc" accesskey="p" rel="prev">Namespace gmsh/model/occ</a>, Up: <a href="#Gmsh-application-programming-interface" accesskey="u" rel="up">Gmsh application programming interface</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 16034</div> 16035<span id="Namespace-gmsh_002fmodel_002focc_002fmesh_003a-OpenCASCADE-CAD-kernel-meshing-constraints"></span><h3 class="section">6.9 Namespace <code>gmsh/model/occ/mesh</code>: OpenCASCADE CAD kernel meshing constraints</h3> 16036 16037<dl compact="compact"> 16038<dt><code>gmsh/model/occ/mesh/setSize</code> 16039<span id="index-gmsh_002fmodel_002focc_002fmesh_002fsetSize"></span> 16040</dt> 16041<dd><p>Set a mesh size constraint on the entities <code>dimTags</code> (given as a vector of (dim, tag) pairs) in the OpenCASCADE CAD representation. Currently only entities of dimension 0 (points) are handled. 16042</p> 16043<dl compact="compact"> 16044<dt>Input:</dt> 16045<dd><p><code>dimTags</code> (vector of pairs of integers), <code>size</code>
16045 (double) 16046</p></dd> 16047<dt>Output:</dt> 16048<dd><p>- 16049</p></dd> 16050<dt>Return:</dt> 16051<dd><p>- 16052</p></dd> 16053<dt>Language-specific definition:</dt> 16054<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3480">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3105">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9320">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8259">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L13331">Fortran</a> 16055</p></dd> 16056<dt>Examples:</dt> 16057<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/naca_boundary_layer_3d.py#L89">naca_boundary_layer_3d.py</a>) 16058</p></dd> 16059</dl> 16060 16061</dd> 16062</dl> 16063 16064<hr> 16065<span id="Namespace-gmsh_002fview"></span><div class="header"> 16066<p> 16067Next: <a href="#Namespace-gmsh_002fview_002foption" accesskey="n" rel="next">Namespace gmsh/view/option</a>, Previous: <a href="#Namespace-gmsh_002fmodel_002focc_002fmesh" accesskey="p" rel="prev">Namespace gmsh/model/occ/mesh</a>, Up: <a href="#Gmsh-application-programming-interface" accesskey="u" rel="up">Gmsh application programming interface</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 16068</div> 16069<span id="Namespace-gmsh_002fview_003a-post_002dprocessing-view-functions"></span><h3 class="section">6.10 Namespace <code>gmsh/view</code>: post-processing view functions</h3> 16070 16071<dl compact="compact"> 16072<dt><code>gmsh/view/add</code> 16073<span id="index-gmsh_002fview_002fadd"></span> 16074</dt> 16075<dd><p>Add a new post-processing view, with name <code>name</code>. If <code>tag</code> is positive use it (and remove the view with that tag if it already exists), otherwise associate a new tag. Return the view tag. 16076</p> 16077<dl compact="compact"> 16078<dt>Input:</dt> 16079<dd><p><code>name</code> (string), <code>tag = -1</code> (integer) 16080</p></dd> 16081<dt>Output:</dt> 16082<dd><p>- 16083</p></dd> 16084<dt>Return:</dt> 16085<dd><p>integer 16086</p></dd> 16087<dt>Language-specific definition:</dt> 16088<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3496">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3112">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9349">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8299">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L13359">Fortran</a> 16089</p></dd> 16090<dt>Examples:</dt> 16091<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t4.cpp#L111">t4.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x3.cpp#L28">x3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x4.cpp#L33">x4.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x5.cpp#L80">x5.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t4.py#L119">t4.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x3.py#L25">x3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x4.py#L31">x4.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x5.py#L68">x5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/adapt_mesh.py#L89">adapt_mesh.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t4.jl#L107">t4.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x3.jl#L24">x3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x4.jl#L30">x4.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x5.jl#L62">x5.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t4.f90#L121">t4.f90</a>) 16092</p></dd> 16093</dl> 16094 16095</dd> 16096<dt><code>gmsh/view/remove</code> 16097<span id="index-gmsh_002fview_002fremove"></span> 16098</dt> 16099<dd><p>Remove the view with tag <code>tag</code>. 16100</p> 16101<dl compact="compact"> 16102<dt>Input:</dt> 16103<dd><p><code>tag</code> (integer) 16104</p></dd> 16105<dt>Output:</dt> 16106<dd><p>- 16107</p></dd> 16108<dt>Return:</dt> 16109<dd><p>- 16110</p></dd> 16111<dt>Language-specific definition:</dt> 16112<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3502">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3117">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9373">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8316">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L13384">Fortran</a> 16113</p></dd> 16114<dt>Examples:</dt> 16115<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/plugin.py#L28">plugin.py</a>) 16116</p></dd> 16117</dl> 16118 16119</dd> 16120<dt><code>gmsh/view/getIndex</code> 16121<span id="index-gmsh_002fview_002fgetIndex"></span> 16122</dt> 16123<dd><p>Get the index of the view with tag <code>tag</code> in the list of currently loaded views. This dynamic index (it can change when views are removed) is used to access view options. 16124</p> 16125<dl compact="compact"> 16126<dt>Input:</dt> 16127<dd><p><code>tag</code> (integer) 16128</p></dd> 16129<dt>Output:</dt> 16130<dd><p>- 16131</p></dd> 16132<dt>Return:</dt> 16133<dd><p>integer 16134</p></dd> 16135<dt>Language-specific definition:</dt> 16136<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3509">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3123">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9390">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8337">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L13404">Fortran</a> 16137</p></dd> 16138<dt>Examples:</dt> 16139<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/adapt_mesh.py#L103">adapt_mesh.py</a>) 16140</p></dd> 16141</dl> 16142 16143</dd> 16144<dt><code>gmsh/view/getTags</code> 16145<span id="index-gmsh_002fview_002fgetTags"></span> 16146</dt> 16147<dd><p>Get the tags of all views. 16148</p> 16149<dl compact="compact"> 16150<dt>Input:</dt> 16151<dd><p>- 16152</p></dd> 16153<dt>Output:</dt> 16154<dd><p><code>tags</code> (vector of integers) 16155</p></dd> 16156<dt>Return:</dt> 16157<dd><p>- 16158</p></dd> 16159<dt>Language-specific definition:</dt> 16160<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3514">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3127">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9413">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L835
161607">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L13424">Fortran</a> 16161</p></dd> 16162<dt>Examples:</dt> 16163<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t8.cpp#L81">t8.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t9.cpp#L37">t9.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t8.py#L77">t8.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t9.py#L27">t9.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/plugin.py#L31">plugin.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t8.jl#L75">t8.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t9.jl#L25">t9.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t8.f90#L84">t8.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t9.f90#L32">t9.f90</a>) 16164</p></dd> 16165</dl> 16166 16167</dd> 16168<dt><code>gmsh/view/addModelData</code> 16169<span id="index-gmsh_002fview_002faddModelData"></span> 16170</dt> 16171<dd><p>Add model-based post-processing data to the view with tag <code>tag</code>. <code>modelName</code> identifies the model the data is attached to. <code>dataType</code> specifies the type of data, currently either "NodeData", "ElementData" or "ElementNodeData". <code>step</code> specifies the identifier (>= 0) of the data in a sequence. <code>tags</code> gives the tags of the nodes or elements in the mesh to which the data is associated. <code>data</code> is a vector of the same length as <code>tags</code>: each entry is the vector of double precision numbers representing the data associated with the corresponding tag. The optional <code>time</code> argument associate a time value with the data. <code>numComponents</code> gives the number of data components (1 for scalar data, 3 for vector data, etc.) per entity; if negative, it is automatically inferred (when possible) from the input data. <code>partition</code> allows one to specify data in several sub-sets. 16172</p> 16173<dl compact="compact"> 16174<dt>Input:</dt> 16175<dd><p><code>tag</code> (integer), <code>step</code> (integer), <code>modelName</code> (string), <code>dataType</code> (string), <code>tags</code> (vector of sizes), <code>data</code> (vector of vectors of doubles), <code>time = 0.</code>
16175 (double), <code>numComponents = -1</code> (integer), <code>partition = 0</code> (integer) 16176</p></dd> 16177<dt>Output:</dt> 16178<dd><p>- 16179</p></dd> 16180<dt>Return:</dt> 16181<dd><p>- 16182</p></dd> 16183<dt>Language-specific definition:</dt> 16184<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3530">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3142">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9435">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8397">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L13460">Fortran</a> 16185</p></dd> 16186<dt>Examples:</dt> 16187<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/adapt_mesh.py#L90">adapt_mesh.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/plugin.py#L16">plugin.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/poisson.py#L229">poisson.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/view.py#L19">view.py</a>) 16188</p></dd> 16189</dl> 16190 16191</dd> 16192<dt><code>gmsh/view/addHomogeneousModelData</code> 16193<span id="index-gmsh_002fview_002faddHomogeneousModelData"></span> 16194</dt> 16195<dd><p>Add homogeneous model-based post-processing data to the view with tag <code>tag</code>. The arguments have the same meaning as in <code>addModelData</code>, except that <code>data</code> is supposed to be homogeneous and is thus flattened in a single vector. For data types that can lead to different data sizes per tag (like "ElementNodeData"), the data should be padded. 16196</p> 16197<dl compact="compact"> 16198<dt>Input:</dt> 16199<dd><p><code>tag</code> (integer), <code>step</code> (integer), <code>modelName</code> (string), <code>dataType</code> (string), <code>tags</code> (vector of sizes), <code>data</code> (vector of doubles), <code>time = 0.</code>
16199 (double), <code>numComponents = -1</code> (integer), <code>partition = 0</code> (integer) 16200</p></dd> 16201<dt>Output:</dt> 16202<dd><p>- 16203</p></dd> 16204<dt>Return:</dt> 16205<dd><p>- 16206</p></dd> 16207<dt>Language-specific definition:</dt> 16208<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3547">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3158">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9482">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8428">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L13541">Fortran</a> 16209</p></dd> 16210<dt>Examples:</dt> 16211<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x4.cpp#L35">x4.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x4.py#L33">x4.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/copy_mesh.py#L41">copy_mesh.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/view_element_size.py#L20">view_element_size.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/view_renumbering.py#L18">view_renumbering.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x4.jl#L32">x4.jl</a>) 16212</p></dd> 16213</dl> 16214 16215</dd> 16216<dt><code>gmsh/view/getModelData</code> 16217<span id="index-gmsh_002fview_002fgetModelData"></span> 16218</dt> 16219<dd><p>Get model-based post-processing data from the view with tag <code>tag</code> at step <code>step</code>. Return the <code>data</code> associated to the nodes or the elements with tags <code>tags</code>, as well as the <code>dataType</code> and the number of components <code>numComponents</code>. 16220</p> 16221<dl compact="compact"> 16222<dt>Input:</dt> 16223<dd><p><code>tag</code> (integer), <code>step</code> (integer) 16224</p></dd> 16225<dt>Output:</dt> 16226<dd><p><code>dataType</code> (string), <code>tags</code> (vector of sizes), <code>data</code> (vector of vectors of doubles), <code>time</code> (double), <code>numComponents</code> (integer) 16227</p></dd> 16228<dt>Return:</dt> 16229<dd><p>- 16230</p></dd> 16231<dt>Language-specific definition:</dt> 16232<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3563">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3173">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9522">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8456">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L13608">Fortran</a> 16233</p></dd> 16234<dt>Examples:</dt> 16235<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/get_data_perf.py#L20">get_data_perf.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/mesh_quality.py#L19">mesh_quality.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/plugin.py#L20">plugin.py</a>) 16236</p></dd> 16237</dl> 16238 16239</dd> 16240<dt><code>gmsh/view/getHomogeneousModelData</code> 16241<span id="index-gmsh_002fview_002fgetHomogeneousModelData"></span> 16242</dt> 16243<dd><p>Get homogeneous model-based post-processing data from the view with tag <code>tag</code> at step <code>step</code>. The arguments have the same meaning as in <code>getModelData</code>, except that <code>data</code> is returned flattened in a single vector, with the appropriate padding if necessary. 16244</p> 16245<dl compact="compact"> 16246<dt>Input:</dt> 16247<dd><p><code>tag</code> (integer), <code>step</code> (integer) 16248</p></dd> 16249<dt>Output:</dt> 16250<dd><p><code>dataType</code> (string), <code>tags</code> (vector of sizes), <code>data</code> (vector of doubles), <code>time</code> (double), <code>numComponents</code> (integer) 16251</p></dd> 16252<dt>Return:</dt> 16253<dd><p>- 16254</p></dd> 16255<dt>Language-specific definition:</dt> 16256<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3577">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3186">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9568">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8498">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L13683">Fortran</a> 16257</p></dd> 16258<dt>Examples:</dt> 16259<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/get_data_perf.py#L25">get_data_perf.py</a>) 16260</p></dd> 16261</dl> 16262 16263</dd> 16264<dt><code>gmsh/view/addListData</code> 16265<span id="index-gmsh_002fview_002faddListData"></span> 16266</dt> 16267<dd><p>Add list-based post-processing data to the view with tag <code>tag</code>. List-based datasets are independent from any model and any mesh. <code>dataType</code> identifies the data by concatenating the field type ("S" for scalar, "V" for vector, "T" for tensor) and the element type ("P" for point, "L" for line, "T" for triangle, "S" for tetrahedron, "I" for prism, "H" for hexaHedron, "Y" for pyramid). For example <code>dataType</code> should be "ST" for a scalar field on triangles. <code>numEle</code> gives the number of elements in the data. <code>data</code> contains the data for the <code>numEle</code>
16267 elements, concatenated, with node coordinates followed by values per node, repeated for each step: [e1x1, ..., e1xn, e1y1, ..., e1yn, e1z1, ..., e1zn, e1v1..., e1vN, e2x1, ...]. 16268</p> 16269<dl compact="compact"> 16270<dt>Input:</dt> 16271<dd><p><code>tag</code> (integer), <code>dataType</code> (string), <code>numEle</code> (integer), <code>data</code> (vector of doubles) 16272</p></dd> 16273<dt>Output:</dt> 16274<dd><p>- 16275</p></dd> 16276<dt>Return:</dt> 16277<dd><p>- 16278</p></dd> 16279<dt>Language-specific definition:</dt> 16280<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3597">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3205">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9614">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8538">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L13756">Fortran</a> 16281</p></dd> 16282<dt>Examples:</dt> 16283<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x3.cpp#L56">x3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x5.cpp#L81">x5.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x3.py#L47">x3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x5.py#L69">x5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/normals.py#L42">normals.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/view_adaptive_to_mesh.py#L42">view_adaptive_to_mesh.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/view_combine.py#L18">view_combine.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x3.jl#L47">x3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x5.jl#L63">x5.jl</a>) 16284</p></dd> 16285</dl> 16286 16287</dd> 16288<dt><code>gmsh/view/getListData</code> 16289<span id="index-gmsh_002fview_002fgetListData"></span> 16290</dt> 16291<dd><p>Get list-based post-processing data from the view with tag <code>tag</code>. Return the types <code>dataTypes</code>, the number of elements <code>numElements</code> for each data type and the <code>data</code> for each data type. If <code>returnAdaptive</code> is set, return the data obtained after adaptive refinement, if available. 16292</p> 16293<dl compact="compact"> 16294<dt>Input:</dt> 16295<dd><p><code>tag</code> (integer), <code>returnAdaptive = False</code> (boolean) 16296</p></dd> 16297<dt>Output:</dt> 16298<dd><p><code>dataType</code> (vector of strings), <code>numElements</code> (vector of integers), <code>data</code> (vector of vectors of doubles) 16299</p></dd> 16300<dt>Return:</dt> 16301<dd><p>- 16302</p></dd> 16303<dt>Language-specific definition:</dt> 16304<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3608">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3215">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9648">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8565">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L13795">Fortran</a> 16305</p></dd> 16306<dt>Examples:</dt> 16307<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/plugin.py#L35">plugin.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/view_adaptive_to_mesh.py#L50">view_adaptive_to_mesh.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/volume.py#L19">volume.py</a>) 16308</p></dd> 16309</dl> 16310 16311</dd> 16312<dt><code>gmsh/view/addListDataString</code> 16313<span id="index-gmsh_002fview_002faddListDataString"></span> 16314</dt> 16315<dd><p>Add a string to a list-based post-processing view with tag <code>tag</code>. If <code>coord</code> contains 3 coordinates the string is positioned in the 3D model space ("3D string"); if it contains 2 coordinates it is positioned in the 2D graphics viewport ("2D string"). <code>data</code> contains one or more (for multistep views) strings. <code>style</code> contains key-value pairs of styling parameters, concatenated. Available keys are "Font" (possible values: "Times-Roman", "Times-Bold", "Times-Italic", "Times-BoldItalic", "Helvetica", "Helvetica-Bold", "Helvetica-Oblique", "Helvetica-BoldOblique", "Courier", "Courier-Bold", "Courier-Oblique", "Courier-BoldOblique", "Symbol", "ZapfDingbats", "Screen"), "FontSize" and "Align" (possible values: "Left" or "BottomLeft", "Center" or "BottomCenter", "Right" or "BottomRight", "TopLeft", "TopCenter", "TopRight", "CenterLeft", "CenterCenter", "CenterRight"). 16316</p> 16317<dl compact="compact"> 16318<dt>Input:</dt> 16319<dd><p><code>tag</code> (integer), <code>coord</code> (vector of doubles), <code>data</code> (vector of strings), <code>style = []</code> (vector of strings) 16320</p></dd> 16321<dt>Output:</dt> 16322<dd><p>- 16323</p></dd> 16324<dt>Return:</dt> 16325<dd><p>- 16326</p></dd> 16327<dt>Language-specific definition:</dt> 16328<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3628">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3235">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9686">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8610">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L13874">Fortran</a> 16329</p></dd> 16330<dt>Examples:</dt> 16331<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t4.cpp#L115">t4.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x3.cpp#L80">x3.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t4.py#L123">t4.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x3.py#L72">x3.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t4.jl#L111">
16331t4.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x3.jl#L73">x3.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t4.f90#L125">t4.f90</a>) 16332</p></dd> 16333</dl> 16334 16335</dd> 16336<dt><code>gmsh/view/getListDataStrings</code> 16337<span id="index-gmsh_002fview_002fgetListDataStrings"></span> 16338</dt> 16339<dd><p>Get list-based post-processing data strings (2D strings if <code>dim</code> == 2, 3D strings if <code>dim</code> = 3) from the view with tag <code>tag</code>. Return the coordinates in <code>coord</code>, the strings in <code>data</code> and the styles in <code>style</code>. 16340</p> 16341<dl compact="compact"> 16342<dt>Input:</dt> 16343<dd><p><code>tag</code> (integer), <code>dim</code> (integer) 16344</p></dd> 16345<dt>Output:</dt> 16346<dd><p><code>coord</code> (vector of doubles), <code>data</code> (vector of strings), <code>style</code> (vector of strings) 16347</p></dd> 16348<dt>Return:</dt> 16349<dd><p>- 16350</p></dd> 16351<dt>Language-specific definition:</dt> 16352<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3638">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3244">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9725">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8636">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L13928">Fortran</a> 16353</p></dd> 16354</dl> 16355 16356</dd> 16357<dt><code>gmsh/view/setInterpolationMatrices</code> 16358<span id="index-gmsh_002fview_002fsetInterpolationMatrices"></span> 16359</dt> 16360<dd><p>Set interpolation matrices for the element family <code>type</code> ("Line", "Triangle", "Quadrangle", "Tetrahedron", "Hexahedron", "Prism", "Pyramid") in the view <code>tag</code>. The approximation of the values over an element is written as a linear combination of <code>d</code> basis functions f_i(u, v, w) = sum_(j = 0, ..., <code>d</code> - 1) <code>coef</code>[i][j] u^<code>exp</code>[j][0] v^<code>exp</code>[j][1] w^<code>exp</code>[j][2], i = 0, ..., <code>d</code>-1, with u, v, w the coordinates in the reference element. The <code>coef</code> matrix (of size <code>d</code> x <code>d</code>) and the <code>exp</code> matrix (of size <code>d</code> x 3) are stored as vectors, by row. If <code>dGeo</code> is positive, use <code>coefGeo</code> and <code>expGeo</code> to define the interpolation of the x, y, z coordinates of the element in terms of the u, v, w coordinates, in exactly the same way. If <code>d</code> < 0, remove the interpolation matrices. 16361</p> 16362<dl compact="compact"> 16363<dt>Input:</dt> 16364<dd><p><code>tag</code> (integer), <code>type</code> (string), <code>d</code> (integer), <code>coef</code> (vector of doubles), <code>exp</code> (vector of doubles), <code>dGeo = 0</code> (integer), <code>coefGeo = []</code> (vector of doubles), <code>expGeo = []</code> (vector of doubles) 16365</p></dd> 16366<dt>Output:</dt> 16367<dd><p>- 16368</p></dd> 16369<dt>Return:</dt> 16370<dd><p>- 16371</p></dd> 16372<dt>Language-specific definition:</dt> 16373<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3657">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3262">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9762">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8681">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L13997">Fortran</a> 16374</p></dd> 16375<dt>Examples:</dt> 16376<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x3.cpp#L126">x3.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x3.py#L110">x3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/view_adaptive_to_mesh.py#L22">view_adaptive_to_mesh.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/view_list_isoparametric.py#L33">view_list_isoparametric.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/view_list_subparametric.py#L35">view_list_subparametric.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/view_list_superparametric.py#L35">view_list_superparametric.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x3.jl#L111">x3.jl</a>) 16377</p></dd> 16378</dl> 16379 16380</dd> 16381<dt><code>gmsh/view/addAlias</code> 16382<span id="index-gmsh_002fview_002faddAlias"></span> 16383</dt> 16384<dd><p>Add a post-processing view as an <code>alias</code> of the reference view with tag <code>refTag</code>. If <code>copyOptions</code> is set, copy the options of the reference view. If <code>tag</code> is positive use it (and remove the view with that tag if it already exists), otherwise associate a new tag. Return the view tag. 16385</p> 16386<dl compact="compact"> 16387<dt>Input:</dt> 16388<dd><p><code>refTag</code> (integer), <code>copyOptions = False</code> (boolean), <code>tag = -1</code> (integer) 16389</p></dd> 16390<dt>Output:</dt> 16391<dd><p>- 16392</p></dd> 16393<dt>Return:</dt> 16394<dd><p>integer 16395</p></dd> 16396<dt>Language-specific definition:</dt> 16397<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3672">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3276">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9808">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8706">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14065">Fortran</a> 16398</p></dd> 16399<dt>Examples:</dt> 16400<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/view_combine.py#L27">view_combine.py</a>) 16401</p></dd> 16402</dl> 16403 16404</dd> 16405<dt><code>gmsh/view/combine</code>
16406<span id="index-gmsh_002fview_002fcombine"></span> 16407</dt> 16408<dd><p>Combine elements (if <code>what</code> == "elements") or steps (if <code>what</code> == "steps") of all views (<code>how</code> == "all"), all visible views (<code>how</code> == "visible") or all views having the same name (<code>how</code> == "name"). Remove original views if <code>remove</code> is set. 16409</p> 16410<dl compact="compact"> 16411<dt>Input:</dt> 16412<dd><p><code>what</code> (string), <code>how</code> (string), <code>remove = True</code> (boolean), <code>copyOptions = True</code> (boolean) 16413</p></dd> 16414<dt>Output:</dt> 16415<dd><p>- 16416</p></dd> 16417<dt>Return:</dt> 16418<dd><p>- 16419</p></dd> 16420<dt>Language-specific definition:</dt> 16421<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3682">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3285">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9836">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8730">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14098">Fortran</a> 16422</p></dd> 16423<dt>Examples:</dt> 16424<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/view_combine.py#L23">view_combine.py</a>) 16425</p></dd> 16426</dl> 16427 16428</dd> 16429<dt><code>gmsh/view/probe</code> 16430<span id="index-gmsh_002fview_002fprobe"></span> 16431</dt> 16432<dd><p>Probe the view <code>tag</code> for its <code>values</code> at point (<code>x</code>, <code>y</code>, <code>z</code>). If no match is found, <code>value</code> is returned empty. Return only the value at step <code>step</code> is <code>step</code> is positive. Return only values with <code>numComp</code> if <code>numComp</code> is positive. Return the gradient of the <code>values</code> if <code>gradient</code> is set. If <code>distanceMax</code> is zero, only return a result if an exact match inside an element in the view is found; if <code>distanceMax</code> is positive and an exact match is not found, return the value at the closest node if it is closer than <code>distanceMax</code>; if <code>distanceMax</code> is negative and an exact match is not found, always return the value at the closest node. The distance to the match is returned in <code>distance</code>. Return the result from the element described by its coordinates if <code>xElementCoord</code>, <code>yElementCoord</code> and <code>zElementCoord</code> are provided. If <code>dim</code> is >= 0, return only matches from elements of the specified dimension. 16433</p> 16434<dl compact="compact"> 16435<dt>Input:</dt> 16436<dd><p><code>tag</code> (integer), <code>x</code> (double), <code>y</code> (double), <code>z</code>
16436 (double), <code>step = -1</code> (integer), <code>numComp = -1</code> (integer), <code>gradient = False</code> (boolean), <code>distanceMax = 0.</code> (double), <code>xElemCoord = []</code> (vector of doubles), <code>yElemCoord = []</code> (vector of doubles), <code>zElemCoord = []</code> (vector of doubles), <code>dim = -1</code> (integer) 16437</p></dd> 16438<dt>Output:</dt> 16439<dd><p><code>values</code> (vector of doubles), <code>distance</code> (double) 16440</p></dd> 16441<dt>Return:</dt> 16442<dd><p>- 16443</p></dd> 16444<dt>Language-specific definition:</dt> 16445<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3702">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3304">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9862">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8773">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14143">Fortran</a> 16446</p></dd> 16447<dt>Examples:</dt> 16448<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x3.cpp#L98">x3.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x3.py#L86">x3.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x3.jl#L87">x3.jl</a>) 16449</p></dd> 16450</dl> 16451 16452</dd> 16453<dt><code>gmsh/view/write</code> 16454<span id="index-gmsh_002fview_002fwrite"></span> 16455</dt> 16456<dd><p>Write the view to a file <code>fileName</code>. The export format is determined by the file extension. Append to the file if <code>append</code> is set. 16457</p> 16458<dl compact="compact"> 16459<dt>Input:</dt> 16460<dd><p><code>tag</code> (integer), <code>fileName</code> (string), <code>append = False</code> (boolean) 16461</p></dd> 16462<dt>Output:</dt> 16463<dd><p>- 16464</p></dd> 16465<dt>Return:</dt> 16466<dd><p>- 16467</p></dd> 16468<dt>Language-specific definition:</dt> 16469<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3721">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3322">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9927">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8797">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14243">Fortran</a> 16470</p></dd> 16471<dt>Examples:</dt> 16472<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x3.cpp#L104">x3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x4.cpp#L88">x4.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x3.py#L89">x3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x4.py#L81">x4.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/adapt_mesh.py#L92">adapt_mesh.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/normals.py#L43">normals.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/plugin.py#L33">plugin.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x3.jl#L90">x3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x4.jl#L83">x4.jl</a>) 16473</p></dd> 16474</dl> 16475 16476</dd> 16477<dt><code>gmsh/view/setVisibilityPerWindow</code> 16478<span id="index-gmsh_002fview_002fsetVisibilityPerWindow"></span> 16479</dt> 16480<dd><p>Set the global visibility of the view <code>tag</code> per window to <code>value</code>, where <code>windowIndex</code> identifies the window in the window list. 16481</p> 16482<dl compact="compact"> 16483<dt>Input:</dt> 16484<dd><p><code>tag</code> (integer), <code>value</code> (integer), <code>windowIndex = 0</code> (integer) 16485</p></dd> 16486<dt>Output:</dt> 16487<dd><p>- 16488</p></dd> 16489<dt>Return:</dt> 16490<dd><p>- 16491</p></dd> 16492<dt>Language-specific definition:</dt> 16493<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3729">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3329">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9949">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8817">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14272">Fortran</a> 16494</p></dd> 16495</dl> 16496 16497</dd> 16498</dl> 16499 16500<hr> 16501<span id="Namespace-gmsh_002fview_002foption"></span><div class="header"> 16502<p> 16503Next: <a href="#Namespace-gmsh_002falgorithm" accesskey="n" rel="next">Namespace gmsh/algorithm</a>, Previous: <a href="#Namespace-gmsh_002fview" accesskey="p" rel="prev">Namespace gmsh/view</a>, Up: <a href="#Gmsh-application-programming-interface" accesskey="u" rel="up">Gmsh application programming interface</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 16504</div> 16505<span id="Namespace-gmsh_002fview_002foption_003a-view-option-handling-functions"></span>
16505<h3 class="section">6.11 Namespace <code>gmsh/view/option</code>: view option handling functions</h3> 16506 16507<dl compact="compact"> 16508<dt><code>gmsh/view/option/setNumber</code> 16509<span id="index-gmsh_002fview_002foption_002fsetNumber"></span> 16510</dt> 16511<dd><p>Set the numerical option <code>name</code> to value <code>value</code> for the view with tag <code>tag</code>. 16512</p> 16513<dl compact="compact"> 16514<dt>Input:</dt> 16515<dd><p><code>tag</code> (integer), <code>name</code> (string), <code>value</code> (double) 16516</p></dd> 16517<dt>Output:</dt> 16518<dd><p>- 16519</p></dd> 16520<dt>Return:</dt> 16521<dd><p>- 16522</p></dd> 16523<dt>Language-specific definition:</dt> 16524<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3739">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3336">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L9978">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8846">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14301">Fortran</a> 16525</p></dd> 16526<dt>Examples:</dt> 16527<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t8.cpp#L88">t8.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t9.cpp#L78">t9.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x3.cpp#L87">x3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x5.cpp#L82">x5.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t8.py#L84">t8.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t9.py#L67">t9.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x3.py#L79">x3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x5.py#L70">x5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/view_adaptive_to_mesh.py#L45">view_adaptive_to_mesh.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t8.jl#L83">t8.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t9.jl#L66">t9.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x3.jl#L80">x3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x5.jl#L64">x5.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t8.f90#L92">t8.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t9.f90#L73">t9.f90</a>) 16528</p></dd> 16529</dl> 16530 16531</dd> 16532<dt><code>gmsh/view/option/getNumber</code> 16533<span id="index-gmsh_002fview_002foption_002fgetNumber"></span> 16534</dt> 16535<dd><p>Get the <code>value</code> of the numerical option <code>name</code> for the view with tag <code>tag</code>. 16536</p> 16537<dl compact="compact"> 16538<dt>Input:</dt> 16539<dd><p><code>tag</code> (integer), <code>name</code> (string) 16540</p></dd> 16541<dt>Output:</dt> 16542<dd><p><code>value</code>
16542 (double) 16543</p></dd> 16544<dt>Return:</dt> 16545<dd><p>- 16546</p></dd> 16547<dt>Language-specific definition:</dt> 16548<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3747">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3342">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10001">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8868">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14329">Fortran</a> 16549</p></dd> 16550<dt>Examples:</dt> 16551<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t8.cpp#L125">t8.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/x3.cpp#L90">x3.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t8.py#L125">t8.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x3.py#L81">x3.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t8.jl#L127">t8.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x3.jl#L82">x3.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t8.f90#L134">t8.f90</a>) 16552</p></dd> 16553</dl> 16554 16555</dd> 16556<dt><code>gmsh/view/option/setString</code> 16557<span id="index-gmsh_002fview_002foption_002fsetString"></span> 16558</dt> 16559<dd><p>Set the string option <code>name</code> to value <code>value</code> for the view with tag <code>tag</code>. 16560</p> 16561<dl compact="compact"> 16562<dt>Input:</dt> 16563<dd><p><code>tag</code> (integer), <code>name</code> (string), <code>value</code> (string) 16564</p></dd> 16565<dt>Output:</dt> 16566<dd><p>- 16567</p></dd> 16568<dt>Return:</dt> 16569<dd><p>- 16570</p></dd> 16571<dt>Language-specific definition:</dt> 16572<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3754">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3348">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10027">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8889">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14357">Fortran</a> 16573</p></dd> 16574<dt>Examples:</dt> 16575<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t4.cpp#L151">t4.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t8.cpp#L100">t8.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t4.py#L161">t4.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t8.py#L96">t8.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t4.jl#L148">t4.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t8.jl#L95">t8.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t4.f90#L163">t4.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t8.f90#L104">t8.f90</a>) 16576</p></dd> 16577</dl> 16578 16579</dd> 16580<dt><code>gmsh/view/option/getString</code> 16581<span id="index-gmsh_002fview_002foption_002fgetString"></span> 16582</dt> 16583<dd><p>Get the <code>value</code> of the string option <code>name</code> for the view with tag <code>tag</code>. 16584</p> 16585<dl compact="compact"> 16586<dt>Input:</dt> 16587<dd><p><code>tag</code> (integer), <code>name</code> (string) 16588</p></dd> 16589<dt>Output:</dt> 16590<dd><p><code>value</code> (string) 16591</p></dd> 16592<dt>Return:</dt> 16593<dd><p>- 16594</p></dd> 16595<dt>Language-specific definition:</dt> 16596<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3761">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3354">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10049">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8911">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14385">Fortran</a> 16597</p></dd> 16598</dl> 16599 16600</dd> 16601<dt><code>gmsh/view/option/setColor</code> 16602<span id="index-gmsh_002fview_002foption_002fsetColor"></span> 16603</dt> 16604<dd><p>Set the color option <code>name</code> to the RGBA value (<code>r</code>, <code>g</code>, <code>b</code>, <code>a</code>) for the view with tag <code>tag</code>, where where <code>r</code>, <code>g</code>, <code>b</code> and <code>a</code> should be integers between 0 and 255. 16605</p> 16606<dl compact="compact"> 16607<dt>Input:</dt> 16608<dd><p><code>tag</code> (integer), <code>name</code> (string), <code>r</code> (integer), <code>g</code> (integer), <code>b</code> (integer), <code>a = 255</code> (integer) 16609</p></dd> 16610<dt>Output:</dt> 16611<dd><p>- 16612</p></dd> 16613<dt>Return:</dt> 16614<dd><p>- 16615</p></dd> 16616<dt>Language-specific definition:</dt> 16617<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3770">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3362">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10075">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8938">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14417">Fortran</a> 16618</p></dd> 16619</dl> 16620 16621</dd> 16622<dt><code>gmsh/view/option/getColor</code> 16623<span id="index-gmsh_002fview_002foption_002fgetColor"></span> 16624</dt> 16625<dd><p>Get the <code>r</code>, <code>g</code>, <code>b</code>, <code>a</code> value of the color option <code>name</code> for the view with tag <code>tag</code>. 16626</p> 16627<dl compact="compact"> 16628<dt>Input:</dt> 16629<dd><p><code>tag</code> (integer), <code>name</code> (string) 16630</p></dd> 16631<dt>Output:</dt> 16632<dd><p><code>r</code> (integer), <code>g</code> (integer), <code>b</code> (integer), <code>a</code> (integer) 16633</p></dd> 16634<dt>Return:</dt> 16635<dd><p>- 16636</p></dd> 16637<dt>Language-specific definition:</dt> 16638<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3781">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3372">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10105">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8964">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14461">Fortran</a> 16639</p></dd> 16640</dl> 16641 16642</dd> 16643<dt><code>gmsh/view/option/copy</code> 16644<span id="index-gmsh_002fview_002foption_002fcopy"></span> 16645</dt> 16646<dd><p>Copy the options from the view with tag <code>refTag</code> to the view with tag <code>tag</code>. 16647</p> 16648<dl compact="compact"> 16649<dt>Input:</dt> 16650<dd><p><code>refTag</code> (integer), <code>tag</code> (integer) 16651</p></dd> 16652<dt>Output:</dt> 16653<dd><p>- 16654</p></dd> 16655<dt>Return:</dt> 16656<dd><p>- 16657</p></dd> 16658<dt>Language-specific definition:</dt> 16659<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3792">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3382">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10145">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L8987">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14505">Fortran</a> 16660</p></dd> 16661</dl> 16662 16663</dd> 16664</dl> 16665 16666<hr> 16667<span id="Namespace-gmsh_002falgorithm"></span><div class="header"> 16668<p> 16669Next: <a href="#Namespace-gmsh_002fplugin" accesskey="n" rel="next">Namespace gmsh/plugin</a>, Previous: <a href="#Namespace-gmsh_002fview_002foption" accesskey="p" rel="prev">Namespace gmsh/view/option</a>, Up: <a href="#Gmsh-application-programming-interface" accesskey="u" rel="up">Gmsh application programming interface</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 16670</div> 16671<span id="Namespace-gmsh_002falgorithm_003a-raw-algorithms"></span>
16671<h3 class="section">6.12 Namespace <code>gmsh/algorithm</code>: raw algorithms</h3> 16672 16673<dl compact="compact"> 16674<dt><code>gmsh/algorithm/triangulate</code> 16675<span id="index-gmsh_002falgorithm_002ftriangulate"></span> 16676</dt> 16677<dd><p>Triangulate the points given in the <code>coordinates</code> vector as concatenated pairs of u, v coordinates, with (optional) constrained edges given in the <code>edges</code> vector as pairs of indexes (with numbering starting at 1), and return the triangles as concatenated triplets of point indexes (with numbering starting at 1) in <code>triangles</code>. 16678</p> 16679<dl compact="compact"> 16680<dt>Input:</dt> 16681<dd><p><code>coordinates</code> (vector of doubles), <code>edges = []</code> (vector of sizes) 16682</p></dd> 16683<dt>Output:</dt> 16684<dd><p><code>triangles</code> (vector of sizes) 16685</p></dd> 16686<dt>Return:</dt> 16687<dd><p>- 16688</p></dd> 16689<dt>Language-specific definition:</dt> 16690<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3808">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3391">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10171">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9025">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14532">Fortran</a> 16691</p></dd> 16692<dt>Examples:</dt> 16693<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/raw_triangulation.py#L14">raw_triangulation.py</a>) 16694</p></dd> 16695</dl> 16696 16697</dd> 16698<dt><code>gmsh/algorithm/tetrahedralize</code> 16699<span id="index-gmsh_002falgorithm_002ftetrahedralize"></span> 16700</dt> 16701<dd><p>Tetrahedralize the points given in the <code>coordinates</code> vector as concatenated triplets of x, y, z coordinates, with (optional) constrained triangles given in the <code>triangles</code> vector as triplets of indexes (with numbering starting at 1), and return the tetrahedra as concatenated quadruplets of point indexes (with numbering starting at 1) in <code>tetrahedra</code>. Steiner points might be added in the <code>steiner</code> vector. 16702</p> 16703<dl compact="compact"> 16704<dt>Input:</dt> 16705<dd><p><code>coordinates</code> (vector of doubles), <code>triangles = []</code> (vector of sizes) 16706</p></dd> 16707<dt>Output:</dt> 16708<dd><p><code>tetrahedra</code> (vector of sizes), <code>steiner</code> (vector of doubles) 16709</p></dd> 16710<dt>Return:</dt> 16711<dd><p>- 16712</p></dd> 16713<dt>Language-specific definition:</dt> 16714<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3820">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3402">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10202">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9055">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14578">Fortran</a> 16715</p></dd> 16716<dt>Examples:</dt> 16717<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/raw_tetrahedralization.py#L16">raw_tetrahedralization.py</a>) 16718</p></dd> 16719</dl> 16720 16721</dd> 16722</dl> 16723 16724<hr> 16725<span id="Namespace-gmsh_002fplugin"></span><div class="header"> 16726<p> 16727Next: <a href="#Namespace-gmsh_002fgraphics" accesskey="n" rel="next">Namespace gmsh/graphics</a>, Previous: <a href="#Namespace-gmsh_002falgorithm" accesskey="p" rel="prev">Namespace gmsh/algorithm</a>, Up: <a href="#Gmsh-application-programming-interface" accesskey="u" rel="up">Gmsh application programming interface</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 16728</div> 16729<span id="Namespace-gmsh_002fplugin_003a-plugin-functions"></span><h3 class="section">6.13 Namespace <code>gmsh/plugin</code>: plugin functions</h3> 16730 16731<dl compact="compact"> 16732<dt><code>gmsh/plugin/setNumber</code> 16733<span id="index-gmsh_002fplugin_002fsetNumber"></span> 16734</dt> 16735<dd><p>Set the numerical option <code>option</code> to the value <code>value</code> for plugin <code>name</code>. Plugins available in the official Gmsh release are listed in the <a href="https://gmsh.info/doc/texinfo/gmsh.html#Gmsh-plugins">"Gmsh plugins" chapter of the Gmsh reference manual</a>. 16736</p> 16737<dl compact="compact"> 16738<dt>Input:</dt> 16739<dd><p><code>name</code> (string), <code>option</code> (string), <code>value</code>
16739 (double) 16740</p></dd> 16741<dt>Output:</dt> 16742<dd><p>- 16743</p></dd> 16744<dt>Return:</dt> 16745<dd><p>- 16746</p></dd> 16747<dt>Language-specific definition:</dt> 16748<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3835">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3412">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10245">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9094">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14634">Fortran</a> 16749</p></dd> 16750<dt>Examples:</dt> 16751<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t9.cpp#L46">t9.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t21.cpp#L144">t21.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t9.py#L35">t9.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t21.py#L131">t21.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/adapt_mesh.py#L103">adapt_mesh.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/crack3d.py#L29">crack3d.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/crack.py#L33">crack.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t9.jl#L34">t9.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t21.jl#L130">t21.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t9.f90#L41">t9.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t21.f90#L157">t21.f90</a>) 16752</p></dd> 16753</dl> 16754 16755</dd> 16756<dt><code>gmsh/plugin/setString</code> 16757<span id="index-gmsh_002fplugin_002fsetString"></span> 16758</dt> 16759<dd><p>Set the string option <code>option</code> to the value <code>value</code> for plugin <code>name</code>. Plugins available in the official Gmsh release are listed in the <a href="https://gmsh.info/doc/texinfo/gmsh.html#Gmsh-plugins">"Gmsh plugins" chapter of the Gmsh reference manual</a>. 16760</p> 16761<dl compact="compact"> 16762<dt>Input:</dt> 16763<dd><p><code>name</code> (string), <code>option</code> (string), <code>value</code> (string) 16764</p></dd> 16765<dt>Output:</dt> 16766<dd><p>- 16767</p></dd> 16768<dt>Return:</dt> 16769<dd><p>- 16770</p></dd> 16771<dt>Language-specific definition:</dt> 16772<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3845">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3421">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10270">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9117">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14665">Fortran</a> 16773</p></dd> 16774<dt>Examples:</dt> 16775<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t9.cpp#L62">t9.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t9.py#L51">t9.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t9.jl#L50">t9.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t9.f90#L57">t9.f90</a>) 16776</p></dd> 16777</dl> 16778 16779</dd> 16780<dt><code>gmsh/plugin/run</code> 16781<span id="index-gmsh_002fplugin_002frun"></span> 16782</dt> 16783<dd><p>Run the plugin <code>name</code>. Return the tag of the created view (if any). Plugins available in the official Gmsh release are listed in the <a href="https://gmsh.info/doc/texinfo/gmsh.html#Gmsh-plugins">"Gmsh plugins" chapter of the Gmsh reference manual</a>. 16784</p> 16785<dl compact="compact"> 16786<dt>Input:</dt> 16787<dd><p><code>name</code> (string) 16788</p></dd> 16789<dt>Output:</dt> 16790<dd><p>- 16791</p></dd> 16792<dt>Return:</dt> 16793<dd><p>integer 16794</p></dd> 16795<dt>Language-specific definition:</dt> 16796<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3855">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3430">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10295">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9140">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14696">Fortran</a> 16797</p></dd> 16798<dt>Examples:</dt> 16799<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t9.cpp#L48">t9.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t21.cpp#L147">t21.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t9.py#L37">t9.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t21.py#L134">t21.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/adapt_mesh.py#L104">adapt_mesh.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/crack3d.py#L32">crack3d.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/crack.py#L36">crack.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t9.jl#L36">t9.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t21.jl#L133">t21.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t9.f90#L43">t9.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t21.f90#L160">t21.f90</a>) 16800</p></dd> 16801</dl> 16802 16803</dd> 16804</dl> 16805 16806<hr> 16807<span id="Namespace-gmsh_002fgraphics"></span><div class="header"> 16808<p> 16809Next: <a href="#Namespace-gmsh_002ffltk" accesskey="n" rel="next">Namespace gmsh/fltk</a>, Previous: <a href="#Namespace-gmsh_002fplugin" accesskey="p" rel="prev">Namespace gmsh/plugin</a>, Up: <a href="#Gmsh-application-programming-interface" accesskey="u" rel="up">Gmsh application programming interface</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 16810</div> 16811<span id="Namespace-gmsh_002fgraphics_003a-graphics-functions"></span>
16811<h3 class="section">6.14 Namespace <code>gmsh/graphics</code>: graphics functions</h3> 16812 16813<dl compact="compact"> 16814<dt><code>gmsh/graphics/draw</code> 16815<span id="index-gmsh_002fgraphics_002fdraw"></span> 16816</dt> 16817<dd><p>Draw all the OpenGL scenes. 16818</p> 16819<dl compact="compact"> 16820<dt>Input:</dt> 16821<dd><p>- 16822</p></dd> 16823<dt>Output:</dt> 16824<dd><p>- 16825</p></dd> 16826<dt>Return:</dt> 16827<dd><p>- 16828</p></dd> 16829<dt>Language-specific definition:</dt> 16830<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3864">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3434">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10324">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9165">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14716">Fortran</a> 16831</p></dd> 16832<dt>Examples:</dt> 16833<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L129">t3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t8.cpp#L155">t8.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t13.cpp#L129">t13.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t21.cpp#L192">t21.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L120">t3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t8.py#L153">t8.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t13.py#L115">t13.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t21.py#L162">t21.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/test.py#L9">test.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L120">t3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t8.jl#L156">t8.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t13.jl#L113">t13.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t21.jl#L164">t21.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L169">t3.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t8.f90#L165">t8.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t13.f90#L146">t13.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t21.f90#L195">t21.f90</a>) 16834</p></dd> 16835</dl> 16836 16837</dd> 16838</dl> 16839 16840<hr> 16841<span id="Namespace-gmsh_002ffltk"></span><div class="header"> 16842<p> 16843Next: <a href="#Namespace-gmsh_002fparser" accesskey="n" rel="next">Namespace gmsh/parser</a>, Previous: <a href="#Namespace-gmsh_002fgraphics" accesskey="p" rel="prev">Namespace gmsh/graphics</a>, Up: <a href="#Gmsh-application-programming-interface" accesskey="u" rel="up">Gmsh application programming interface</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 16844</div> 16845<span id="Namespace-gmsh_002ffltk_003a-FLTK-graphical-user-interface-functions"></span><h3 class="section">6.15 Namespace <code>gmsh/fltk</code>: FLTK graphical user interface functions</h3> 16846 16847<dl compact="compact"> 16848<dt><code>gmsh/fltk/initialize</code> 16849<span id="index-gmsh_002ffltk_002finitialize"></span> 16850</dt> 16851<dd><p>Create the FLTK graphical user interface. Can only be called in the main thread. 16852</p> 16853<dl compact="compact"> 16854<dt>Input:</dt> 16855<dd><p>- 16856</p></dd> 16857<dt>Output:</dt> 16858<dd><p>- 16859</p></dd> 16860<dt>Return:</dt> 16861<dd><p>- 16862</p></dd> 16863<dt>Language-specific definition:</dt> 16864<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3874">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3438">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10343">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9190">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14730">Fortran</a> 16865</p></dd> 16866<dt>Examples:</dt> 16867<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L136">t3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t8.cpp#L71">t8.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t13.cpp#L136">t13.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t21.cpp#L199">t21.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L124">t3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t8.py#L68">t8.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t13.py#L119">t13.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t21.py#L166">t21.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/test.py#L8">test.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L126">t3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t8.jl#L65">t8.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t13.jl#L119">t13.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t21.jl#L170">t21.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/gui.jl#L11">gui.jl</a>, ...), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L58">t3.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t13.f90#L50">t13.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t21.f90#L109">t21.f90</a>) 16868</p></dd> 16869</dl> 16870 16871</dd> 16872<dt><code>gmsh/fltk/finalize</code>
16873<span id="index-gmsh_002ffltk_002ffinalize"></span> 16874</dt> 16875<dd><p>Close the FLTK graphical user interface. Can only be called in the main thread. 16876</p> 16877<dl compact="compact"> 16878<dt>Input:</dt> 16879<dd><p>- 16880</p></dd> 16881<dt>Output:</dt> 16882<dd><p>- 16883</p></dd> 16884<dt>Return:</dt> 16885<dd><p>- 16886</p></dd> 16887<dt>Language-specific definition:</dt> 16888<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3880">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3442">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10357">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9204">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14744">Fortran</a> 16889</p></dd> 16890</dl> 16891 16892</dd> 16893<dt><code>gmsh/fltk/wait</code> 16894<span id="index-gmsh_002ffltk_002fwait"></span> 16895</dt> 16896<dd><p>Wait at most <code>time</code> seconds for user interface events and return. If <code>time</code> < 0, wait indefinitely. First automatically create the user interface if it has not yet been initialized. Can only be called in the main thread. 16897</p> 16898<dl compact="compact"> 16899<dt>Input:</dt> 16900<dd><p><code>time = -1.</code> (double) 16901</p></dd> 16902<dt>Output:</dt> 16903<dd><p>- 16904</p></dd> 16905<dt>Return:</dt> 16906<dd><p>- 16907</p></dd> 16908<dt>Language-specific definition:</dt> 16909<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3887">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3447">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10371">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9223">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14759">Fortran</a> 16910</p></dd> 16911<dt>Examples:</dt> 16912<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L138">t3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t13.cpp#L138">t13.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t21.cpp#L201">t21.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L126">t3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t13.py#L121">t13.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t21.py#L168">t21.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/custom_gui.py#L115">custom_gui.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/prepro.py#L225">prepro.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L128">t3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t13.jl#L121">t13.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t21.jl#L172">t21.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_bspline.jl#L73">terrain_bspline.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L60">t3.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t13.f90#L52">t13.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t21.f90#L111">t21.f90</a>) 16913</p></dd> 16914</dl> 16915 16916</dd> 16917<dt><code>gmsh/fltk/update</code> 16918<span id="index-gmsh_002ffltk_002fupdate"></span> 16919</dt> 16920<dd><p>Update the user interface (potentially creating new widgets and windows). First automatically create the user interface if it has not yet been initialized. Can only be called in the main thread: use <code>awake("update")</code> to trigger an update of the user interface from another thread. 16921</p> 16922<dl compact="compact"> 16923<dt>Input:</dt> 16924<dd><p>- 16925</p></dd> 16926<dt>Output:</dt> 16927<dd><p>- 16928</p></dd> 16929<dt>Return:</dt> 16930<dd><p>- 16931</p></dd> 16932<dt>Language-specific definition:</dt> 16933<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3895">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3454">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10390">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9240">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14780">Fortran</a> 16934</p></dd> 16935<dt>Examples:</dt> 16936<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/custom_gui.py#L84">custom_gui.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/prepro.py#L191">prepro.py</a>) 16937</p></dd> 16938</dl> 16939 16940</dd> 16941<dt><code>gmsh/fltk/awake</code> 16942<span id="index-gmsh_002ffltk_002fawake"></span> 16943</dt> 16944<dd><p>Awake the main user interface thread and process pending events, and optionally perform an action (currently the only <code>action</code> allowed is "update"). 16945</p> 16946<dl compact="compact"> 16947<dt>Input:</dt> 16948<dd><p><code>action = ""</code> (string) 16949</p></dd> 16950<dt>Output:</dt> 16951<dd><p>- 16952</p></dd> 16953<dt>Return:</dt> 16954<dd><p>- 16955</p></dd> 16956<dt>Language-specific definition:</dt> 16957<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3902">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3459">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10406">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9258">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14795">Fortran</a> 16958</p></dd> 16959<dt>Examples:</dt> 16960<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/custom_gui.py#L66">custom_gui.py</a>) 16961</p></dd> 16962</dl> 16963 16964</dd> 16965<dt><code>gmsh/fltk/lock</code> 16966<span id="index-gmsh_002ffltk_002flock"></span> 16967</dt> 16968<dd><p>Block the current thread until it can safely modify the user interface. 16969</p> 16970<dl compact="compact"> 16971<dt>Input:</dt> 16972<dd><p>- 16973</p></dd> 16974<dt>Output:</dt> 16975<dd><p>- 16976</p></dd> 16977<dt>Return:</dt> 16978<dd><p>- 16979</p></dd> 16980<dt>Language-specific definition:</dt> 16981<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3907">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3463">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10425">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9272">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14813">Fortran</a> 16982</p></dd> 16983<dt>Examples:</dt> 16984<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/custom_gui.py#L59">custom_gui.py</a>) 16985</p></dd> 16986</dl> 16987 16988</dd> 16989<dt><code>gmsh/fltk/unlock</code> 16990<span id="index-gmsh_002ffltk_002funlock"></span> 16991</dt> 16992<dd><p>Release the lock that was set using lock. 16993</p> 16994<dl compact="compact"> 16995<dt>Input:</dt> 16996<dd><p>- 16997</p></dd> 16998<dt>Output:</dt> 16999<dd><p>- 17000</p></dd> 17001<dt>Return:</dt> 17002<dd><p>- 17003</p></dd> 17004<dt>Language-specific definition:</dt> 17005<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3912">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3466">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10438">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9286">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14826">Fortran</a> 17006</p></dd> 17007<dt>Examples:</dt> 17008<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/custom_gui.py#L61">custom_gui.py</a>) 17009</p></dd> 17010</dl> 17011 17012</dd> 17013<dt><code>gmsh/fltk/run</code> 17014<span id="index-gmsh_002ffltk_002frun"></span> 17015</dt> 17016<dd><p>Run the event loop of the graphical user interface, i.e. repeatedly call <code>wait()</code>. First automatically create the user interface if it has not yet been initialized. If an <code>optionFileName</code> is given, load it before entering the loop, and save all options and visibility information into it after exiting the loop. Can only be called in the main thread. 17017</p> 17018<dl compact="compact"> 17019<dt>Input:</dt> 17020<dd><p><code>optionFileName = ""</code> (string) 17021</p></dd> 17022<dt>Output:</dt> 17023<dd><p>- 17024</p></dd> 17025<dt>Return:</dt> 17026<dd><p>- 17027</p></dd> 17028<dt>Language-specific definition:</dt> 17029<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3921">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3473">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10451">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9307">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14843">Fortran</a> 17030</p></dd> 17031<dt>Examples:</dt> 17032<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t1.cpp#L150">t1.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t2.cpp#L158">t2.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t4.cpp#L171">t4.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t5.cpp#L225">t5.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t6.cpp#L104">t6.cpp</a>, ...), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t1.py#L149">t1.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t2.py#L150">t2.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t4.py#L180">t4.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t5.py#L219">t5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t6.py#L104">t6.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t1.jl#L149">t1.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t2.jl#L148">t2.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t4.jl#L166">
17032t4.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t5.jl#L216">t5.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t6.jl#L103">t6.jl</a>, ...), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t1.f90#L151">t1.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t2.f90#L164">t2.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t4.f90#L181">t4.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t5.f90#L170">t5.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t6.f90#L110">t6.f90</a>, ...) 17033</p></dd> 17034</dl> 17035 17036</dd> 17037<dt><code>gmsh/fltk/isAvailable</code> 17038<span id="index-gmsh_002ffltk_002fisAvailable"></span> 17039</dt> 17040<dd><p>Check if the user interface is available (e.g. to detect if it has been closed). 17041</p> 17042<dl compact="compact"> 17043<dt>Input:</dt> 17044<dd><p>- 17045</p></dd> 17046<dt>Output:</dt> 17047<dd><p>- 17048</p></dd> 17049<dt>Return:</dt> 17050<dd><p>integer 17051</p></dd> 17052<dt>Language-specific definition:</dt> 17053<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3927">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3478">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10472">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9323">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14862">Fortran</a> 17054</p></dd> 17055<dt>Examples:</dt> 17056<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L137">t3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t13.cpp#L137">t13.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t21.cpp#L200">t21.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L125">t3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t13.py#L120">t13.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t21.py#L167">t21.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/custom_gui.py#L114">custom_gui.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/prepro.py#L211">prepro.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L127">t3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t13.jl#L120">t13.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t21.jl#L171">t21.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_bspline.jl#L72">terrain_bspline.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L59">t3.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t13.f90#L51">t13.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t21.f90#L110">t21.f90</a>) 17057</p></dd> 17058</dl> 17059 17060</dd> 17061<dt><code>gmsh/fltk/selectEntities</code> 17062<span id="index-gmsh_002ffltk_002fselectEntities"></span> 17063</dt> 17064<dd><p>Select entities in the user interface. Return the selected entities as a vector of (dim, tag) pairs. If <code>dim</code> is >= 0, return only the entities of the specified dimension (e.g. points if <code>dim</code> == 0). 17065</p> 17066<dl compact="compact"> 17067<dt>Input:</dt> 17068<dd><p><code>dim = -1</code> (integer) 17069</p></dd> 17070<dt>Output:</dt> 17071<dd><p><code>dimTags</code> (vector of pairs of integers) 17072</p></dd> 17073<dt>Return:</dt> 17074<dd><p>integer 17075</p></dd> 17076<dt>Language-specific definition:</dt> 17077<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3934">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3483">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10490">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9346">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14879">Fortran</a> 17078</p></dd> 17079<dt>Examples:</dt> 17080<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/prepro.py#L207">prepro.py</a>) 17081</p></dd> 17082</dl> 17083 17084</dd> 17085<dt><code>gmsh/fltk/selectElements</code> 17086<span id="index-gmsh_002ffltk_002fselectElements"></span> 17087</dt> 17088<dd><p>Select elements in the user interface. 17089</p> 17090<dl compact="compact"> 17091<dt>Input:</dt> 17092<dd><p>- 17093</p></dd> 17094<dt>Output:</dt> 17095<dd><p><code>elementTags</code> (vector of sizes) 17096</p></dd> 17097<dt>Return:</dt> 17098<dd><p>integer 17099</p></dd> 17100<dt>Language-specific definition:</dt> 17101<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3940">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3488">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10518">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9370">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14911">Fortran</a> 17102</p></dd> 17103<dt>Examples:</dt> 17104<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/select_elements.py#L14">select_elements.py</a>) 17105</p></dd> 17106</dl> 17107 17108</dd> 17109<dt><code>gmsh/fltk/selectViews</code> 17110<span id="index-gmsh_002ffltk_002fselectViews"></span> 17111</dt> 17112<dd><p>Select views in the user interface. 17113</p> 17114<dl compact="compact"> 17115<dt>Input:</dt> 17116<dd><p>- 17117</p></dd> 17118<dt>Output:</dt> 17119<dd><p><code>viewTags</code> (vector of integers) 17120</p></dd> 17121<dt>Return:</dt> 17122<dd><p>integer 17123</p></dd> 17124<dt>Language-specific definition:</dt> 17125<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3945">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3492">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10542">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9393">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14938">Fortran</a> 17126</p></dd> 17127</dl> 17128 17129</dd> 17130<dt><code>gmsh/fltk/splitCurrentWindow</code> 17131<span id="index-gmsh_002ffltk_002fsplitCurrentWindow"></span> 17132</dt> 17133<dd><p>Split the current window horizontally (if <code>how</code> == "h") or vertically (if <code>how</code> == "v"), using ratio <code>ratio</code>. If <code>how</code> == "u", restore a single window. 17134</p> 17135<dl compact="compact"> 17136<dt>Input:</dt> 17137<dd><p><code>how = "v"</code> (string), <code>ratio = 0.5</code>
17137 (double) 17138</p></dd> 17139<dt>Output:</dt> 17140<dd><p>- 17141</p></dd> 17142<dt>Return:</dt> 17143<dd><p>- 17144</p></dd> 17145<dt>Language-specific definition:</dt> 17146<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3952">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3498">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10566">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9416">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14967">Fortran</a> 17147</p></dd> 17148<dt>Examples:</dt> 17149<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/split_window.py#L21">split_window.py</a>) 17150</p></dd> 17151</dl> 17152 17153</dd> 17154<dt><code>gmsh/fltk/setCurrentWindow</code> 17155<span id="index-gmsh_002ffltk_002fsetCurrentWindow"></span> 17156</dt> 17157<dd><p>Set the current window by speficying its index (starting at 0) in the list of all windows. When new windows are created by splits, new windows are appended at the end of the list. 17158</p> 17159<dl compact="compact"> 17160<dt>Input:</dt> 17161<dd><p><code>windowIndex = 0</code> (integer) 17162</p></dd> 17163<dt>Output:</dt> 17164<dd><p>- 17165</p></dd> 17166<dt>Return:</dt> 17167<dd><p>- 17168</p></dd> 17169<dt>Language-specific definition:</dt> 17170<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3960">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3505">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10588">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9436">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L14992">Fortran</a> 17171</p></dd> 17172<dt>Examples:</dt> 17173<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/split_window.py#L36">split_window.py</a>) 17174</p></dd> 17175</dl> 17176 17177</dd> 17178<dt><code>gmsh/fltk/setStatusMessage</code> 17179<span id="index-gmsh_002ffltk_002fsetStatusMessage"></span> 17180</dt> 17181<dd><p>Set a status message in the current window. If <code>graphics</code> is set, display the message inside the graphic window instead of the status bar. 17182</p> 17183<dl compact="compact"> 17184<dt>Input:</dt> 17185<dd><p><code>message</code> (string), <code>graphics = False</code> (boolean) 17186</p></dd> 17187<dt>Output:</dt> 17188<dd><p>- 17189</p></dd> 17190<dt>Return:</dt> 17191<dd><p>- 17192</p></dd> 17193<dt>Language-specific definition:</dt> 17194<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3966">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3510">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10608">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9456">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15011">Fortran</a> 17195</p></dd> 17196<dt>Examples:</dt> 17197<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/prepro.py#L204">prepro.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/select_elements.py#L13">select_elements.py</a>) 17198</p></dd> 17199</dl> 17200 17201</dd> 17202<dt><code>gmsh/fltk/showContextWindow</code> 17203<span id="index-gmsh_002ffltk_002fshowContextWindow"></span> 17204</dt> 17205<dd><p>Show context window for the entity of dimension <code>dim</code> and tag <code>tag</code>. 17206</p> 17207<dl compact="compact"> 17208<dt>Input:</dt> 17209<dd><p><code>dim</code> (integer), <code>tag</code> (integer) 17210</p></dd> 17211<dt>Output:</dt> 17212<dd><p>- 17213</p></dd> 17214<dt>Return:</dt> 17215<dd><p>- 17216</p></dd> 17217<dt>Language-specific definition:</dt> 17218<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3972">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3515">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10629">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9475">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15034">Fortran</a> 17219</p></dd> 17220<dt>Examples:</dt> 17221<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/prepro.py#L213">prepro.py</a>) 17222</p></dd> 17223</dl> 17224 17225</dd> 17226<dt><code>gmsh/fltk/openTreeItem</code> 17227<span id="index-gmsh_002ffltk_002fopenTreeItem"></span> 17228</dt> 17229<dd><p>Open the <code>name</code> item in the menu tree. 17230</p> 17231<dl compact="compact"> 17232<dt>Input:</dt> 17233<dd><p><code>name</code> (string) 17234</p></dd> 17235<dt>Output:</dt> 17236<dd><p>- 17237</p></dd> 17238<dt>Return:</dt> 17239<dd><p>- 17240</p></dd> 17241<dt>Language-specific definition:</dt> 17242<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3978">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3520">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10649">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9493">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15057">Fortran</a> 17243</p></dd> 17244<dt>Examples:</dt> 17245<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/prepro.py#L223">prepro.py</a>) 17246</p></dd> 17247</dl> 17248 17249</dd> 17250<dt><code>gmsh/fltk/closeTreeItem</code> 17251<span id="index-gmsh_002ffltk_002fcloseTreeItem"></span> 17252</dt> 17253<dd><p>Close the <code>name</code> item in the menu tree. 17254</p> 17255<dl compact="compact"> 17256<dt>Input:</dt> 17257<dd><p><code>name</code> (string) 17258</p></dd> 17259<dt>Output:</dt> 17260<dd><p>- 17261</p></dd> 17262<dt>Return:</dt> 17263<dd><p>- 17264</p></dd> 17265<dt>Language-specific definition:</dt> 17266<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3983">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3524">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10667">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9511">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15075">Fortran</a> 17267</p></dd> 17268</dl> 17269 17270</dd> 17271</dl> 17272 17273<hr> 17274<span id="Namespace-gmsh_002fparser"></span><div class="header"> 17275<p> 17276Next: <a href="#Namespace-gmsh_002fonelab" accesskey="n" rel="next">Namespace gmsh/onelab</a>, Previous: <a href="#Namespace-gmsh_002ffltk" accesskey="p" rel="prev">Namespace gmsh/fltk</a>, Up: <a href="#Gmsh-application-programming-interface" accesskey="u" rel="up">Gmsh application programming interface</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 17277</div> 17278<span id="Namespace-gmsh_002fparser_003a-parser-functions"></span>
17278<h3 class="section">6.16 Namespace <code>gmsh/parser</code>: parser functions</h3> 17279 17280<dl compact="compact"> 17281<dt><code>gmsh/parser/getNames</code> 17282<span id="index-gmsh_002fparser_002fgetNames"></span> 17283</dt> 17284<dd><p>Get the names of the variables in the Gmsh parser matching the <code>search</code> regular expression. If <code>search</code> is empty, return all the names. 17285</p> 17286<dl compact="compact"> 17287<dt>Input:</dt> 17288<dd><p><code>search = ""</code> (string) 17289</p></dd> 17290<dt>Output:</dt> 17291<dd><p><code>names</code> (vector of strings) 17292</p></dd> 17293<dt>Return:</dt> 17294<dd><p>- 17295</p></dd> 17296<dt>Language-specific definition:</dt> 17297<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L3993">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3529">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10691">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9544">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15094">Fortran</a> 17298</p></dd> 17299</dl> 17300 17301</dd> 17302<dt><code>gmsh/parser/setNumber</code> 17303<span id="index-gmsh_002fparser_002fsetNumber"></span> 17304</dt> 17305<dd><p>Set the value of the number variable <code>name</code> in the Gmsh parser. Create the variable if it does not exist; update the value if the variable exists. 17306</p> 17307<dl compact="compact"> 17308<dt>Input:</dt> 17309<dd><p><code>name</code> (string), <code>value</code> (vector of doubles) 17310</p></dd> 17311<dt>Output:</dt> 17312<dd><p>- 17313</p></dd> 17314<dt>Return:</dt> 17315<dd><p>- 17316</p></dd> 17317<dt>Language-specific definition:</dt> 17318<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4000">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3535">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10716">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9568">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15125">Fortran</a> 17319</p></dd> 17320</dl> 17321 17322</dd> 17323<dt><code>gmsh/parser/setString</code> 17324<span id="index-gmsh_002fparser_002fsetString"></span> 17325</dt> 17326<dd><p>Set the value of the string variable <code>name</code> in the Gmsh parser. Create the variable if it does not exist; update the value if the variable exists. 17327</p> 17328<dl compact="compact"> 17329<dt>Input:</dt> 17330<dd><p><code>name</code> (string), <code>value</code> (vector of strings) 17331</p></dd> 17332<dt>Output:</dt> 17333<dd><p>- 17334</p></dd> 17335<dt>Return:</dt> 17336<dd><p>- 17337</p></dd> 17338<dt>Language-specific definition:</dt> 17339<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4007">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3541">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10738">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9588">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15152">Fortran</a> 17340</p></dd> 17341</dl> 17342 17343</dd> 17344<dt><code>gmsh/parser/getNumber</code> 17345<span id="index-gmsh_002fparser_002fgetNumber"></span> 17346</dt> 17347<dd><p>Get the value of the number variable <code>name</code> from the Gmsh parser. Return an empty vector if the variable does not exist. 17348</p> 17349<dl compact="compact"> 17350<dt>Input:</dt> 17351<dd><p><code>name</code> (string) 17352</p></dd> 17353<dt>Output:</dt> 17354<dd><p><code>value</code> (vector of doubles) 17355</p></dd> 17356<dt>Return:</dt> 17357<dd><p>- 17358</p></dd> 17359<dt>Language-specific definition:</dt> 17360<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4014">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3547">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10760">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9610">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15184">Fortran</a> 17361</p></dd> 17362</dl> 17363 17364</dd> 17365<dt><code>gmsh/parser/getString</code> 17366<span id="index-gmsh_002fparser_002fgetString"></span> 17367</dt> 17368<dd><p>Get the value of the string variable <code>name</code> from the Gmsh parser. Return an empty vector if the variable does not exist. 17369</p> 17370<dl compact="compact"> 17371<dt>Input:</dt> 17372<dd><p><code>name</code> (string) 17373</p></dd> 17374<dt>Output:</dt> 17375<dd><p><code>value</code> (vector of strings) 17376</p></dd> 17377<dt>Return:</dt> 17378<dd><p>- 17379</p></dd> 17380<dt>Language-specific definition:</dt> 17381<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4021">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3553">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10785">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9635">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15215">Fortran</a> 17382</p></dd> 17383</dl> 17384 17385</dd> 17386<dt><code>gmsh/parser/clear</code> 17387<span id="index-gmsh_002fparser_002fclear"></span> 17388</dt> 17389<dd><p>Clear all the Gmsh parser variables, or remove a single variable if <code>name</code> is given. 17390</p> 17391<dl compact="compact"> 17392<dt>Input:</dt> 17393<dd><p><code>name = ""</code> (string) 17394</p></dd> 17395<dt>Output:</dt> 17396<dd><p>- 17397</p></dd> 17398<dt>Return:</dt> 17399<dd><p>- 17400</p></dd> 17401<dt>Language-specific definition:</dt> 17402<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4028">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3559">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10810">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9658">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15246">Fortran</a> 17403</p></dd> 17404</dl> 17405 17406</dd> 17407<dt><code>gmsh/parser/parse</code> 17408<span id="index-gmsh_002fparser_002fparse"></span> 17409</dt> 17410<dd><p>Parse the file <code>fileName</code> with the Gmsh parser. 17411</p> 17412<dl compact="compact"> 17413<dt>Input:</dt> 17414<dd><p><code>fileName</code> (string) 17415</p></dd> 17416<dt>Output:</dt> 17417<dd><p>- 17418</p></dd> 17419<dt>Return:</dt> 17420<dd><p>- 17421</p></dd> 17422<dt>Language-specific definition:</dt> 17423<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4033">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3563">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10828">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9675">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15264">Fortran</a> 17424</p></dd> 17425</dl> 17426 17427</dd> 17428</dl> 17429 17430<hr> 17431<span id="Namespace-gmsh_002fonelab"></span><div class="header"> 17432<p> 17433Next: <a href="#Namespace-gmsh_002flogger" accesskey="n" rel="next">Namespace gmsh/logger</a>, Previous: <a href="#Namespace-gmsh_002fparser" accesskey="p" rel="prev">Namespace gmsh/parser</a>, Up: <a href="#Gmsh-application-programming-interface" accesskey="u" rel="up">Gmsh application programming interface</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 17434</div> 17435<span id="Namespace-gmsh_002fonelab_003a-ONELAB-server-functions"></span>
17435<h3 class="section">6.17 Namespace <code>gmsh/onelab</code>: ONELAB server functions</h3> 17436 17437<dl compact="compact"> 17438<dt><code>gmsh/onelab/set</code> 17439<span id="index-gmsh_002fonelab_002fset"></span> 17440</dt> 17441<dd><p>Set one or more parameters in the ONELAB database, encoded in <code>format</code>. 17442</p> 17443<dl compact="compact"> 17444<dt>Input:</dt> 17445<dd><p><code>data</code> (string), <code>format = "json"</code> (string) 17446</p></dd> 17447<dt>Output:</dt> 17448<dd><p>- 17449</p></dd> 17450<dt>Return:</dt> 17451<dd><p>- 17452</p></dd> 17453<dt>Language-specific definition:</dt> 17454<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4042">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3567">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10851">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9704">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15282">Fortran</a> 17455</p></dd> 17456<dt>Examples:</dt> 17457<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L106">t3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t13.cpp#L95">t13.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t21.cpp#L57">t21.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L99">t3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t13.py#L82">t13.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t21.py#L45">t21.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/custom_gui.py#L33">custom_gui.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/onelab_test.py#L9">onelab_test.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L99">t3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t13.jl#L80">t13.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t21.jl#L44">t21.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/onelab_test.jl#L7">onelab_test.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_bspline.jl#L29">terrain_bspline.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L43">t3.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t13.f90#L22">t13.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t21.f90#L57">t21.f90</a>) 17458</p></dd> 17459</dl> 17460 17461</dd> 17462<dt><code>gmsh/onelab/get</code> 17463<span id="index-gmsh_002fonelab_002fget"></span> 17464</dt> 17465<dd><p>Get all the parameters (or a single one if <code>name</code> is specified) from the ONELAB database, encoded in <code>format</code>. 17466</p> 17467<dl compact="compact"> 17468<dt>Input:</dt> 17469<dd><p><code>name = ""</code> (string), <code>format = "json"</code> (string) 17470</p></dd> 17471<dt>Output:</dt> 17472<dd><p><code>data</code> (string) 17473</p></dd> 17474<dt>Return:</dt> 17475<dd><p>- 17476</p></dd> 17477<dt>Language-specific definition:</dt> 17478<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4049">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3573">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10870">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9726">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15306">Fortran</a> 17479</p></dd> 17480<dt>Examples:</dt> 17481<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/onelab_run_auto.py#L31">onelab_run_auto.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/onelab_test.py#L35">onelab_test.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/prepro.py#L173">prepro.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/onelab_test.jl#L33">onelab_test.jl</a>) 17482</p></dd> 17483</dl> 17484 17485</dd> 17486<dt><code>
17486gmsh/onelab/getNames</code> 17487<span id="index-gmsh_002fonelab_002fgetNames"></span> 17488</dt> 17489<dd><p>Get the names of the parameters in the ONELAB database matching the <code>search</code> regular expression. If <code>search</code> is empty, return all the names. 17490</p> 17491<dl compact="compact"> 17492<dt>Input:</dt> 17493<dd><p><code>search = ""</code> (string) 17494</p></dd> 17495<dt>Output:</dt> 17496<dd><p><code>names</code> (vector of strings) 17497</p></dd> 17498<dt>Return:</dt> 17499<dd><p>- 17500</p></dd> 17501<dt>Language-specific definition:</dt> 17502<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4057">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3580">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10896">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9749">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15337">Fortran</a> 17503</p></dd> 17504<dt>Examples:</dt> 17505<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/prepro.py#L175">prepro.py</a>) 17506</p></dd> 17507</dl> 17508 17509</dd> 17510<dt><code>gmsh/onelab/setNumber</code> 17511<span id="index-gmsh_002fonelab_002fsetNumber"></span> 17512</dt> 17513<dd><p>Set the value of the number parameter <code>name</code> in the ONELAB database. Create the parameter if it does not exist; update the value if the parameter exists. 17514</p> 17515<dl compact="compact"> 17516<dt>Input:</dt> 17517<dd><p><code>name</code> (string), <code>value</code> (vector of doubles) 17518</p></dd> 17519<dt>Output:</dt> 17520<dd><p>- 17521</p></dd> 17522<dt>Return:</dt> 17523<dd><p>- 17524</p></dd> 17525<dt>Language-specific definition:</dt> 17526<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4065">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3587">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10921">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9773">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15369">Fortran</a> 17527</p></dd> 17528<dt>Examples:</dt> 17529<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/custom_gui.py#L67">custom_gui.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/onelab_run.py#L18">onelab_run.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/onelab_test.py#L40">onelab_test.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/onelab_test.jl#L38">onelab_test.jl</a>) 17530</p></dd> 17531</dl> 17532 17533</dd> 17534<dt><code>gmsh/onelab/setString</code> 17535<span id="index-gmsh_002fonelab_002fsetString"></span> 17536</dt> 17537<dd><p>Set the value of the string parameter <code>name</code> in the ONELAB database. Create the parameter if it does not exist; update the value if the parameter exists. 17538</p> 17539<dl compact="compact"> 17540<dt>Input:</dt> 17541<dd><p><code>name</code> (string), <code>value</code> (vector of strings) 17542</p></dd> 17543<dt>Output:</dt> 17544<dd><p>- 17545</p></dd> 17546<dt>Return:</dt> 17547<dd><p>- 17548</p></dd> 17549<dt>Language-specific definition:</dt> 17550<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4073">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3594">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10944">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9793">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15397">Fortran</a> 17551</p></dd> 17552<dt>Examples:</dt> 17553<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L127">t3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t13.cpp#L127">t13.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t21.cpp#L190">t21.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L118">t3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t13.py#L113">t13.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t21.py#L160">t21.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/custom_gui.py#L56">custom_gui.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/onelab_test.py#L41">onelab_test.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L118">t3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t13.jl#L111">t13.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t21.jl#L162">t21.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/onelab_test.jl#L39">onelab_test.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_bspline.jl#L64">
17553terrain_bspline.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L167">t3.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t13.f90#L144">t13.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t21.f90#L193">t21.f90</a>) 17554</p></dd> 17555</dl> 17556 17557</dd> 17558<dt><code>gmsh/onelab/getNumber</code> 17559<span id="index-gmsh_002fonelab_002fgetNumber"></span> 17560</dt> 17561<dd><p>Get the value of the number parameter <code>name</code> from the ONELAB database. Return an empty vector if the parameter does not exist. 17562</p> 17563<dl compact="compact"> 17564<dt>Input:</dt> 17565<dd><p><code>name</code> (string) 17566</p></dd> 17567<dt>Output:</dt> 17568<dd><p><code>value</code> (vector of doubles) 17569</p></dd> 17570<dt>Return:</dt> 17571<dd><p>- 17572</p></dd> 17573<dt>Language-specific definition:</dt> 17574<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4080">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3600">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10967">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9815">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15429">Fortran</a> 17575</p></dd> 17576<dt>Examples:</dt> 17577<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L69">t3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t13.cpp#L37">t13.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t21.cpp#L109">t21.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L64">t3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t13.py#L29">t13.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t21.py#L95">t21.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/custom_gui.py#L41">custom_gui.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/prepro.py#L177">prepro.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L63">t3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t13.jl#L25">t13.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t21.jl#L94">t21.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_bspline.jl#L40">terrain_bspline.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L135">t3.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t13.f90#L77">t13.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t21.f90#L123">t21.f90</a>) 17578</p></dd> 17579</dl> 17580 17581</dd> 17582<dt><code>gmsh/onelab/getString</code> 17583<span id="index-gmsh_002fonelab_002fgetString"></span> 17584</dt> 17585<dd><p>Get the value of the string parameter <code>name</code> from the ONELAB database. Return an empty vector if the parameter does not exist. 17586</p> 17587<dl compact="compact"> 17588<dt>Input:</dt> 17589<dd><p><code>name</code> (string) 17590</p></dd> 17591<dt>Output:</dt> 17592<dd><p><code>value</code> (vector of strings) 17593</p></dd> 17594<dt>Return:</dt> 17595<dd><p>- 17596</p></dd> 17597<dt>Language-specific definition:</dt> 17598<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4087">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3606">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L10992">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9840">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15460">Fortran</a> 17599</p></dd> 17600<dt>Examples:</dt> 17601<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t3.cpp#L125">t3.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t13.cpp#L125">t13.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t21.cpp#L188">t21.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t3.py#L116">t3.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t13.py#L111">t13.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t21.py#L158">t21.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/custom_gui.py#L75">custom_gui.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/prepro.py#L181">prepro.py</a>, ...), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t3.jl#L116">t3.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t13.jl#L109">t13.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t21.jl#L160">t21.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_bspline.jl#L62">
17601terrain_bspline.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t3.f90#L164">t3.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t13.f90#L141">t13.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t21.f90#L190">t21.f90</a>) 17602</p></dd> 17603</dl> 17604 17605</dd> 17606<dt><code>gmsh/onelab/getChanged</code> 17607<span id="index-gmsh_002fonelab_002fgetChanged"></span> 17608</dt> 17609<dd><p>Check if any parameters in the ONELAB database used by the client <code>name</code> have been changed. 17610</p> 17611<dl compact="compact"> 17612<dt>Input:</dt> 17613<dd><p><code>name</code> (string) 17614</p></dd> 17615<dt>Output:</dt> 17616<dd><p>- 17617</p></dd> 17618<dt>Return:</dt> 17619<dd><p>integer 17620</p></dd> 17621<dt>Language-specific definition:</dt> 17622<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4094">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3612">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L11017">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9865">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15491">Fortran</a> 17623</p></dd> 17624</dl> 17625 17626</dd> 17627<dt><code>gmsh/onelab/setChanged</code> 17628<span id="index-gmsh_002fonelab_002fsetChanged"></span> 17629</dt> 17630<dd><p>Set the changed flag to value <code>value</code> for all the parameters in the ONELAB database used by the client <code>name</code>. 17631</p> 17632<dl compact="compact"> 17633<dt>Input:</dt> 17634<dd><p><code>name</code> (string), <code>value</code> (integer) 17635</p></dd> 17636<dt>Output:</dt> 17637<dd><p>- 17638</p></dd> 17639<dt>Return:</dt> 17640<dd><p>- 17641</p></dd> 17642<dt>Language-specific definition:</dt> 17643<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4100">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3617">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L11039">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9885">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15512">Fortran</a> 17644</p></dd> 17645</dl> 17646 17647</dd> 17648<dt><code>gmsh/onelab/clear</code> 17649<span id="index-gmsh_002fonelab_002fclear"></span> 17650</dt> 17651<dd><p>Clear the ONELAB database, or remove a single parameter if <code>name</code> is given. 17652</p> 17653<dl compact="compact"> 17654<dt>Input:</dt> 17655<dd><p><code>name = ""</code> (string) 17656</p></dd> 17657<dt>Output:</dt> 17658<dd><p>- 17659</p></dd> 17660<dt>Return:</dt> 17661<dd><p>- 17662</p></dd> 17663<dt>Language-specific definition:</dt> 17664<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4106">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3622">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L11060">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9903">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15535">Fortran</a> 17665</p></dd> 17666<dt>Examples:</dt> 17667<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/onelab_test.py#L44">onelab_test.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/onelab_test.jl#L42">onelab_test.jl</a>) 17668</p></dd> 17669</dl> 17670 17671</dd> 17672<dt><code>gmsh/onelab/run</code> 17673<span id="index-gmsh_002fonelab_002frun"></span> 17674</dt> 17675<dd><p>Run a ONELAB client. If <code>name</code> is provided, create a new ONELAB client with name <code>name</code> and executes <code>command</code>. If not, try to run a client that might be linked to the processed input files. 17676</p> 17677<dl compact="compact"> 17678<dt>Input:</dt> 17679<dd><p><code>name = ""</code> (string), <code>command = ""</code> (string) 17680</p></dd> 17681<dt>Output:</dt> 17682<dd><p>- 17683</p></dd> 17684<dt>Return:</dt> 17685<dd><p>- 17686</p></dd> 17687<dt>Language-specific definition:</dt> 17688<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4113">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3628">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L11077">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9923">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15555">Fortran</a> 17689</p></dd> 17690<dt>Examples:</dt> 17691<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/onelab_run.py#L24">onelab_run.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/onelab_run_auto.py#L29">onelab_run_auto.py</a>) 17692</p></dd> 17693</dl> 17694 17695</dd> 17696</dl> 17697 17698<hr> 17699<span id="Namespace-gmsh_002flogger"></span><div class="header"> 17700<p> 17701Previous: <a href="#Namespace-gmsh_002fonelab" accesskey="p" rel="prev">Namespace gmsh/onelab</a>, Up: <a href="#Gmsh-application-programming-interface" accesskey="u" rel="up">Gmsh application programming interface</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 17702</div> 17703<span id="Namespace-gmsh_002flogger_003a-information-logging-functions"></span>
17703<h3 class="section">6.18 Namespace <code>gmsh/logger</code>: information logging functions</h3> 17704 17705<dl compact="compact"> 17706<dt><code>gmsh/logger/write</code> 17707<span id="index-gmsh_002flogger_002fwrite"></span> 17708</dt> 17709<dd><p>Write a <code>message</code>. <code>level</code> can be "info", "warning" or "error". 17710</p> 17711<dl compact="compact"> 17712<dt>Input:</dt> 17713<dd><p><code>message</code> (string), <code>level = "info"</code> (string) 17714</p></dd> 17715<dt>Output:</dt> 17716<dd><p>- 17717</p></dd> 17718<dt>Return:</dt> 17719<dd><p>- 17720</p></dd> 17721<dt>Language-specific definition:</dt> 17722<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4123">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3633">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L11104">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9952">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15578">Fortran</a> 17723</p></dd> 17724<dt>Examples:</dt> 17725<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t7.cpp#L23">t7.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t8.cpp#L41">t8.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t9.cpp#L31">t9.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t13.cpp#L26">t13.cpp</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t16.cpp#L34">t16.cpp</a>, ...), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t8.py#L79">t8.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t9.py#L29">t9.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/x5.py#L91">x5.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/custom_gui.py#L60">custom_gui.py</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/terrain_stl.py#L26">terrain_stl.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t8.jl#L77">t8.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t9.jl#L27">t9.jl</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/x5.jl#L85">x5.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t8.f90#L86">t8.f90</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t9.f90#L34">t9.f90</a>) 17726</p></dd> 17727</dl> 17728 17729</dd> 17730<dt><code>gmsh/logger/start</code> 17731<span id="index-gmsh_002flogger_002fstart"></span> 17732</dt> 17733<dd><p>Start logging messages. 17734</p> 17735<dl compact="compact"> 17736<dt>Input:</dt> 17737<dd><p>- 17738</p></dd> 17739<dt>Output:</dt> 17740<dd><p>- 17741</p></dd> 17742<dt>Return:</dt> 17743<dd><p>- 17744</p></dd> 17745<dt>Language-specific definition:</dt> 17746<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4129">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3638">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L11123">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9966">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15601">Fortran</a> 17747</p></dd> 17748<dt>Examples:</dt> 17749<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t16.cpp#L27">t16.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t16.py#L25">t16.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t16.jl#L23">t16.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t16.f90#L37">t16.f90</a>) 17750</p></dd> 17751</dl> 17752 17753</dd> 17754<dt><code>gmsh/logger/get</code> 17755<span id="index-gmsh_002flogger_002fget"></span> 17756</dt> 17757<dd><p>Get logged messages. 17758</p> 17759<dl compact="compact"> 17760<dt>Input:</dt> 17761<dd><p>- 17762</p></dd> 17763<dt>Output:</dt> 17764<dd><p><code>log</code> (vector of strings) 17765</p></dd> 17766<dt>Return:</dt> 17767<dd><p>- 17768</p></dd> 17769<dt>Language-specific definition:</dt> 17770<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4134">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3641">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L11136">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L9985">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15614">Fortran</a> 17771</p></dd> 17772<dt>Examples:</dt> 17773<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t16.cpp#L148">t16.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t16.py#L127">t16.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t16.jl#L129">t16.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t16.f90#L159">t16.f90</a>) 17774</p></dd> 17775</dl> 17776 17777</dd> 17778<dt><code>gmsh/logger/stop</code> 17779<span id="index-gmsh_002flogger_002fstop"></span> 17780</dt> 17781<dd><p>Stop logging messages. 17782</p> 17783<dl compact="compact"> 17784<dt>Input:</dt> 17785<dd><p>- 17786</p></dd> 17787<dt>Output:</dt> 17788<dd><p>- 17789</p></dd> 17790<dt>Return:</dt> 17791<dd><p>- 17792</p></dd> 17793<dt>Language-specific definition:</dt> 17794<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4139">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3645">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L11157">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L10003">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15639">Fortran</a> 17795</p></dd> 17796<dt>Examples:</dt> 17797<dd><p>C++ (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/c++/t16.cpp#L150">t16.cpp</a>), Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/python/t16.py#L129">t16.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/julia/t16.jl#L131">t16.jl</a>), Fortran (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/tutorials/fortran/t16.f90#L162">t16.f90</a>) 17798</p></dd> 17799</dl> 17800 17801</dd> 17802<dt><code>gmsh/logger/getWallTime</code> 17803<span id="index-gmsh_002flogger_002fgetWallTime"></span> 17804</dt> 17805<dd><p>
17805Return wall clock time (in s). 17806</p> 17807<dl compact="compact"> 17808<dt>Input:</dt> 17809<dd><p>- 17810</p></dd> 17811<dt>Output:</dt> 17812<dd><p>- 17813</p></dd> 17814<dt>Return:</dt> 17815<dd><p>double 17816</p></dd> 17817<dt>Language-specific definition:</dt> 17818<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4144">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3648">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L11170">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L10019">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15652">Fortran</a> 17819</p></dd> 17820<dt>Examples:</dt> 17821<dd><p>Python (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/import_perf.py#L8">import_perf.py</a>), Julia (<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/import_perf.jl#L7">import_perf.jl</a>) 17822</p></dd> 17823</dl> 17824 17825</dd> 17826<dt><code>gmsh/logger/getCpuTime</code> 17827<span id="index-gmsh_002flogger_002fgetCpuTime"></span> 17828</dt> 17829<dd><p>Return CPU time (in s). 17830</p> 17831<dl compact="compact"> 17832<dt>Input:</dt> 17833<dd><p>- 17834</p></dd> 17835<dt>Output:</dt> 17836<dd><p>- 17837</p></dd> 17838<dt>Return:</dt> 17839<dd><p>double 17840</p></dd> 17841<dt>Language-specific definition:</dt> 17842<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4149">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3651">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L11188">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L10036">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15667">Fortran</a> 17843</p></dd> 17844</dl> 17845 17846</dd> 17847<dt><code>gmsh/logger/getMemory</code> 17848<span id="index-gmsh_002flogger_002fgetMemory"></span> 17849</dt> 17850<dd><p>Return memory usage (in Mb). 17851</p> 17852<dl compact="compact"> 17853<dt>Input:</dt> 17854<dd><p>- 17855</p></dd> 17856<dt>Output:</dt> 17857<dd><p>- 17858</p></dd> 17859<dt>Return:</dt> 17860<dd><p>double 17861</p></dd> 17862<dt>Language-specific definition:</dt> 17863<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4154">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3654">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L11206">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L10053">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15682">Fortran</a> 17864</p></dd> 17865</dl> 17866 17867</dd> 17868<dt><code>gmsh/logger/getTotalMemory</code> 17869<span id="index-gmsh_002flogger_002fgetTotalMemory"></span> 17870</dt> 17871<dd><p>Return total available memory (in Mb). 17872</p> 17873<dl compact="compact"> 17874<dt>Input:</dt> 17875<dd><p>- 17876</p></dd> 17877<dt>Output:</dt> 17878<dd><p>- 17879</p></dd> 17880<dt>Return:</dt> 17881<dd><p>double 17882</p></dd> 17883<dt>Language-specific definition:</dt> 17884<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4159">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3657">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L11224">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L10070">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15697">Fortran</a> 17885</p></dd> 17886</dl> 17887 17888</dd> 17889<dt><code>gmsh/logger/getLastError</code> 17890<span id="index-gmsh_002flogger_002fgetLastError"></span> 17891</dt> 17892<dd><p>Return last error message, if any. 17893</p> 17894<dl compact="compact"> 17895<dt>Input:</dt> 17896<dd><p>- 17897</p></dd> 17898<dt>Output:</dt> 17899<dd><p><code>error</code> (string) 17900</p></dd> 17901<dt>Return:</dt> 17902<dd><p>- 17903</p></dd> 17904<dt>Language-specific definition:</dt> 17905<dd><p><a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.h#L4164">C++</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmshc.h#L3660">C</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.py#L11242">Python</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.jl#L10090">Julia</a>, <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api/gmsh.f90#L15712">Fortran</a> 17906</p></dd> 17907</dl> 17908 17909</dd> 17910</dl> 17911 17912 17913 17914<hr> 17915<span id="Gmsh-options"></span><div class="header"> 17916<p> 17917Next: <a href="#Gmsh-mesh-size-fields" accesskey="n" rel="next">Gmsh mesh size fields</a>, Previous: <a href="#Gmsh-application-programming-interface" accesskey="p" rel="prev">Gmsh application programming interface</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 17918</div> 17919<span id="Gmsh-options-1"></span><h2 class="chapter">7 Gmsh options</h2> 17920 17921<p>This chapter lists all the Gmsh options. Options can be specified in 17922script files (see <a href="#General-scripting-commands">General scripting commands</a>) or using the API 17923(see <a href="#Namespace-gmsh_002foption">Namespace gmsh/option</a>): see <a href="#t3">t3</a> for an example. They can 17924also be specified on the command line using the <code>-setnumber</code> and 17925<code>-setstring</code> switches: see <a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a>. Many 17926options can also be changed interactively in the GUI (see <a href="#Gmsh-graphical-user-interface">Gmsh graphical user interface</a>): to see which option corresponds to which 17927widget in the GUI, leave your mouse on the widget and a tooltip with the 17928option name will appear. Note that some options can affect the GUI in 17929real time: loading a script file that sets <code>General.GraphicsWidth</code>
17930for example (see <a href="#General-options">General options</a>) will change the width of the 17931graphic window at runtime. 17932</p> 17933<p>Gmsh’s default behavior is to save some of these options in a per-user 17934“session resource” file (cf. “Saved in: 17935<code>General.SessionFileName</code>” in the option descriptions below) every 17936time Gmsh is shut down. This permits for example to automatically 17937remember the size and location of the windows or which fonts to use. A 17938second set of options can be saved (automatically or manually with the 17939‘File->Save Options As Default’ menu) in a per-user “option” file 17940(cf. “Saved in: <code>General.OptionsFileName</code>” in the descriptions 17941below), automatically loaded by Gmsh every time it starts up. Finally, 17942other options are only saved to disk manually, either by explicitly 17943saving an option file with ‘File->Export’, or when saving per-model 17944options with ‘File->Save Model Options’ (cf. “Saved in: <code>-</code>” in 17945the lists below). Per-model options are saved in a file name matching 17946the model file, but with an extra <samp>.opt</samp> extension appended: the 17947option file will be automatically opened after Gmsh opens the model 17948file. 17949</p> 17950<p>Gmsh will attempt to save and load the session and option files first in 17951the <code>$GMSH_HOME</code> directory, then in <code>$APPDATA</code> (on Windows) or 17952<code>$HOME</code> (on other OSes), then in <code>$TMP</code>, and finally in 17953<code>$TEMP</code>, in that order. If none of these variables are defined, 17954Gmsh will try to save and load the files from the current working 17955directory. 17956</p> 17957<p>To reset all options to their default values, either delete the 17958<code>General.SessionFileName</code> and <code>General.OptionsFileName</code> files 17959by hand, use ‘Help->Restore All Options to Default Settings’, or click 17960on ‘Restore all options to default settings’ button in the 17961‘Tools->Options->General->Advanced’ window. 17962</p> 17963<table class="menu" border="0" cellspacing="0"> 17964<tr><td align="left" valign="top">• <a href="#General-options" accesskey="1">General options</a></td><td> </td><td align="left" valign="top"> 17965</td></tr> 17966<tr><td align="left" valign="top">• <a href="#Print-options" accesskey="2">Print options</a></td><td> </td><td align="left" valign="top"> 17967</td></tr> 17968<tr><td align="left" valign="top">• <a href="#Geometry-options" accesskey="3">Geometry options</a></td><td> </td><td align="left" valign="top"> 17969</td></tr> 17970<tr><td align="left" valign="top">• <a href="#Mesh-options" accesskey="4">Mesh options</a></td><td> </td><td align="left" valign="top"> 17971</td></tr> 17972<tr><td align="left" valign="top">• <a href="#Solver-options" accesskey="5">Solver options</a></td><td> </td><td align="left" valign="top"> 17973</td></tr> 17974<tr><td align="left" valign="top">• <a href="#Post_002dprocessing-options" accesskey="6">Post-processing options</a></td><td> </td><td align="left" valign="top"> 17975</td></tr> 17976<tr><td align="left" valign="top">• <a href="#Post_002dprocessing-view-options" accesskey="7">Post-processing view options</a></td><td> </td><td align="left" valign="top"> 17977</td></tr> 17978</table> 17979 17980 17981<hr> 17982<span id="General-options"></span><div class="header"> 17983<p> 17984Next: <a href="#Print-options" accesskey="n" rel="next">Print options</a>, Previous: <a href="#Gmsh-options" accesskey="p" rel="prev">Gmsh options</a>, Up: <a href="#Gmsh-options" accesskey="u" rel="up">Gmsh options</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 17985</div> 17986<span id="General-options-1"></span><h3 class="section">7.1 General options</h3> 17987 17988 17989<dl compact="compact"> 17990<dt><code>General.AxesFormatX</code> 17991<span id="index-General_002eAxesFormatX"></span> 17992</dt> 17993<dd><p>Number format for X-axis (in standard C form)<br> 17994Default value: <code>"%.3g"</code><br> 17995Saved in: <code>General.OptionsFileName</code> 17996</p> 17997</dd> 17998<dt><code>General.AxesFormatY</code> 17999<span id="index-General_002eAxesFormatY"></span> 18000</dt> 18001<dd><p>Number format for Y-axis (in standard C form)<br> 18002Default value: <code>"%.3g"</code><br> 18003Saved in: <code>General.OptionsFileName</code> 18004</p> 18005</dd> 18006<dt><code>General.AxesFormatZ</code> 18007<span id="index-General_002eAxesFormatZ"></span> 18008</dt> 18009<dd><p>Number format for Z-axis (in standard C form)<br> 18010Default value: <code>"%.3g"</code><br> 18011Saved in: <code>General.OptionsFileName</code> 18012</p> 18013</dd> 18014<dt><code>General.AxesLabelX</code> 18015<span id="index-General_002eAxesLabelX"></span> 18016</dt> 18017<dd><p>X-axis label<br> 18018Default value: <code>""</code><br> 18019Saved in: <code>General.OptionsFileName</code> 18020</p> 18021</dd> 18022<dt><code>General.AxesLabelY</code> 18023<span id="index-General_002eAxesLabelY"></span> 18024</dt> 18025<dd><p>Y-axis label<br> 18026Default value: <code>""</code><br> 18027Saved in: <code>General.OptionsFileName</code> 18028</p> 18029</dd> 18030<dt><code>General.AxesLabelZ</code> 18031<span id="index-General_002eAxesLabelZ"></span> 18032</dt> 18033<dd><p>Z-axis label<br> 18034Default value: <code>""</code><br> 18035Saved in: <code>General.OptionsFileName</code> 18036</p> 18037</dd> 18038<dt><code>
18038General.BackgroundImageFileName</code> 18039<span id="index-General_002eBackgroundImageFileName"></span> 18040</dt> 18041<dd><p>Background image file in JPEG, PNG or PDF format<br> 18042Default value: <code>""</code><br> 18043Saved in: <code>General.OptionsFileName</code> 18044</p> 18045</dd> 18046<dt><code>General.BuildInfo</code> 18047<span id="index-General_002eBuildInfo"></span> 18048</dt> 18049<dd><p>Gmsh build information (read-only)<br> 18050Default value: <code>"Version: 4.14.2-git-d027dcef5; License: GNU General Public License; Build OS: MacOSARM-sdk; Build date: 20251013; Build host: MacBook-Pro-M2-7.local; Build options: 64Bit ALGLIB[contrib] ANN[contrib] Bamg Blossom Cairo Cgns DIntegration Dlopen DomHex Eigen[contrib] Fltk GMP Gmm[contrib] Hxt Jpeg Kbipack MathEx[contrib] Med Mesh Metis[contrib] Mmg Mpeg Netgen Nii2mesh ONELAB ONELABMetamodel OpenCASCADE OpenCASCADE-CAF OpenGL OpenMP[Homebrew] OptHom Parser Plugins Png Post QuadMeshingTools QuadTri Solver TetGen/BR TinyXML2[contrib] TouchBar Untangle Voro++[contrib] WinslowUntangler Zlib tinyobjloader; FLTK version: 1.5.0; OCC version: 8.0.0; MED version: 4.1.1; Packaged by: geuzaine; Web site: https://gmsh.info; Issue tracker: https://gitlab.onelab.info/gmsh/gmsh/issues"</code><br> 18051Saved in: <code>-</code> 18052</p> 18053</dd> 18054<dt><code>General.BuildOptions</code> 18055<span id="index-General_002eBuildOptions"></span> 18056</dt> 18057<dd><p>Gmsh build options (read-only)<br> 18058Default value: <code>"64Bit ALGLIB[contrib] ANN[contrib] Bamg Blossom Cairo Cgns DIntegration Dlopen DomHex Eigen[contrib] Fltk GMP Gmm[contrib] Hxt Jpeg Kbipack MathEx[contrib] Med Mesh Metis[contrib] Mmg Mpeg Netgen Nii2mesh ONELAB ONELABMetamodel OpenCASCADE OpenCASCADE-CAF OpenGL OpenMP[Homebrew] OptHom Parser Plugins Png Post QuadMeshingTools QuadTri Solver TetGen/BR TinyXML2[contrib] TouchBar Untangle Voro++[contrib] WinslowUntangler Zlib tinyobjloader"</code><br> 18059Saved in: <code>-</code> 18060</p> 18061</dd> 18062<dt><code>General.DefaultFileName</code> 18063<span id="index-General_002eDefaultFileName"></span> 18064</dt> 18065<dd><p>Default project file name<br> 18066Default value: <code>"untitled.geo"</code><br> 18067Saved in: <code>General.OptionsFileName</code> 18068</p> 18069</dd> 18070<dt><code>General.Display</code> 18071<span id="index-General_002eDisplay"></span> 18072</dt> 18073<dd><p>X server to use (only for Unix versions)<br> 18074Default value: <code>""</code><br> 18075Saved in: <code>-</code> 18076</p> 18077</dd> 18078<dt><code>General.ErrorFileName</code> 18079<span id="index-General_002eErrorFileName"></span> 18080</dt> 18081<dd><p>File into which the log is saved if a fatal error occurs<br> 18082Default value: <code>".gmsh-errors"</code><br> 18083Saved in: <code>General.OptionsFileName</code> 18084</p> 18085</dd> 18086<dt><code>General.ExecutableFileName</code> 18087<span id="index-General_002eExecutableFileName"></span> 18088</dt> 18089<dd><p>File name of the Gmsh executable (read-only)<br> 18090Default value: <code>""</code><br> 18091Saved in: <code>General.SessionFileName</code> 18092</p> 18093</dd> 18094<dt><code>General.FileName</code> 18095<span id="index-General_002eFileName"></span> 18096</dt> 18097<dd><p>Current project file name (read-only)<br> 18098Default value: <code>""</code><br> 18099Saved in: <code>-</code> 18100</p> 18101</dd> 18102<dt><code>General.FltkTheme</code> 18103<span id="index-General_002eFltkTheme"></span> 18104</dt> 18105<dd><p>FLTK user interface theme (try e.g. plastic or gtk+)<br> 18106Default value: <code>""</code><br> 18107Saved in: <code>General.SessionFileName</code> 18108</p> 18109</dd> 18110<dt><code>General.GraphicsFont</code> 18111<span id="index-General_002eGraphicsFont"></span> 18112</dt> 18113<dd><p>Font used in the graphic window<br> 18114Default value: <code>"Helvetica"</code><br> 18115Saved in: <code>General.OptionsFileName</code> 18116</p> 18117</dd> 18118<dt><code>General.GraphicsFontEngine</code> 18119<span id="index-General_002eGraphicsFontEngine"></span> 18120</dt> 18121<dd><p>Set graphics font engine (Native, StringTexture, Cairo)<br> 18122Default value: <code>"Native"</code><br> 18123Saved in: <code>General.OptionsFileName</code> 18124</p> 18125</dd> 18126<dt><code>General.GraphicsFontTitle</code> 18127<span id="index-General_002eGraphicsFontTitle"></span> 18128</dt> 18129<dd><p>Font used in the graphic window for titles<br> 18130Default value: <code>"Helvetica"</code><br> 18131Saved in: <code>General.OptionsFileName</code> 18132</p> 18133</dd> 18134<dt><code>General.LogFileName</code> 18135<span id="index-General_002eLogFileName"></span> 18136</dt> 18137<dd><p>Name of log file into which all messages are saved<br> 18138Default value: <code>""</code><br> 18139Saved in: <code>General.OptionsFileName</code> 18140</p> 18141</dd> 18142<dt><code>General.NumberFormat</code> 18143<span id="index-General_002eNumberFormat"></span> 18144</dt> 18145<dd><p>Number format (in standard C form)<br> 18146Default value: <code>"%.3g"</code><br> 18147Saved in: <code>General.OptionsFileName</code> 18148</p> 18149</dd> 18150<dt><code>General.OptionsFileName</code> 18151<span id="index-General_002eOptionsFileName"></span> 18152</dt> 18153<dd><p>Option file created with ‘Tools->Options->Save’; automatically read on startup<br> 18154Default value: <code>".gmsh-options"</code><br> 18155Saved in: <code>General.SessionFileName</code> 18156</p> 18157</dd> 18158<dt><code>General.RecentFile0</code> 18159<span id="index-General_002eRecentFile0"></span> 18160</dt> 18161<dd><p>Most recent opened file<br> 18162Default value: <code>"untitled.geo"</code><br> 18163Saved in: <code>General.SessionFileName</code> 18164</p> 18165</dd> 18166<dt><code>General.RecentFile1</code> 18167<span id="index-General_002eRecentFile1"></span> 18168</dt> 18169<dd><p>2nd most recent opened file<br> 18170Default value: <code>"untitled.geo"</code><br> 18171Saved in: <code>General.SessionFileName</code> 18172</p> 18173</dd> 18174<dt><code>General.RecentFile2</code> 18175<span id="index-General_002eRecentFile2"></span> 18176</dt> 18177<dd><p>3rd most recent opened file<br> 18178Default value: <code>"untitled.geo"</code><br> 18179Saved in: <code>General.SessionFileName</code> 18180</p> 18181</dd> 18182<dt><code>General.RecentFile3</code> 18183<span id="index-General_002eRecentFile3"></span> 18184</dt> 18185<dd><p>4th most recent opened file<br> 18186Default value: <code>"untitled.geo"</code><br> 18187Saved in: <code>General.SessionFileName</code> 18188</p> 18189</dd> 18190<dt><code>General.RecentFile4</code> 18191<span id="index-General_002eRecentFile4"></span> 18192</dt> 18193<dd><p>5th most recent opened file<br> 18194Default value: <code>"untitled.geo"</code><br> 18195Saved in: <code>General.SessionFileName</code> 18196</p> 18197</dd> 18198<dt><code>General.RecentFile5</code> 18199<span id="index-General_002eRecentFile5"></span> 18200</dt> 18201<dd><p>6th most recent opened file<br> 18202Default value: <code>"untitled.geo"</code><br> 18203Saved in: <code>General.SessionFileName</code> 18204</p> 18205</dd> 18206<dt><code>General.RecentFile6</code> 18207<span id="index-General_002eRecentFile6"></span> 18208</dt> 18209<dd><p>7th most recent opened file<br> 18210Default value: <code>"untitled.geo"</code><br> 18211Saved in: <code>General.SessionFileName</code> 18212</p> 18213</dd> 18214<dt><code>General.RecentFile7</code> 18215<span id="index-General_002eRecentFile7"></span> 18216</dt> 18217<dd><p>8th most recent opened file<br> 18218Default value: <code>"untitled.geo"</code><br> 18219Saved in: <code>General.SessionFileName</code> 18220</p> 18221</dd> 18222<dt><code>General.RecentFile8</code> 18223<span id="index-General_002eRecentFile8"></span> 18224</dt> 18225<dd><p>9th most recent opened file<br> 18226Default value: <code>"untitled.geo"</code><br> 18227Saved in: <code>General.SessionFileName</code> 18228</p> 18229</dd> 18230<dt><code>General.RecentFile9</code> 18231<span id="index-General_002eRecentFile9"></span> 18232</dt> 18233<dd><p>10th most recent opened file<br> 18234Default value: <code>"untitled.geo"</code><br> 18235Saved in: <code>General.SessionFileName</code> 18236</p> 18237</dd> 18238<dt><code>General.ScriptingLanguages</code> 18239<span id="index-General_002eScriptingLanguages"></span> 18240</dt> 18241<dd><p>Language(s) in which scripting commands generated by the GUI are written<br> 18242Default value: <code>"geo"</code><br> 18243Saved in: <code>General.OptionsFileName</code> 18244</p> 18245</dd> 18246<dt><code>General.SessionFileName</code> 18247<span id="index-General_002eSessionFileName"></span> 18248</dt> 18249<dd><p>Option file into which session specific information is saved; automatically read on startup<br> 18250Default value: <code>".gmshrc"</code><br> 18251Saved in: <code>-</code> 18252</p> 18253</dd> 18254<dt><code>General.ScriptingLanguages</code> 18255<span id="index-General_002eScriptingLanguages-1"></span> 18256</dt> 18257<dd><p>Language(s) in which scripting commands generated by the GUI are written<br> 18258Default value: <code>"geo"</code><br> 18259Saved in: <code>General.OptionsFileName</code> 18260</p> 18261</dd> 18262<dt><code>General.TextEditor</code> 18263<span id="index-General_002eTextEditor"></span> 18264</dt> 18265<dd><p>System command to launch a text editor<br> 18266Default value: <code>"open -t %s"</code><br> 18267Saved in: <code>General.OptionsFileName</code> 18268</p> 18269</dd> 18270<dt><code>General.TmpFileName</code> 18271<span id="index-General_002eTmpFileName"></span> 18272</dt> 18273<dd><p>Temporary file used by the geometry module<br> 18274Default value: <code>".gmsh-tmp"</code><br> 18275Saved in: <code>General.SessionFileName</code> 18276</p> 18277</dd> 18278<dt><code>General.Version</code> 18279<span id="index-General_002eVersion"></span> 18280</dt> 18281<dd><p>Gmsh version (read-only)<br> 18282Default value: <code>"4.14.2-git-d027dcef5"</code><br> 18283Saved in: <code>-</code> 18284</p> 18285</dd> 18286<dt><code>General.WatchFilePattern</code> 18287<span id="index-General_002eWatchFilePattern"></span> 18288</dt> 18289<dd><p>Pattern of files to merge as they become available<br> 18290Default value: <code>""</code><br> 18291Saved in: <code>-</code> 18292</p> 18293</dd> 18294<dt><code>General.AbortOnError</code> 18295<span id="index-General_002eAbortOnError"></span> 18296</dt> 18297<dd><p>Abort on error? (0: no, 1: abort meshing, 2: throw an exception unless in interactive mode, 3: throw an exception always, 4: exit)<br> 18298Default value: <code>0</code><br> 18299Saved in: <code>General.OptionsFileName</code> 18300</p> 18301</dd> 18302<dt><code>General.AlphaBlending</code> 18303<span id="index-General_002eAlphaBlending"></span> 18304</dt> 18305<dd><p>Enable alpha blending (transparency) in post-processing views<br> 18306Default value: <code>1</code><br> 18307Saved in: <code>General.OptionsFileName</code> 18308</p> 18309</dd> 18310<dt><code>General.Antialiasing</code> 18311<span id="index-General_002eAntialiasing"></span> 18312</dt> 18313<dd><p>Use multisample antialiasing (will slow down rendering)<br> 18314Default value: <code>0</code><br> 18315Saved in: <code>General.OptionsFileName</code> 18316</p> 18317</dd> 18318<dt><code>General.ArrowHeadRadius</code> 18319<span id="index-General_002eArrowHeadRadius"></span> 18320</dt> 18321<dd><p>Relative radius of arrow head<br> 18322Default value: <code>0.12</code><br> 18323Saved in: <code>General.OptionsFileName</code> 18324</p> 18325</dd> 18326<dt><code>General.ArrowStemLength</code> 18327<span id="index-General_002eArrowStemLength"></span> 18328</dt> 18329<dd><p>Relative length of arrow stem<br> 18330Default value: <code>0.56</code><br> 18331Saved in: <code>General.OptionsFileName</code> 18332</p> 18333</dd> 18334<dt><code>General.ArrowStemRadius</code> 18335<span id="index-General_002eArrowStemRadius"></span> 18336</dt> 18337<dd><p>Relative radius of arrow stem<br> 18338Default value: <code>0.02</code><br> 18339Saved in: <code>General.OptionsFileName</code> 18340</p> 18341</dd> 18342<dt><code>General.Axes</code> 18343<span id="index-General_002eAxes"></span> 18344</dt> 18345<dd><p>Axes (0: none, 1: simple axes, 2: box, 3: full grid, 4: open grid, 5: ruler)<br> 18346Default value: <code>0</code><br> 18347Saved in: <code>General.OptionsFileName</code> 18348</p> 18349</dd> 18350<dt><code>General.AxesMikado</code> 18351<span id="index-General_002eAxesMikado"></span> 18352</dt> 18353<dd><p>Mikado axes style<br> 18354Default value: <code>0</code><br> 18355Saved in: <code>General.OptionsFileName</code> 18356</p> 18357</dd> 18358<dt><code>General.AxesAutoPosition</code> 18359<span id="index-General_002eAxesAutoPosition"></span> 18360</dt> 18361<dd><p>Position the axes automatically<br> 18362Default value: <code>1</code><br> 18363Saved in: <code>General.OptionsFileName</code> 18364</p> 18365</dd> 18366<dt><code>General.AxesForceValue</code> 18367<span id="index-General_002eAxesForceValue"></span> 18368</dt> 18369<dd><p>Force values on axes (otherwise use natural coordinates)<br> 18370Default value: <code>0</code><br> 18371Saved in: <code>General.OptionsFileName</code> 18372</p> 18373</dd> 18374<dt><code>General.AxesMaxX</code> 18375<span id="index-General_002eAxesMaxX"></span> 18376</dt> 18377<dd><p>Maximum X-axis coordinate<br> 18378Default value: <code>1</code><br> 18379Saved in: <code>General.OptionsFileName</code> 18380</p> 18381</dd> 18382<dt><code>General.AxesMaxY</code> 18383<span id="index-General_002eAxesMaxY"></span> 18384</dt> 18385<dd><p>Maximum Y-axis coordinate<br> 18386Default value: <code>1</code><br> 18387Saved in: <code>General.OptionsFileName</code> 18388</p> 18389</dd> 18390<dt><code>General.AxesMaxZ</code> 18391<span id="index-General_002eAxesMaxZ"></span> 18392</dt> 18393<dd><p>Maximum Z-axis coordinate<br> 18394Default value: <code>1</code><br> 18395Saved in: <code>General.OptionsFileName</code> 18396</p> 18397</dd> 18398<dt><code>General.AxesMinX</code> 18399<span id="index-General_002eAxesMinX"></span> 18400</dt> 18401<dd><p>Minimum X-axis coordinate<br> 18402Default value: <code>0</code><br> 18403Saved in: <code>General.OptionsFileName</code> 18404</p> 18405</dd> 18406<dt><code>General.AxesMinY</code> 18407<span id="index-General_002eAxesMinY"></span> 18408</dt> 18409<dd><p>Minimum Y-axis coordinate<br> 18410Default value: <code>0</code><br> 18411Saved in: <code>General.OptionsFileName</code> 18412</p> 18413</dd> 18414<dt><code>General.AxesMinZ</code> 18415<span id="index-General_002eAxesMinZ"></span> 18416</dt> 18417<dd><p>Minimum Z-axis coordinate<br> 18418Default value: <code>0</code><br> 18419Saved in: <code>General.OptionsFileName</code> 18420</p> 18421</dd> 18422<dt><code>General.AxesTicsX</code> 18423<span id="index-General_002eAxesTicsX"></span> 18424</dt> 18425<dd><p>Number of tics on the X-axis<br> 18426Default value: <code>5</code><br> 18427Saved in: <code>General.OptionsFileName</code> 18428</p> 18429</dd> 18430<dt><code>General.AxesTicsY</code> 18431<span id="index-General_002eAxesTicsY"></span> 18432</dt> 18433<dd><p>Number of tics on the Y-axis<br> 18434Default value: <code>5</code><br> 18435Saved in: <code>General.OptionsFileName</code> 18436</p> 18437</dd> 18438<dt><code>General.AxesTicsZ</code> 18439<span id="index-General_002eAxesTicsZ"></span> 18440</dt> 18441<dd><p>Number of tics on the Z-axis<br> 18442Default value: <code>5</code><br> 18443Saved in: <code>General.OptionsFileName</code> 18444</p> 18445</dd> 18446<dt><code>General.AxesValueMaxX</code> 18447<span id="index-General_002eAxesValueMaxX"></span> 18448</dt> 18449<dd><p>Maximum X-axis forced value<br> 18450Default value: <code>1</code><br> 18451Saved in: <code>General.OptionsFileName</code> 18452</p> 18453</dd> 18454<dt><code>General.AxesValueMaxY</code> 18455<span id="index-General_002eAxesValueMaxY"></span> 18456</dt> 18457<dd><p>Maximum Y-axis forced value<br> 18458Default value: <code>1</code><br> 18459Saved in: <code>General.OptionsFileName</code> 18460</p> 18461</dd> 18462<dt><code>General.AxesValueMaxZ</code> 18463<span id="index-General_002eAxesValueMaxZ"></span> 18464</dt> 18465<dd><p>Maximum Z-axis forced value<br> 18466Default value: <code>1</code><br> 18467Saved in: <code>General.OptionsFileName</code> 18468</p> 18469</dd> 18470<dt><code>General.AxesValueMinX</code> 18471<span id="index-General_002eAxesValueMinX"></span> 18472</dt> 18473<dd><p>Minimum X-axis forced value<br> 18474Default value: <code>0</code><br> 18475Saved in: <code>General.OptionsFileName</code> 18476</p> 18477</dd> 18478<dt><code>General.AxesValueMinY</code> 18479<span id="index-General_002eAxesValueMinY"></span> 18480</dt> 18481<dd><p>Minimum Y-axis forced value<br> 18482Default value: <code>0</code><br> 18483Saved in: <code>General.OptionsFileName</code> 18484</p> 18485</dd> 18486<dt><code>General.AxesValueMinZ</code> 18487<span id="index-General_002eAxesValueMinZ"></span> 18488</dt> 18489<dd><p>Minimum Z-axis forced value<br> 18490Default value: <code>0</code><br> 18491Saved in: <code>General.OptionsFileName</code> 18492</p> 18493</dd> 18494<dt><code>
18494General.BackgroundGradient</code> 18495<span id="index-General_002eBackgroundGradient"></span> 18496</dt> 18497<dd><p>Draw background gradient (0: none, 1: vertical, 2: horizontal, 3: radial)<br> 18498Default value: <code>1</code><br> 18499Saved in: <code>General.OptionsFileName</code> 18500</p> 18501</dd> 18502<dt><code>General.BackgroundImage3D</code> 18503<span id="index-General_002eBackgroundImage3D"></span> 18504</dt> 18505<dd><p>Create background image in the 3D model (units = model units) or as 2D background (units = pixels)<br> 18506Default value: <code>0</code><br> 18507Saved in: <code>General.OptionsFileName</code> 18508</p> 18509</dd> 18510<dt><code>General.BackgroundImagePage</code> 18511<span id="index-General_002eBackgroundImagePage"></span> 18512</dt> 18513<dd><p>Page to render in the background image (for multi-page PDFs)<br> 18514Default value: <code>0</code><br> 18515Saved in: <code>General.OptionsFileName</code> 18516</p> 18517</dd> 18518<dt><code>General.BackgroundImagePositionX</code> 18519<span id="index-General_002eBackgroundImagePositionX"></span> 18520</dt> 18521<dd><p>X position of background image (for 2D background: < 0: measure from right window edge; >= 1e5: centered)<br> 18522Default value: <code>0</code><br> 18523Saved in: <code>General.OptionsFileName</code> 18524</p> 18525</dd> 18526<dt><code>General.BackgroundImagePositionY</code> 18527<span id="index-General_002eBackgroundImagePositionY"></span> 18528</dt> 18529<dd><p>Y position of background image (for 2D background: < 0: measure from bottom window edge; >= 1e5: centered)<br> 18530Default value: <code>0</code><br> 18531Saved in: <code>General.OptionsFileName</code> 18532</p> 18533</dd> 18534<dt><code>General.BackgroundImageWidth</code> 18535<span id="index-General_002eBackgroundImageWidth"></span> 18536</dt> 18537<dd><p>Width of background image (0: actual width if height = 0, natural scaling if not; -1: graphic window width)<br> 18538Default value: <code>-1</code><br> 18539Saved in: <code>General.OptionsFileName</code> 18540</p> 18541</dd> 18542<dt><code>General.BackgroundImageHeight</code> 18543<span id="index-General_002eBackgroundImageHeight"></span> 18544</dt> 18545<dd><p>Height of background image (0: actual height if width = 0, natural scaling if not; -1: graphic window height)<br> 18546Default value: <code>-1</code><br> 18547Saved in: <code>General.OptionsFileName</code> 18548</p> 18549</dd> 18550<dt><code>General.BoundingBoxSize</code> 18551<span id="index-General_002eBoundingBoxSize"></span> 18552</dt> 18553<dd><p>Overall bounding box size (read-only)<br> 18554Default value: <code>1</code><br> 18555Saved in: <code>General.OptionsFileName</code> 18556</p> 18557</dd> 18558<dt><code>General.Camera</code> 18559<span id="index-General_002eCamera"></span> 18560</dt> 18561<dd><p>Enable camera view mode<br> 18562Default value: <code>0</code><br> 18563Saved in: <code>General.OptionsFileName</code> 18564</p> 18565</dd> 18566<dt><code>General.CameraAperture</code> 18567<span id="index-General_002eCameraAperture"></span> 18568</dt> 18569<dd><p>Camera aperture in degrees<br> 18570Default value: <code>40</code><br> 18571Saved in: <code>General.OptionsFileName</code> 18572</p> 18573</dd> 18574<dt><code>General.CameraEyeSeparationRatio</code> 18575<span id="index-General_002eCameraEyeSeparationRatio"></span> 18576</dt> 18577<dd><p>Eye separation ratio in % for stereo rendering<br> 18578Default value: <code>1.5</code><br> 18579Saved in: <code>General.OptionsFileName</code> 18580</p> 18581</dd> 18582<dt><code>General.CameraFocalLengthRatio</code> 18583<span id="index-General_002eCameraFocalLengthRatio"></span> 18584</dt> 18585<dd><p>Camera Focal length ratio<br> 18586Default value: <code>1</code><br> 18587Saved in: <code>General.OptionsFileName</code> 18588</p> 18589</dd> 18590<dt><code>General.Clip0A</code> 18591<span id="index-General_002eClip0A"></span> 18592</dt> 18593<dd><p>First coefficient in equation for clipping plane 0 (‘A’ in ‘AX+BY+CZ+D=0’)<br> 18594Default value: <code>1</code><br> 18595Saved in: <code>-</code> 18596</p> 18597</dd> 18598<dt><code>General.Clip0B</code> 18599<span id="index-General_002eClip0B"></span> 18600</dt> 18601<dd><p>Second coefficient in equation for clipping plane 0 (‘B’ in ‘AX+BY+CZ+D=0’)<br> 18602Default value: <code>0</code><br> 18603Saved in: <code>-</code> 18604</p> 18605</dd> 18606<dt><code>General.Clip0C</code> 18607<span id="index-General_002eClip0C"></span> 18608</dt> 18609<dd><p>Third coefficient in equation for clipping plane 0 (‘C’ in ‘AX+BY+CZ+D=0’)<br> 18610Default value: <code>0</code><br> 18611Saved in: <code>-</code> 18612</p> 18613</dd> 18614<dt><code>General.Clip0D</code> 18615<span id="index-General_002eClip0D"></span> 18616</dt> 18617<dd><p>Fourth coefficient in equation for clipping plane 0 (‘D’ in ‘AX+BY+CZ+D=0’)<br> 18618Default value: <code>0</code><br> 18619Saved in: <code>-</code> 18620</p> 18621</dd> 18622<dt><code>General.Clip1A</code> 18623<span id="index-General_002eClip1A"></span> 18624</dt> 18625<dd><p>First coefficient in equation for clipping plane 1<br> 18626Default value: <code>0</code><br> 18627Saved in: <code>-</code> 18628</p> 18629</dd> 18630<dt><code>General.Clip1B</code> 18631<span id="index-General_002eClip1B"></span> 18632</dt> 18633<dd><p>Second coefficient in equation for clipping plane 1<br> 18634Default value: <code>1</code><br> 18635Saved in: <code>-</code> 18636</p> 18637</dd> 18638<dt><code>General.Clip1C</code> 18639<span id="index-General_002eClip1C"></span> 18640</dt> 18641<dd><p>Third coefficient in equation for clipping plane 1<br> 18642Default value: <code>0</code><br> 18643Saved in: <code>-</code> 18644</p> 18645</dd> 18646<dt><code>General.Clip1D</code> 18647<span id="index-General_002eClip1D"></span> 18648</dt> 18649<dd><p>Fourth coefficient in equation for clipping plane 1<br> 18650Default value: <code>0</code><br> 18651Saved in: <code>-</code> 18652</p> 18653</dd> 18654<dt><code>General.Clip2A</code> 18655<span id="index-General_002eClip2A"></span> 18656</dt> 18657<dd><p>First coefficient in equation for clipping plane 2<br> 18658Default value: <code>0</code><br> 18659Saved in: <code>-</code> 18660</p> 18661</dd> 18662<dt><code>General.Clip2B</code> 18663<span id="index-General_002eClip2B"></span> 18664</dt> 18665<dd><p>Second coefficient in equation for clipping plane 2<br> 18666Default value: <code>0</code><br> 18667Saved in: <code>-</code> 18668</p> 18669</dd> 18670<dt><code>General.Clip2C</code> 18671<span id="index-General_002eClip2C"></span> 18672</dt> 18673<dd><p>Third coefficient in equation for clipping plane 2<br> 18674Default value: <code>1</code><br> 18675Saved in: <code>-</code> 18676</p> 18677</dd> 18678<dt><code>General.Clip2D</code> 18679<span id="index-General_002eClip2D"></span> 18680</dt> 18681<dd><p>Fourth coefficient in equation for clipping plane 2<br> 18682Default value: <code>0</code><br> 18683Saved in: <code>-</code> 18684</p> 18685</dd> 18686<dt><code>General.Clip3A</code> 18687<span id="index-General_002eClip3A"></span> 18688</dt> 18689<dd><p>First coefficient in equation for clipping plane 3<br> 18690Default value: <code>-1</code><br> 18691Saved in: <code>-</code> 18692</p> 18693</dd> 18694<dt><code>General.Clip3B</code> 18695<span id="index-General_002eClip3B"></span> 18696</dt> 18697<dd><p>Second coefficient in equation for clipping plane 3<br> 18698Default value: <code>0</code><br> 18699Saved in: <code>-</code> 18700</p> 18701</dd> 18702<dt><code>General.Clip3C</code> 18703<span id="index-General_002eClip3C"></span> 18704</dt> 18705<dd><p>Third coefficient in equation for clipping plane 3<br> 18706Default value: <code>0</code><br> 18707Saved in: <code>-</code> 18708</p> 18709</dd> 18710<dt><code>General.Clip3D</code> 18711<span id="index-General_002eClip3D"></span> 18712</dt> 18713<dd><p>Fourth coefficient in equation for clipping plane 3<br> 18714Default value: <code>1</code><br> 18715Saved in: <code>-</code> 18716</p> 18717</dd> 18718<dt><code>General.Clip4A</code> 18719<span id="index-General_002eClip4A"></span> 18720</dt> 18721<dd><p>First coefficient in equation for clipping plane 4<br> 18722Default value: <code>0</code><br> 18723Saved in: <code>-</code> 18724</p> 18725</dd> 18726<dt><code>General.Clip4B</code> 18727<span id="index-General_002eClip4B"></span> 18728</dt> 18729<dd><p>Second coefficient in equation for clipping plane 4<br> 18730Default value: <code>-1</code><br> 18731Saved in: <code>-</code> 18732</p> 18733</dd> 18734<dt><code>General.Clip4C</code> 18735<span id="index-General_002eClip4C"></span> 18736</dt> 18737<dd><p>Third coefficient in equation for clipping plane 4<br> 18738Default value: <code>0</code><br> 18739Saved in: <code>-</code> 18740</p> 18741</dd> 18742<dt><code>General.Clip4D</code> 18743<span id="index-General_002eClip4D"></span> 18744</dt> 18745<dd><p>Fourth coefficient in equation for clipping plane 4<br> 18746Default value: <code>1</code><br> 18747Saved in: <code>-</code> 18748</p> 18749</dd> 18750<dt><code>General.Clip5A</code> 18751<span id="index-General_002eClip5A"></span> 18752</dt> 18753<dd><p>First coefficient in equation for clipping plane 5<br> 18754Default value: <code>0</code><br> 18755Saved in: <code>-</code> 18756</p> 18757</dd> 18758<dt><code>General.Clip5B</code> 18759<span id="index-General_002eClip5B"></span> 18760</dt> 18761<dd><p>Second coefficient in equation for clipping plane 5<br> 18762Default value: <code>0</code><br> 18763Saved in: <code>-</code> 18764</p> 18765</dd> 18766<dt><code>General.Clip5C</code> 18767<span id="index-General_002eClip5C"></span> 18768</dt> 18769<dd><p>Third coefficient in equation for clipping plane 5<br> 18770Default value: <code>-1</code><br> 18771Saved in: <code>-</code> 18772</p> 18773</dd> 18774<dt><code>General.Clip5D</code> 18775<span id="index-General_002eClip5D"></span> 18776</dt> 18777<dd><p>Fourth coefficient in equation for clipping plane 5<br> 18778Default value: <code>1</code><br> 18779Saved in: <code>-</code> 18780</p> 18781</dd> 18782<dt><code>General.ClipFactor</code> 18783<span id="index-General_002eClipFactor"></span> 18784</dt> 18785<dd><p>Near and far clipping plane distance factor (decrease value for better z-buffer resolution)<br> 18786Default value: <code>5</code><br> 18787Saved in: <code>-</code> 18788</p> 18789</dd> 18790<dt><code>General.ClipOnlyDrawIntersectingVolume</code> 18791<span id="index-General_002eClipOnlyDrawIntersectingVolume"></span> 18792</dt> 18793<dd><p>Only draw layer of elements that intersect the clipping plane<br> 18794Default value: <code>0</code><br> 18795Saved in: <code>General.OptionsFileName</code> 18796</p> 18797</dd> 18798<dt><code>General.ClipOnlyVolume</code> 18799<span id="index-General_002eClipOnlyVolume"></span> 18800</dt> 18801<dd><p>Only clip volume elements<br> 18802Default value: <code>0</code><br> 18803Saved in: <code>General.OptionsFileName</code> 18804</p> 18805</dd> 18806<dt><code>General.ClipPositionX</code> 18807<span id="index-General_002eClipPositionX"></span> 18808</dt> 18809<dd><p>Horizontal position (in pixels) of the upper left corner of the clipping planes window<br> 18810Default value: <code>650</code><br> 18811Saved in: <code>General.SessionFileName</code> 18812</p> 18813</dd> 18814<dt><code>General.ClipPositionY</code> 18815<span id="index-General_002eClipPositionY"></span> 18816</dt> 18817<dd><p>Vertical position (in pixels) of the upper left corner of the clipping planes window<br> 18818Default value: <code>150</code><br> 18819Saved in: <code>General.SessionFileName</code> 18820</p> 18821</dd> 18822<dt><code>General.ClipWholeElements</code> 18823<span id="index-General_002eClipWholeElements"></span> 18824</dt> 18825<dd><p>Clip whole elements<br> 18826Default value: <code>0</code><br> 18827Saved in: <code>General.OptionsFileName</code> 18828</p> 18829</dd> 18830<dt><code>General.ColorScheme</code> 18831<span id="index-General_002eColorScheme"></span> 18832</dt> 18833<dd><p>Default color scheme for graphics (0: light, 1: default, 2: grayscale, 3: dark)<br> 18834Default value: <code>1</code><br> 18835Saved in: <code>General.SessionFileName</code> 18836</p> 18837</dd> 18838<dt><code>General.ConfirmOverwrite</code> 18839<span id="index-General_002eConfirmOverwrite"></span> 18840</dt> 18841<dd><p>Ask confirmation before overwriting files?<br> 18842Default value: <code>1</code><br> 18843Saved in: <code>General.OptionsFileName</code> 18844</p> 18845</dd> 18846<dt><code>General.ContextPositionX</code> 18847<span id="index-General_002eContextPositionX"></span> 18848</dt> 18849<dd><p>Horizontal position (in pixels) of the upper left corner of the contextual windows<br> 18850Default value: <code>650</code><br> 18851Saved in: <code>General.SessionFileName</code> 18852</p> 18853</dd> 18854<dt><code>General.ContextPositionY</code> 18855<span id="index-General_002eContextPositionY"></span> 18856</dt> 18857<dd><p>Vertical position (in pixels) of the upper left corner of the contextual windows<br> 18858Default value: <code>150</code><br> 18859Saved in: <code>General.SessionFileName</code> 18860</p> 18861</dd> 18862<dt><code>General.DetachedMenu</code> 18863<span id="index-General_002eDetachedMenu"></span> 18864</dt> 18865<dd><p>Should the menu window be detached from the graphic window?<br> 18866Default value: <code>0</code><br> 18867Saved in: <code>General.SessionFileName</code> 18868</p> 18869</dd> 18870<dt><code>General.DetachedProcess</code> 18871<span id="index-General_002eDetachedProcess"></span> 18872</dt> 18873<dd><p>On Windows, should processes created by Gmsh be detached?<br> 18874Default value: <code>1</code><br> 18875Saved in: <code>General.OptionsFileName</code> 18876</p> 18877</dd> 18878<dt><code>General.DisplayBorderFactor</code> 18879<span id="index-General_002eDisplayBorderFactor"></span> 18880</dt> 18881<dd><p>Border factor for model display (0: model fits window size exactly)<br> 18882Default value: <code>0.2</code><br> 18883Saved in: <code>General.OptionsFileName</code> 18884</p> 18885</dd> 18886<dt><code>General.DoubleBuffer</code> 18887<span id="index-General_002eDoubleBuffer"></span> 18888</dt> 18889<dd><p>Use a double buffered graphic window (on Unix, should be set to 0 when working on a remote host without GLX)<br> 18890Default value: <code>1</code><br> 18891Saved in: <code>General.OptionsFileName</code> 18892</p> 18893</dd> 18894<dt><code>General.DrawBoundingBoxes</code> 18895<span id="index-General_002eDrawBoundingBoxes"></span> 18896</dt> 18897<dd><p>
18897Draw bounding boxes<br> 18898Default value: <code>0</code><br> 18899Saved in: <code>General.OptionsFileName</code> 18900</p> 18901</dd> 18902<dt><code>General.ExpertMode</code> 18903<span id="index-General_002eExpertMode"></span> 18904</dt> 18905<dd><p>Enable expert mode (to disable all the messages meant for inexperienced users)<br> 18906Default value: <code>0</code><br> 18907Saved in: <code>General.OptionsFileName</code> 18908</p> 18909</dd> 18910<dt><code>General.ExtraPositionX</code> 18911<span id="index-General_002eExtraPositionX"></span> 18912</dt> 18913<dd><p>Horizontal position (in pixels) of the upper left corner of the generic extra window<br> 18914Default value: <code>650</code><br> 18915Saved in: <code>General.SessionFileName</code> 18916</p> 18917</dd> 18918<dt><code>General.ExtraPositionY</code> 18919<span id="index-General_002eExtraPositionY"></span> 18920</dt> 18921<dd><p>Vertical position (in pixels) of the upper left corner of the generic extra window<br> 18922Default value: <code>350</code><br> 18923Saved in: <code>General.SessionFileName</code> 18924</p> 18925</dd> 18926<dt><code>General.ExtraHeight</code> 18927<span id="index-General_002eExtraHeight"></span> 18928</dt> 18929<dd><p>Height (in pixels) of the generic extra window<br> 18930Default value: <code>100</code><br> 18931Saved in: <code>General.SessionFileName</code> 18932</p> 18933</dd> 18934<dt><code>General.ExtraWidth</code> 18935<span id="index-General_002eExtraWidth"></span> 18936</dt> 18937<dd><p>Width (in pixels) of the generic extra window<br> 18938Default value: <code>100</code><br> 18939Saved in: <code>General.SessionFileName</code> 18940</p> 18941</dd> 18942<dt><code>General.FastRedraw</code> 18943<span id="index-General_002eFastRedraw"></span> 18944</dt> 18945<dd><p>Draw simplified model while rotating, panning and zooming<br> 18946Default value: <code>0</code><br> 18947Saved in: <code>General.OptionsFileName</code> 18948</p> 18949</dd> 18950<dt><code>General.FieldPositionX</code> 18951<span id="index-General_002eFieldPositionX"></span> 18952</dt> 18953<dd><p>Horizontal position (in pixels) of the upper left corner of the field window<br> 18954Default value: <code>650</code><br> 18955Saved in: <code>General.SessionFileName</code> 18956</p> 18957</dd> 18958<dt><code>General.FieldPositionY</code> 18959<span id="index-General_002eFieldPositionY"></span> 18960</dt> 18961<dd><p>Vertical position (in pixels) of the upper left corner of the field window<br> 18962Default value: <code>550</code><br> 18963Saved in: <code>General.SessionFileName</code> 18964</p> 18965</dd> 18966<dt><code>General.FieldHeight</code> 18967<span id="index-General_002eFieldHeight"></span> 18968</dt> 18969<dd><p>Height (in pixels) of the field window<br> 18970Default value: <code>320</code><br> 18971Saved in: <code>General.SessionFileName</code> 18972</p> 18973</dd> 18974<dt><code>General.FieldWidth</code> 18975<span id="index-General_002eFieldWidth"></span> 18976</dt> 18977<dd><p>Width (in pixels) of the field window<br> 18978Default value: <code>420</code><br> 18979Saved in: <code>General.SessionFileName</code> 18980</p> 18981</dd> 18982<dt><code>General.FileChooserPositionX</code> 18983<span id="index-General_002eFileChooserPositionX"></span> 18984</dt> 18985<dd><p>Horizontal position (in pixels) of the upper left corner of the file chooser windows<br> 18986Default value: <code>200</code><br> 18987Saved in: <code>General.SessionFileName</code> 18988</p> 18989</dd> 18990<dt><code>General.FileChooserPositionY</code> 18991<span id="index-General_002eFileChooserPositionY"></span> 18992</dt> 18993<dd><p>Vertical position (in pixels) of the upper left corner of the file chooser windows<br> 18994Default value: <code>200</code><br> 18995Saved in: <code>General.SessionFileName</code> 18996</p> 18997</dd> 18998<dt><code>General.FltkColorScheme</code> 18999<span id="index-General_002eFltkColorScheme"></span> 19000</dt> 19001<dd><p>FLTK user interface color theme (0: standard, 1:dark)<br> 19002Default value: <code>0</code><br> 19003Saved in: <code>General.SessionFileName</code> 19004</p> 19005</dd> 19006<dt><code>General.FltkRefreshRate</code> 19007<span id="index-General_002eFltkRefreshRate"></span> 19008</dt> 19009<dd><p>FLTK user interface maximum refresh rate, per second (0: no limit)<br> 19010Default value: <code>5</code><br> 19011Saved in: <code>General.OptionsFileName</code> 19012</p> 19013</dd> 19014<dt><code>General.FontSize</code> 19015<span id="index-General_002eFontSize"></span> 19016</dt> 19017<dd><p>Size of the font in the user interface, in pixels (-1: automatic)<br> 19018Default value: <code>-1</code><br> 19019Saved in: <code>General.OptionsFileName</code> 19020</p> 19021</dd> 19022<dt><code>General.GraphicsFontSize</code> 19023<span id="index-General_002eGraphicsFontSize"></span> 19024</dt> 19025<dd><p>Size of the font in the graphic window, in pixels<br> 19026Default value: <code>15</code><br> 19027Saved in: <code>General.OptionsFileName</code> 19028</p> 19029</dd> 19030<dt><code>General.GraphicsFontSizeTitle</code> 19031<span id="index-General_002eGraphicsFontSizeTitle"></span> 19032</dt> 19033<dd><p>Size of the font in the graphic window for titles, in pixels<br> 19034Default value: <code>18</code><br> 19035Saved in: <code>General.OptionsFileName</code> 19036</p> 19037</dd> 19038<dt><code>General.GraphicsHeight</code> 19039<span id="index-General_002eGraphicsHeight"></span> 19040</dt> 19041<dd><p>Height (in pixels) of the graphic window<br> 19042Default value: <code>600</code><br> 19043Saved in: <code>General.SessionFileName</code> 19044</p> 19045</dd> 19046<dt><code>General.GraphicsPositionX</code> 19047<span id="index-General_002eGraphicsPositionX"></span> 19048</dt> 19049<dd><p>Horizontal position (in pixels) of the upper left corner of the graphic window<br> 19050Default value: <code>50</code><br> 19051Saved in: <code>General.SessionFileName</code> 19052</p> 19053</dd> 19054<dt><code>General.GraphicsPositionY</code> 19055<span id="index-General_002eGraphicsPositionY"></span> 19056</dt> 19057<dd><p>Vertical position (in pixels) of the upper left corner of the graphic window<br> 19058Default value: <code>50</code><br> 19059Saved in: <code>General.SessionFileName</code> 19060</p> 19061</dd> 19062<dt><code>General.GraphicsWidth</code> 19063<span id="index-General_002eGraphicsWidth"></span> 19064</dt> 19065<dd><p>Width (in pixels) of the graphic window<br> 19066Default value: <code>800</code><br> 19067Saved in: <code>General.SessionFileName</code> 19068</p> 19069</dd> 19070<dt><code>General.HighOrderToolsPositionX</code> 19071<span id="index-General_002eHighOrderToolsPositionX"></span> 19072</dt> 19073<dd><p>Horizontal position (in pixels) of the upper left corner of the high-order tools window<br> 19074Default value: <code>650</code><br> 19075Saved in: <code>General.SessionFileName</code> 19076</p> 19077</dd> 19078<dt><code>General.HighOrderToolsPositionY</code> 19079<span id="index-General_002eHighOrderToolsPositionY"></span> 19080</dt> 19081<dd><p>Vertical position (in pixels) of the upper left corner of the high-order tools window<br> 19082Default value: <code>150</code><br> 19083Saved in: <code>General.SessionFileName</code> 19084</p> 19085</dd> 19086<dt><code>General.HighResolutionGraphics</code> 19087<span id="index-General_002eHighResolutionGraphics"></span> 19088</dt> 19089<dd><p>Use high-resolution OpenGL graphics (e.g. for Macs with retina displays)<br> 19090Default value: <code>1</code><br> 19091Saved in: <code>General.OptionsFileName</code> 19092</p> 19093</dd> 19094<dt><code>General.InitialModule</code> 19095<span id="index-General_002eInitialModule"></span> 19096</dt> 19097<dd><p>Module launched on startup (0: automatic, 1: geometry, 2: mesh, 3: s
19097olver, 4: post-processing) <br> 19098Default value: <code>0</code><br> 19099Saved in: <code>General.OptionsFileName</code> 19100</p> 19101</dd> 19102<dt><code>General.InputScrolling</code> 19103<span id="index-General_002eInputScrolling"></span> 19104</dt> 19105<dd><p>Enable numerical input scrolling in user interface (moving the mouse to change numbers)<br> 19106Default value: <code>1</code><br> 19107Saved in: <code>General.OptionsFileName</code> 19108</p> 19109</dd> 19110<dt><code>General.Light0</code> 19111<span id="index-General_002eLight0"></span> 19112</dt> 19113<dd><p>Enable light source 0<br> 19114Default value: <code>1</code><br> 19115Saved in: <code>General.OptionsFileName</code> 19116</p> 19117</dd> 19118<dt><code>General.Light0X</code> 19119<span id="index-General_002eLight0X"></span> 19120</dt> 19121<dd><p>X position of light source 0<br> 19122Default value: <code>0.65</code><br> 19123Saved in: <code>General.OptionsFileName</code> 19124</p> 19125</dd> 19126<dt><code>General.Light0Y</code> 19127<span id="index-General_002eLight0Y"></span> 19128</dt> 19129<dd><p>Y position of light source 0<br> 19130Default value: <code>0.65</code><br> 19131Saved in: <code>General.OptionsFileName</code> 19132</p> 19133</dd> 19134<dt><code>General.Light0Z</code> 19135<span id="index-General_002eLight0Z"></span> 19136</dt> 19137<dd><p>Z position of light source 0<br> 19138Default value: <code>1</code><br> 19139Saved in: <code>General.OptionsFileName</code> 19140</p> 19141</dd> 19142<dt><code>General.Light0W</code> 19143<span id="index-General_002eLight0W"></span> 19144</dt> 19145<dd><p>Divisor of the X, Y and Z coordinates of light source 0 (W=0 means infinitely far source)<br> 19146Default value: <code>0</code><br> 19147Saved in: <code>General.OptionsFileName</code> 19148</p> 19149</dd> 19150<dt><code>General.Light1</code> 19151<span id="index-General_002eLight1"></span> 19152</dt> 19153<dd><p>Enable light source 1<br> 19154Default value: <code>0</code><br> 19155Saved in: <code>General.OptionsFileName</code> 19156</p> 19157</dd> 19158<dt><code>General.Light1X</code> 19159<span id="index-General_002eLight1X"></span> 19160</dt> 19161<dd><p>X position of light source 1<br> 19162Default value: <code>0.5</code><br> 19163Saved in: <code>General.OptionsFileName</code> 19164</p> 19165</dd> 19166<dt><code>General.Light1Y</code> 19167<span id="index-General_002eLight1Y"></span> 19168</dt> 19169<dd><p>Y position of light source 1<br> 19170Default value: <code>0.3</code><br> 19171Saved in: <code>General.OptionsFileName</code> 19172</p> 19173</dd> 19174<dt><code>General.Light1Z</code> 19175<span id="index-General_002eLight1Z"></span> 19176</dt> 19177<dd><p>Z position of light source 1<br> 19178Default value: <code>1</code><br> 19179Saved in: <code>General.OptionsFileName</code> 19180</p> 19181</dd> 19182<dt><code>General.Light1W</code> 19183<span id="index-General_002eLight1W"></span> 19184</dt> 19185<dd><p>Divisor of the X, Y and Z coordinates of light source 1 (W=0 means infinitely far source)<br> 19186Default value: <code>0</code><br> 19187Saved in: <code>General.OptionsFileName</code> 19188</p> 19189</dd> 19190<dt><code>General.Light2</code> 19191<span id="index-General_002eLight2"></span> 19192</dt> 19193<dd><p>Enable light source 2<br> 19194Default value: <code>0</code><br> 19195Saved in: <code>General.OptionsFileName</code> 19196</p> 19197</dd> 19198<dt><code>General.Light2X</code> 19199<span id="index-General_002eLight2X"></span> 19200</dt> 19201<dd><p>X position of light source 2<br> 19202Default value: <code>0.5</code><br> 19203Saved in: <code>General.OptionsFileName</code> 19204</p> 19205</dd> 19206<dt><code>General.Light2Y</code> 19207<span id="index-General_002eLight2Y"></span> 19208</dt> 19209<dd><p>Y position of light source 2<br> 19210Default value: <code>0.3</code><br> 19211Saved in: <code>General.OptionsFileName</code> 19212</p> 19213</dd> 19214<dt><code>General.Light2Z</code> 19215<span id="index-General_002eLight2Z"></span> 19216</dt> 19217<dd><p>Z position of light source 2<br> 19218Default value: <code>1</code><br> 19219Saved in: <code>General.OptionsFileName</code> 19220</p> 19221</dd> 19222<dt><code>General.Light2W</code> 19223<span id="index-General_002eLight2W"></span> 19224</dt> 19225<dd><p>Divisor of the X, Y and Z coordinates of light source 2 (W=0 means infinitely far source)<br> 19226Default value: <code>0</code><br> 19227Saved in: <code>General.OptionsFileName</code> 19228</p> 19229</dd> 19230<dt><code>General.Light3</code> 19231<span id="index-General_002eLight3"></span> 19232</dt> 19233<dd><p>Enable light source 3<br> 19234Default value: <code>0</code><br> 19235Saved in: <code>General.OptionsFileName</code> 19236</p> 19237</dd> 19238<dt><code>General.Light3X</code> 19239<span id="index-General_002eLight3X"></span> 19240</dt> 19241<dd><p>X position of light source 3<br> 19242Default value: <code>0.5</code><br> 19243Saved in: <code>General.OptionsFileName</code> 19244</p> 19245</dd> 19246<dt><code>General.Light3Y</code> 19247<span id="index-General_002eLight3Y"></span> 19248</dt> 19249<dd><p>Y position of light source 3<br> 19250Default value: <code>0.3</code><br> 19251Saved in: <code>General.OptionsFileName</code> 19252</p> 19253</dd> 19254<dt><code>General.Light3Z</code> 19255<span id="index-General_002eLight3Z"></span> 19256</dt> 19257<dd><p>Z position of light source 3<br> 19258Default value: <code>1</code><br> 19259Saved in: <code>General.OptionsFileName</code> 19260</p> 19261</dd> 19262<dt><code>General.Light3W</code> 19263<span id="index-General_002eLight3W"></span> 19264</dt> 19265<dd><p>Divisor of the X, Y and Z coordinates of light source 3 (W=0 means infinitely far source)<br> 19266Default value: <code>0</code><br> 19267Saved in: <code>General.OptionsFileName</code> 19268</p> 19269</dd> 19270<dt><code>General.Light4</code> 19271<span id="index-General_002eLight4"></span> 19272</dt> 19273<dd><p>Enable light source 4<br> 19274Default value: <code>0</code><br> 19275Saved in: <code>General.OptionsFileName</code> 19276</p> 19277</dd> 19278<dt><code>General.Light4X</code> 19279<span id="index-General_002eLight4X"></span> 19280</dt> 19281<dd><p>X position of light source 4<br> 19282Default value: <code>0.5</code><br> 19283Saved in: <code>General.OptionsFileName</code> 19284</p> 19285</dd> 19286<dt><code>General.Light4Y</code> 19287<span id="index-General_002eLight4Y"></span> 19288</dt> 19289<dd><p>Y position of light source 4<br> 19290Default value: <code>0.3</code><br> 19291Saved in: <code>General.OptionsFileName</code> 19292</p> 19293</dd> 19294<dt><code>General.Light4Z</code> 19295<span id="index-General_002eLight4Z"></span> 19296</dt> 19297<dd><p>Z position of light source 4<br> 19298Default value: <code>1</code><br> 19299Saved in: <code>General.OptionsFileName</code> 19300</p> 19301</dd> 19302<dt><code>General.Light4W</code> 19303<span id="index-General_002eLight4W"></span> 19304</dt> 19305<dd><p>Divisor of the X, Y and Z coordinates of light source 4 (W=0 means infinitely far source)<br> 19306Default value: <code>0</code><br> 19307Saved in: <code>General.OptionsFileName</code> 19308</p> 19309</dd> 19310<dt><code>General.Light5</code> 19311<span id="index-General_002eLight5"></span> 19312</dt> 19313<dd><p>Enable light source 5<br> 19314Default value: <code>0</code><br> 19315Saved in: <code>General.OptionsFileName</code> 19316</p> 19317</dd> 19318<dt><code>General.Light5X</code> 19319<span id="index-General_002eLight5X"></span> 19320</dt> 19321<dd><p>X position of light source 5<br> 19322Default value: <code>0.5</code><br> 19323Saved in: <code>General.OptionsFileName</code> 19324</p> 19325</dd> 19326<dt><code>General.Light5Y</code> 19327<span id="index-General_002eLight5Y"></span> 19328</dt> 19329<dd><p>Y position of light source 5<br> 19330Default value: <code>0.3</code><br> 19331Saved in: <code>General.OptionsFileName</code> 19332</p> 19333</dd> 19334<dt><code>General.Light5Z</code> 19335<span id="index-General_002eLight5Z"></span> 19336</dt> 19337<dd><p>Z position of light source 5<br> 19338Default value: <code>1</code><br> 19339Saved in: <code>General.OptionsFileName</code> 19340</p> 19341</dd> 19342<dt><code>General.Light5W</code> 19343<span id="index-General_002eLight5W"></span> 19344</dt> 19345<dd><p>Divisor of the X, Y and Z coordinates of light source 5 (W=0 means infinitely far source)<br> 19346Default value: <code>0</code><br> 19347Saved in: <code>General.OptionsFileName</code> 19348</p> 19349</dd> 19350<dt><code>General.LineWidth</code> 19351<span id="index-General_002eLineWidth"></span> 19352</dt> 19353<dd><p>Display width of lines (in pixels)<br> 19354Default value: <code>1</code><br> 19355Saved in: <code>General.OptionsFileName</code> 19356</p> 19357</dd> 19358<dt><code>General.ManipulatorPositionX</code> 19359<span id="index-General_002eManipulatorPositionX"></span> 19360</dt> 19361<dd><p>Horizontal position (in pixels) of the upper left corner of the manipulator window<br> 19362Default value: <code>650</code><br> 19363Saved in: <code>General.SessionFileName</code> 19364</p> 19365</dd> 19366<dt><code>General.ManipulatorPositionY</code> 19367<span id="index-General_002eManipulatorPositionY"></span> 19368</dt> 19369<dd><p>Vertical position (in pixels) of the upper left corner of the manipulator window<br> 19370Default value: <code>150</code><br> 19371Saved in: <code>General.SessionFileName</code> 19372</p> 19373</dd> 19374<dt><code>General.MaxX</code> 19375<span id="index-General_002eMaxX"></span> 19376</dt> 19377<dd><p>Maximum model coordinate along the X-axis (read-only)<br> 19378Default value: <code>0</code><br> 19379Saved in: <code>-</code> 19380</p> 19381</dd> 19382<dt><code>General.MaxY</code> 19383<span id="index-General_002eMaxY"></span> 19384</dt> 19385<dd><p>Maximum model coordinate along the Y-axis (read-only)<br> 19386Default value: <code>0</code><br> 19387Saved in: <code>-</code> 19388</p> 19389</dd> 19390<dt><code>General.MaxZ</code> 19391<span id="index-General_002eMaxZ"></span> 19392</dt> 19393<dd><p>Maximum model coordinate along the Z-axis (read-only)<br> 19394Default value: <code>0</code><br> 19395Saved in: <code>-</code> 19396</p> 19397</dd> 19398<dt><code>General.MenuWidth</code> 19399<span id="index-General_002eMenuWidth"></span> 19400</dt> 19401<dd><p>Width (in pixels) of the menu tree<br> 19402Default value: <code>200</code><br> 19403Saved in: <code>General.SessionFileName</code> 19404</p> 19405</dd> 19406<dt><code>General.MenuHeight</code> 19407<span id="index-General_002eMenuHeight"></span> 19408</dt> 19409<dd><p>Height (in pixels) of the (detached) menu tree<br> 19410Default value: <code>200</code><br> 19411Saved in: <code>General.SessionFileName</code> 19412</p> 19413</dd> 19414<dt><code>General.MenuPositionX</code> 19415<span id="index-General_002eMenuPositionX"></span> 19416</dt> 19417<dd><p>Horizontal position (in pixels) of the (detached) menu tree<br> 19418Default value: <code>400</code><br> 19419Saved in: <code>General.SessionFileName</code> 19420</p> 19421</dd> 19422<dt><code>General.MenuPositionY</code> 19423<span id="index-General_002eMenuPositionY"></span> 19424</dt> 19425<dd><p>Vertical position (in pixels) of the (detached) menu tree<br> 19426Default value: <code>400</code><br> 19427Saved in: <code>General.SessionFileName</code> 19428</p> 19429</dd> 19430<dt><code>General.MessageFontSize</code> 19431<span id="index-General_002eMessageFontSize"></span> 19432</dt> 19433<dd><p>Size of the font in the message window, in pixels (-1: automatic)<br> 19434Default value: <code>-1</code><br> 19435Saved in: <code>General.OptionsFileName</code> 19436</p> 19437</dd> 19438<dt><code>General.MessageHeight</code> 19439<span id="index-General_002eMessageHeight"></span> 19440</dt> 19441<dd><p>Height (in pixels) of the message console when it is visible (should be > 0)<br> 19442Default value: <code>300</code><br> 19443Saved in: <code>General.SessionFileName</code> 19444</p> 19445</dd> 19446<dt><code>General.MinX</code> 19447<span id="index-General_002eMinX"></span> 19448</dt> 19449<dd><p>Minimum model coordinate along the X-axis (read-only)<br> 19450Default value: <code>0</code><br> 19451Saved in: <code>-</code> 19452</p> 19453</dd> 19454<dt><code>General.MinY</code> 19455<span id="index-General_002eMinY"></span> 19456</dt> 19457<dd><p>Minimum model coordinate along the Y-axis (read-only)<br> 19458Default value: <code>0</code><br> 19459Saved in: <code>-</code> 19460</p> 19461</dd> 19462<dt><code>General.MinZ</code> 19463<span id="index-General_002eMinZ"></span> 19464</dt> 19465<dd><p>Minimum model coordinate along the Z-axis (read-only)<br> 19466Default value: <code>0</code><br> 19467Saved in: <code>-</code> 19468</p> 19469</dd> 19470<dt><code>General.MouseHoverMeshes</code> 19471<span id="index-General_002eMouseHoverMeshes"></span> 19472</dt> 19473<dd><p>Enable mouse hover on meshes<br> 19474Default value: <code>0</code><br> 19475Saved in: <code>General.OptionsFileName</code> 19476</p> 19477</dd> 19478<dt><code>General.MouseSelection</code> 19479<span id="index-General_002eMouseSelection"></span> 19480</dt> 19481<dd><p>Enable mouse selection<br> 19482Default value: <code>1</code><br> 19483Saved in: <code>General.OptionsFileName</code> 19484</p> 19485</dd> 19486<dt><code>General.MouseInvertZoom</code> 19487<span id="index-General_002eMouseInvertZoom"></span> 19488</dt> 19489<dd><p>Invert mouse wheel zoom direction<br> 19490Default value: <code>0</code><br> 19491Saved in: <code>General.OptionsFileName</code> 19492</p> 19493</dd> 19494<dt><code>General.NativeFileChooser</code> 19495<span id="index-General_002eNativeFileChooser"></span> 19496</dt> 19497<dd><p>Use the native file chooser?<br> 19498Default value: <code>1</code><br> 19499Saved in: <code>General.SessionFileName</code> 19500</p> 19501</dd> 19502<dt><code>General.NonModalWindows</code> 19503<span id="index-General_002eNonModalWindows"></span> 19504</dt> 19505<dd><p>Force all control windows to be on top of the graphic window ("non-modal")<br> 19506Default value: <code>1</code><br> 19507Saved in: <code>General.SessionFileName</code> 19508</p> 19509</dd> 19510<dt><code>General.NoPopup</code> 19511<span id="index-General_002eNoPopup"></span> 19512</dt> 19513<dd><p>Disable interactive dialog windows in scripts (and use default values instead)<br> 19514Default value: <code>0</code><br> 19515Saved in: <code>General.OptionsFileName</code> 19516</p> 19517</dd> 19518<dt><code>General.NumThreads</code> 19519<span id="index-General_002eNumThreads"></span> 19520</dt> 19521<dd><p>Maximum number of threads used by Gmsh when compiled with OpenMP support (0: use system default, i.e. OMP_NUM_THREADS)<br> 19522Default value: <code>1</code><br> 19523Saved in: <code>General.OptionsFileName</code> 19524</p> 19525</dd> 19526<dt><code>General.OptionsPositionX</code> 19527<span id="index-General_002eOptionsPositionX"></span> 19528</dt> 19529<dd><p>Horizontal position (in pixels) of the upper left corner of the option window<br> 19530Default value: <code>650</code><br> 19531Saved in: <code>General.SessionFileName</code> 19532</p> 19533</dd> 19534<dt><code>General.OptionsPositionY</code> 19535<span id="index-General_002eOptionsPositionY"></span> 19536</dt> 19537<dd><p>Vertical position (in pixels) of the upper left corner of the option window<br> 19538Default value: <code>150</code><br> 19539Saved in: <code>General.SessionFileName</code> 19540</p> 19541</dd> 19542<dt><code>
19542General.Orthographic</code> 19543<span id="index-General_002eOrthographic"></span> 19544</dt> 19545<dd><p>Orthographic projection mode (0: perspective projection)<br> 19546Default value: <code>1</code><br> 19547Saved in: <code>General.OptionsFileName</code> 19548</p> 19549</dd> 19550<dt><code>General.PluginPositionX</code> 19551<span id="index-General_002ePluginPositionX"></span> 19552</dt> 19553<dd><p>Horizontal position (in pixels) of the upper left corner of the plugin window<br> 19554Default value: <code>650</code><br> 19555Saved in: <code>General.SessionFileName</code> 19556</p> 19557</dd> 19558<dt><code>General.PluginPositionY</code> 19559<span id="index-General_002ePluginPositionY"></span> 19560</dt> 19561<dd><p>Vertical position (in pixels) of the upper left corner of the plugin window<br> 19562Default value: <code>550</code><br> 19563Saved in: <code>General.SessionFileName</code> 19564</p> 19565</dd> 19566<dt><code>General.PluginHeight</code> 19567<span id="index-General_002ePluginHeight"></span> 19568</dt> 19569<dd><p>Height (in pixels) of the plugin window<br> 19570Default value: <code>320</code><br> 19571Saved in: <code>General.SessionFileName</code> 19572</p> 19573</dd> 19574<dt><code>General.PluginWidth</code> 19575<span id="index-General_002ePluginWidth"></span> 19576</dt> 19577<dd><p>Width (in pixels) of the plugin window<br> 19578Default value: <code>420</code><br> 19579Saved in: <code>General.SessionFileName</code> 19580</p> 19581</dd> 19582<dt><code>General.PointSize</code> 19583<span id="index-General_002ePointSize"></span> 19584</dt> 19585<dd><p>Display size of points (in pixels)<br> 19586Default value: <code>3</code><br> 19587Saved in: <code>General.OptionsFileName</code> 19588</p> 19589</dd> 19590<dt><code>General.PolygonOffsetAlwaysOn</code> 19591<span id="index-General_002ePolygonOffsetAlwaysOn"></span> 19592</dt> 19593<dd><p>Always apply polygon offset, instead of trying to detect when it is required<br> 19594Default value: <code>0</code><br> 19595Saved in: <code>General.OptionsFileName</code> 19596</p> 19597</dd> 19598<dt><code>General.PolygonOffsetFactor</code> 19599<span id="index-General_002ePolygonOffsetFactor"></span> 19600</dt> 19601<dd><p>Polygon offset factor (offset = factor * DZ + r * units)<br> 19602Default value: <code>0.5</code><br> 19603Saved in: <code>General.OptionsFileName</code> 19604</p> 19605</dd> 19606<dt><code>General.PolygonOffsetUnits</code> 19607<span id="index-General_002ePolygonOffsetUnits"></span> 19608</dt> 19609<dd><p>Polygon offset units (offset = factor * DZ + r * units)<br> 19610Default value: <code>1</code><br> 19611Saved in: <code>General.OptionsFileName</code> 19612</p> 19613</dd> 19614<dt><code>General.ProgressMeterStep</code> 19615<span id="index-General_002eProgressMeterStep"></span> 19616</dt> 19617<dd><p>Increment (in percent) of the progress meter bar<br> 19618Default value: <code>10</code><br> 19619Saved in: <code>General.OptionsFileName</code> 19620</p> 19621</dd> 19622<dt><code>General.QuadricSubdivisions</code> 19623<span id="index-General_002eQuadricSubdivisions"></span> 19624</dt> 19625<dd><p>Number of subdivisions used to draw points or lines as spheres or cylinders<br> 19626Default value: <code>6</code><br> 19627Saved in: <code>General.OptionsFileName</code> 19628</p> 19629</dd> 19630<dt><code>General.RotationX</code> 19631<span id="index-General_002eRotationX"></span> 19632</dt> 19633<dd><p>First Euler angle (used if Trackball=0)<br> 19634Default value: <code>0</code><br> 19635Saved in: <code>-</code> 19636</p> 19637</dd> 19638<dt><code>General.RotationY</code> 19639<span id="index-General_002eRotationY"></span> 19640</dt> 19641<dd><p>Second Euler angle (used if Trackball=0)<br> 19642Default value: <code>0</code><br> 19643Saved in: <code>-</code> 19644</p> 19645</dd> 19646<dt><code>General.RotationZ</code> 19647<span id="index-General_002eRotationZ"></span> 19648</dt> 19649<dd><p>Third Euler angle (used if Trackball=0)<br> 19650Default value: <code>0</code><br> 19651Saved in: <code>-</code> 19652</p> 19653</dd> 19654<dt><code>General.RotationCenterGravity</code> 19655<span id="index-General_002eRotationCenterGravity"></span> 19656</dt> 19657<dd><p>Rotate around the (pseudo) center of mass instead of (RotationCenterX, RotationCenterY, RotationCenterZ)<br> 19658Default value: <code>1</code><br> 19659Saved in: <code>General.OptionsFileName</code> 19660</p> 19661</dd> 19662<dt><code>General.RotationCenterX</code> 19663<span id="index-General_002eRotationCenterX"></span> 19664</dt> 19665<dd><p>X coordinate of the center of rotation<br> 19666Default value: <code>0</code><br> 19667Saved in: <code>-</code> 19668</p> 19669</dd> 19670<dt><code>General.RotationCenterY</code> 19671<span id="index-General_002eRotationCenterY"></span> 19672</dt> 19673<dd><p>Y coordinate of the center of rotation<br> 19674Default value: <code>0</code><br> 19675Saved in: <code>-</code> 19676</p> 19677</dd> 19678<dt><code>General.RotationCenterZ</code> 19679<span id="index-General_002eRotationCenterZ"></span> 19680</dt> 19681<dd><p>Z coordinate of the center of rotation<br> 19682Default value: <code>0</code><br> 19683Saved in: <code>-</code> 19684</p> 19685</dd> 19686<dt><code>General.SaveOptions</code> 19687<span id="index-General_002eSaveOptions"></span> 19688</dt> 19689<dd><p>Automatically save current options in General.OptionsFileName (1) or per model (2)when the graphical user interface is closed?<br> 19690Default value: <code>0</code><br> 19691Saved in: <code>General.SessionFileName</code> 19692</p> 19693</dd> 19694<dt><code>General.SaveSession</code> 19695<span id="index-General_002eSaveSession"></span> 19696</dt> 19697<dd><p>Automatically save session specific information in General.SessionFileName when the graphical user interface is closed?<br> 19698Default value: <code>1</code><br> 19699Saved in: <code>General.SessionFileName</code> 19700</p> 19701</dd> 19702<dt><code>General.ScaleX</code> 19703<span id="index-General_002eScaleX"></span> 19704</dt> 19705<dd><p>X-axis scale factor<br> 19706Default value: <code>1</code><br> 19707Saved in: <code>-</code> 19708</p> 19709</dd> 19710<dt><code>General.ScaleY</code> 19711<span id="index-General_002eScaleY"></span> 19712</dt> 19713<dd><p>Y-axis scale factor<br> 19714Default value: <code>1</code><br> 19715Saved in: <code>-</code> 19716</p> 19717</dd> 19718<dt><code>General.ScaleZ</code> 19719<span id="index-General_002eScaleZ"></span> 19720</dt> 19721<dd><p>Z-axis scale factor<br> 19722Default value: <code>1</code><br> 19723Saved in: <code>-</code> 19724</p> 19725</dd> 19726<dt><code>General.Shininess</code> 19727<span id="index-General_002eShininess"></span> 19728</dt> 19729<dd><p>Material shininess<br> 19730Default value: <code>0.4</code><br> 19731Saved in: <code>General.OptionsFileName</code> 19732</p> 19733</dd> 19734<dt><code>General.ShininessExponent</code> 19735<span id="index-General_002eShininessExponent"></span> 19736</dt> 19737<dd><p>Material shininess exponent (between 0 and 128)<br> 19738Default value: <code>40</code><br> 19739Saved in: <code>General.OptionsFileName</code> 19740</p> 19741</dd> 19742<dt><code>General.ShowModuleMenu</code> 19743<span id="index-General_002eShowModuleMenu"></span> 19744</dt> 19745<dd><p>Show the standard Gmsh menu in the tree<br> 19746Default value: <code>1</code><br> 19747Saved in: <code>General.OptionsFileName</code> 19748</p> 19749</dd> 19750<dt><code>General.ShowOptionsOnStartup</code> 19751<span id="index-General_002eShowOptionsOnStartup"></span> 19752</dt> 19753<dd><p>Show option window on startup<br> 19754Default value: <code>0</code><br> 19755Saved in: <code>General.OptionsFileName</code> 19756</p> 19757</dd> 19758<dt><code>General.ShowMessagesOnStartup</code> 19759<span id="index-General_002eShowMessagesOnStartup"></span> 19760</dt> 19761<dd><p>Show message window on startup<br> 19762Default value: <code>0</code><br> 19763Saved in: <code>General.OptionsFileName</code> 19764</p> 19765</dd> 19766<dt><code>General.SmallAxes</code> 19767<span id="index-General_002eSmallAxes"></span> 19768</dt> 19769<dd><p>Display the small axes<br> 19770Default value: <code>1</code><br> 19771Saved in: <code>General.OptionsFileName</code> 19772</p> 19773</dd> 19774<dt><code>General.SmallAxesPositionX</code> 19775<span id="index-General_002eSmallAxesPositionX"></span> 19776</dt> 19777<dd><p>X position (in pixels) of small axes (< 0: measure from right window edge; >= 1e5: centered)<br> 19778Default value: <code>-60</code><br> 19779Saved in: <code>General.OptionsFileName</code> 19780</p> 19781</dd> 19782<dt><code>General.SmallAxesPositionY</code> 19783<span id="index-General_002eSmallAxesPositionY"></span> 19784</dt> 19785<dd><p>Y position (in pixels) of small axes (< 0: measure from bottom window edge; >= 1e5: centered)<br> 19786Default value: <code>-40</code><br> 19787Saved in: <code>General.OptionsFileName</code> 19788</p> 19789</dd> 19790<dt><code>General.SmallAxesSize</code> 19791<span id="index-General_002eSmallAxesSize"></span> 19792</dt> 19793<dd><p>Size (in pixels) of small axes<br> 19794Default value: <code>30</code><br> 19795Saved in: <code>General.OptionsFileName</code> 19796</p> 19797</dd> 19798<dt><code>General.StatisticsPositionX</code> 19799<span id="index-General_002eStatisticsPositionX"></span> 19800</dt> 19801<dd><p>Horizontal position (in pixels) of the upper left corner of the statistic window<br> 19802Default value: <code>650</code><br> 19803Saved in: <code>General.SessionFileName</code> 19804</p> 19805</dd> 19806<dt><code>General.StatisticsPositionY</code> 19807<span id="index-General_002eStatisticsPositionY"></span> 19808</dt> 19809<dd><p>Vertical position (in pixels) of the upper left corner of the statistic window<br> 19810Default value: <code>150</code><br> 19811Saved in: <code>General.SessionFileName</code> 19812</p> 19813</dd> 19814<dt><code>General.Stereo</code> 19815<span id="index-General_002eStereo"></span> 19816</dt> 19817<dd><p>Use stereo rendering<br> 19818Default value: <code>0</code><br> 19819Saved in: <code>General.OptionsFileName</code> 19820</p> 19821</dd> 19822<dt><code>General.SystemMenuBar</code> 19823<span id="index-General_002eSystemMenuBar"></span> 19824</dt> 19825<dd><p>Use the system menu bar on macOS?<br> 19826Default value: <code>1</code><br> 19827Saved in: <code>General.SessionFileName</code> 19828</p> 19829</dd> 19830<dt><code>General.Terminal</code> 19831<span id="index-General_002eTerminal"></span> 19832</dt> 19833<dd><p>Should information be printed on the terminal (if available)?<br> 19834Default value: <code>0</code><br> 19835Saved in: <code>General.OptionsFileName</code> 19836</p> 19837</dd> 19838<dt><code>General.Tooltips</code> 19839<span id="index-General_002eTooltips"></span> 19840</dt> 19841<dd><p>Show tooltips in the user interface<br> 19842Default value: <code>1</code><br> 19843Saved in: <code>General.OptionsFileName</code> 19844</p> 19845</dd> 19846<dt><code>General.Trackball</code> 19847<span id="index-General_002eTrackball"></span> 19848</dt> 19849<dd><p>Use trackball rotation mode<br> 19850Default value: <code>1</code><br> 19851Saved in: <code>General.OptionsFileName</code> 19852</p> 19853</dd> 19854<dt><code>General.TrackballHyperbolicSheet</code> 19855<span id="index-General_002eTrackballHyperbolicSheet"></span> 19856</dt> 19857<dd><p>Use hyperbolic sheet away from trackball center for z-rotations<br> 19858Default value: <code>1</code><br> 19859Saved in: <code>General.OptionsFileName</code> 19860</p> 19861</dd> 19862<dt><code>General.TrackballQuaternion0</code> 19863<span id="index-General_002eTrackballQuaternion0"></span> 19864</dt> 19865<dd><p>First trackball quaternion component (used if General.Trackball=1)<br> 19866Default value: <code>0</code><br> 19867Saved in: <code>-</code> 19868</p> 19869</dd> 19870<dt><code>General.TrackballQuaternion1</code> 19871<span id="index-General_002eTrackballQuaternion1"></span> 19872</dt> 19873<dd><p>Second trackball quaternion component (used if General.Trackball=1)<br> 19874Default value: <code>0</code><br> 19875Saved in: <code>-</code> 19876</p> 19877</dd> 19878<dt><code>General.TrackballQuaternion2</code> 19879<span id="index-General_002eTrackballQuaternion2"></span> 19880</dt> 19881<dd><p>Third trackball quaternion component (used if General.Trackball=1)<br> 19882Default value: <code>0</code><br> 19883Saved in: <code>-</code> 19884</p> 19885</dd> 19886<dt><code>General.TrackballQuaternion3</code> 19887<span id="index-General_002eTrackballQuaternion3"></span> 19888</dt> 19889<dd><p>Fourth trackball quaternion component (used if General.Trackball=1)<br> 19890Default value: <code>1</code><br> 19891Saved in: <code>-</code> 19892</p> 19893</dd> 19894<dt><code>General.TranslationX</code> 19895<span id="index-General_002eTranslationX"></span> 19896</dt> 19897<dd><p>X-axis translation (in model units)<br> 19898Default value: <code>0</code><br> 19899Saved in: <code>-</code> 19900</p> 19901</dd> 19902<dt><code>General.TranslationY</code> 19903<span id="index-General_002eTranslationY"></span> 19904</dt> 19905<dd><p>Y-axis translation (in model units)<br> 19906Default value: <code>0</code><br> 19907Saved in: <code>-</code> 19908</p> 19909</dd> 19910<dt><code>General.TranslationZ</code> 19911<span id="index-General_002eTranslationZ"></span> 19912</dt> 19913<dd><p>Z-axis translation (in model units)<br> 19914Default value: <code>0</code><br> 19915Saved in: <code>-</code> 19916</p> 19917</dd> 19918<dt><code>General.VectorType</code> 19919<span id="index-General_002eVectorType"></span> 19920</dt> 19921<dd><p>Default vector display type (for normals, etc.)<br> 19922Default value: <code>4</code><br> 19923Saved in: <code>General.OptionsFileName</code> 19924</p> 19925</dd> 19926<dt><code>General.Verbosity</code> 19927<span id="index-General_002eVerbosity"></span> 19928</dt> 19929<dd><p>Level of information printed on the terminal and the message console (0: silent except for fatal errors, 1: +errors, 2: +warnings, 3: +direct, 4: +information, 5: +status, 99: +debug)<br> 19930Default value: <code>5</code><br> 19931Saved in: <code>General.OptionsFileName</code> 19932</p> 19933</dd> 19934<dt><code>General.VisibilityPositionX</code> 19935<span id="index-General_002eVisibilityPositionX"></span> 19936</dt> 19937<dd><p>Horizontal position (in pixels) of the upper left corner of the visibility window<br> 19938Default value: <code>650</code><br> 19939Saved in: <code>General.SessionFileName</code> 19940</p> 19941</dd> 19942<dt><code>General.VisibilityPositionY</code> 19943<span id="index-General_002eVisibilityPositionY"></span> 19944</dt> 19945<dd><p>Vertical position (in pixels) of the upper left corner of the visibility window<br> 19946Default value: <code>150</code><br> 19947Saved in: <code>General.SessionFileName</code> 19948</p> 19949</dd> 19950<dt><code>General.ZoomFactor</code> 19951<span id="index-General_002eZoomFactor"></span> 19952</dt> 19953<dd><p>Middle mouse button zoom acceleration factor<br> 19954Default value: <code>4</code><br> 19955Saved in: <code>General.OptionsFileName</code> 19956</p> 19957</dd> 19958<dt><code>
19958General.Color.Background</code> 19959<span id="index-General_002eColor_002eBackground"></span> 19960</dt> 19961<dd><p>Background color<br> 19962Default value: <code>{255,255,255}</code><br> 19963Saved in: <code>General.OptionsFileName</code> 19964</p> 19965</dd> 19966<dt><code>General.Color.BackgroundGradient</code> 19967<span id="index-General_002eColor_002eBackgroundGradient"></span> 19968</dt> 19969<dd><p>Background gradient color<br> 19970Default value: <code>{208,215,255}</code><br> 19971Saved in: <code>General.OptionsFileName</code> 19972</p> 19973</dd> 19974<dt><code>General.Color.Foreground</code> 19975<span id="index-General_002eColor_002eForeground"></span> 19976</dt> 19977<dd><p>Foreground color<br> 19978Default value: <code>{85,85,85}</code><br> 19979Saved in: <code>General.OptionsFileName</code> 19980</p> 19981</dd> 19982<dt><code>General.Color.Text</code> 19983<span id="index-General_002eColor_002eText"></span> 19984</dt> 19985<dd><p>Text color<br> 19986Default value: <code>{0,0,0}</code><br> 19987Saved in: <code>General.OptionsFileName</code> 19988</p> 19989</dd> 19990<dt><code>General.Color.Axes</code> 19991<span id="index-General_002eColor_002eAxes"></span> 19992</dt> 19993<dd><p>Axes color<br> 19994Default value: <code>{0,0,0}</code><br> 19995Saved in: <code>General.OptionsFileName</code> 19996</p> 19997</dd> 19998<dt><code>General.Color.SmallAxes</code> 19999<span id="index-General_002eColor_002eSmallAxes"></span> 20000</dt> 20001<dd><p>Small axes color<br> 20002Default value: <code>{0,0,0}</code><br> 20003Saved in: <code>General.OptionsFileName</code> 20004</p> 20005</dd> 20006<dt><code>General.Color.AmbientLight</code> 20007<span id="index-General_002eColor_002eAmbientLight"></span> 20008</dt> 20009<dd><p>Ambient light color<br> 20010Default value: <code>{25,25,25}</code><br> 20011Saved in: <code>General.OptionsFileName</code> 20012</p> 20013</dd> 20014<dt><code>General.Color.DiffuseLight</code> 20015<span id="index-General_002eColor_002eDiffuseLight"></span> 20016</dt> 20017<dd><p>Diffuse light color<br> 20018Default value: <code>{255,255,255}</code><br> 20019Saved in: <code>General.OptionsFileName</code> 20020</p> 20021</dd> 20022<dt><code>General.Color.SpecularLight</code> 20023<span id="index-General_002eColor_002eSpecularLight"></span> 20024</dt> 20025<dd><p>Specular light color<br> 20026Default value: <code>{255,255,255}</code><br> 20027Saved in: <code>General.OptionsFileName</code> 20028</p> 20029</dd> 20030</dl> 20031 20032 20033<hr> 20034<span id="Print-options"></span><div class="header"> 20035<p> 20036Next: <a href="#Geometry-options" accesskey="n" rel="next">Geometry options</a>, Previous: <a href="#General-options" accesskey="p" rel="prev">General options</a>, Up: <a href="#Gmsh-options" accesskey="u" rel="up">Gmsh options</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 20037</div> 20038<span id="Print-options-1"></span><h3 class="section">7.2 Print options</h3> 20039 20040 20041<dl compact="compact"> 20042<dt><code>Print.ParameterCommand</code> 20043<span id="index-Print_002eParameterCommand"></span> 20044</dt> 20045<dd><p>Command parsed when the print parameter is changed<br> 20046Default value: <code>"Mesh.Clip=1; View.Clip=1; General.ClipWholeElements=1; General.Clip0D=Print.Parameter; SetChanged;"</code><br> 20047Saved in: <code>General.OptionsFileName</code> 20048</p> 20049</dd> 20050<dt><code>Print.Parameter</code> 20051<span id="index-Print_002eParameter"></span> 20052</dt> 20053<dd><p>Current value of the print parameter<br> 20054Default value: <code>0</code><br> 20055Saved in: <code>General.OptionsFileName</code> 20056</p> 20057</dd> 20058<dt><code>Print.ParameterFirst</code> 20059<span id="index-Print_002eParameterFirst"></span> 20060</dt> 20061<dd><p>First value of print parameter in loop<br> 20062Default value: <code>-1</code><br> 20063Saved in: <code>General.OptionsFileName</code> 20064</p> 20065</dd> 20066<dt><code>Print.ParameterLast</code> 20067<span id="index-Print_002eParameterLast"></span> 20068</dt> 20069<dd><p>Last value of print parameter in loop<br> 20070Default value: <code>1</code><br> 20071Saved in: <code>General.OptionsFileName</code> 20072</p> 20073</dd> 20074<dt><code>Print.ParameterSteps</code> 20075<span id="index-Print_002eParameterSteps"></span> 20076</dt> 20077<dd><p>Number of steps in loop over print parameter<br> 20078Default value: <code>10</code><br> 20079Saved in: <code>General.OptionsFileName</code> 20080</p> 20081</dd> 20082<dt><code>Print.Background</code> 20083<span id="index-Print_002eBackground"></span> 20084</dt> 20085<dd><p>Print background (gradient and image)?<br> 20086Default value: <code>0</code><br> 20087Saved in: <code>General.OptionsFileName</code> 20088</p> 20089</dd> 20090<dt><code>Print.CompositeWindows</code> 20091<span id="index-Print_002eCompositeWindows"></span> 20092</dt> 20093<dd><p>Composite all window tiles in the same output image (for bitmap output only)<br> 20094Default value: <code>0</code><br> 20095Saved in: <code>General.OptionsFileName</code> 20096</p> 20097</dd> 20098<dt><code>Print.DeleteTemporaryFiles</code> 20099<span id="index-Print_002eDeleteTemporaryFiles"></span> 20100</dt> 20101<dd><p>Delete temporary files used during printing<br> 20102Default value: <code>1</code><br> 20103Saved in: <code>General.OptionsFileName</code> 20104</p> 20105</dd> 20106<dt><code>Print.EpsBestRoot</code> 20107<span id="index-Print_002eEpsBestRoot"></span> 20108</dt> 20109<dd><p>Try to minimize primitive splitting in BSP tree sorted PostScript/PDF output<br> 20110Default value: <code>1</code><br> 20111Saved in: <code>General.OptionsFileName</code> 20112</p> 20113</dd> 20114<dt><code>Print.EpsCompress</code> 20115<span id="index-Print_002eEpsCompress"></span> 20116</dt> 20117<dd><p>Compress PostScript/PDF output using zlib<br> 20118Default value: <code>0</code><br> 20119Saved in: <code>General.OptionsFileName</code> 20120</p> 20121</dd> 20122<dt><code>Print.EpsLineWidthFactor</code> 20123<span id="index-Print_002eEpsLineWidthFactor"></span> 20124</dt> 20125<dd><p>Width factor for lines in PostScript/PDF output<br> 20126Default value: <code>1</code><br> 20127Saved in: <code>General.OptionsFileName</code> 20128</p> 20129</dd> 20130<dt><code>Print.EpsOcclusionCulling</code> 20131<span id="index-Print_002eEpsOcclusionCulling"></span> 20132</dt> 20133<dd><p>Cull occluded primitives (to reduce PostScript/PDF file size)<br> 20134Default value: <code>1</code><br> 20135Saved in: <code>General.OptionsFileName</code> 20136</p> 20137</dd> 20138<dt><code>Print.EpsPointSizeFactor</code> 20139<span id="index-Print_002eEpsPointSizeFactor"></span> 20140</dt> 20141<dd><p>Size factor for points in PostScript/PDF output<br> 20142Default value: <code>1</code><br> 20143Saved in: <code>General.OptionsFileName</code> 20144</p> 20145</dd> 20146<dt><code>Print.EpsPS3Shading</code> 20147<span id="index-Print_002eEpsPS3Shading"></span> 20148</dt> 20149<dd><p>Enable PostScript Level 3 shading<br> 20150Default value: <code>0</code><br> 20151Saved in: <code>General.OptionsFileName</code> 20152</p> 20153</dd> 20154<dt><code>Print.EpsQuality</code> 20155<span id="index-Print_002eEpsQuality"></span> 20156</dt> 20157<dd><p>PostScript/PDF quality (0: bitmap, 1: vector (simple sort), 2: vector (accurate sort), 3: vector (unsorted)<br> 20158Default value: <code>1</code><br> 20159Saved in: <code>General.OptionsFileName</code> 20160</p> 20161</dd> 20162<dt><code>Print.Format</code> 20163<span id="index-Print_002eFormat"></span> 20164</dt> 20165<dd><p>File format (10: automatic)<br> 20166Default value: <code>10</code><br> 20167Saved in: <code>General.OptionsFileName</code> 20168</p> 20169</dd> 20170<dt><code>Print.GeoLabels</code> 20171<span id="index-Print_002eGeoLabels"></span> 20172</dt> 20173<dd><p>Save labels in unrolled Gmsh geometries<br> 20174Default value: <code>1</code><br> 20175Saved in: <code>General.OptionsFileName</code> 20176</p> 20177</dd> 20178<dt><code>Print.GeoOnlyPhysicals</code> 20179<span id="index-Print_002eGeoOnlyPhysicals"></span> 20180</dt> 20181<dd><p>Only save entities that belong to physical groups<br> 20182Default value: <code>0</code><br> 20183Saved in: <code>General.OptionsFileName</code> 20184</p> 20185</dd> 20186<dt><code>Print.GifDither</code> 20187<span id="index-Print_002eGifDither"></span> 20188</dt> 20189<dd><p>Apply dithering to GIF output<br> 20190Default value: <code>0</code><br> 20191Saved in: <code>General.OptionsFileName</code> 20192</p> 20193</dd> 20194<dt><code>Print.GifInterlace</code> 20195<span id="index-Print_002eGifInterlace"></span> 20196</dt> 20197<dd><p>Interlace GIF output<br> 20198Default value: <code>0</code><br> 20199Saved in: <code>General.OptionsFileName</code> 20200</p> 20201</dd> 20202<dt><code>Print.GifSort</code> 20203<span id="index-Print_002eGifSort"></span> 20204</dt> 20205<dd><p>Sort the colormap in GIF output<br> 20206Default value: <code>1</code><br> 20207Saved in: <code>General.OptionsFileName</code> 20208</p> 20209</dd> 20210<dt><code>Print.GifTransparent</code> 20211<span id="index-Print_002eGifTransparent"></span> 20212</dt> 20213<dd><p>Output transparent GIF image<br> 20214Default value: <code>0</code><br> 20215Saved in: <code>General.OptionsFileName</code> 20216</p> 20217</dd> 20218<dt><code>Print.Height</code> 20219<span id="index-Print_002eHeight"></span> 20220</dt> 20221<dd><p>Height of printed image; use (possibly scaled) current height if < 0<br> 20222Default value: <code>-1</code><br> 20223Saved in: <code>General.OptionsFileName</code> 20224</p> 20225</dd> 20226<dt><code>Print.JpegQuality</code> 20227<span id="index-Print_002eJpegQuality"></span> 20228</dt> 20229<dd><p>JPEG quality (between 1 and 100)<br> 20230Default value: <code>100</code><br> 20231Saved in: <code>General.OptionsFileName</code> 20232</p> 20233</dd> 20234<dt><code>Print.JpegSmoothing</code> 20235<span id="index-Print_002eJpegSmoothing"></span> 20236</dt> 20237<dd><p>JPEG smoothing (between 0 and 100)<br> 20238Default value: <code>0</code><br> 20239Saved in: <code>General.OptionsFileName</code> 20240</p> 20241</dd> 20242<dt><code>Print.PgfTwoDim</code> 20243<span id="index-Print_002ePgfTwoDim"></span> 20244</dt> 20245<dd><p>Output PGF format for two dimensions. Mostly irrelevant if ‘PgfExportAxis=0‘. Default ‘1‘ (yes).<br> 20246Default value: <code>1</code><br> 20247Saved in: <code>General.OptionsFileName</code> 20248</p> 20249</dd> 20250<dt><code>Print.PgfExportAxis</code> 20251<span id="index-Print_002ePgfExportAxis"></span> 20252</dt> 20253<dd><p>Include axis in export pgf code (not in the png). Default ‘0‘ (no).<br> 20254Default value: <code>0</code><br> 20255Saved in: <code>General.OptionsFileName</code> 20256</p> 20257</dd> 20258<dt><code>Print.PgfHorizontalBar</code> 20259<span id="index-Print_002ePgfHorizontalBar"></span> 20260</dt> 20261<dd><p>Use a horizontal color bar in the pgf output. Default ‘0‘ (no).<br> 20262Default value: <code>0</code><br> 20263Saved in: <code>General.OptionsFileName</code> 20264</p> 20265</dd> 20266<dt><code>Print.PostElementary</code> 20267<span id="index-Print_002ePostElementary"></span> 20268</dt> 20269<dd><p>Save elementary region tags in mesh statistics exported as post-processing views<br> 20270Default value: <code>1</code><br> 20271Saved in: <code>General.OptionsFileName</code> 20272</p> 20273</dd> 20274<dt><code>Print.PostElement</code> 20275<span id="index-Print_002ePostElement"></span> 20276</dt> 20277<dd><p>Save element tags in mesh statistics exported as post-processing views<br> 20278Default value: <code>0</code><br> 20279Saved in: <code>General.OptionsFileName</code> 20280</p> 20281</dd> 20282<dt><code>Print.PostGamma</code> 20283<span id="index-Print_002ePostGamma"></span> 20284</dt> 20285<dd><p>Save Gamma quality measure in mesh statistics exported as post-processing views<br> 20286Default value: <code>0</code><br> 20287Saved in: <code>General.OptionsFileName</code> 20288</p> 20289</dd> 20290<dt><code>Print.PostEta</code> 20291<span id="index-Print_002ePostEta"></span> 20292</dt> 20293<dd><p>Save Eta quality measure in mesh statistics exported as post-processing views<br> 20294Default value: <code>0</code><br> 20295Saved in: <code>General.OptionsFileName</code> 20296</p> 20297</dd> 20298<dt><code>Print.PostSICN</code> 20299<span id="index-Print_002ePostSICN"></span> 20300</dt> 20301<dd><p>Save SICN (signed inverse condition number) quality measure in mesh statistics exported as post-processing views<br> 20302Default value: <code>0</code><br> 20303Saved in: <code>General.OptionsFileName</code> 20304</p> 20305</dd> 20306<dt><code>Print.PostSIGE</code> 20307<span id="index-Print_002ePostSIGE"></span> 20308</dt> 20309<dd><p>Save SIGE (signed inverse gradient error) quality measure in mesh statistics exported as post-processing views<br> 20310Default value: <code>0</code><br> 20311Saved in: <code>General.OptionsFileName</code> 20312</p> 20313</dd> 20314<dt><code>Print.PostDisto</code> 20315<span id="index-Print_002ePostDisto"></span> 20316</dt> 20317<dd><p>Save Disto quality measure in mesh statistics exported as post-processing views<br> 20318Default value: <code>0</code><br> 20319Saved in: <code>General.OptionsFileName</code> 20320</p> 20321</dd> 20322<dt><code>Print.TexAsEquation</code> 20323<span id="index-Print_002eTexAsEquation"></span> 20324</dt> 20325<dd><p>Print all TeX strings as equations<br> 20326Default value: <code>0</code><br> 20327Saved in: <code>General.OptionsFileName</code> 20328</p> 20329</dd> 20330<dt><code>Print.TexForceFontSize</code> 20331<span id="index-Print_002eTexForceFontSize"></span> 20332</dt> 20333<dd><p>Force font size of TeX strings to fontsize in the graphic window<br> 20334Default value: <code>0</code><br> 20335Saved in: <code>General.OptionsFileName</code> 20336</p> 20337</dd> 20338<dt><code>Print.TexWidthInMm</code> 20339<span id="index-Print_002eTexWidthInMm"></span> 20340</dt> 20341<dd><p>Width of tex graphics in mm (use 0 for the natural width inferred from the image width in pixels)<br> 20342Default value: <code>150</code><br> 20343Saved in: <code>General.OptionsFileName</code> 20344</p> 20345</dd> 20346<dt><code>Print.Text</code> 20347<span id="index-Print_002eText"></span> 20348</dt> 20349<dd><p>
20349Print text strings?<br> 20350Default value: <code>1</code><br> 20351Saved in: <code>General.OptionsFileName</code> 20352</p> 20353</dd> 20354<dt><code>Print.X3dCompatibility</code> 20355<span id="index-Print_002eX3dCompatibility"></span> 20356</dt> 20357<dd><p>Produce highly compatible X3D output (no scale bar)<br> 20358Default value: <code>0</code><br> 20359Saved in: <code>General.OptionsFileName</code> 20360</p> 20361</dd> 20362<dt><code>Print.X3dPrecision</code> 20363<span id="index-Print_002eX3dPrecision"></span> 20364</dt> 20365<dd><p>Precision of X3D output<br> 20366Default value: <code>1e-09</code><br> 20367Saved in: <code>General.OptionsFileName</code> 20368</p> 20369</dd> 20370<dt><code>Print.X3dRemoveInnerBorders</code> 20371<span id="index-Print_002eX3dRemoveInnerBorders"></span> 20372</dt> 20373<dd><p>Remove inner borders in X3D output<br> 20374Default value: <code>0</code><br> 20375Saved in: <code>General.OptionsFileName</code> 20376</p> 20377</dd> 20378<dt><code>Print.X3dTransparency</code> 20379<span id="index-Print_002eX3dTransparency"></span> 20380</dt> 20381<dd><p>Transparency for X3D output<br> 20382Default value: <code>0</code><br> 20383Saved in: <code>General.OptionsFileName</code> 20384</p> 20385</dd> 20386<dt><code>Print.X3dSurfaces</code> 20387<span id="index-Print_002eX3dSurfaces"></span> 20388</dt> 20389<dd><p>Save surfaces in CAD X3D output (0: no, 1: yes in a single X3D object,2: one X3D object per geometrical surface, 3: one X3D object perphysical surface)<br> 20390Default value: <code>1</code><br> 20391Saved in: <code>General.OptionsFileName</code> 20392</p> 20393</dd> 20394<dt><code>Print.X3dEdges</code> 20395<span id="index-Print_002eX3dEdges"></span> 20396</dt> 20397<dd><p>Save edges in CAD X3D output (0: no, 1: yes in a single X3D object,2: one X3D object per geometrical edge, 3: one X3D object perphysical edge)<br> 20398Default value: <code>0</code><br> 20399Saved in: <code>General.OptionsFileName</code> 20400</p> 20401</dd> 20402<dt><code>Print.X3dVertices</code> 20403<span id="index-Print_002eX3dVertices"></span> 20404</dt> 20405<dd><p>Save vertices in CAD X3D output (0: no, 1: yes)<br> 20406Default value: <code>0</code><br> 20407Saved in: <code>General.OptionsFileName</code> 20408</p> 20409</dd> 20410<dt><code>Print.X3dVolumes</code> 20411<span id="index-Print_002eX3dVolumes"></span> 20412</dt> 20413<dd><p>Save separate volumes in CAD X3D output (0: no, 1: yes)<br> 20414Default value: <code>0</code><br> 20415Saved in: <code>General.OptionsFileName</code> 20416</p> 20417</dd> 20418<dt><code>Print.X3dColorize</code> 20419<span id="index-Print_002eX3dColorize"></span> 20420</dt> 20421<dd><p>Apply colors to faces (0: no, 1: yes)<br> 20422Default value: <code>0</code><br> 20423Saved in: <code>General.OptionsFileName</code> 20424</p> 20425</dd> 20426<dt><code>Print.Width</code> 20427<span id="index-Print_002eWidth"></span> 20428</dt> 20429<dd><p>Width of printed image; use (possibly scaled) current width if < 0)<br> 20430Default value: <code>-1</code><br> 20431Saved in: <code>General.OptionsFileName</code> 20432</p> 20433</dd> 20434</dl> 20435 20436 20437<hr> 20438<span id="Geometry-options"></span><div class="header"> 20439<p> 20440Next: <a href="#Mesh-options" accesskey="n" rel="next">Mesh options</a>, Previous: <a href="#Print-options" accesskey="p" rel="prev">Print options</a>, Up: <a href="#Gmsh-options" accesskey="u" rel="up">Gmsh options</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 20441</div> 20442<span id="Geometry-options-1"></span><h3 class="section">7.3 Geometry options</h3> 20443 20444 20445<dl compact="compact"> 20446<dt><code>Geometry.DoubleClickedPointCommand</code> 20447<span id="index-Geometry_002eDoubleClickedPointCommand"></span> 20448</dt> 20449<dd><p>Command parsed when double-clicking on a point, or ’ONELAB’ to edit associated ONELAB parameters<br> 20450Default value: <code>"ONELAB"</code><br> 20451Saved in: <code>General.OptionsFileName</code> 20452</p> 20453</dd> 20454<dt><code>Geometry.DoubleClickedCurveCommand</code> 20455<span id="index-Geometry_002eDoubleClickedCurveCommand"></span> 20456</dt> 20457<dd><p>Command parsed when double-clicking on a curve, or ’ONELAB’ to edit associated ONELAB parameters<br> 20458Default value: <code>"ONELAB"</code><br> 20459Saved in: <code>General.OptionsFileName</code> 20460</p> 20461</dd> 20462<dt><code>Geometry.DoubleClickedSurfaceCommand</code> 20463<span id="index-Geometry_002eDoubleClickedSurfaceCommand"></span> 20464</dt> 20465<dd><p>Command parsed when double-clicking on a surface, or ’ONELAB’ to edit associated ONELAB parameters<br> 20466Default value: <code>"ONELAB"</code><br> 20467Saved in: <code>General.OptionsFileName</code> 20468</p> 20469</dd> 20470<dt><code>Geometry.DoubleClickedVolumeCommand</code> 20471<span id="index-Geometry_002eDoubleClickedVolumeCommand"></span> 20472</dt> 20473<dd><p>Command parsed when double-clicking on a volume, or ’ONELAB’ to edit associated ONELAB parameters<br> 20474Default value: <code>"ONELAB"</code><br> 20475Saved in: <code>General.OptionsFileName</code> 20476</p> 20477</dd> 20478<dt><code>Geometry.OCCTargetUnit</code> 20479<span id="index-Geometry_002eOCCTargetUnit"></span> 20480</dt> 20481<dd><p>Length unit to which coordinates from STEP and IGES files are converted to when imported by OpenCASCADE, e.g. ’M’ for meters (leave empty to use the default OpenCASCADE behavior); the option should be set before importing the STEP or IGES file<br> 20482Default value: <code>""</code><br> 20483Saved in: <code>General.OptionsFileName</code> 20484</p> 20485</dd> 20486<dt><code>Geometry.OCCSTEPDescription</code> 20487<span id="index-Geometry_002eOCCSTEPDescription"></span> 20488</dt> 20489<dd><p>Description of the STEP file to be written by OpenCASCADE. If left empty, the default value is set by OpenCASCADE<br> 20490Default value: <code>""</code><br> 20491Saved in: <code>General.OptionsFileName</code> 20492</p> 20493</dd> 20494<dt><code>Geometry.OCCSTEPImplementationLevel</code> 20495<span id="index-Geometry_002eOCCSTEPImplementationLevel"></span> 20496</dt> 20497<dd><p>Implementation level of the STEP file to be written by OpenCASCADE. If left empty, the default value is set by OpenCASCADE<br> 20498Default value: <code>""</code><br> 20499Saved in: <code>General.OptionsFileName</code> 20500</p> 20501</dd> 20502<dt><code>Geometry.OCCSTEPModelName</code> 20503<span id="index-Geometry_002eOCCSTEPModelName"></span> 20504</dt> 20505<dd><p>Model name of the STEP file to be written by OpenCASCADE. If left empty, the default value is set by OpenCASCADE<br> 20506Default value: <code>""</code><br> 20507Saved in: <code>General.OptionsFileName</code> 20508</p> 20509</dd> 20510<dt><code>Geometry.OCCSTEPTimeStamp</code> 20511<span id="index-Geometry_002eOCCSTEPTimeStamp"></span> 20512</dt> 20513<dd><p>Time stamp for the creation of the STEP file. If left empty, the default value is current time.<br> 20514Default value: <code>""</code><br> 20515Saved in: <code>General.OptionsFileName</code> 20516</p> 20517</dd> 20518<dt><code>Geometry.OCCSTEPAuthor</code> 20519<span id="index-Geometry_002eOCCSTEPAuthor"></span> 20520</dt> 20521<dd><p>Author of the STEP file to be written by OpenCASCADE. If left empty, the default value is set by OpenCASCADE<br> 20522Default value: <code>""</code><br> 20523Saved in: <code>General.OptionsFileName</code> 20524</p> 20525</dd> 20526<dt><code>Geometry.OCCSTEPOrganization</code> 20527<span id="index-Geometry_002eOCCSTEPOrganization"></span> 20528</dt> 20529<dd><p>Organization of the STEP file to be written by OpenCASCADE. If left empty, the default value is set by OpenCASCADE<br> 20530Default value: <code>""</code><br> 20531Saved in: <code>General.OptionsFileName</code> 20532</p> 20533</dd> 20534<dt><code>Geometry.OCCSTEPPreprocessorVersion</code> 20535<span id="index-Geometry_002eOCCSTEPPreprocessorVersion"></span> 20536</dt> 20537<dd><p>Preprocessor version of the STEP file to be written by OpenCASCADE. If left empty, the default value is set by OpenCASCADE<br> 20538Default value: <code>""</code><br> 20539Saved in: <code>General.OptionsFileName</code> 20540</p> 20541</dd> 20542<dt><code>Geometry.OCCSTEPOriginatingSystem</code> 20543<span id="index-Geometry_002eOCCSTEPOriginatingSystem"></span> 20544</dt> 20545<dd><p>Originating system of the STEP file to be written by OpenCASCADE. If left empty, the default value is set by OpenCASCADE<br> 20546Default value: <code>""</code><br> 20547Saved in: <code>General.OptionsFileName</code> 20548</p> 20549</dd> 20550<dt><code>Geometry.OCCSTEPAuthorization</code> 20551<span id="index-Geometry_002eOCCSTEPAuthorization"></span> 20552</dt> 20553<dd><p>Authorization of the STEP file to be written by OpenCASCADE. If left empty, the default value is set by OpenCASCADE<br> 20554Default value: <code>""</code><br> 20555Saved in: <code>General.OptionsFileName</code> 20556</p> 20557</dd> 20558<dt><code>Geometry.OCCSTEPSchemaIdentifier</code> 20559<span id="index-Geometry_002eOCCSTEPSchemaIdentifier"></span> 20560</dt> 20561<dd><p>Schema identifier of the STEP file to be written by OpenCASCADE. If left empty, the default value is set by OpenCASCADE<br> 20562Default value: <code>""</code><br> 20563Saved in: <code>General.OptionsFileName</code> 20564</p> 20565</dd> 20566<dt><code>
20566Geometry.PipeDefaultTrihedron</code> 20567<span id="index-Geometry_002ePipeDefaultTrihedron"></span> 20568</dt> 20569<dd><p>Default trihedron type when creating pipes<br> 20570Default value: <code>"DiscreteTrihedron"</code><br> 20571Saved in: <code>General.OptionsFileName</code> 20572</p> 20573</dd> 20574<dt><code>Geometry.AutoCoherence</code> 20575<span id="index-Geometry_002eAutoCoherence"></span> 20576</dt> 20577<dd><p>Should all duplicate entities be automatically removed with the built-in geometry kernel? If Geometry.AutoCoherence = 2, also remove degenerate entities. The option has no effect with the OpenCASCADE kernel<br> 20578Default value: <code>1</code><br> 20579Saved in: <code>General.OptionsFileName</code> 20580</p> 20581</dd> 20582<dt><code>Geometry.Clip</code> 20583<span id="index-Geometry_002eClip"></span> 20584</dt> 20585<dd><p>Enable clipping planes? (Plane[i]=2^i, i=0,...,5)<br> 20586Default value: <code>0</code><br> 20587Saved in: <code>-</code> 20588</p> 20589</dd> 20590<dt><code>Geometry.CopyMeshingMethod</code> 20591<span id="index-Geometry_002eCopyMeshingMethod"></span> 20592</dt> 20593<dd><p>Copy meshing method (unstructured or transfinite) when duplicating geometrical entities with built-in geometry kernel?<br> 20594Default value: <code>0</code><br> 20595Saved in: <code>General.OptionsFileName</code> 20596</p> 20597</dd> 20598<dt><code>Geometry.Curves</code> 20599<span id="index-Geometry_002eCurves"></span> 20600</dt> 20601<dd><p>Display geometry curves?<br> 20602Default value: <code>1</code><br> 20603Saved in: <code>General.OptionsFileName</code> 20604</p> 20605</dd> 20606<dt><code>Geometry.CurveLabels</code> 20607<span id="index-Geometry_002eCurveLabels"></span> 20608</dt> 20609<dd><p>Display curve labels?<br> 20610Default value: <code>0</code><br> 20611Saved in: <code>General.OptionsFileName</code> 20612</p> 20613</dd> 20614<dt><code>Geometry.CurveSelectWidth</code> 20615<span id="index-Geometry_002eCurveSelectWidth"></span> 20616</dt> 20617<dd><p>Display width of selected curves (in pixels)<br> 20618Default value: <code>3</code><br> 20619Saved in: <code>General.OptionsFileName</code> 20620</p> 20621</dd> 20622<dt><code>Geometry.CurveType</code> 20623<span id="index-Geometry_002eCurveType"></span> 20624</dt> 20625<dd><p>Display curves as solid color segments (0) or 3D cylinders (1)<br> 20626Default value: <code>0</code><br> 20627Saved in: <code>General.OptionsFileName</code> 20628</p> 20629</dd> 20630<dt><code>Geometry.CurveWidth</code> 20631<span id="index-Geometry_002eCurveWidth"></span> 20632</dt> 20633<dd><p>Display width of lines (in pixels)<br> 20634Default value: <code>2</code><br> 20635Saved in: <code>General.OptionsFileName</code> 20636</p> 20637</dd> 20638<dt><code>Geometry.DoubleClickedEntityTag</code> 20639<span id="index-Geometry_002eDoubleClickedEntityTag"></span> 20640</dt> 20641<dd><p>Tag of last double-clicked geometrical entity<br> 20642Default value: <code>0</code><br> 20643Saved in: <code>-</code> 20644</p> 20645</dd> 20646<dt><code>Geometry.ExactExtrusion</code> 20647<span id="index-Geometry_002eExactExtrusion"></span> 20648</dt> 20649<dd><p>Use exact extrusion formula in interpolations (set to 0 to allow geometrical transformations of extruded entities)<br> 20650Default value: <code>1</code><br> 20651Saved in: <code>General.OptionsFileName</code> 20652</p> 20653</dd> 20654<dt><code>Geometry.ExtrudeReturnLateralEntities</code> 20655<span id="index-Geometry_002eExtrudeReturnLateralEntities"></span> 20656</dt> 20657<dd><p>Add lateral entities in lists returned by extrusion commands?<br> 20658Default value: <code>1</code><br> 20659Saved in: <code>General.OptionsFileName</code> 20660</p> 20661</dd> 20662<dt><code>Geometry.ExtrudeSplinePoints</code> 20663<span id="index-Geometry_002eExtrudeSplinePoints"></span> 20664</dt> 20665<dd><p>Number of control points for splines created during extrusion<br> 20666Default value: <code>5</code><br> 20667Saved in: <code>General.OptionsFileName</code> 20668</p> 20669</dd> 20670<dt><code>Geometry.FirstEntityTag</code> 20671<span id="index-Geometry_002eFirstEntityTag"></span> 20672</dt> 20673<dd><p>First tag (>= 1) of entities when creating a model<br> 20674Default value: <code>1</code><br> 20675Saved in: <code>General.OptionsFileName</code> 20676</p> 20677</dd> 20678<dt><code>Geometry.FirstPhysicalTag</code> 20679<span id="index-Geometry_002eFirstPhysicalTag"></span> 20680</dt> 20681<dd><p>First tag (>= 1) of physicall groups when creating a model<br> 20682Default value: <code>1</code><br> 20683Saved in: <code>General.OptionsFileName</code> 20684</p> 20685</dd> 20686<dt><code>Geometry.HighlightOrphans</code> 20687<span id="index-Geometry_002eHighlightOrphans"></span> 20688</dt> 20689<dd><p>Highlight orphan and boundary entities?<br> 20690Default value: <code>0</code><br> 20691Saved in: <code>General.OptionsFileName</code> 20692</p> 20693</dd> 20694<dt><code>Geometry.LabelType</code> 20695<span id="index-Geometry_002eLabelType"></span> 20696</dt> 20697<dd><p>Type of entity label (0: description, 1: elementary entity tag, 2: physical group tag, 3: elementary name, 4: physical name, 5: coordinates)<br> 20698Default value: <code>0</code><br> 20699Saved in: <code>General.OptionsFileName</code> 20700</p> 20701</dd> 20702<dt><code>Geometry.Light</code> 20703<span id="index-Geometry_002eLight"></span> 20704</dt> 20705<dd><p>Enable lighting for the geometry<br> 20706Default value: <code>1</code><br> 20707Saved in: <code>General.OptionsFileName</code> 20708</p> 20709</dd> 20710<dt><code>Geometry.LightTwoSide</code> 20711<span id="index-Geometry_002eLightTwoSide"></span> 20712</dt> 20713<dd><p>Light both sides of surfaces (leads to slower rendering)<br> 20714Default value: <code>1</code><br> 20715Saved in: <code>General.OptionsFileName</code> 20716</p> 20717</dd> 20718<dt><code>Geometry.MatchGeomAndMesh</code> 20719<span id="index-Geometry_002eMatchGeomAndMesh"></span> 20720</dt> 20721<dd><p>Matches geometries and meshes<br> 20722Default value: <code>0</code><br> 20723Saved in: <code>General.OptionsFileName</code> 20724</p> 20725</dd> 20726<dt><code>Geometry.MatchMeshScaleFactor</code> 20727<span id="index-Geometry_002eMatchMeshScaleFactor"></span> 20728</dt> 20729<dd><p>Rescaling factor for the mesh to correspond to size of the geometry<br> 20730Default value: <code>1</code><br> 20731Saved in: <code>General.OptionsFileName</code> 20732</p> 20733</dd> 20734<dt><code>Geometry.MatchMeshTolerance</code> 20735<span id="index-Geometry_002eMatchMeshTolerance"></span> 20736</dt> 20737<dd><p>Tolerance for matching mesh and geometry<br> 20738Default value: <code>1e-06</code><br> 20739Saved in: <code>General.OptionsFileName</code> 20740</p> 20741</dd> 20742<dt><code>Geometry.Normals</code> 20743<span id="index-Geometry_002eNormals"></span> 20744</dt> 20745<dd><p>Display size of normal vectors (in pixels)<br> 20746Default value: <code>0</code><br> 20747Saved in: <code>General.OptionsFileName</code> 20748</p> 20749</dd> 20750<dt><code>Geometry.NumSubEdges</code> 20751<span id="index-Geometry_002eNumSubEdges"></span> 20752</dt> 20753<dd><p>Number of subdivisions used to draw curves<br> 20754Default value: <code>100</code><br> 20755Saved in: <code>General.OptionsFileName</code> 20756</p> 20757</dd> 20758<dt><code>Geometry.OCCAutoEmbed</code> 20759<span id="index-Geometry_002eOCCAutoEmbed"></span> 20760</dt> 20761<dd><p>Automatically embed points, curves and faces in higher dimensional entities if they are marked as ’internal’ by OpenCASCADE<br> 20762Default value: <code>1</code><br> 20763Saved in: <code>General.OptionsFileName</code> 20764</p> 20765</dd> 20766<dt><code>Geometry.OCCAutoFix</code> 20767<span id="index-Geometry_002eOCCAutoFix"></span> 20768</dt> 20769<dd><p>Automatically fix orientation of wires, faces, shells and volumes when creating new entities with the OpenCASCADE kernel<br> 20770Default value: <code>1</code><br> 20771Saved in: <code>General.OptionsFileName</code> 20772</p> 20773</dd> 20774<dt><code>Geometry.OCCBooleanCheckInverted</code> 20775<span id="index-Geometry_002eOCCBooleanCheckInverted"></span> 20776</dt> 20777<dd><p>Check input solid in boolean operations for inverted status?<br> 20778Default value: <code>1</code><br> 20779Saved in: <code>General.OptionsFileName</code> 20780</p> 20781</dd> 20782<dt><code>Geometry.OCCBooleanGlue</code> 20783<span id="index-Geometry_002eOCCBooleanGlue"></span> 20784</dt> 20785<dd><p>Try to speed up boolean operation by speeding up the interference between shapes that do overlap but do not have real intersections (0: off, 1: allow shapes with partial overlaps, 2: only allow shapes with full coincidence)<br> 20786Default value: <code>0</code><br> 20787Saved in: <code>General.OptionsFileName</code> 20788</p> 20789</dd> 20790<dt><code>Geometry.OCCBooleanNonDestructive</code> 20791<span id="index-Geometry_002eOCCBooleanNonDestructive"></span> 20792</dt> 20793<dd><p>Do not modify the argument shapes during boolean operations?<br> 20794Default value: <code>0</code><br> 20795Saved in: <code>General.OptionsFileName</code> 20796</p> 20797</dd> 20798<dt><code>Geometry.OCCBooleanPreserveNumbering</code> 20799<span id="index-Geometry_002eOCCBooleanPreserveNumbering"></span> 20800</dt> 20801<dd><p>Try to preserve the numbering of entities through OpenCASCADE boolean operations<br> 20802Default value: <code>1</code><br> 20803Saved in: <code>General.OptionsFileName</code> 20804</p> 20805</dd> 20806<dt><code>Geometry.OCCBooleanSimplify</code> 20807<span id="index-Geometry_002eOCCBooleanSimplify"></span> 20808</dt> 20809<dd><p>Try to simplify the shape resulting from boolean operations (0: none, 1: only for unions, 2: for all boolean operations<br> 20810Default value: <code>1</code><br> 20811Saved in: <code>General.OptionsFileName</code> 20812</p> 20813</dd> 20814<dt><code>Geometry.OCCBoundsUseStl</code> 20815<span id="index-Geometry_002eOCCBoundsUseStl"></span> 20816</dt> 20817<dd><p>Use STL mesh for computing bounds of OpenCASCADE shapes (more accurate, but slower)<br> 20818Default value: <code>0</code><br> 20819Saved in: <code>General.OptionsFileName</code> 20820</p> 20821</dd> 20822<dt><code>Geometry.OCCBrepFormatVersion</code> 20823<span id="index-Geometry_002eOCCBrepFormatVersion"></span> 20824</dt> 20825<dd><p>Version of BREP format used when saving BREP and XAO files (0: current, 1, 2, 3: currently supported versions)<br> 20826Default value: <code>1</code><br> 20827Saved in: <code>General.OptionsFileName</code> 20828</p> 20829</dd> 20830<dt><code>Geometry.OCCDisableStl</code> 20831<span id="index-Geometry_002eOCCDisableStl"></span> 20832</dt> 20833<dd><p>Disable STL creation in OpenCASCADE kernel<br> 20834Default value: <code>0</code><br> 20835Saved in: <code>General.OptionsFileName</code> 20836</p> 20837</dd> 20838<dt><code>Geometry.OCCFixDegenerated</code> 20839<span id="index-Geometry_002eOCCFixDegenerated"></span> 20840</dt> 20841<dd><p>Fix degenerated edges/faces when importing STEP, IGES and BRep models with the OpenCASCADE kernel<br> 20842Default value: <code>0</code><br> 20843Saved in: <code>General.OptionsFileName</code> 20844</p> 20845</dd> 20846<dt><code>Geometry.OCCFixSmallEdges</code> 20847<span id="index-Geometry_002eOCCFixSmallEdges"></span> 20848</dt> 20849<dd><p>Fix small edges when importing STEP, IGES and BRep models with the OpenCASCADE kernel<br> 20850Default value: <code>0</code><br> 20851Saved in: <code>General.OptionsFileName</code> 20852</p> 20853</dd> 20854<dt><code>Geometry.OCCFixSmallFaces</code> 20855<span id="index-Geometry_002eOCCFixSmallFaces"></span> 20856</dt> 20857<dd><p>Fix small faces when importing STEP, IGES and BRep models with the OpenCASCADE kernel<br> 20858Default value: <code>0</code><br> 20859Saved in: <code>General.OptionsFileName</code> 20860</p> 20861</dd> 20862<dt><code>Geometry.OCCExportOnlyVisible</code> 20863<span id="index-Geometry_002eOCCExportOnlyVisible"></span> 20864</dt> 20865<dd><p>
20865Only consider visible shapes when exporting STEP or BREP models with the OpenCASCADE kernel<br> 20866Default value: <code>0</code><br> 20867Saved in: <code>General.OptionsFileName</code> 20868</p> 20869</dd> 20870<dt><code>Geometry.OCCImportLabels</code> 20871<span id="index-Geometry_002eOCCImportLabels"></span> 20872</dt> 20873<dd><p>Import labels and colors when importing STEP models with the OpenCASCADE kernel (0: no, 1: yes, 2: use slow workaround for bad shape locations)<br> 20874Default value: <code>1</code><br> 20875Saved in: <code>General.OptionsFileName</code> 20876</p> 20877</dd> 20878<dt><code>Geometry.OCCMakeSolids</code> 20879<span id="index-Geometry_002eOCCMakeSolids"></span> 20880</dt> 20881<dd><p>Fix shells and make solids when importing STEP, IGES and BRep models with the OpenCASCADE kernel<br> 20882Default value: <code>0</code><br> 20883Saved in: <code>General.OptionsFileName</code> 20884</p> 20885</dd> 20886<dt><code>Geometry.OCCParallel</code> 20887<span id="index-Geometry_002eOCCParallel"></span> 20888</dt> 20889<dd><p>Use multi-threaded OpenCASCADE boolean operators<br> 20890Default value: <code>0</code><br> 20891Saved in: <code>General.OptionsFileName</code> 20892</p> 20893</dd> 20894<dt><code>Geometry.OCCFastUnbind</code> 20895<span id="index-Geometry_002eOCCFastUnbind"></span> 20896</dt> 20897<dd><p>Use fast (i.e. without recursive checks on boundaries) unbinding of entities in geometrical transformations (1), as well as in boolean operations (2)<br> 20898Default value: <code>1</code><br> 20899Saved in: <code>General.OptionsFileName</code> 20900</p> 20901</dd> 20902<dt><code>Geometry.OCCScaling</code> 20903<span id="index-Geometry_002eOCCScaling"></span> 20904</dt> 20905<dd><p>Scale STEP, IGES and BRep models by the given factor when importing them with the OpenCASCADE kernel<br> 20906Default value: <code>1</code><br> 20907Saved in: <code>General.OptionsFileName</code> 20908</p> 20909</dd> 20910<dt><code>Geometry.OCCSewFaces</code> 20911<span id="index-Geometry_002eOCCSewFaces"></span> 20912</dt> 20913<dd><p>Sew faces when importing STEP, IGES and BRep models with the OpenCASCADE kernel<br> 20914Default value: <code>0</code><br> 20915Saved in: <code>General.OptionsFileName</code> 20916</p> 20917</dd> 20918<dt><code>Geometry.OCCThruSectionsDegree</code> 20919<span id="index-Geometry_002eOCCThruSectionsDegree"></span> 20920</dt> 20921<dd><p>Maximum degree of surfaces generated by thrusections with the OpenCASCADE kernel, if not explicitly specified (default OCC value if negative)<br> 20922Default value: <code>-1</code><br> 20923Saved in: <code>General.OptionsFileName</code> 20924</p> 20925</dd> 20926<dt><code>Geometry.OCCUseGenericClosestPoint</code> 20927<span id="index-Geometry_002eOCCUseGenericClosestPoint"></span> 20928</dt> 20929<dd><p>Use generic algrithm to compute point projections in the OpenCASCADE kernel (less robust, but significally faster in some configurations)<br> 20930Default value: <code>0</code><br> 20931Saved in: <code>General.OptionsFileName</code> 20932</p> 20933</dd> 20934<dt><code>Geometry.OffsetX</code> 20935<span id="index-Geometry_002eOffsetX"></span> 20936</dt> 20937<dd><p>Model display offset along X-axis (in model coordinates)<br> 20938Default value: <code>0</code><br> 20939Saved in: <code>-</code> 20940</p> 20941</dd> 20942<dt><code>Geometry.OffsetY</code> 20943<span id="index-Geometry_002eOffsetY"></span> 20944</dt> 20945<dd><p>Model display offset along Y-axis (in model coordinates)<br> 20946Default value: <code>0</code><br> 20947Saved in: <code>-</code> 20948</p> 20949</dd> 20950<dt><code>Geometry.OffsetZ</code> 20951<span id="index-Geometry_002eOffsetZ"></span> 20952</dt> 20953<dd><p>Model display offset along Z-axis (in model coordinates)<br> 20954Default value: <code>0</code><br> 20955Saved in: <code>-</code> 20956</p> 20957</dd> 20958<dt><code>Geometry.OldCircle</code> 20959<span id="index-Geometry_002eOldCircle"></span> 20960</dt> 20961<dd><p>Use old circle description (compatibility option for old Gmsh geometries)<br> 20962Default value: <code>0</code><br> 20963Saved in: <code>General.OptionsFileName</code> 20964</p> 20965</dd> 20966<dt><code>Geometry.OldRuledSurface</code> 20967<span id="index-Geometry_002eOldRuledSurface"></span> 20968</dt> 20969<dd><p>Use old 3-sided ruled surface interpolation (compatibility option for old Gmsh geometries)<br> 20970Default value: <code>0</code><br> 20971Saved in: <code>General.OptionsFileName</code> 20972</p> 20973</dd> 20974<dt><code>Geometry.OldNewReg</code> 20975<span id="index-Geometry_002eOldNewReg"></span> 20976</dt> 20977<dd><p>Use old newreg definition for geometrical transformations (compatibility option for old Gmsh geometries)<br> 20978Default value: <code>1</code><br> 20979Saved in: <code>General.OptionsFileName</code> 20980</p> 20981</dd> 20982<dt><code>Geometry.OrientedPhysicals</code> 20983<span id="index-Geometry_002eOrientedPhysicals"></span> 20984</dt> 20985<dd><p>Use sign of elementary entity in physical definition as orientation indicator<br> 20986Default value: <code>1</code><br> 20987Saved in: <code>General.OptionsFileName</code> 20988</p> 20989</dd> 20990<dt><code>Geometry.Points</code> 20991<span id="index-Geometry_002ePoints"></span> 20992</dt> 20993<dd><p>Display geometry points?<br> 20994Default value: <code>1</code><br> 20995Saved in: <code>General.OptionsFileName</code> 20996</p> 20997</dd> 20998<dt><code>Geometry.PointLabels</code> 20999<span id="index-Geometry_002ePointLabels"></span> 21000</dt> 21001<dd><p>Display points labels?<br> 21002Default value: <code>0</code><br> 21003Saved in: <code>General.OptionsFileName</code> 21004</p> 21005</dd> 21006<dt><code>Geometry.PointSelectSize</code> 21007<span id="index-Geometry_002ePointSelectSize"></span> 21008</dt> 21009<dd><p>Display size of selected points (in pixels)<br> 21010Default value: <code>6</code><br> 21011Saved in: <code>General.OptionsFileName</code> 21012</p> 21013</dd> 21014<dt><code>Geometry.PointSize</code> 21015<span id="index-Geometry_002ePointSize"></span> 21016</dt> 21017<dd><p>Display size of points (in pixels)<br> 21018Default value: <code>4</code><br> 21019Saved in: <code>General.OptionsFileName</code> 21020</p> 21021</dd> 21022<dt><code>Geometry.PointType</code> 21023<span id="index-Geometry_002ePointType"></span> 21024</dt> 21025<dd><p>Display points as solid color dots (0) or 3D spheres (1)<br> 21026Default value: <code>0</code><br> 21027Saved in: <code>General.OptionsFileName</code> 21028</p> 21029</dd> 21030<dt><code>Geometry.ReparamOnFaceRobust</code> 21031<span id="index-Geometry_002eReparamOnFaceRobust"></span> 21032</dt> 21033<dd><p>Use projection for reparametrization of a point classified on GEdge on a GFace<br> 21034Default value: <code>0</code><br> 21035Saved in: <code>General.OptionsFileName</code> 21036</p> 21037</dd> 21038<dt><code>Geometry.ScalingFactor</code> 21039<span id="index-Geometry_002eScalingFactor"></span> 21040</dt> 21041<dd><p>Global geometry scaling factor<br> 21042Default value: <code>1</code><br> 21043Saved in: <code>General.OptionsFileName</code> 21044</p> 21045</dd> 21046<dt><code>Geometry.SnapPoints</code> 21047<span id="index-Geometry_002eSnapPoints"></span> 21048</dt> 21049<dd><p>Snap points on curves if their evaluation using the parametrization is larger than the geometrical tolerance (currently only with the OpenCASCADE kernel)<br> 21050Default value: <code>1</code><br> 21051Saved in: <code>General.OptionsFileName</code> 21052</p> 21053</dd> 21054<dt><code>Geometry.SnapX</code> 21055<span id="index-Geometry_002eSnapX"></span> 21056</dt> 21057<dd><p>Snapping grid spacing along the X-axis<br> 21058Default value: <code>0.1</code><br> 21059Saved in: <code>General.OptionsFileName</code> 21060</p> 21061</dd> 21062<dt><code>Geometry.SnapY</code> 21063<span id="index-Geometry_002eSnapY"></span> 21064</dt> 21065<dd><p>Snapping grid spacing along the Y-axis<br> 21066Default value: <code>0.1</code><br> 21067Saved in: <code>General.OptionsFileName</code> 21068</p> 21069</dd> 21070<dt><code>Geometry.SnapZ</code> 21071<span id="index-Geometry_002eSnapZ"></span> 21072</dt> 21073<dd><p>Snapping grid spacing along the Z-axis<br> 21074Default value: <code>0.1</code><br> 21075Saved in: <code>General.OptionsFileName</code> 21076</p> 21077</dd> 21078<dt><code>Geometry.Surfaces</code> 21079<span id="index-Geometry_002eSurfaces"></span> 21080</dt> 21081<dd><p>Display geometry surfaces?<br> 21082Default value: <code>0</code><br> 21083Saved in: <code>General.OptionsFileName</code> 21084</p> 21085</dd> 21086<dt><code>Geometry.SurfaceLabels</code> 21087<span id="index-Geometry_002eSurfaceLabels"></span> 21088</dt> 21089<dd><p>Display surface labels?<br> 21090Default value: <code>0</code><br> 21091Saved in: <code>General.OptionsFileName</code> 21092</p> 21093</dd> 21094<dt><code>Geometry.SurfaceType</code> 21095<span id="index-Geometry_002eSurfaceType"></span> 21096</dt> 21097<dd><p>Surface display type (0: cross, 1: wireframe, 2: solid). Wireframe and solid are not available with the built-in geometry kernel.<br> 21098Default value: <code>0</code><br> 21099Saved in: <code>General.OptionsFileName</code> 21100</p> 21101</dd> 21102<dt><code>Geometry.Tangents</code> 21103<span id="index-Geometry_002eTangents"></span> 21104</dt> 21105<dd><p>Display size of tangent vectors (in pixels)<br> 21106Default value: <code>0</code><br> 21107Saved in: <code>General.OptionsFileName</code> 21108</p> 21109</dd> 21110<dt><code>Geometry.Tolerance</code> 21111<span id="index-Geometry_002eTolerance"></span> 21112</dt> 21113<dd><p>Geometrical tolerance<br> 21114Default value: <code>1e-08</code><br> 21115Saved in: <code>General.OptionsFileName</code> 21116</p> 21117</dd> 21118<dt><code>Geometry.ToleranceBoolean</code> 21119<span id="index-Geometry_002eToleranceBoolean"></span> 21120</dt> 21121<dd><p>Geometrical tolerance for boolean operations<br> 21122Default value: <code>0</code><br> 21123Saved in: <code>General.OptionsFileName</code> 21124</p> 21125</dd> 21126<dt><code>Geometry.Transform</code> 21127<span id="index-Geometry_002eTransform"></span> 21128</dt> 21129<dd><p>Transform model display coordinates (0: no, 1: scale)<br> 21130Default value: <code>0</code><br> 21131Saved in: <code>-</code> 21132</p> 21133</dd> 21134<dt><code>Geometry.TransformXX</code> 21135<span id="index-Geometry_002eTransformXX"></span> 21136</dt> 21137<dd><p>Element (1,1) of the 3x3 model display transformation matrix<br> 21138Default value: <code>1</code><br> 21139Saved in: <code>-</code> 21140</p> 21141</dd> 21142<dt><code>Geometry.TransformXY</code> 21143<span id="index-Geometry_002eTransformXY"></span> 21144</dt> 21145<dd><p>Element (1,2) of the 3x3 model display transformation matrix<br> 21146Default value: <code>0</code><br> 21147Saved in: <code>-</code> 21148</p> 21149</dd> 21150<dt><code>Geometry.TransformXZ</code> 21151<span id="index-Geometry_002eTransformXZ"></span> 21152</dt> 21153<dd><p>Element (1,3) of the 3x3 model display transformation matrix<br> 21154Default value: <code>0</code><br> 21155Saved in: <code>-</code> 21156</p> 21157</dd> 21158<dt><code>Geometry.TransformYX</code> 21159<span id="index-Geometry_002eTransformYX"></span> 21160</dt> 21161<dd><p>Element (2,1) of the 3x3 model display transformation matrix<br> 21162Default value: <code>0</code><br> 21163Saved in: <code>-</code> 21164</p> 21165</dd> 21166<dt><code>Geometry.TransformYY</code> 21167<span id="index-Geometry_002eTransformYY"></span> 21168</dt> 21169<dd><p>Element (2,2) of the 3x3 model display transformation matrix<br> 21170Default value: <code>1</code><br> 21171Saved in: <code>-</code> 21172</p> 21173</dd> 21174<dt><code>Geometry.TransformYZ</code> 21175<span id="index-Geometry_002eTransformYZ"></span> 21176</dt> 21177<dd><p>Element (2,3) of the 3x3 model display transformation matrix<br> 21178Default value: <code>0</code><br> 21179Saved in: <code>-</code> 21180</p> 21181</dd> 21182<dt><code>Geometry.TransformZX</code> 21183<span id="index-Geometry_002eTransformZX"></span> 21184</dt> 21185<dd><p>Element (3,1) of the 3x3 model display transformation matrix<br> 21186Default value: <code>0</code><br> 21187Saved in: <code>-</code> 21188</p> 21189</dd> 21190<dt><code>Geometry.TransformZY</code> 21191<span id="index-Geometry_002eTransformZY"></span> 21192</dt> 21193<dd><p>Element (3,2) of the 3x3 model display transformation matrix<br> 21194Default value: <code>0</code><br> 21195Saved in: <code>-</code> 21196</p> 21197</dd> 21198<dt><code>Geometry.TransformZZ</code> 21199<span id="index-Geometry_002eTransformZZ"></span> 21200</dt> 21201<dd><p>Element (3,3) of the 3x3 model display transformation matrix<br> 21202Default value: <code>1</code><br> 21203Saved in: <code>-</code> 21204</p> 21205</dd> 21206<dt><code>Geometry.Volumes</code> 21207<span id="index-Geometry_002eVolumes"></span> 21208</dt> 21209<dd><p>Display geometry volumes?<br> 21210Default value: <code>0</code><br> 21211Saved in: <code>General.OptionsFileName</code> 21212</p> 21213</dd> 21214<dt><code>Geometry.VolumeLabels</code> 21215<span id="index-Geometry_002eVolumeLabels"></span> 21216</dt> 21217<dd><p>Display volume labels?<br> 21218Default value: <code>0</code><br> 21219Saved in: <code>General.OptionsFileName</code> 21220</p> 21221</dd> 21222<dt><code>Geometry.VolumeType</code> 21223<span id="index-Geometry_002eVolumeType"></span> 21224</dt> 21225<dd><p>Volume display type (0: sphere, 1: diamond)<br> 21226Default value: <code>0</code><br> 21227Saved in: <code>General.OptionsFileName</code> 21228</p> 21229</dd> 21230<dt><code>Geometry.Color.Points</code> 21231<span id="index-Geometry_002eColor_002ePoints"></span> 21232</dt> 21233<dd><p>Normal geometry point color<br> 21234Default value: <code>{90,90,90}</code><br> 21235Saved in: <code>General.OptionsFileName</code> 21236</p> 21237</dd> 21238<dt><code>Geometry.Color.Curves</code> 21239<span id="index-Geometry_002eColor_002eCurves"></span> 21240</dt> 21241<dd><p>Normal geometry curve color<br> 21242Default value: <code>{0,0,255}</code><br> 21243Saved in: <code>General.OptionsFileName</code> 21244</p> 21245</dd> 21246<dt><code>Geometry.Color.Surfaces</code> 21247<span id="index-Geometry_002eColor_002eSurfaces"></span> 21248</dt> 21249<dd><p>Normal geometry surface color<br> 21250Default value: <code>{128,128,128}</code><br> 21251Saved in: <code>General.OptionsFileName</code> 21252</p> 21253</dd> 21254<dt><code>Geometry.Color.Volumes</code> 21255<span id="index-Geometry_002eColor_002eVolumes"></span> 21256</dt> 21257<dd><p>Normal geometry volume color<br> 21258Default value: <code>{200,200,0}</code><br> 21259Saved in: <code>General.OptionsFileName</code> 21260</p> 21261</dd> 21262<dt><code>Geometry.Color.Selection</code> 21263<span id="index-Geometry_002eColor_002eSelection"></span> 21264</dt> 21265<dd><p>Selected geometry color<br> 21266Default value: <code>{255,0,0}</code><br> 21267Saved in: <code>General.OptionsFileName</code> 21268</p> 21269</dd> 21270<dt><code>Geometry.Color.HighlightZero</code> 21271<span id="index-Geometry_002eColor_002eHighlightZero"></span> 21272</dt> 21273<dd><p>Highlight 0 color<br> 21274Default value: <code>{255,0,0}</code><br> 21275Saved in: <code>General.OptionsFileName</code> 21276</p> 21277</dd> 21278<dt><code>Geometry.Color.HighlightOne</code> 21279<span id="index-Geometry_002eColor_002eHighlightOne"></span> 21280</dt> 21281<dd><p>Highlight 1 color<br> 21282Default value: <code>{255,150,0}</code><br> 21283Saved in: <code>General.OptionsFileName</code> 21284</p> 21285</dd> 21286<dt><code>Geometry.Color.HighlightTwo</code> 21287<span id="index-Geometry_002eColor_002eHighlightTwo"></span> 21288</dt> 21289<dd><p>Highlight 2 color<br> 21290Default value: <code>{255,255,0}</code><br> 21291Saved in: <code>General.OptionsFileName</code> 21292</p> 21293</dd> 21294<dt><code>Geometry.Color.Tangents</code> 21295<span id="index-Geometry_002eColor_002eTangents"></span> 21296</dt> 21297<dd><p>Tangent geometry vectors color<br> 21298Default value: <code>{255,255,0}</code><br> 21299Saved in: <code>General.OptionsFileName</code> 21300</p> 21301</dd> 21302<dt><code>Geometry.Color.Normals</code> 21303<span id="index-Geometry_002eColor_002eNormals"></span> 21304</dt> 21305<dd><p>Normal geometry vectors color<br> 21306Default value: <code>{255,0,0}</code><br> 21307Saved in: <code>General.OptionsFileName</code> 21308</p> 21309</dd> 21310<dt><code>Geometry.Color.Projection</code> 21311<span id="index-Geometry_002eColor_002eProjection"></span> 21312</dt> 21313<dd><p>Projection surface color<br> 21314Default value: <code>{0,255,0}</code><br> 21315Saved in: <code>General.OptionsFileName</code> 21316</p> 21317</dd> 21318</dl> 21319 21320 21321<hr> 21322<span id="Mesh-options"></span><div class="header"> 21323<p>
21324Next: <a href="#Solver-options" accesskey="n" rel="next">Solver options</a>, Previous: <a href="#Geometry-options" accesskey="p" rel="prev">Geometry options</a>, Up: <a href="#Gmsh-options" accesskey="u" rel="up">Gmsh options</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 21325</div> 21326<span id="Mesh-options-1"></span><h3 class="section">7.4 Mesh options</h3> 21327 21328 21329<dl compact="compact"> 21330<dt><code>Mesh.Algorithm</code> 21331<span id="index-Mesh_002eAlgorithm"></span> 21332</dt> 21333<dd><p>2D mesh algorithm (1: MeshAdapt, 2: Automatic, 3: Initial mesh only, 5: Delaunay, 6: Frontal-Delaunay, 7: BAMG, 8: Frontal-Delaunay for Quads, 9: Packing of Parallelograms, 11: Quasi-structured Quad)<br> 21334Default value: <code>6</code><br> 21335Saved in: <code>General.OptionsFileName</code> 21336</p> 21337</dd> 21338<dt><code>Mesh.Algorithm3D</code> 21339<span id="index-Mesh_002eAlgorithm3D"></span> 21340</dt> 21341<dd><p>3D mesh algorithm (1: Delaunay, 3: Initial mesh only, 4: Frontal, 7: MMG3D, 9: R-tree, 10: HXT)<br> 21342Default value: <code>1</code><br> 21343Saved in: <code>General.OptionsFileName</code> 21344</p> 21345</dd> 21346<dt><code>Mesh.AlgorithmSwitchOnFailure</code> 21347<span id="index-Mesh_002eAlgorithmSwitchOnFailure"></span> 21348</dt> 21349<dd><p>Switch meshing algorithm on failure? (Currently only for 2D Delaunay-based algorithms, switching to MeshAdapt)<br> 21350Default value: <code>1</code><br> 21351Saved in: <code>General.OptionsFileName</code> 21352</p> 21353</dd> 21354<dt><code>Mesh.AngleSmoothNormals</code> 21355<span id="index-Mesh_002eAngleSmoothNormals"></span> 21356</dt> 21357<dd><p>Threshold angle below which normals are not smoothed<br> 21358Default value: <code>30</code><br> 21359Saved in: <code>General.OptionsFileName</code> 21360</p> 21361</dd> 21362<dt><code>Mesh.AngleToleranceFacetOverlap</code> 21363<span id="index-Mesh_002eAngleToleranceFacetOverlap"></span> 21364</dt> 21365<dd><p>Consider connected facets as overlapping when the dihedral angle between the facets is smaller than the user’s defined tolerance (in degrees)<br> 21366Default value: <code>0.1</code><br> 21367Saved in: <code>General.OptionsFileName</code> 21368</p> 21369</dd> 21370<dt><code>Mesh.AnisoMax</code> 21371<span id="index-Mesh_002eAnisoMax"></span> 21372</dt> 21373<dd><p>Maximum anisotropy of the mesh<br> 21374Default value: <code>1e+33</code><br> 21375Saved in: <code>General.OptionsFileName</code> 21376</p> 21377</dd> 21378<dt><code>Mesh.AllowSwapAngle</code> 21379<span id="index-Mesh_002eAllowSwapAngle"></span> 21380</dt> 21381<dd><p>Threshold angle (in degrees) between faces normals under which we allow an edge swap<br> 21382Default value: <code>10</code><br> 21383Saved in: <code>General.OptionsFileName</code> 21384</p> 21385</dd> 21386<dt><code>Mesh.AvgQuality</code> 21387<span id="index-Mesh_002eAvgQuality"></span> 21388</dt> 21389<dd><p>Average mesh quality (inverse conditioning number, ICN) after the generation of the current mesh (read-only)<br> 21390Default value: <code>0</code><br> 21391Saved in: <code>General.OptionsFileName</code> 21392</p> 21393</dd> 21394<dt><code>Mesh.BdfFieldFormat</code> 21395<span id="index-Mesh_002eBdfFieldFormat"></span> 21396</dt> 21397<dd><p>Field format for Nastran BDF files (0: free, 1: small, 2: large)<br> 21398Default value: <code>1</code><br> 21399Saved in: <code>General.OptionsFileName</code> 21400</p> 21401</dd> 21402<dt><code>Mesh.Binary</code> 21403<span id="index-Mesh_002eBinary"></span> 21404</dt> 21405<dd><p>Write mesh files in binary format (if possible)<br> 21406Default value: <code>0</code><br> 21407Saved in: <code>General.OptionsFileName</code> 21408</p> 21409</dd> 21410<dt><code>Mesh.BoundaryLayerFanElements</code> 21411<span id="index-Mesh_002eBoundaryLayerFanElements"></span> 21412</dt> 21413<dd><p>Number of elements (per Pi radians) for 2D boundary layer fans<br> 21414Default value: <code>5</code><br> 21415Saved in: <code>General.OptionsFileName</code> 21416</p> 21417</dd> 21418<dt><code>Mesh.CgnsImportOrder</code> 21419<span id="index-Mesh_002eCgnsImportOrder"></span> 21420</dt> 21421<dd><p>Order of the mesh to be created by coarsening CGNS structured zones (1 to 4)<br> 21422Default value: <code>1</code><br> 21423Saved in: <code>General.OptionsFileName</code> 21424</p> 21425</dd> 21426<dt><code>Mesh.CgnsImportIgnoreBC</code> 21427<span id="index-Mesh_002eCgnsImportIgnoreBC"></span> 21428</dt> 21429<dd><p>Ignore information in ZoneBC structures when reading a CGNS file<br> 21430Default value: <code>0</code><br> 21431Saved in: <code>General.OptionsFileName</code> 21432</p> 21433</dd> 21434<dt><code>Mesh.CgnsImportIgnoreSolution</code> 21435<span id="index-Mesh_002eCgnsImportIgnoreSolution"></span> 21436</dt> 21437<dd><p>Ignore solution when reading a CGNS file<br> 21438Default value: <code>0</code><br> 21439Saved in: <code>General.OptionsFileName</code> 21440</p> 21441</dd> 21442<dt><code>Mesh.CgnsConstructTopology</code> 21443<span id="index-Mesh_002eCgnsConstructTopology"></span> 21444</dt> 21445<dd><p>Reconstruct the model topology (BREP) after reading a CGNS file<br> 21446Default value: <code>0</code><br> 21447Saved in: <code>General.OptionsFileName</code> 21448</p> 21449</dd> 21450<dt><code>Mesh.CgnsExportCPEX0045</code> 21451<span id="index-Mesh_002eCgnsExportCPEX0045"></span> 21452</dt> 21453<dd><p>
21453Use the CPEX0045 convention when exporting a high-order mesh to CGNS<br> 21454Default value: <code>0</code><br> 21455Saved in: <code>General.OptionsFileName</code> 21456</p> 21457</dd> 21458<dt><code>Mesh.CgnsExportStructured</code> 21459<span id="index-Mesh_002eCgnsExportStructured"></span> 21460</dt> 21461<dd><p>Export transfinite meshes as structured CGNS grids<br> 21462Default value: <code>0</code><br> 21463Saved in: <code>General.OptionsFileName</code> 21464</p> 21465</dd> 21466<dt><code>Mesh.CheckSurfaceNormalValidity</code> 21467<span id="index-Mesh_002eCheckSurfaceNormalValidity"></span> 21468</dt> 21469<dd><p>Check surface mesh validity according to the geometry normal<br> 21470Default value: <code>1</code><br> 21471Saved in: <code>General.OptionsFileName</code> 21472</p> 21473</dd> 21474<dt><code>Mesh.Clip</code> 21475<span id="index-Mesh_002eClip"></span> 21476</dt> 21477<dd><p>Enable clipping planes? (Plane[i]=2^i, i=0,...,5)<br> 21478Default value: <code>0</code><br> 21479Saved in: <code>-</code> 21480</p> 21481</dd> 21482<dt><code>Mesh.ColorCarousel</code> 21483<span id="index-Mesh_002eColorCarousel"></span> 21484</dt> 21485<dd><p>Mesh coloring (0: by element type, 1: by elementary entity, 2: by physical group, 3: by mesh partition)<br> 21486Default value: <code>1</code><br> 21487Saved in: <code>General.OptionsFileName</code> 21488</p> 21489</dd> 21490<dt><code>Mesh.CompoundClassify</code> 21491<span id="index-Mesh_002eCompoundClassify"></span> 21492</dt> 21493<dd><p>How are surface mesh elements classified on compounds? (0: on the new discrete surface, 1: on the original geometrical surfaces - incompatible with e.g. high-order meshing)<br> 21494Default value: <code>1</code><br> 21495Saved in: <code>General.OptionsFileName</code> 21496</p> 21497</dd> 21498<dt><code>Mesh.CompoundMeshSizeFactor</code> 21499<span id="index-Mesh_002eCompoundMeshSizeFactor"></span> 21500</dt> 21501<dd><p>Mesh size factor applied to compound parts<br> 21502Default value: <code>0.5</code><br> 21503Saved in: <code>General.OptionsFileName</code> 21504</p> 21505</dd> 21506<dt><code>Mesh.CpuTime</code> 21507<span id="index-Mesh_002eCpuTime"></span> 21508</dt> 21509<dd><p>CPU time (in seconds) for the generation of the current mesh (read-only)<br> 21510Default value: <code>0</code><br> 21511Saved in: <code>-</code> 21512</p> 21513</dd> 21514<dt><code>Mesh.CreateTopologyMsh2</code> 21515<span id="index-Mesh_002eCreateTopologyMsh2"></span> 21516</dt> 21517<dd><p>Attempt to (re)create the model topology when reading MSH2 files<br> 21518Default value: <code>0</code><br> 21519Saved in: <code>General.OptionsFileName</code> 21520</p> 21521</dd> 21522<dt><code>Mesh.DrawSkinOnly</code> 21523<span id="index-Mesh_002eDrawSkinOnly"></span> 21524</dt> 21525<dd><p>Draw only the skin of 3D meshes?<br> 21526Default value: <code>0</code><br> 21527Saved in: <code>General.OptionsFileName</code> 21528</p> 21529</dd> 21530<dt><code>Mesh.Dual</code> 21531<span id="index-Mesh_002eDual"></span> 21532</dt> 21533<dd><p>Display the dual mesh obtained by barycentric subdivision<br> 21534Default value: <code>0</code><br> 21535Saved in: <code>General.OptionsFileName</code> 21536</p> 21537</dd> 21538<dt><code>Mesh.ElementOrder</code> 21539<span id="index-Mesh_002eElementOrder"></span> 21540</dt> 21541<dd><p>Element order (1: first order elements)<br> 21542Default value: <code>1</code><br> 21543Saved in: <code>General.OptionsFileName</code> 21544</p> 21545</dd> 21546<dt><code>Mesh.Explode</code> 21547<span id="index-Mesh_002eExplode"></span> 21548</dt> 21549<dd><p>Element shrinking factor (between 0 and 1)<br> 21550Default value: <code>1</code><br> 21551Saved in: <code>General.OptionsFileName</code> 21552</p> 21553</dd> 21554<dt><code>Mesh.FirstElementTag</code> 21555<span id="index-Mesh_002eFirstElementTag"></span> 21556</dt> 21557<dd><p>First tag (>= 1) of mesh elements when generating or renumbering a mesh<br> 21558Default value: <code>1</code><br> 21559Saved in: <code>General.OptionsFileName</code> 21560</p> 21561</dd> 21562<dt><code>Mesh.FirstNodeTag</code> 21563<span id="index-Mesh_002eFirstNodeTag"></span> 21564</dt> 21565<dd><p>First tag (>= 1) of mesh nodes when generating or renumbering a mesh<br> 21566Default value: <code>1</code><br> 21567Saved in: <code>General.OptionsFileName</code> 21568</p> 21569</dd> 21570<dt><code>Mesh.FlexibleTransfinite</code> 21571<span id="index-Mesh_002eFlexibleTransfinite"></span> 21572</dt> 21573<dd><p>Allow transfinite constraints to be modified for recombination (e.g. Blossom) or by global mesh size factor<br> 21574Default value: <code>0</code><br> 21575Saved in: <code>General.OptionsFileName</code> 21576</p> 21577</dd> 21578<dt><code>Mesh.Format</code> 21579<span id="index-Mesh_002eFormat"></span> 21580</dt> 21581<dd><p>Mesh output format (1: msh, 2: unv, 10: auto, 16: vtk, 19: vrml, 21: mail, 26: pos stat, 27: stl, 28: p3d, 30: mesh, 31: bdf, 32: cgns, 33: med, 34: diff, 38: ir3, 39: inp, 40: ply2, 41: celum, 42: su2, 47: tochnog, 49: neu, 50: matlab)<br> 21582Default value: <code>10</code><br> 21583Saved in: <code>General.OptionsFileName</code> 21584</p> 21585</dd> 21586<dt><code>Mesh.Hexahedra</code> 21587<span id="index-Mesh_002eHexahedra"></span> 21588</dt> 21589<dd><p>Display mesh hexahedra?<br> 21590Default value: <code>1</code><br> 21591Saved in: <code>General.OptionsFileName</code> 21592</p> 21593</dd> 21594<dt><code>Mesh.HighOrderDistCAD</code> 21595<span id="index-Mesh_002eHighOrderDistCAD"></span> 21596</dt> 21597<dd><p>Try to optimize distance to CAD in high-order optimizer?<br> 21598Default value: <code>0</code><br> 21599Saved in: <code>General.OptionsFileName</code> 21600</p> 21601</dd> 21602<dt><code>Mesh.HighOrderFixBoundaryNodes</code> 21603<span id="index-Mesh_002eHighOrderFixBoundaryNodes"></span> 21604</dt> 21605<dd><p>Fix all (1) or periodic (2) boundary nodes during high-order optimization?<br> 21606Default value: <code>0</code><br> 21607Saved in: <code>General.OptionsFileName</code> 21608</p> 21609</dd> 21610<dt><code>Mesh.HighOrderIterMax</code> 21611<span id="index-Mesh_002eHighOrderIterMax"></span> 21612</dt> 21613<dd><p>Maximum number of iterations in high-order optimization pass<br> 21614Default value: <code>100</code><br> 21615Saved in: <code>General.OptionsFileName</code> 21616</p> 21617</dd> 21618<dt><code>Mesh.HighOrderNumLayers</code> 21619<span id="index-Mesh_002eHighOrderNumLayers"></span> 21620</dt> 21621<dd><p>Number of layers around a problematic element to consider for high-order optimization, or number of element layers to consider in the boundary layer mesh for high-order fast curving<br> 21622Default value: <code>6</code><br> 21623Saved in: <code>General.OptionsFileName</code> 21624</p> 21625</dd> 21626<dt><code>Mesh.HighOrderOptimize</code> 21627<span id="index-Mesh_002eHighOrderOptimize"></span> 21628</dt> 21629<dd><p>Optimize high-order meshes? (0: none, 1: optimization, 2: elastic+optimization, 3: elastic, 4: fast curving)<br> 21630Default value: <code>0</code><br> 21631Saved in: <code>General.OptionsFileName</code> 21632</p> 21633</dd> 21634<dt><code>Mesh.HighOrderPassMax</code> 21635<span id="index-Mesh_002eHighOrderPassMax"></span> 21636</dt> 21637<dd><p>Maximum number of high-order optimization passes (moving barrier)<br> 21638Default value: <code>25</code><br> 21639Saved in: <code>General.OptionsFileName</code> 21640</p> 21641</dd> 21642<dt><code>Mesh.HighOrderPeriodic</code> 21643<span id="index-Mesh_002eHighOrderPeriodic"></span> 21644</dt> 21645<dd><p>Force location of nodes for periodic meshes using periodicity transform (0: assume identical parametrisations, 1: invert parametrisations, 2: compute closest point<br> 21646Default value: <code>0</code><br> 21647Saved in: <code>General.OptionsFileName</code> 21648</p> 21649</dd> 21650<dt><code>Mesh.HighOrderPoissonRatio</code> 21651<span id="index-Mesh_002eHighOrderPoissonRatio"></span> 21652</dt> 21653<dd><p>Poisson ratio of the material used in the elastic smoother for high-order meshes (between -1.0 and 0.5, excluded)<br> 21654Default value: <code>0.33</code><br> 21655Saved in: <code>General.OptionsFileName</code> 21656</p> 21657</dd> 21658<dt><code>Mesh.HighOrderSavePeriodic</code> 21659<span id="index-Mesh_002eHighOrderSavePeriodic"></span> 21660</dt> 21661<dd><p>Save high-order nodes in periodic section of MSH files?<br> 21662Default value: <code>0</code><br> 21663Saved in: <code>General.OptionsFileName</code> 21664</p> 21665</dd> 21666<dt><code>Mesh.HighOrderPrimSurfMesh</code> 21667<span id="index-Mesh_002eHighOrderPrimSurfMesh"></span> 21668</dt> 21669<dd><p>Try to fix flipped surface mesh elements in high-order optimizer?<br> 21670Default value: <code>0</code><br> 21671Saved in: <code>General.OptionsFileName</code> 21672</p> 21673</dd> 21674<dt><code>Mesh.HighOrderThresholdMin</code> 21675<span id="index-Mesh_002eHighOrderThresholdMin"></span> 21676</dt> 21677<dd><p>Minimum threshold for high-order element optimization<br> 21678Default value: <code>0.1</code><br> 21679Saved in: <code>General.OptionsFileName</code> 21680</p> 21681</dd> 21682<dt><code>Mesh.HighOrderThresholdMax</code> 21683<span id="index-Mesh_002eHighOrderThresholdMax"></span> 21684</dt> 21685<dd><p>Maximum threshold for high-order element optimization<br> 21686Default value: <code>2</code><br> 21687Saved in: <code>General.OptionsFileName</code> 21688</p> 21689</dd> 21690<dt><code>Mesh.HighOrderFastCurvingNewAlgo</code> 21691<span id="index-Mesh_002eHighOrderFastCurvingNewAlgo"></span> 21692</dt> 21693<dd><p>Curve boundary layer with new "fast curving" algorithm (experimental)<br> 21694Default value: <code>0</code><br> 21695Saved in: <code>General.OptionsFileName</code> 21696</p> 21697</dd> 21698<dt><code>Mesh.HighOrderCurveOuterBL</code> 21699<span id="index-Mesh_002eHighOrderCurveOuterBL"></span> 21700</dt> 21701<dd><p>Curve also the outer surface of the boundary layer in the fast curving algorithm (0 = do not curve, 1 = curve according to boun
21701dary, 2 = curve without breaking outer elements)<br> 21702Default value: <code>0</code><br> 21703Saved in: <code>General.OptionsFileName</code> 21704</p> 21705</dd> 21706<dt><code>Mesh.HighOrderMaxRho</code> 21707<span id="index-Mesh_002eHighOrderMaxRho"></span> 21708</dt> 21709<dd><p>Maximum min/max ratio of edge/face size for the detection of BL element columns in the fast curving algorithm<br> 21710Default value: <code>0.3</code><br> 21711Saved in: <code>General.OptionsFileName</code> 21712</p> 21713</dd> 21714<dt><code>Mesh.HighOrderMaxAngle</code> 21715<span id="index-Mesh_002eHighOrderMaxAngle"></span> 21716</dt> 21717<dd><p>Maximum angle between layers of BL elements for the detection of columns in the fast curving algorithm<br> 21718Default value: <code>0.174533</code><br> 21719Saved in: <code>General.OptionsFileName</code> 21720</p> 21721</dd> 21722<dt><code>Mesh.HighOrderMaxInnerAngle</code> 21723<span id="index-Mesh_002eHighOrderMaxInnerAngle"></span> 21724</dt> 21725<dd><p>Maximum angle between edges/faces within layers of BL triangles/tets for the detection of columns in the fast curving algorithm<br> 21726Default value: <code>0.523599</code><br> 21727Saved in: <code>General.OptionsFileName</code> 21728</p> 21729</dd> 21730<dt><code>Mesh.HighOrderSkipQualityCheck</code> 21731<span id="index-Mesh_002eHighOrderSkipQualityCheck"></span> 21732</dt> 21733<dd><p>Skip element quality check after high-order mesh generation<br> 21734Default value: <code>0</code><br> 21735Saved in: <code>General.OptionsFileName</code> 21736</p> 21737</dd> 21738<dt><code>Mesh.IgnoreUnknownSections</code> 21739<span id="index-Mesh_002eIgnoreUnknownSections"></span> 21740</dt> 21741<dd><p>Skip unknown sections when reading meshes in the MSH4 format (otherwise the contents of these sections are stored as model attributes)<br> 21742Default value: <code>0</code><br> 21743Saved in: <code>General.OptionsFileName</code> 21744</p> 21745</dd> 21746<dt><code>Mesh.IgnoreParametrization</code> 21747<span id="index-Mesh_002eIgnoreParametrization"></span> 21748</dt> 21749<dd><p>Skip parametrization section when reading meshes in the MSH4 format<br> 21750Default value: <code>0</code><br> 21751Saved in: <code>General.OptionsFileName</code> 21752</p> 21753</dd> 21754<dt><code>Mesh.IgnorePeriodicity</code> 21755<span id="index-Mesh_002eIgnorePeriodicity"></span> 21756</dt> 21757<dd><p>Skip periodic node section and skip periodic boundary alignment step when reading meshes in the MSH2 format<br> 21758Default value: <code>1</code><br> 21759Saved in: <code>General.OptionsFileName</code> 21760</p> 21761</dd> 21762<dt><code>Mesh.LabelSampling</code> 21763<span id="index-Mesh_002eLabelSampling"></span> 21764</dt> 21765<dd><p>Label sampling rate (display one label every ‘LabelSampling’ elements)<br> 21766Default value: <code>1</code><br> 21767Saved in: <code>General.OptionsFileName</code> 21768</p> 21769</dd> 21770<dt><code>Mesh.LabelType</code> 21771<span id="index-Mesh_002eLabelType"></span> 21772</dt> 21773<dd><p>Type of element label (0: node/element tag, 1: elementary entity tag, 2: physical entity tag, 3: partition, 4: coordinates)<br> 21774Default value: <code>0</code><br> 21775Saved in: <code>General.OptionsFileName</code> 21776</p> 21777</dd> 21778<dt><code>Mesh.LcIntegrationPrecision</code> 21779<span id="index-Mesh_002eLcIntegrationPrecision"></span> 21780</dt> 21781<dd><p>Accuracy of evaluation of the LC field for 1D mesh generation<br> 21782Default value: <code>1e-09</code><br> 21783Saved in: <code>General.OptionsFileName</code> 21784</p> 21785</dd> 21786<dt><code>Mesh.Light</code> 21787<span id="index-Mesh_002eLight"></span> 21788</dt> 21789<dd><p>Enable lighting for the mesh<br> 21790Default value: <code>1</code><br> 21791Saved in: <code>General.OptionsFileName</code> 21792</p> 21793</dd> 21794<dt><code>Mesh.LightLines</code> 21795<span id="index-Mesh_002eLightLines"></span> 21796</dt> 21797<dd><p>Enable lighting for mesh edges (0: no, 1: surfaces, 2: surfaces+volumes<br> 21798Default value: <code>2</code><br> 21799Saved in: <code>General.OptionsFileName</code> 21800</p> 21801</dd> 21802<dt><code>Mesh.LightTwoSide</code> 21803<span id="index-Mesh_002eLightTwoSide"></span> 21804</dt> 21805<dd><p>Light both sides of surfaces (leads to slower rendering)<br> 21806Default value: <code>1</code><br> 21807Saved in: <code>General.OptionsFileName</code> 21808</p> 21809</dd> 21810<dt><code>Mesh.Lines</code> 21811<span id="index-Mesh_002eLines"></span> 21812</dt> 21813<dd><p>Display mesh lines (1D elements)?<br> 21814Default value: <code>0</code><br> 21815Saved in: <code>General.OptionsFileName</code> 21816</p> 21817</dd> 21818<dt><code>Mesh.LineLabels</code> 21819<span id="index-Mesh_002eLineLabels"></span> 21820</dt> 21821<dd><p>Display mesh line labels?<br> 21822Default value: <code>0</code><br> 21823Saved in: <code>General.OptionsFileName</code> 21824</p> 21825</dd> 21826<dt><code>Mesh.LineWidth</code> 21827<span id="index-Mesh_002eLineWidth"></span> 21828</dt> 21829<dd><p>Display width of mesh lines (in pixels)<br> 21830Default value: <code>1</code><br> 21831Saved in: <code>General.OptionsFileName</code> 21832</p> 21833</dd> 21834<dt><code>Mesh.MaxIterDelaunay3D</code> 21835<span id="index-Mesh_002eMaxIterDelaunay3D"></span> 21836</dt> 21837<dd><p>Maximum number of point insertion iterations in 3D Delaunay mesher (0: unlimited)<br> 21838Default value: <code>0</code><br> 21839Saved in: <code>General.OptionsFileName</code> 21840</p> 21841</dd> 21842<dt><code>Mesh.MaxNumThreads1D</code> 21843<span id="index-Mesh_002eMaxNumThreads1D"></span> 21844</dt> 21845<dd><p>Maximum number of threads for 1D meshing (0: use General.NumThreads)<br> 21846Default value: <code>0</code><br> 21847Saved in: <code>General.OptionsFileName</code> 21848</p> 21849</dd> 21850<dt><code>Mesh.MaxNumThreads2D</code> 21851<span id="index-Mesh_002eMaxNumThreads2D"></span> 21852</dt> 21853<dd><p>Maximum number of threads for 2D meshing (0: use General.NumThreads)<br> 21854Default value: <code>0</code><br> 21855Saved in: <code>General.OptionsFileName</code> 21856</p> 21857</dd> 21858<dt><code>Mesh.MaxNumThreads3D</code> 21859<span id="index-Mesh_002eMaxNumThreads3D"></span> 21860</dt> 21861<dd><p>Maximum number of threads for 3D meshing (0: use General.NumThreads)<br> 21862Default value: <code>0</code><br> 21863Saved in: <code>General.OptionsFileName</code> 21864</p> 21865</dd> 21866<dt><code>Mesh.MaxRetries</code> 21867<span id="index-Mesh_002eMaxRetries"></span> 21868</dt> 21869<dd><p>Maximum number of times meshing is retried on curves and surfaces with a pending mesh; also controls maximum number of recursive subdivisions when self-intersecting 1D meshes are detected<br> 21870Default value: <code>10</code><br> 21871Saved in: <code>General.OptionsFileName</code> 21872</p> 21873</dd> 21874<dt><code>Mesh.MeshOnlyVisible</code> 21875<span id="index-Mesh_002eMeshOnlyVisible"></span> 21876</dt> 21877<dd><p>Mesh only visible entities (experimental)<br> 21878Default value: <code>0</code><br> 21879Saved in: <code>General.OptionsFileName</code> 21880</p> 21881</dd> 21882<dt><code>Mesh.MeshOnlyEmpty</code> 21883<span id="index-Mesh_002eMeshOnlyEmpty"></span> 21884</dt> 21885<dd><p>Mesh only entities that have no existing mesh<br> 21886Default value: <code>0</code><br> 21887Saved in: <code>General.OptionsFileName</code> 21888</p> 21889</dd> 21890<dt><code>Mesh.MeshSizeExtendFromBoundary</code> 21891<span id="index-Mesh_002eMeshSizeExtendFromBoundary"></span> 21892</dt> 21893<dd><p>Extend computation of mesh element sizes from the boundaries into the interior (0: never; 1: for surfaces and volumes; 2: for surfaces and volumes, but use smallest surface element edge length instead of longest length in 3D Delaunay; -2: only for surfaces; -3: only for volumes)<br> 21894Default value: <code>1</code><br> 21895Saved in: <code>General.OptionsFileName</code> 21896</p> 21897</dd> 21898<dt><code>Mesh.MeshSizeFactor</code> 21899<span id="index-Mesh_002eMeshSizeFactor"></span> 21900</dt> 21901<dd><p>Factor applied to all mesh element sizes<br> 21902Default value: <code>1</code><br> 21903Saved in: <code>General.OptionsFileName</code> 21904</p> 21905</dd> 21906<dt><code>Mesh.MeshSizeMin</code> 21907<span id="index-Mesh_002eMeshSizeMin"></span> 21908</dt> 21909<dd><p>Minimum mesh element size<br> 21910Default value: <code>0</code><br> 21911Saved in: <code>General.OptionsFileName</code> 21912</p> 21913</dd> 21914<dt><code>Mesh.MeshSizeMax</code> 21915<span id="index-Mesh_002eMeshSizeMax"></span> 21916</dt> 21917<dd><p>Maximum mesh element size<br> 21918Default value: <code>1e+22</code><br> 21919Saved in: <code>General.OptionsFileName</code> 21920</p> 21921</dd> 21922<dt><code>Mesh.MeshSizeFromCurvature</code> 21923<span id="index-Mesh_002eMeshSizeFromCurvature"></span> 21924</dt> 21925<dd><p>Automatically compute mesh element sizes from curvature, using the value as the target number of elements per 2 * Pi radians<br> 21926Default value: <code>0</code><br> 21927Saved in: <code>General.OptionsFileName</code> 21928</p> 21929</dd> 21930<dt><code>Mesh.MeshSizeFromCurvatureIsotropic</code> 21931<span id="index-Mesh_002eMeshSizeFromCurvatureIsotropic"></span> 21932</dt> 21933<dd><p>Force isotropic curvature estimation when the mesh size is computed from curvature<br> 21934Default value: <code>0</code><br> 21935Saved in: <code>General.OptionsFileName</code> 21936</p> 21937</dd> 21938<dt><code>Mesh.MeshSizeFromPoints</code> 21939<span id="index-Mesh_002eMeshSizeFromPoints"></span> 21940</dt> 21941<dd><p>
21941Compute mesh element sizes from values given at geometry points<br> 21942Default value: <code>1</code><br> 21943Saved in: <code>General.OptionsFileName</code> 21944</p> 21945</dd> 21946<dt><code>Mesh.MeshSizeFromParametricPoints</code> 21947<span id="index-Mesh_002eMeshSizeFromParametricPoints"></span> 21948</dt> 21949<dd><p>Compute mesh element sizes from values given at geometry points defining parametric curves<br> 21950Default value: <code>0</code><br> 21951Saved in: <code>General.OptionsFileName</code> 21952</p> 21953</dd> 21954<dt><code>Mesh.MetisAlgorithm</code> 21955<span id="index-Mesh_002eMetisAlgorithm"></span> 21956</dt> 21957<dd><p>METIS partitioning algorithm ’ptype’ (1: Recursive, 2: K-way)<br> 21958Default value: <code>1</code><br> 21959Saved in: <code>General.OptionsFileName</code> 21960</p> 21961</dd> 21962<dt><code>Mesh.MetisEdgeMatching</code> 21963<span id="index-Mesh_002eMetisEdgeMatching"></span> 21964</dt> 21965<dd><p>METIS edge matching type ’ctype’ (1: Random, 2: Sorted Heavy-Edge)<br> 21966Default value: <code>2</code><br> 21967Saved in: <code>General.OptionsFileName</code> 21968</p> 21969</dd> 21970<dt><code>Mesh.MetisMaxLoadImbalance</code> 21971<span id="index-Mesh_002eMetisMaxLoadImbalance"></span> 21972</dt> 21973<dd><p>METIS maximum load imbalance ’ufactor’ (-1: default, i.e. 30 for K-way and 1 for Recursive)<br> 21974Default value: <code>-1</code><br> 21975Saved in: <code>General.OptionsFileName</code> 21976</p> 21977</dd> 21978<dt><code>Mesh.MetisObjective</code> 21979<span id="index-Mesh_002eMetisObjective"></span> 21980</dt> 21981<dd><p>METIS objective type ’objtype’ (1: min. edge-cut, 2: min. communication volume)<br> 21982Default value: <code>1</code><br> 21983Saved in: <code>General.OptionsFileName</code> 21984</p> 21985</dd> 21986<dt><code>Mesh.MetisMinConn</code> 21987<span id="index-Mesh_002eMetisMinConn"></span> 21988</dt> 21989<dd><p>METIS minimize maximum connectivity of partitions ’minconn’ (-1: default)<br> 21990Default value: <code>-1</code><br> 21991Saved in: <code>General.OptionsFileName</code> 21992</p> 21993</dd> 21994<dt><code>Mesh.MetisRefinementAlgorithm</code> 21995<span id="index-Mesh_002eMetisRefinementAlgorithm"></span> 21996</dt> 21997<dd><p>METIS algorithm for k-way refinement ’rtype’ (1: FM-based cut, 2: Greedy, 3: Two-sided node FM, 4: One-sided node FM)<br> 21998Default value: <code>2</code><br> 21999Saved in: <code>General.OptionsFileName</code> 22000</p> 22001</dd> 22002<dt><code>Mesh.MinLineNodes</code> 22003<span id="index-Mesh_002eMinLineNodes"></span> 22004</dt> 22005<dd><p>Minimum number of nodes used to mesh (straight) lines<br> 22006Default value: <code>2</code><br> 22007Saved in: <code>General.OptionsFileName</code> 22008</p> 22009</dd> 22010<dt><code>Mesh.MinCircleNodes</code> 22011<span id="index-Mesh_002eMinCircleNodes"></span> 22012</dt> 22013<dd><p>Minimum number of nodes used to mesh circles and ellipses<br> 22014Default value: <code>7</code><br> 22015Saved in: <code>General.OptionsFileName</code> 22016</p> 22017</dd> 22018<dt><code>Mesh.MinCurveNodes</code> 22019<span id="index-Mesh_002eMinCurveNodes"></span> 22020</dt> 22021<dd><p>Minimum number of nodes used to mesh curves other than lines, circles and ellipses<br> 22022Default value: <code>3</code><br> 22023Saved in: <code>General.OptionsFileName</code> 22024</p> 22025</dd> 22026<dt><code>Mesh.MinQuality</code> 22027<span id="index-Mesh_002eMinQuality"></span> 22028</dt> 22029<dd><p>Minimum mesh quality (inverse conditioning number, ICN) after the generation of the current mesh (read-only)<br> 22030Default value: <code>0</code><br> 22031Saved in: <code>General.OptionsFileName</code> 22032</p> 22033</dd> 22034<dt><code>Mesh.MshFileVersion</code> 22035<span id="index-Mesh_002eMshFileVersion"></span> 22036</dt> 22037<dd><p>Version of the MSH file format to use<br> 22038Default value: <code>4.1</code><br> 22039Saved in: <code>General.OptionsFileName</code> 22040</p> 22041</dd> 22042<dt><code>Mesh.MedFileMinorVersion</code> 22043<span id="index-Mesh_002eMedFileMinorVersion"></span> 22044</dt> 22045<dd><p>Minor version of the MED file format to use (-1: use minor version of the MED library)<br> 22046Default value: <code>-1</code><br> 22047Saved in: <code>General.OptionsFileName</code> 22048</p> 22049</dd> 22050<dt><code>Mesh.MedImportGroupsOfNodes</code> 22051<span id="index-Mesh_002eMedImportGroupsOfNodes"></span> 22052</dt> 22053<dd><p>Import groups of nodes (0: no; 1: create geometrical point for each node)?<br> 22054Default value: <code>0</code><br> 22055Saved in: <code>General.OptionsFileName</code> 22056</p> 22057</dd> 22058<dt><code>Mesh.MedSingleModel</code> 22059<span id="index-Mesh_002eMedSingleModel"></span> 22060</dt> 22061<dd><p>Import MED meshes in the current model, even if several MED mesh names exist<br> 22062Default value: <code>0</code><br> 22063Saved in: <code>General.OptionsFileName</code> 22064</p> 22065</dd> 22066<dt><code>Mesh.NbHexahedra</code> 22067<span id="index-Mesh_002eNbHexahedra"></span> 22068</dt> 22069<dd><p>Number of hexahedra in the current mesh (read-only)<br> 22070Default value: <code>0</code><br> 22071Saved in: <code>-</code> 22072</p> 22073</dd> 22074<dt><code>Mesh.NbNodes</code> 22075<span id="index-Mesh_002eNbNodes"></span> 22076</dt> 22077<dd><p>Number of nodes in the current mesh (read-only)<br> 22078Default value: <code>0</code><br> 22079Saved in: <code>-</code> 22080</p> 22081</dd> 22082<dt><code>Mesh.NbPartitions</code> 22083<span id="index-Mesh_002eNbPartitions"></span> 22084</dt> 22085<dd><p>Number of partitions<br> 22086Default value: <code>0</code><br> 22087Saved in: <code>General.OptionsFileName</code> 22088</p> 22089</dd> 22090<dt><code>Mesh.NbPrisms</code> 22091<span id="index-Mesh_002eNbPrisms"></span> 22092</dt> 22093<dd><p>Number of prisms in the current mesh (read-only)<br> 22094Default value: <code>0</code><br> 22095Saved in: <code>-</code> 22096</p> 22097</dd> 22098<dt><code>Mesh.NbPyramids</code> 22099<span id="index-Mesh_002eNbPyramids"></span> 22100</dt> 22101<dd><p>Number of pyramids in the current mesh (read-only)<br> 22102Default value: <code>0</code><br> 22103Saved in: <code>-</code> 22104</p> 22105</dd> 22106<dt><code>Mesh.NbTrihedra</code> 22107<span id="index-Mesh_002eNbTrihedra"></span> 22108</dt> 22109<dd><p>Number of trihedra in the current mesh (read-only)<br> 22110Default value: <code>0</code><br> 22111Saved in: <code>-</code> 22112</p> 22113</dd> 22114<dt><code>Mesh.NbQuadrangles</code> 22115<span id="index-Mesh_002eNbQuadrangles"></span> 22116</dt> 22117<dd><p>Number of quadrangles in the current mesh (read-only)<br> 22118Default value: <code>0</code><br> 22119Saved in: <code>-</code> 22120</p> 22121</dd> 22122<dt><code>Mesh.NbTetrahedra</code> 22123<span id="index-Mesh_002eNbTetrahedra"></span> 22124</dt> 22125<dd><p>Number of tetrahedra in the current mesh (read-only)<br> 22126Default value: <code>0</code><br> 22127Saved in: <code>-</code> 22128</p> 22129</dd> 22130<dt><code>Mesh.NbTriangles</code> 22131<span id="index-Mesh_002eNbTriangles"></span> 22132</dt> 22133<dd><p>Number of triangles in the current mesh (read-only)<br> 22134Default value: <code>0</code><br> 22135Saved in: <code>-</code> 22136</p> 22137</dd> 22138<dt><code>Mesh.NewtonConvergenceTestXYZ</code> 22139<span id="index-Mesh_002eNewtonConvergenceTestXYZ"></span> 22140</dt> 22141<dd><p>Force inverse surface mapping algorithm (Newton-Raphson) to converge in real coordinates (experimental)<br> 22142Default value: <code>0</code><br> 22143Saved in: <code>General.OptionsFileName</code> 22144</p> 22145</dd> 22146<dt><code>Mesh.Nodes</code> 22147<span id="index-Mesh_002eNodes"></span> 22148</dt> 22149<dd><p>Display mesh nodes?<br> 22150Default value: <code>0</code><br> 22151Saved in: <code>General.OptionsFileName</code> 22152</p> 22153</dd> 22154<dt><code>Mesh.NodeLabels</code> 22155<span id="index-Mesh_002eNodeLabels"></span> 22156</dt> 22157<dd><p>Display mesh node labels?<br> 22158Default value: <code>0</code><br> 22159Saved in: <code>General.OptionsFileName</code> 22160</p> 22161</dd> 22162<dt><code>Mesh.NodeSize</code> 22163<span id="index-Mesh_002eNodeSize"></span> 22164</dt> 22165<dd><p>Display size of mesh nodes (in pixels)<br> 22166Default value: <code>4</code><br> 22167Saved in: <code>General.OptionsFileName</code> 22168</p> 22169</dd> 22170<dt><code>Mesh.NodeType</code> 22171<span id="index-Mesh_002eNodeType"></span> 22172</dt> 22173<dd><p>Display mesh nodes as solid color dots (0) or 3D spheres (1)<br> 22174Default value: <code>0</code><br> 22175Saved in: <code>General.OptionsFileName</code> 22176</p> 22177</dd> 22178<dt><code>Mesh.Normals</code> 22179<span id="index-Mesh_002eNormals"></span> 22180</dt> 22181<dd><p>Display size of normal vectors (in pixels)<br> 22182Default value: <code>0</code><br> 22183Saved in: <code>General.OptionsFileName</code> 22184</p> 22185</dd> 22186<dt><code>Mesh.NumSubEdges</code> 22187<span id="index-Mesh_002eNumSubEdges"></span> 22188</dt> 22189<dd><p>Number of edge subdivisions used to draw high-order mesh elements<br> 22190Default value: <code>2</code><br> 22191Saved in: <code>General.OptionsFileName</code> 22192</p> 22193</dd> 22194<dt><code>Mesh.OldInitialDelaunay2D</code> 22195<span id="index-Mesh_002eOldInitialDelaunay2D"></span> 22196</dt> 22197<dd><p>Use old initial 2D Delaunay code<br> 22198Default value: <code>0</code><br> 22199Saved in: <code>General.OptionsFileName</code> 22200</p> 22201</dd> 22202<dt><code>Mesh.Optimize</code> 22203<span id="index-Mesh_002eOptimize"></span> 22204</dt> 22205<dd><p>Optimize the mesh to improve the quality of tetrahedral elements<br> 22206Default value: <code>1</code><br> 22207Saved in: <code>General.OptionsFileName</code> 22208</p> 22209</dd> 22210<dt><code>Mesh.OptimizeThreshold</code> 22211<span id="index-Mesh_002eOptimizeThreshold"></span> 22212</dt> 22213<dd><p>Optimize tetrahedra that have a quality below ... <br> 22214Default value: <code>0.3</code><br> 22215Saved in: <code>General.OptionsFileName</code> 22216</p> 22217</dd> 22218<dt><code>Mesh.OptimizeNetgen</code> 22219<span id="index-Mesh_002eOptimizeNetgen"></span> 22220</dt> 22221<dd><p>Optimize the mesh using Netgen to improve the quality of tetrahedral elements<br> 22222Default value: <code>0</code><br> 22223Saved in: <code>General.OptionsFileName</code> 22224</p> 22225</dd> 22226<dt><code>Mesh.OptimizePyramids</code> 22227<span id="index-Mesh_002eOptimizePyramids"></span> 22228</dt> 22229<dd><p>
22229Optimize pyramids in hybrid 3D meshes (0: smoother; 1: untangler)<br> 22230Default value: <code>0</code><br> 22231Saved in: <code>General.OptionsFileName</code> 22232</p> 22233</dd> 22234<dt><code>Mesh.PartitionHexWeight</code> 22235<span id="index-Mesh_002ePartitionHexWeight"></span> 22236</dt> 22237<dd><p>Weight of hexahedral element for METIS load balancing (-1: automatic)<br> 22238Default value: <code>-1</code><br> 22239Saved in: <code>General.OptionsFileName</code> 22240</p> 22241</dd> 22242<dt><code>Mesh.PartitionLineWeight</code> 22243<span id="index-Mesh_002ePartitionLineWeight"></span> 22244</dt> 22245<dd><p>Weight of line element for METIS load balancing (-1: automatic)<br> 22246Default value: <code>-1</code><br> 22247Saved in: <code>General.OptionsFileName</code> 22248</p> 22249</dd> 22250<dt><code>Mesh.PartitionPrismWeight</code> 22251<span id="index-Mesh_002ePartitionPrismWeight"></span> 22252</dt> 22253<dd><p>Weight of prismatic element (wedge) for METIS load balancing (-1: automatic)<br> 22254Default value: <code>-1</code><br> 22255Saved in: <code>General.OptionsFileName</code> 22256</p> 22257</dd> 22258<dt><code>Mesh.PartitionPyramidWeight</code> 22259<span id="index-Mesh_002ePartitionPyramidWeight"></span> 22260</dt> 22261<dd><p>Weight of pyramidal element for METIS load balancing (-1: automatic)<br> 22262Default value: <code>-1</code><br> 22263Saved in: <code>General.OptionsFileName</code> 22264</p> 22265</dd> 22266<dt><code>Mesh.PartitionQuadWeight</code> 22267<span id="index-Mesh_002ePartitionQuadWeight"></span> 22268</dt> 22269<dd><p>Weight of quadrangle for METIS load balancing (-1: automatic)<br> 22270Default value: <code>-1</code><br> 22271Saved in: <code>General.OptionsFileName</code> 22272</p> 22273</dd> 22274<dt><code>Mesh.PartitionTrihedronWeight</code> 22275<span id="index-Mesh_002ePartitionTrihedronWeight"></span> 22276</dt> 22277<dd><p>Weight of trihedron element for METIS load balancing (-1: automatic)<br> 22278Default value: <code>0</code><br> 22279Saved in: <code>General.OptionsFileName</code> 22280</p> 22281</dd> 22282<dt><code>Mesh.PartitionTetWeight</code> 22283<span id="index-Mesh_002ePartitionTetWeight"></span> 22284</dt> 22285<dd><p>Weight of tetrahedral element for METIS load balancing (-1: automatic)<br> 22286Default value: <code>-1</code><br> 22287Saved in: <code>General.OptionsFileName</code> 22288</p> 22289</dd> 22290<dt><code>Mesh.PartitionTriWeight</code> 22291<span id="index-Mesh_002ePartitionTriWeight"></span> 22292</dt> 22293<dd><p>Weight of triangle element for METIS load balancing (-1: automatic)<br> 22294Default value: <code>-1</code><br> 22295Saved in: <code>General.OptionsFileName</code> 22296</p> 22297</dd> 22298<dt><code>Mesh.PartitionCreateTopology</code> 22299<span id="index-Mesh_002ePartitionCreateTopology"></span> 22300</dt> 22301<dd><p>Create boundary representation of partitions<br> 22302Default value: <code>1</code><br> 22303Saved in: <code>General.OptionsFileName</code> 22304</p> 22305</dd> 22306<dt><code>Mesh.PartitionCreatePhysicals</code> 22307<span id="index-Mesh_002ePartitionCreatePhysicals"></span> 22308</dt> 22309<dd><p>Create physical groups for partitions, based on existing physical groups<br> 22310Default value: <code>1</code><br> 22311Saved in: <code>General.OptionsFileName</code> 22312</p> 22313</dd> 22314<dt><code>Mesh.PartitionCreateGhostCells</code> 22315<span id="index-Mesh_002ePartitionCreateGhostCells"></span> 22316</dt> 22317<dd><p>Create ghost cells, i.e. create for each partition a ghost entity containing elements connected to neighboring partitions by at least one node.<br> 22318Default value: <code>0</code><br> 22319Saved in: <code>General.OptionsFileName</code> 22320</p> 22321</dd> 22322<dt><code>Mesh.PartitionSplitMeshFiles</code> 22323<span id="index-Mesh_002ePartitionSplitMeshFiles"></span> 22324</dt> 22325<dd><p>Write one file for each mesh partition<br> 22326Default value: <code>0</code><br> 22327Saved in: <code>General.OptionsFileName</code> 22328</p> 22329</dd> 22330<dt><code>Mesh.PartitionTopologyFile</code> 22331<span id="index-Mesh_002ePartitionTopologyFile"></span> 22332</dt> 22333<dd><p>Write a .pro file with the partition topology<br> 22334Default value: <code>0</code><br> 22335Saved in: <code>General.OptionsFileName</code> 22336</p> 22337</dd> 22338<dt><code>Mesh.PartitionOldStyleMsh2</code> 22339<span id="index-Mesh_002ePartitionOldStyleMsh2"></span> 22340</dt> 22341<dd><p>Write partitioned meshes in MSH2 format using old style (i.e. by not referencing new partitioned entities, except on partition boundaries), for backward compatibility<br> 22342Default value: <code>1</code><br> 22343Saved in: <code>General.OptionsFileName</code> 22344</p> 22345</dd> 22346<dt><code>Mesh.PartitionConvertMsh2</code> 22347<span id="index-Mesh_002ePartitionConvertMsh2"></span> 22348</dt> 22349<dd><p>When reading partitioned meshes in MSH2 format, create new partition entities<br> 22350Default value: <code>1</code><br> 22351Saved in: <code>General.OptionsFileName</code> 22352</p> 22353</dd> 22354<dt><code>Mesh.PreserveNumberingMsh2</code> 22355<span id="index-Mesh_002ePreserveNumberingMsh2"></span> 22356</dt> 22357<dd><p>Preserve node and element numbering in MSH2 format (will break meshes with multiple physical groups for a single elementary entity)<br> 22358Default value: <code>0</code><br> 22359Saved in: <code>General.OptionsFileName</code> 22360</p> 22361</dd> 22362<dt><code>Mesh.Prisms</code> 22363<span id="index-Mesh_002ePrisms"></span> 22364</dt> 22365<dd><p>Display mesh prisms?<br> 22366Default value: <code>1</code><br> 22367Saved in: <code>General.OptionsFileName</code> 22368</p> 22369</dd> 22370<dt><code>Mesh.Pyramids</code> 22371<span id="index-Mesh_002ePyramids"></span> 22372</dt> 22373<dd><p>Display mesh pyramids?<br> 22374Default value: <code>1</code><br> 22375Saved in: <code>General.OptionsFileName</code> 22376</p> 22377</dd> 22378<dt><code>Mesh.QuadqsSizemapMethod</code> 22379<span id="index-Mesh_002eQuadqsSizemapMethod"></span> 22380</dt> 22381<dd><p>Size map method in QuadQuasiStructured. 0: default, 1: cross-field,2: cross-field + CAD small features adaptation,3: from background mesh (e.g. sizes in current triangulation),4: cross-field + CAD small features adaptation (clamped by background mesh)<br> 22382Default value: <code>3</code><br> 22383Saved in: <code>General.OptionsFileName</code> 22384</p> 22385</dd> 22386<dt><code>Mesh.QuadqsTopologyOptimizationMethods</code> 22387<span id="index-Mesh_002eQuadqsTopologyOptimizationMethods"></span> 22388</dt> 22389<dd><p>Topology optimization methods in QuadQuasiStructured. 0: default (all),100: pattern-based CAD faces,010: disk quadrangulation remeshing,001: cavity remeshing,xxx: combination of multiple methods (e.g. 111 for all)<br> 22390Default value: <code>0</code><br> 22391Saved in: <code>General.OptionsFileName</code> 22392</p> 22393</dd> 22394<dt><code>Mesh.QuadqsRemeshingBoldness</code> 22395<span id="index-Mesh_002eQuadqsRemeshingBoldness"></span> 22396</dt> 22397<dd><p>
22397Controls how much cavity remeshing is allowed to distort the quad mesh. From 0 (no quality decrease during remeshing) to 1 (quality can tend to 0 during remeshing).<br> 22398Default value: <code>0.66</code><br> 22399Saved in: <code>General.OptionsFileName</code> 22400</p> 22401</dd> 22402<dt><code>Mesh.QuadqsScalingOnTriangulation</code> 22403<span id="index-Mesh_002eQuadqsScalingOnTriangulation"></span> 22404</dt> 22405<dd><p>Ratio on the edge length between the triangulation and the quadrangulation. Use a small ratio (e.g. 0.5) to get a background triangulation finer than the quad mesh. Useful to get a more accurate cross-field.<br> 22406Default value: <code>0.75</code><br> 22407Saved in: <code>General.OptionsFileName</code> 22408</p> 22409</dd> 22410<dt><code>Mesh.Quadrangles</code> 22411<span id="index-Mesh_002eQuadrangles"></span> 22412</dt> 22413<dd><p>Display mesh quadrangles?<br> 22414Default value: <code>1</code><br> 22415Saved in: <code>General.OptionsFileName</code> 22416</p> 22417</dd> 22418<dt><code>Mesh.QualityInf</code> 22419<span id="index-Mesh_002eQualityInf"></span> 22420</dt> 22421<dd><p>Only display elements whose quality measure is greater than QualityInf<br> 22422Default value: <code>0</code><br> 22423Saved in: <code>General.OptionsFileName</code> 22424</p> 22425</dd> 22426<dt><code>Mesh.QualitySup</code> 22427<span id="index-Mesh_002eQualitySup"></span> 22428</dt> 22429<dd><p>Only display elements whose quality measure is smaller than QualitySup<br> 22430Default value: <code>0</code><br> 22431Saved in: <code>General.OptionsFileName</code> 22432</p> 22433</dd> 22434<dt><code>Mesh.QualityType</code> 22435<span id="index-Mesh_002eQualityType"></span> 22436</dt> 22437<dd><p>Type of quality measure (0: SICN~signed inverse condition number, 1: SIGE~signed inverse gradient error, 2: gamma~vol/sum_face/max_edge, 3: Disto~minJ/maxJ<br> 22438Default value: <code>2</code><br> 22439Saved in: <code>General.OptionsFileName</code> 22440</p> 22441</dd> 22442<dt><code>Mesh.QuasiTransfinite</code> 22443<span id="index-Mesh_002eQuasiTransfinite"></span> 22444</dt> 22445<dd><p>Allow quasi-transfinite meshing of surfaces with non-matching number of nodes on opposite sides<br> 22446Default value: <code>0</code><br> 22447Saved in: <code>General.OptionsFileName</code> 22448</p> 22449</dd> 22450<dt><code>Mesh.RadiusInf</code> 22451<span id="index-Mesh_002eRadiusInf"></span> 22452</dt> 22453<dd><p>Only display elements whose longest edge is greater than RadiusInf<br> 22454Default value: <code>0</code><br> 22455Saved in: <code>General.OptionsFileName</code> 22456</p> 22457</dd> 22458<dt><code>Mesh.RadiusSup</code> 22459<span id="index-Mesh_002eRadiusSup"></span> 22460</dt> 22461<dd><p>Only display elements whose longest edge is smaller than RadiusSup<br> 22462Default value: <code>0</code><br> 22463Saved in: <code>General.OptionsFileName</code> 22464</p> 22465</dd> 22466<dt><code>Mesh.RandomFactor</code> 22467<span id="index-Mesh_002eRandomFactor"></span> 22468</dt> 22469<dd><p>Random factor used in the 2D meshing algorithm (should be increased if RandomFactor * size(triangle)/size(model) approaches machine accuracy)<br> 22470Default value: <code>1e-09</code><br> 22471Saved in: <code>General.OptionsFileName</code> 22472</p> 22473</dd> 22474<dt><code>Mesh.RandomFactor3D</code> 22475<span id="index-Mesh_002eRandomFactor3D"></span> 22476</dt> 22477<dd><p>Random factor used in the 3D meshing algorithm<br> 22478Default value: <code>1e-12</code><br> 22479Saved in: <code>General.OptionsFileName</code> 22480</p> 22481</dd> 22482<dt><code>Mesh.RandomSeed</code> 22483<span id="index-Mesh_002eRandomSeed"></span> 22484</dt> 22485<dd><p>Seed of pseudo-random number generator<br> 22486Default value: <code>1</code><br> 22487Saved in: <code>General.OptionsFileName</code> 22488</p> 22489</dd> 22490<dt><code>Mesh.ReadGroupsOfElements</code> 22491<span id="index-Mesh_002eReadGroupsOfElements"></span> 22492</dt> 22493<dd><p>Read groups of elements in UNV meshes (this will discard the elementary entity tags inferred from the element section)<br> 22494Default value: <code>1</code><br> 22495Saved in: <code>General.OptionsFileName</code> 22496</p> 22497</dd> 22498<dt><code>Mesh.RecombinationAlgorithm</code> 22499<span id="index-Mesh_002eRecombinationAlgorithm"></span> 22500</dt> 22501<dd><p>Mesh recombination algorithm (0: simple, 1: blossom, 2: simple full-quad, 3: blossom full-quad)<br> 22502Default value: <code>1</code><br> 22503Saved in: <code>General.OptionsFileName</code> 22504</p> 22505</dd> 22506<dt><code>Mesh.RecombineAll</code> 22507<span id="index-Mesh_002eRecombineAll"></span> 22508</dt> 22509<dd><p>Apply recombination algorithm to all surfaces, ignoring per-surface spec<br> 22510Default value: <code>0</code><br> 22511Saved in: <code>General.OptionsFileName</code> 22512</p> 22513</dd> 22514<dt><code>Mesh.RecombineOptimizeTopology</code> 22515<span id="index-Mesh_002eRecombineOptimizeTopology"></span> 22516</dt> 22517<dd><p>Number of topological optimization passes (removal of diamonds, ...) of recombined surface meshes<br> 22518Default value: <code>5</code><br> 22519Saved in: <code>General.OptionsFileName</code> 22520</p> 22521</dd> 22522<dt><code>Mesh.RecombineNodeRepositioning</code> 22523<span id="index-Mesh_002eRecombineNodeRepositioning"></span> 22524</dt> 22525<dd><p>Allow repositioning of nodes during recombination of surface meshes<br> 22526Default value: <code>1</code><br> 22527Saved in: <code>General.OptionsFileName</code> 22528</p> 22529</dd> 22530<dt><code>Mesh.RecombineMinimumQuality</code> 22531<span id="index-Mesh_002eRecombineMinimumQuality"></span> 22532</dt> 22533<dd><p>Minimum quality for quadrangle generated by recombination<br> 22534Default value: <code>0.01</code><br> 22535Saved in: <code>General.OptionsFileName</code> 22536</p> 22537</dd> 22538<dt><code>Mesh.Recombine3DAll</code> 22539<span id="index-Mesh_002eRecombine3DAll"></span> 22540</dt> 22541<dd><p>Apply recombination3D algorithm to all volumes, ignoring per-volume spec (experimental)<br> 22542Default value: <code>0</code><br> 22543Saved in: <code>General.OptionsFileName</code> 22544</p> 22545</dd> 22546<dt><code>Mesh.Recombine3DLevel</code> 22547<span id="index-Mesh_002eRecombine3DLevel"></span> 22548</dt> 22549<dd><p>3d recombination level (0: hex, 1: hex+prisms, 2: hex+prism+pyramids) (experimental)<br> 22550Default value: <code>0</code><br> 22551Saved in: <code>General.OptionsFileName</code> 22552</p> 22553</dd> 22554<dt><code>Mesh.Recombine3DConformity</code> 22555<span id="index-Mesh_002eRecombine3DConformity"></span> 22556</dt> 22557<dd><p>3d recombination conformity type (0: nonconforming, 1: trihedra, 2: pyramids+trihedra, 3:pyramids+hexSplit+trihedra, 4:hexSplit+trihedra)(experimental)<br> 22558Default value: <code>0</code><br> 22559Saved in: <code>General.OptionsFileName</code> 22560</p> 22561</dd> 22562<dt><code>Mesh.RefineSteps</code> 22563<span id="index-Mesh_002eRefineSteps"></span> 22564</dt> 22565<dd><p>Number of refinement steps in the MeshAdapt-based 2D algorithms<br> 22566Default value: <code>10</code><br> 22567Saved in: <code>General.OptionsFileName</code> 22568</p> 22569</dd> 22570<dt><code>Mesh.Renumber</code> 22571<span id="index-Mesh_002eRenumber"></span> 22572</dt> 22573<dd><p>Renumber nodes and elements in a continuous sequence after mesh generation<br> 22574Default value: <code>1</code><br> 22575Saved in: <code>General.OptionsFileName</code> 22576</p> 22577</dd> 22578<dt><code>Mesh.ReparamMaxTriangles</code> 22579<span id="index-Mesh_002eReparamMaxTriangles"></span> 22580</dt> 22581<dd><p>Maximum number of triangles in a single parametrization patch<br> 22582Default value: <code>250000</code><br> 22583Saved in: <code>General.OptionsFileName</code> 22584</p> 22585</dd> 22586<dt><code>Mesh.Reproducible</code> 22587<span id="index-Mesh_002eReproducible"></span> 22588</dt> 22589<dd><p>Try to produce reproducible meshes even when multi-threaded (experimental)<br> 22590Default value: <code>0</code><br> 22591Saved in: <code>General.OptionsFileName</code> 22592</p> 22593</dd> 22594<dt><code>Mesh.SaveAll</code> 22595<span id="index-Mesh_002eSaveAll"></span> 22596</dt> 22597<dd><p>Save all elements, even if they don’t belong to physical groups (for some mesh formats, this removes physical groups altogether)<br> 22598Default value: <code>0</code><br> 22599Saved in: <code>-</code> 22600</p> 22601</dd> 22602<dt><code>Mesh.SaveElementTagType</code> 22603<span id="index-Mesh_002eSaveElementTagType"></span> 22604</dt> 22605<dd><p>Type of the element tag saved in mesh formats that don’t support saving physical or partition ids (1: elementary, 2: physical, 3: partition)<br> 22606Default value: <code>1</code><br> 22607Saved in: <code>General.OptionsFileName</code> 22608</p> 22609</dd> 22610<dt><code>Mesh.SaveGroupsOfElements</code> 22611<span id="index-Mesh_002eSaveGroupsOfElements"></span> 22612</dt> 22613<dd><p>Save groups of elements for each physical group (for UNV and INP mesh format) if value is positive; if negative, save groups of elements for physical groups of dimension dim if the (dim+1)^th least significant digit of -Mesh.SaveGroupsOfElements is 1 (for example: -100 will only savesurfaces, while -1010 will save volumes and curves), and for INP skip saving elements of dimension dim altogether if the (dim+1)^th least significant digit of -Mesh.SaveGroupsOfElements is 0<br> 22614Default value: <code>1</code><br> 22615Saved in: <code>General.OptionsFileName</code> 22616</p> 22617</dd> 22618<dt><code>Mesh.SaveGroupsOfNodes</code> 22619<span id="index-Mesh_002eSaveGroupsOfNodes"></span> 22620</dt> 22621<dd><p>Save groups of nodes for each physical group (for UNV, INP and Tochnog mesh formats) if value is positive; if negative, save groups of nodes for physical groups of dimension dim if the (dim+1)^th least significant digit of -Mesh.SaveGroupsOfNodes is 1 (for example: -100 will only save surfaces, while -1010 will save volumes and curves); for INP, save groups of nodes for all entities of dimension dim if the (dim+1)^th least significant digit of -Mesh.SaveGroupsOfNodes is 2<br> 22622Default value: <code>0</code><br> 22623Saved in: <code>General.OptionsFileName</code> 22624</p> 22625</dd> 22626<dt><code>Mesh.SaveParametric</code> 22627<span id="index-Mesh_002eSaveParametric"></span> 22628</dt> 22629<dd><p>Save parametric coordinates of nodes<br> 22630Default value: <code>0</code><br> 22631Saved in: <code>General.OptionsFileName</code> 22632</p> 22633</dd> 22634<dt><code>Mesh.SaveWithoutOrphans</code> 22635<span id="index-Mesh_002eSaveWithoutOrphans"></span> 22636</dt> 22637<dd><p>Don’
22637t save orphan entities (not connected to any highest dimensional entity in the model) in MSH4 files<br> 22638Default value: <code>0</code><br> 22639Saved in: <code>General.OptionsFileName</code> 22640</p> 22641</dd> 22642<dt><code>Mesh.SaveTopology</code> 22643<span id="index-Mesh_002eSaveTopology"></span> 22644</dt> 22645<dd><p>Save model topology in MSH2 output files (this is always saved in MSH3 and above)<br> 22646Default value: <code>0</code><br> 22647Saved in: <code>General.OptionsFileName</code> 22648</p> 22649</dd> 22650<dt><code>Mesh.ScalingFactor</code> 22651<span id="index-Mesh_002eScalingFactor"></span> 22652</dt> 22653<dd><p>Global scaling factor applied to the saved mesh<br> 22654Default value: <code>1</code><br> 22655Saved in: <code>General.OptionsFileName</code> 22656</p> 22657</dd> 22658<dt><code>Mesh.SecondOrderIncomplete</code> 22659<span id="index-Mesh_002eSecondOrderIncomplete"></span> 22660</dt> 22661<dd><p>Create incomplete second order elements? (8-node quads, 20-node hexas, etc.)<br> 22662Default value: <code>0</code><br> 22663Saved in: <code>General.OptionsFileName</code> 22664</p> 22665</dd> 22666<dt><code>Mesh.SecondOrderLinear</code> 22667<span id="index-Mesh_002eSecondOrderLinear"></span> 22668</dt> 22669<dd><p>Should second order nodes (as well as nodes generated with subdivision algorithms) simply be created by linear interpolation?<br> 22670Default value: <code>0</code><br> 22671Saved in: <code>General.OptionsFileName</code> 22672</p> 22673</dd> 22674<dt><code>Mesh.Smoothing</code> 22675<span id="index-Mesh_002eSmoothing"></span> 22676</dt> 22677<dd><p>Number of smoothing steps applied to the final mesh<br> 22678Default value: <code>1</code><br> 22679Saved in: <code>General.OptionsFileName</code> 22680</p> 22681</dd> 22682<dt><code>Mesh.SmoothCrossField</code> 22683<span id="index-Mesh_002eSmoothCrossField"></span> 22684</dt> 22685<dd><p>Apply n barycentric smoothing passes to the 3D cross field<br> 22686Default value: <code>0</code><br> 22687Saved in: <code>General.OptionsFileName</code> 22688</p> 22689</dd> 22690<dt><code>Mesh.CrossFieldClosestPoint</code> 22691<span id="index-Mesh_002eCrossFieldClosestPoint"></span> 22692</dt> 22693<dd><p>Use closest point to compute 2D crossfield<br> 22694Default value: <code>1</code><br> 22695Saved in: <code>General.OptionsFileName</code> 22696</p> 22697</dd> 22698<dt><code>Mesh.SmoothNormals</code> 22699<span id="index-Mesh_002eSmoothNormals"></span> 22700</dt> 22701<dd><p>Smooth the mesh normals?<br> 22702Default value: <code>0</code><br> 22703Saved in: <code>General.OptionsFileName</code> 22704</p> 22705</dd> 22706<dt><code>Mesh.SmoothRatio</code> 22707<span id="index-Mesh_002eSmoothRatio"></span> 22708</dt> 22709<dd><p>Ratio between mesh sizes at nodes of a same edge (used in BAMG)<br> 22710Default value: <code>1.8</code><br> 22711Saved in: <code>General.OptionsFileName</code> 22712</p> 22713</dd> 22714<dt><code>Mesh.StlAngularDeflection</code> 22715<span id="index-Mesh_002eStlAngularDeflection"></span> 22716</dt> 22717<dd><p>Maximum angular deflection when creating STL representations of entities (currently only used with the OpenCASCADE kernel)<br> 22718Default value: <code>0.3</code><br> 22719Saved in: <code>General.OptionsFileName</code> 22720</p> 22721</dd> 22722<dt><code>Mesh.StlLinearDeflection</code> 22723<span id="index-Mesh_002eStlLinearDeflection"></span> 22724</dt> 22725<dd><p>Maximum relative linear deflection when creating STL representation of entities (currently only used with the OpenCASCADE kernel)<br> 22726Default value: <code>0.001</code><br> 22727Saved in: <code>General.OptionsFileName</code> 22728</p> 22729</dd> 22730<dt><code>Mesh.StlLinearDeflectionRelative</code> 22731<span id="index-Mesh_002eStlLinearDeflectionRelative"></span> 22732</dt> 22733<dd><p>Compute the linear deflection for STL representations relative to the length of curves (currently only used with the OpenCASCADE kernel)<br> 22734Default value: <code>1</code><br> 22735Saved in: <code>General.OptionsFileName</code> 22736</p> 22737</dd> 22738<dt><code>Mesh.StlOneSolidPerSurface</code> 22739<span id="index-Mesh_002eStlOneSolidPerSurface"></span> 22740</dt> 22741<dd><p>Create one solid per surface when exporting STL files? (0: single solid, 1: one solid per face, 2: one solid per physical surface)<br> 22742Default value: <code>0</code><br> 22743Saved in: <code>General.OptionsFileName</code> 22744</p> 22745</dd> 22746<dt><code>Mesh.StlRemoveBadTriangles</code> 22747<span id="index-Mesh_002eStlRemoveBadTriangles"></span> 22748</dt> 22749<dd><p>Remove bad triangles when importing STL files (1: remove duplicates; 2: remove duplicate and zero-area triangles)<br> 22750Default value: <code>0</code><br> 22751Saved in: <code>General.OptionsFileName</code> 22752</p> 22753</dd> 22754<dt><code>Mesh.SubdivisionAlgorithm</code> 22755<span id="index-Mesh_002eSubdivisionAlgorithm"></span> 22756</dt> 22757<dd><p>Mesh subdivision algorithm (0: none, 1: all quadrangles, 2: all hexahedra, 3: barycentric)<br> 22758Default value: <code>0</code><br> 22759Saved in: <code>General.OptionsFileName</code> 22760</p> 22761</dd> 22762<dt><code>Mesh.SurfaceEdges</code> 22763<span id="index-Mesh_002eSurfaceEdges"></span> 22764</dt> 22765<dd><p>Display edges of surface mesh?<br> 22766Default value: <code>1</code><br> 22767Saved in: <code>General.OptionsFileName</code> 22768</p> 22769</dd> 22770<dt><code>Mesh.SurfaceFaces</code> 22771<span id="index-Mesh_002eSurfaceFaces"></span> 22772</dt> 22773<dd><p>Display faces of surface mesh?<br> 22774Default value: <code>0</code><br> 22775Saved in: <code>General.OptionsFileName</code> 22776</p> 22777</dd> 22778<dt><code>Mesh.SurfaceLabels</code> 22779<span id="index-Mesh_002eSurfaceLabels"></span> 22780</dt> 22781<dd><p>Display surface mesh element labels?<br> 22782Default value: <code>0</code><br> 22783Saved in: <code>General.OptionsFileName</code> 22784</p> 22785</dd> 22786<dt><code>Mesh.SwitchElementTags</code> 22787<span id="index-Mesh_002eSwitchElementTags"></span> 22788</dt> 22789<dd><p>Invert elementary and physical tags when reading the mesh<br> 22790Default value: <code>0</code><br> 22791Saved in: <code>General.OptionsFileName</code> 22792</p> 22793</dd> 22794<dt><code>Mesh.Tangents</code> 22795<span id="index-Mesh_002eTangents"></span> 22796</dt> 22797<dd><p>Display size of tangent vectors (in pixels)<br> 22798Default value: <code>0</code><br> 22799Saved in: <code>General.OptionsFileName</code> 22800</p> 22801</dd> 22802<dt><code>Mesh.Tetrahedra</code> 22803<span id="index-Mesh_002eTetrahedra"></span> 22804</dt> 22805<dd><p>Display mesh tetrahedra?<br> 22806Default value: <code>1</code><br> 22807Saved in: <code>General.OptionsFileName</code> 22808</p> 22809</dd> 22810<dt><code>Mesh.ToleranceEdgeLength</code> 22811<span id="index-Mesh_002eToleranceEdgeLength"></span> 22812</dt> 22813<dd><p>Skip a model edge in mesh generation if its length is less than user’s defined tolerance<br> 22814Default value: <code>0</code><br> 22815Saved in: <code>General.OptionsFileName</code> 22816</p> 22817</dd> 22818<dt><code>Mesh.ToleranceInitialDelaunay</code> 22819<span id="index-Mesh_002eToleranceInitialDelaunay"></span> 22820</dt> 22821<dd><p>Tolerance for initial 3D Delaunay mesher<br> 22822Default value: <code>1e-12</code><br> 22823Saved in: <code>General.OptionsFileName</code> 22824</p> 22825</dd> 22826<dt><code>Mesh.ToleranceReferenceElement</code> 22827<span id="index-Mesh_002eToleranceReferenceElement"></span> 22828</dt> 22829<dd><p>Tolerance for classifying a point inside a reference element (of size 1
22829)<br> 22830Default value: <code>1e-06</code><br> 22831Saved in: <code>General.OptionsFileName</code> 22832</p> 22833</dd> 22834<dt><code>Mesh.Triangles</code> 22835<span id="index-Mesh_002eTriangles"></span> 22836</dt> 22837<dd><p>Display mesh triangles?<br> 22838Default value: <code>1</code><br> 22839Saved in: <code>General.OptionsFileName</code> 22840</p> 22841</dd> 22842<dt><code>Mesh.Trihedra</code> 22843<span id="index-Mesh_002eTrihedra"></span> 22844</dt> 22845<dd><p>Display mesh trihedra?<br> 22846Default value: <code>1</code><br> 22847Saved in: <code>General.OptionsFileName</code> 22848</p> 22849</dd> 22850<dt><code>Mesh.TransfiniteTri</code> 22851<span id="index-Mesh_002eTransfiniteTri"></span> 22852</dt> 22853<dd><p>Use alternative transfinite arrangement when meshing 3-sided surfaces<br> 22854Default value: <code>0</code><br> 22855Saved in: <code>General.OptionsFileName</code> 22856</p> 22857</dd> 22858<dt><code>Mesh.UnvStrictFormat</code> 22859<span id="index-Mesh_002eUnvStrictFormat"></span> 22860</dt> 22861<dd><p>Use strict format specification for UNV files, with ’D’ for exponents (instead of ’E’ as used by some tools)<br> 22862Default value: <code>1</code><br> 22863Saved in: <code>General.OptionsFileName</code> 22864</p> 22865</dd> 22866<dt><code>Mesh.VolumeEdges</code> 22867<span id="index-Mesh_002eVolumeEdges"></span> 22868</dt> 22869<dd><p>Display edges of volume mesh?<br> 22870Default value: <code>1</code><br> 22871Saved in: <code>General.OptionsFileName</code> 22872</p> 22873</dd> 22874<dt><code>Mesh.VolumeFaces</code> 22875<span id="index-Mesh_002eVolumeFaces"></span> 22876</dt> 22877<dd><p>Display faces of volume mesh?<br> 22878Default value: <code>0</code><br> 22879Saved in: <code>General.OptionsFileName</code> 22880</p> 22881</dd> 22882<dt><code>Mesh.VolumeLabels</code> 22883<span id="index-Mesh_002eVolumeLabels"></span> 22884</dt> 22885<dd><p>Display volume mesh element labels?<br> 22886Default value: <code>0</code><br> 22887Saved in: <code>General.OptionsFileName</code> 22888</p> 22889</dd> 22890<dt><code>Mesh.Voronoi</code> 22891<span id="index-Mesh_002eVoronoi"></span> 22892</dt> 22893<dd><p>Display the voronoi diagram<br> 22894Default value: <code>0</code><br> 22895Saved in: <code>General.OptionsFileName</code> 22896</p> 22897</dd> 22898<dt><code>Mesh.ZoneDefinition</code> 22899<span id="index-Mesh_002eZoneDefinition"></span> 22900</dt> 22901<dd><p>Method for defining a zone (0: single zone, 1: by partition, 2: by physical)<br> 22902Default value: <code>0</code><br> 22903Saved in: <code>General.OptionsFileName</code> 22904</p> 22905</dd> 22906<dt><code>Mesh.Color.Nodes</code> 22907<span id="index-Mesh_002eColor_002eNodes"></span> 22908</dt> 22909<dd><p>Mesh node color<br> 22910Default value: <code>{0,0,255}</code><br> 22911Saved in: <code>General.OptionsFileName</code> 22912</p> 22913</dd> 22914<dt><code>Mesh.Color.NodesSup</code> 22915<span id="index-Mesh_002eColor_002eNodesSup"></span> 22916</dt> 22917<dd><p>Second order mesh node color<br> 22918Default value: <code>{255,0,255}</code><br> 22919Saved in: <code>General.OptionsFileName</code> 22920</p> 22921</dd> 22922<dt><code>Mesh.Color.Lines</code> 22923<span id="index-Mesh_002eColor_002eLines"></span> 22924</dt> 22925<dd><p>Mesh line color<br> 22926Default value: <code>{0,0,0}</code><br> 22927Saved in: <code>General.OptionsFileName</code> 22928</p> 22929</dd> 22930<dt><code>Mesh.Color.Triangles</code> 22931<span id="index-Mesh_002eColor_002eTriangles"></span> 22932</dt> 22933<dd><p>Mesh triangle color (if Mesh.ColorCarousel=0)<br> 22934Default value: <code>{160,150,255}</code><br> 22935Saved in: <code>General.OptionsFileName</code> 22936</p> 22937</dd> 22938<dt><code>Mesh.Color.Quadrangles</code> 22939<span id="index-Mesh_002eColor_002eQuadrangles"></span> 22940</dt> 22941<dd><p>Mesh quadrangle color (if Mesh.ColorCarousel=0)<br> 22942Default value: <code>{130,120,225}</code><br> 22943Saved in: <code>General.OptionsFileName</code> 22944</p> 22945</dd> 22946<dt><code>Mesh.Color.Tetrahedra</code> 22947<span id="index-Mesh_002eColor_002eTetrahedra"></span> 22948</dt> 22949<dd><p>Mesh tetrahedron color (if Mesh.ColorCarousel=0)<br> 22950Default value: <code>{160,150,255}</code><br> 22951Saved in: <code>General.OptionsFileName</code> 22952</p> 22953</dd> 22954<dt><code>Mesh.Color.Hexahedra</code> 22955<span id="index-Mesh_002eColor_002eHexahedra"></span> 22956</dt> 22957<dd><p>Mesh hexahedron color (if Mesh.ColorCarousel=0)<br> 22958Default value: <code>{130,120,225}</code><br> 22959Saved in: <code>General.OptionsFileName</code> 22960</p> 22961</dd> 22962<dt><code>Mesh.Color.Prisms</code> 22963<span id="index-Mesh_002eColor_002ePrisms"></span> 22964</dt> 22965<dd><p>Mesh prism color (if Mesh.ColorCarousel=0)<br> 22966Default value: <code>{232,210,23}</code><br> 22967Saved in: <code>General.OptionsFileName</code> 22968</p> 22969</dd> 22970<dt><code>Mesh.Color.Pyramids</code> 22971<span id="index-Mesh_002eColor_002ePyramids"></span> 22972</dt> 22973<dd><p>Mesh pyramid color (if Mesh.ColorCarousel=0)<br> 22974Default value: <code>{217,113,38}</code><br> 22975Saved in: <code>General.OptionsFileName</code> 22976</p> 22977</dd> 22978<dt><code>Mesh.Color.Trihedra</code> 22979<span id="index-Mesh_002eColor_002eTrihedra"></span> 22980</dt> 22981<dd><p>Mesh trihedron color (if Mesh.ColorCarousel=0)<br> 22982Default value: <code>{20,255,0}</code><br> 22983Saved in: <code>General.OptionsFileName</code> 22984</p> 22985</dd> 22986<dt><code>Mesh.Color.Tangents</code> 22987<span id="index-Mesh_002eColor_002eTangents"></span> 22988</dt> 22989<dd><p>Tangent mesh vector color<br> 22990Default value: <code>{255,255,0}</code><br> 22991Saved in: <code>General.OptionsFileName</code> 22992</p> 22993</dd> 22994<dt><code>Mesh.Color.Normals</code> 22995<span id="index-Mesh_002eColor_002eNormals"></span> 22996</dt> 22997<dd><p>Normal mesh vector color<br> 22998Default value: <code>{255,0,0}</code><br> 22999Saved in: <code>General.OptionsFileName</code> 23000</p> 23001</dd> 23002<dt><code>Mesh.Color.Zero</code> 23003<span id="index-Mesh_002eColor_002eZero"></span> 23004</dt> 23005<dd><p>Color 0 in color carousel<br> 23006Default value: <code>{255,120,0}</code><br> 23007Saved in: <code>General.OptionsFileName</code> 23008</p> 23009</dd> 23010<dt><code>Mesh.Color.One</code> 23011<span id="index-Mesh_002eColor_002eOne"></span> 23012</dt> 23013<dd><p>Color 1 in color carousel<br> 23014Default value: <code>{0,255,132}</code><br> 23015Saved in: <code>General.OptionsFileName</code> 23016</p> 23017</dd> 23018<dt><code>Mesh.Color.Two</code> 23019<span id="index-Mesh_002eColor_002eTwo"></span> 23020</dt> 23021<dd><p>Color 2 in color carousel<br> 23022Default value: <code>{255,160,0}</code><br> 23023Saved in: <code>General.OptionsFileName</code> 23024</p> 23025</dd> 23026<dt><code>Mesh.Color.Three</code> 23027<span id="index-Mesh_002eColor_002eThree"></span> 23028</dt> 23029<dd><p>Color 3 in color carousel<br> 23030Default value: <code>{0,255,192}</code><br> 23031Saved in: <code>General.OptionsFileName</code> 23032</p> 23033</dd> 23034<dt><code>Mesh.Color.Four</code> 23035<span id="index-Mesh_002eColor_002eFour"></span> 23036</dt> 23037<dd><p>Color 4 in color carousel<br> 23038Default value: <code>{255,200,0}</code><br> 23039Saved in: <code>General.OptionsFileName</code> 23040</p> 23041</dd> 23042<dt><code>Mesh.Color.Five</code> 23043<span id="index-Mesh_002eColor_002eFive"></span> 23044</dt> 23045<dd><p>Color 5 in color carousel<br> 23046Default value: <code>{0,216,255}</code><br> 23047Saved in: <code>General.OptionsFileName</code> 23048</p> 23049</dd> 23050<dt><code>Mesh.Color.Six</code> 23051<span id="index-Mesh_002eColor_002eSix"></span> 23052</dt> 23053<dd><p>Color 6 in color carousel<br> 23054Default value: <code>{255,240,0}</code><br> 23055Saved in: <code>General.OptionsFileName</code> 23056</p> 23057</dd> 23058<dt><code>Mesh.Color.Seven</code> 23059<span id="index-Mesh_002eColor_002eSeven"></span> 23060</dt> 23061<dd><p>Color 7 in color carousel<br> 23062Default value: <code>{0,176,255}</code><br> 23063Saved in: <code>General.OptionsFileName</code> 23064</p> 23065</dd> 23066<dt><code>Mesh.Color.Eight</code> 23067<span id="index-Mesh_002eColor_002eEight"></span> 23068</dt> 23069<dd><p>Color 8 in color carousel<br> 23070Default value: <code>{228,255,0}</code><br> 23071Saved in: <code>General.OptionsFileName</code> 23072</p> 23073</dd> 23074<dt><code>Mesh.Color.Nine</code> 23075<span id="index-Mesh_002eColor_002eNine"></span> 23076</dt> 23077<dd><p>Color 9 in color carousel<br> 23078Default value: <code>{0,116,255}</code><br> 23079Saved in: <code>General.OptionsFileName</code> 23080</p> 23081</dd> 23082<dt><code>Mesh.Color.Ten</code> 23083<span id="index-Mesh_002eColor_002eTen"></span> 23084</dt> 23085<dd><p>Color 10 in color carousel<br> 23086Default value: <code>{188,255,0}</code><br> 23087Saved in: <code>General.OptionsFileName</code> 23088</p> 23089</dd> 23090<dt><code>Mesh.Color.Eleven</code> 23091<span id="index-Mesh_002eColor_002eEleven"></span> 23092</dt> 23093<dd><p>Color 11 in color carousel<br> 23094Default value: <code>{0,76,255}</code><br> 23095Saved in: <code>General.OptionsFileName</code> 23096</p> 23097</dd> 23098<dt><code>Mesh.Color.Twelve</code> 23099<span id="index-Mesh_002eColor_002eTwelve"></span> 23100</dt> 23101<dd><p>Color 12 in color carousel<br> 23102Default value: <code>{148,255,0}</code><br> 23103Saved in: <code>General.OptionsFileName</code> 23104</p> 23105</dd> 23106<dt><code>Mesh.Color.Thirteen</code> 23107<span id="index-Mesh_002eColor_002eThirteen"></span> 23108</dt> 23109<dd><p>Color 13 in color carousel<br> 23110Default value: <code>{24,0,255}</code><br> 23111Saved in: <code>General.OptionsFileName</code> 23112</p> 23113</dd> 23114<dt><code>Mesh.Color.Fourteen</code> 23115<span id="index-Mesh_002eColor_002eFourteen"></span> 23116</dt> 23117<dd><p>Color 14 in color carousel<br> 23118Default value: <code>{108,255,0}</code><br> 23119Saved in: <code>General.OptionsFileName</code> 23120</p> 23121</dd> 23122<dt><code>Mesh.Color.Fifteen</code> 23123<span id="index-Mesh_002eColor_002eFifteen"></span> 23124</dt> 23125<dd><p>Color 15 in color carousel<br> 23126Default value: <code>{84,0,255}</code><br> 23127Saved in: <code>General.OptionsFileName</code> 23128</p> 23129</dd> 23130<dt><code>Mesh.Color.Sixteen</code> 23131<span id="index-Mesh_002eColor_002eSixteen"></span> 23132</dt> 23133<dd><p>Color 16 in color carousel<br> 23134Default value: <code>{68,255,0}</code><br> 23135Saved in: <code>General.OptionsFileName</code> 23136</p> 23137</dd> 23138<dt><code>Mesh.Color.Seventeen</code> 23139<span id="index-Mesh_002eColor_002eSeventeen"></span> 23140</dt> 23141<dd><p>Color 17 in color carousel<br> 23142Default value: <code>{104,0,255}</code><br> 23143Saved in: <code>General.OptionsFileName</code> 23144</p> 23145</dd> 23146<dt><code>Mesh.Color.Eighteen</code> 23147<span id="index-Mesh_002eColor_002eEighteen"></span> 23148</dt> 23149<dd><p>Color 18 in color carousel<br> 23150Default value: <code>{0,255,52}</code><br> 23151Saved in: <code>General.OptionsFileName</code> 23152</p> 23153</dd> 23154<dt><code>Mesh.Color.Nineteen</code> 23155<span id="index-Mesh_002eColor_002eNineteen"></span> 23156</dt> 23157<dd><p>Color 19 in color carousel<br> 23158Default value: <code>{184,0,255}</code><br> 23159Saved in: <code>General.OptionsFileName</code> 23160</p> 23161</dd> 23162</dl> 23163 23164 23165<hr> 23166<span id="Solver-options"></span><div class="header"> 23167<p> 23168Next: <a href="#Post_002dprocessing-options" accesskey="n" rel="next">Post-processing options</a>, Previous: <a href="#Mesh-options" accesskey="p" rel="prev">Mesh options</a>, Up: <a href="#Gmsh-options" accesskey="u" rel="up">Gmsh options</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 23169</div> 23170<span id="Solver-options-1"></span>
23170<h3 class="section">7.5 Solver options</h3> 23171 23172 23173<dl compact="compact"> 23174<dt><code>Solver.Executable0</code> 23175<span id="index-Solver_002eExecutable0"></span> 23176</dt> 23177<dd><p>System command to launch solver 0<br> 23178Default value: <code>""</code><br> 23179Saved in: <code>General.SessionFileName</code> 23180</p> 23181</dd> 23182<dt><code>Solver.Executable1</code> 23183<span id="index-Solver_002eExecutable1"></span> 23184</dt> 23185<dd><p>System command to launch solver 1<br> 23186Default value: <code>""</code><br> 23187Saved in: <code>General.SessionFileName</code> 23188</p> 23189</dd> 23190<dt><code>Solver.Executable2</code> 23191<span id="index-Solver_002eExecutable2"></span> 23192</dt> 23193<dd><p>System command to launch solver 2<br> 23194Default value: <code>""</code><br> 23195Saved in: <code>General.SessionFileName</code> 23196</p> 23197</dd> 23198<dt><code>Solver.Executable3</code> 23199<span id="index-Solver_002eExecutable3"></span> 23200</dt> 23201<dd><p>System command to launch solver 3<br> 23202Default value: <code>""</code><br> 23203Saved in: <code>General.SessionFileName</code> 23204</p> 23205</dd> 23206<dt><code>Solver.Executable4</code> 23207<span id="index-Solver_002eExecutable4"></span> 23208</dt> 23209<dd><p>System command to launch solver 4<br> 23210Default value: <code>""</code><br> 23211Saved in: <code>General.SessionFileName</code> 23212</p> 23213</dd> 23214<dt><code>Solver.Executable5</code> 23215<span id="index-Solver_002eExecutable5"></span> 23216</dt> 23217<dd><p>System command to launch solver 5<br> 23218Default value: <code>""</code><br> 23219Saved in: <code>General.SessionFileName</code> 23220</p> 23221</dd> 23222<dt><code>Solver.Executable6</code> 23223<span id="index-Solver_002eExecutable6"></span> 23224</dt> 23225<dd><p>System command to launch solver 6<br> 23226Default value: <code>""</code><br> 23227Saved in: <code>General.SessionFileName</code> 23228</p> 23229</dd> 23230<dt><code>Solver.Executable7</code> 23231<span id="index-Solver_002eExecutable7"></span> 23232</dt> 23233<dd><p>System command to launch solver 7<br> 23234Default value: <code>""</code><br> 23235Saved in: <code>General.SessionFileName</code> 23236</p> 23237</dd> 23238<dt><code>Solver.Executable8</code> 23239<span id="index-Solver_002eExecutable8"></span> 23240</dt> 23241<dd><p>System command to launch solver 8<br> 23242Default value: <code>""</code><br> 23243Saved in: <code>General.SessionFileName</code> 23244</p> 23245</dd> 23246<dt><code>Solver.Executable9</code> 23247<span id="index-Solver_002eExecutable9"></span> 23248</dt> 23249<dd><p>System command to launch solver 9<br> 23250Default value: <code>""</code><br> 23251Saved in: <code>General.SessionFileName</code> 23252</p> 23253</dd> 23254<dt><code>Solver.Name0</code> 23255<span id="index-Solver_002eName0"></span> 23256</dt> 23257<dd><p>Name of solver 0<br> 23258Default value: <code>"GetDP"</code><br> 23259Saved in: <code>General.SessionFileName</code> 23260</p> 23261</dd> 23262<dt><code>Solver.Name1</code> 23263<span id="index-Solver_002eName1"></span> 23264</dt> 23265<dd><p>Name of solver 1<br> 23266Default value: <code>""</code><br> 23267Saved in: <code>General.SessionFileName</code> 23268</p> 23269</dd> 23270<dt><code>Solver.Name2</code> 23271<span id="index-Solver_002eName2"></span> 23272</dt> 23273<dd><p>Name of solver 2<br> 23274Default value: <code>""</code><br> 23275Saved in: <code>General.SessionFileName</code> 23276</p> 23277</dd> 23278<dt><code>Solver.Name3</code> 23279<span id="index-Solver_002eName3"></span> 23280</dt> 23281<dd><p>Name of solver 3<br> 23282Default value: <code>""</code><br> 23283Saved in: <code>General.SessionFileName</code> 23284</p> 23285</dd> 23286<dt><code>Solver.Name4</code> 23287<span id="index-Solver_002eName4"></span> 23288</dt> 23289<dd><p>Name of solver 4<br> 23290Default value: <code>""</code><br> 23291Saved in: <code>General.SessionFileName</code> 23292</p> 23293</dd> 23294<dt><code>Solver.Name5</code> 23295<span id="index-Solver_002eName5"></span> 23296</dt> 23297<dd><p>Name of solver 5<br> 23298Default value: <code>""</code><br> 23299Saved in: <code>General.SessionFileName</code> 23300</p> 23301</dd> 23302<dt><code>Solver.Name6</code> 23303<span id="index-Solver_002eName6"></span> 23304</dt> 23305<dd><p>Name of solver 6<br> 23306Default value: <code>""</code><br> 23307Saved in: <code>General.SessionFileName</code> 23308</p> 23309</dd> 23310<dt><code>Solver.Name7</code> 23311<span id="index-Solver_002eName7"></span> 23312</dt> 23313<dd><p>Name of solver 7<br> 23314Default value: <code>""</code><br> 23315Saved in: <code>General.SessionFileName</code> 23316</p> 23317</dd> 23318<dt><code>Solver.Name8</code> 23319<span id="index-Solver_002eName8"></span> 23320</dt> 23321<dd><p>Name of solver 8<br> 23322Default value: <code>""</code><br> 23323Saved in: <code>General.SessionFileName</code> 23324</p> 23325</dd> 23326<dt><code>Solver.Name9</code> 23327<span id="index-Solver_002eName9"></span> 23328</dt> 23329<dd><p>Name of solver 9<br> 23330Default value: <code>""</code><br> 23331Saved in: <code>General.SessionFileName</code> 23332</p> 23333</dd> 23334<dt><code>Solver.Extension0</code> 23335<span id="index-Solver_002eExtension0"></span> 23336</dt> 23337<dd><p>File extension for solver 0<br> 23338Default value: <code>".pro"</code><br> 23339Saved in: <code>General.SessionFileName</code> 23340</p> 23341</dd> 23342<dt><code>Solver.Extension1</code> 23343<span id="index-Solver_002eExtension1"></span> 23344</dt> 23345<dd><p>File extension for solver 1<br> 23346Default value: <code>""</code><br> 23347Saved in: <code>General.SessionFileName</code> 23348</p> 23349</dd> 23350<dt><code>Solver.Extension2</code> 23351<span id="index-Solver_002eExtension2"></span> 23352</dt> 23353<dd><p>File extension for solver 2<br> 23354Default value: <code>""</code><br> 23355Saved in: <code>General.SessionFileName</code> 23356</p> 23357</dd> 23358<dt><code>Solver.Extension3</code> 23359<span id="index-Solver_002eExtension3"></span> 23360</dt> 23361<dd><p>File extension for solver 3<br> 23362Default value: <code>""</code><br> 23363Saved in: <code>General.SessionFileName</code> 23364</p> 23365</dd> 23366<dt><code>Solver.Extension4</code> 23367<span id="index-Solver_002eExtension4"></span> 23368</dt> 23369<dd><p>File extension for solver 4<br> 23370Default value: <code>""</code><br> 23371Saved in: <code>General.SessionFileName</code> 23372</p> 23373</dd> 23374<dt><code>Solver.Extension5</code> 23375<span id="index-Solver_002eExtension5"></span> 23376</dt> 23377<dd><p>File extension for solver 5<br> 23378Default value: <code>""</code><br> 23379Saved in: <code>General.SessionFileName</code> 23380</p> 23381</dd> 23382<dt><code>Solver.Extension6</code> 23383<span id="index-Solver_002eExtension6"></span> 23384</dt> 23385<dd><p>File extension for solver 6<br> 23386Default value: <code>""</code><br> 23387Saved in: <code>General.SessionFileName</code> 23388</p> 23389</dd> 23390<dt><code>Solver.Extension7</code> 23391<span id="index-Solver_002eExtension7"></span> 23392</dt> 23393<dd><p>File extension for solver 7<br> 23394Default value: <code>""</code><br> 23395Saved in: <code>General.SessionFileName</code> 23396</p> 23397</dd> 23398<dt><code>Solver.Extension8</code> 23399<span id="index-Solver_002eExtension8"></span> 23400</dt> 23401<dd><p>File extension for solver 8<br> 23402Default value: <code>""</code><br> 23403Saved in: <code>General.SessionFileName</code> 23404</p> 23405</dd> 23406<dt><code>Solver.Extension9</code> 23407<span id="index-Solver_002eExtension9"></span> 23408</dt> 23409<dd><p>File extension for solver 9<br> 23410Default value: <code>""</code><br> 23411Saved in: <code>General.SessionFileName</code> 23412</p> 23413</dd> 23414<dt><code>Solver.OctaveInterpreter</code> 23415<span id="index-Solver_002eOctaveInterpreter"></span> 23416</dt> 23417<dd><p>Name of the Octave interpreter (used to run .m files)<br> 23418Default value: <code>"octave"</code><br> 23419Saved in: <code>General.SessionFileName</code> 23420</p> 23421</dd> 23422<dt><code>Solver.PythonInterpreter</code> 23423<span id="index-Solver_002ePythonInterpreter"></span> 23424</dt> 23425<dd><p>Name of the Python interpreter (used to run .py files if they are not executable)<br> 23426Default value: <code>"python"</code><br> 23427Saved in: <code>General.SessionFileName</code> 23428</p> 23429</dd> 23430<dt><code>Solver.RemoteLogin0</code> 23431<span id="index-Solver_002eRemoteLogin0"></span> 23432</dt> 23433<dd><p>Command to login to a remote host to launch solver 0<br> 23434Default value: <code>""</code><br> 23435Saved in: <code>General.SessionFileName</code> 23436</p> 23437</dd> 23438<dt><code>Solver.RemoteLogin1</code> 23439<span id="index-Solver_002eRemoteLogin1"></span> 23440</dt> 23441<dd><p>Command to login to a remote host to launch solver 1<br> 23442Default value: <code>""</code><br> 23443Saved in: <code>General.SessionFileName</code> 23444</p> 23445</dd> 23446<dt><code>Solver.RemoteLogin2</code> 23447<span id="index-Solver_002eRemoteLogin2"></span> 23448</dt> 23449<dd><p>Command to login to a remote host to launch solver 2<br> 23450Default value: <code>""</code><br> 23451Saved in: <code>General.SessionFileName</code> 23452</p> 23453</dd> 23454<dt><code>Solver.RemoteLogin3</code> 23455<span id="index-Solver_002eRemoteLogin3"></span> 23456</dt> 23457<dd><p>Command to login to a remote host to launch solver 3<br> 23458Default value: <code>""</code><br> 23459Saved in: <code>General.SessionFileName</code> 23460</p> 23461</dd> 23462<dt><code>Solver.RemoteLogin4</code> 23463<span id="index-Solver_002eRemoteLogin4"></span> 23464</dt> 23465<dd><p>Command to login to a remote host to launch solver 4<br> 23466Default value: <code>""</code><br> 23467Saved in: <code>General.SessionFileName</code> 23468</p> 23469</dd> 23470<dt><code>Solver.RemoteLogin5</code> 23471<span id="index-Solver_002eRemoteLogin5"></span> 23472</dt> 23473<dd><p>Command to login to a remote host to launch solver 5<br> 23474Default value: <code>""</code><br> 23475Saved in: <code>General.SessionFileName</code> 23476</p> 23477</dd> 23478<dt><code>Solver.RemoteLogin6</code> 23479<span id="index-Solver_002eRemoteLogin6"></span> 23480</dt> 23481<dd><p>Command to login to a remote host to launch solver 6<br> 23482Default value: <code>""</code><br> 23483Saved in: <code>General.SessionFileName</code> 23484</p> 23485</dd> 23486<dt><code>Solver.RemoteLogin7</code> 23487<span id="index-Solver_002eRemoteLogin7"></span> 23488</dt> 23489<dd><p>Command to login to a remote host to launch solver 7<br> 23490Default value: <code>""</code><br> 23491Saved in: <code>General.SessionFileName</code> 23492</p> 23493</dd> 23494<dt><code>Solver.RemoteLogin8</code> 23495<span id="index-Solver_002eRemoteLogin8"></span> 23496</dt> 23497<dd><p>Command to login to a remote host to launch solver 8<br> 23498Default value: <code>""</code><br> 23499Saved in: <code>General.SessionFileName</code> 23500</p> 23501</dd> 23502<dt><code>Solver.RemoteLogin9</code> 23503<span id="index-Solver_002eRemoteLogin9"></span> 23504</dt> 23505<dd><p>Command to login to a remote host to launch solver 9<br> 23506Default value: <code>""</code><br> 23507Saved in: <code>General.SessionFileName</code> 23508</p> 23509</dd> 23510<dt><code>
23510Solver.SocketName</code> 23511<span id="index-Solver_002eSocketName"></span> 23512</dt> 23513<dd><p>Base name of socket (UNIX socket if the name does not contain a colon, TCP/IP otherwise, in the form ’host:baseport’; the actual name/port is constructed by appending the unique client id. If baseport is 0 or is not provided, the port is chosen automatically (recommended))<br> 23514Default value: <code>".gmshsock"</code><br> 23515Saved in: <code>General.OptionsFileName</code> 23516</p> 23517</dd> 23518<dt><code>Solver.AlwaysListen</code> 23519<span id="index-Solver_002eAlwaysListen"></span> 23520</dt> 23521<dd><p>Always listen to incoming connection requests?<br> 23522Default value: <code>0</code><br> 23523Saved in: <code>General.OptionsFileName</code> 23524</p> 23525</dd> 23526<dt><code>Solver.AutoArchiveOutputFiles</code> 23527<span id="index-Solver_002eAutoArchiveOutputFiles"></span> 23528</dt> 23529<dd><p>Automatically archive output files after each computation<br> 23530Default value: <code>0</code><br> 23531Saved in: <code>General.OptionsFileName</code> 23532</p> 23533</dd> 23534<dt><code>Solver.AutoCheck</code> 23535<span id="index-Solver_002eAutoCheck"></span> 23536</dt> 23537<dd><p>Automatically check model every time a parameter is changed<br> 23538Default value: <code>1</code><br> 23539Saved in: <code>General.OptionsFileName</code> 23540</p> 23541</dd> 23542<dt><code>Solver.AutoLoadDatabase</code> 23543<span id="index-Solver_002eAutoLoadDatabase"></span> 23544</dt> 23545<dd><p>Automatically load the ONELAB database when launching a solver<br> 23546Default value: <code>0</code><br> 23547Saved in: <code>General.OptionsFileName</code> 23548</p> 23549</dd> 23550<dt><code>Solver.AutoSaveDatabase</code> 23551<span id="index-Solver_002eAutoSaveDatabase"></span> 23552</dt> 23553<dd><p>Automatically save the ONELAB database after each computation<br> 23554Default value: <code>1</code><br> 23555Saved in: <code>General.OptionsFileName</code> 23556</p> 23557</dd> 23558<dt><code>Solver.AutoMesh</code> 23559<span id="index-Solver_002eAutoMesh"></span> 23560</dt> 23561<dd><p>Automatically mesh (0: never; 1: if geometry changed, but use existing mesh on disk if available; 2: if geometry changed; -1: the geometry script creates the mesh)<br> 23562Default value: <code>2</code><br> 23563Saved in: <code>General.OptionsFileName</code> 23564</p> 23565</dd> 23566<dt><code>Solver.AutoMergeFile</code> 23567<span id="index-Solver_002eAutoMergeFile"></span> 23568</dt> 23569<dd><p>Automatically merge result files<br> 23570Default value: <code>1</code><br> 23571Saved in: <code>General.OptionsFileName</code> 23572</p> 23573</dd> 23574<dt><code>Solver.AutoShowViews</code> 23575<span id="index-Solver_002eAutoShowViews"></span> 23576</dt> 23577<dd><p>Automcatically show newly merged results (0: none; 1: all; 2: last one)<br> 23578Default value: <code>2</code><br> 23579Saved in: <code>General.OptionsFileName</code> 23580</p> 23581</dd> 23582<dt><code>Solver.AutoShowLastStep</code> 23583<span id="index-Solver_002eAutoShowLastStep"></span> 23584</dt> 23585<dd><p>Automatically show the last step in newly merged results, if there are more than 2 steps<br> 23586Default value: <code>1</code><br> 23587Saved in: <code>General.OptionsFileName</code> 23588</p> 23589</dd> 23590<dt><code>Solver.Plugins</code> 23591<span id="index-Solver_002ePlugins"></span> 23592</dt> 23593<dd><p>Enable default solver plugins?<br> 23594Default value: <code>0</code><br> 23595Saved in: <code>General.OptionsFileName</code> 23596</p> 23597</dd> 23598<dt><code>
23598Solver.ShowInvisibleParameters</code> 23599<span id="index-Solver_002eShowInvisibleParameters"></span> 23600</dt> 23601<dd><p>Show all parameters, even those marked invisible<br> 23602Default value: <code>0</code><br> 23603Saved in: <code>General.OptionsFileName</code> 23604</p> 23605</dd> 23606<dt><code>Solver.Timeout</code> 23607<span id="index-Solver_002eTimeout"></span> 23608</dt> 23609<dd><p>Time (in seconds) before closing the socket if no connection is happening<br> 23610Default value: <code>5</code><br> 23611Saved in: <code>General.OptionsFileName</code> 23612</p> 23613</dd> 23614</dl> 23615 23616 23617<hr> 23618<span id="Post_002dprocessing-options"></span><div class="header"> 23619<p> 23620Next: <a href="#Post_002dprocessing-view-options" accesskey="n" rel="next">Post-processing view options</a>, Previous: <a href="#Solver-options" accesskey="p" rel="prev">Solver options</a>, Up: <a href="#Gmsh-options" accesskey="u" rel="up">Gmsh options</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 23621</div> 23622<span id="Post_002dprocessing-options-1"></span><h3 class="section">7.6 Post-processing options</h3> 23623 23624<span id="index-Post_002dprocessing_002c-options"></span> 23625<span id="index-Options_002c-post_002dprocessing"></span> 23626 23627 23628<dl compact="compact"> 23629<dt><code>PostProcessing.DoubleClickedGraphPointCommand</code> 23630<span id="index-PostProcessing_002eDoubleClickedGraphPointCommand"></span> 23631</dt> 23632<dd><p>Command parsed when double-clicking on a graph data point (e.g. Merge Sprintf(’file_%g.pos’, PostProcessing.GraphPointX);)<br> 23633Default value: <code>""</code><br> 23634Saved in: <code>General.OptionsFileName</code> 23635</p> 23636</dd> 23637<dt><code>PostProcessing.GraphPointCommand</code> 23638<span id="index-PostProcessing_002eGraphPointCommand"></span> 23639</dt> 23640<dd><p>Synonym for ‘DoubleClickedGraphPointCommand’<br> 23641Default value: <code>""</code><br> 23642Saved in: <code>General.OptionsFileName</code> 23643</p> 23644</dd> 23645<dt><code>PostProcessing.AnimationDelay</code> 23646<span id="index-PostProcessing_002eAnimationDelay"></span> 23647</dt> 23648<dd><p>Delay (in seconds) between frames in automatic animation mode<br> 23649Default value: <code>0.1</code><br> 23650Saved in: <code>General.OptionsFileName</code> 23651</p> 23652</dd> 23653<dt><code>PostProcessing.AnimationCycle</code> 23654<span id="index-PostProcessing_002eAnimationCycle"></span> 23655</dt> 23656<dd><p>Cycle through time steps (0) or views (1) for animations<br> 23657Default value: <code>0</code><br> 23658Saved in: <code>General.OptionsFileName</code> 23659</p> 23660</dd> 23661<dt><code>PostProcessing.AnimationStep</code> 23662<span id="index-PostProcessing_002eAnimationStep"></span> 23663</dt> 23664<dd><p>Step increment for animations<br> 23665Default value: <code>1</code><br> 23666Saved in: <code>General.OptionsFileName</code> 23667</p> 23668</dd> 23669<dt><code>PostProcessing.Binary</code> 23670<span id="index-PostProcessing_002eBinary"></span> 23671</dt> 23672<dd><p>Write post-processing files in binary format (if possible)<br> 23673Default value: <code>0</code><br> 23674Saved in: <code>General.OptionsFileName</code> 23675</p> 23676</dd> 23677<dt><code>PostProcessing.CombineRemoveOriginal</code> 23678<span id="index-PostProcessing_002eCombineRemoveOriginal"></span> 23679</dt> 23680<dd><p>Remove original views after a Combine operation<br> 23681Default value: <code>1</code><br> 23682Saved in: <code>General.OptionsFileName</code> 23683</p> 23684</dd> 23685<dt><code>PostProcessing.CombineCopyOptions</code> 23686<span id="index-PostProcessing_002eCombineCopyOptions"></span> 23687</dt> 23688<dd><p>Copy options during Combine operation<br> 23689Default value: <code>1</code><br> 23690Saved in: <code>General.OptionsFileName</code> 23691</p> 23692</dd> 23693<dt><code>PostProcessing.DoubleClickedGraphPointX</code> 23694<span id="index-PostProcessing_002eDoubleClickedGraphPointX"></span> 23695</dt> 23696<dd><p>Abscissa of last double-clicked graph point<br> 23697Default value: <code>0</code><br> 23698Saved in: <code>-</code> 23699</p> 23700</dd> 23701<dt><code>PostProcessing.DoubleClickedGraphPointY</code> 23702<span id="index-PostProcessing_002eDoubleClickedGraphPointY"></span> 23703</dt> 23704<dd><p>Ordinate of last double-clicked graph point<br> 23705Default value: <code>0</code><br> 23706Saved in: <code>-</code> 23707</p> 23708</dd> 23709<dt><code>PostProcessing.DoubleClickedView</code> 23710<span id="index-PostProcessing_002eDoubleClickedView"></span> 23711</dt> 23712<dd><p>Index of last double-clicked view<br> 23713Default value: <code>0</code><br> 23714Saved in: <code>-</code> 23715</p> 23716</dd> 23717<dt><code>PostProcessing.ForceElementData</code> 23718<span id="index-PostProcessing_002eForceElementData"></span> 23719</dt> 23720<dd><p>Try to force saving datasets as ElementData<br> 23721Default value: <code>0</code><br> 23722Saved in: <code>General.OptionsFileName</code> 23723</p> 23724</dd> 23725<dt><code>PostProcessing.ForceNodeData</code>
23726<span id="index-PostProcessing_002eForceNodeData"></span> 23727</dt> 23728<dd><p>Try to force saving datasets as NodeData<br> 23729Default value: <code>0</code><br> 23730Saved in: <code>General.OptionsFileName</code> 23731</p> 23732</dd> 23733<dt><code>PostProcessing.Format</code> 23734<span id="index-PostProcessing_002eFormat"></span> 23735</dt> 23736<dd><p>Default file format for post-processing views (0: ASCII view, 1: binary view, 2: parsed view, 3: STL triangulation, 4: raw text, 5: Gmsh mesh, 6: MED file, 10: automatic)<br> 23737Default value: <code>10</code><br> 23738Saved in: <code>General.OptionsFileName</code> 23739</p> 23740</dd> 23741<dt><code>PostProcessing.GraphPointX</code> 23742<span id="index-PostProcessing_002eGraphPointX"></span> 23743</dt> 23744<dd><p>Synonym for ‘DoubleClickedGraphPointX’<br> 23745Default value: <code>0</code><br> 23746Saved in: <code>-</code> 23747</p> 23748</dd> 23749<dt><code>PostProcessing.GraphPointY</code> 23750<span id="index-PostProcessing_002eGraphPointY"></span> 23751</dt> 23752<dd><p>Synonym for ‘DoubleClickedGraphPointY’<br> 23753Default value: <code>0</code><br> 23754Saved in: <code>-</code> 23755</p> 23756</dd> 23757<dt><code>PostProcessing.HorizontalScales</code> 23758<span id="index-PostProcessing_002eHorizontalScales"></span> 23759</dt> 23760<dd><p>Display value scales horizontally<br> 23761Default value: <code>1</code><br> 23762Saved in: <code>General.OptionsFileName</code> 23763</p> 23764</dd> 23765<dt><code>PostProcessing.Link</code> 23766<span id="index-PostProcessing_002eLink"></span> 23767</dt> 23768<dd><p>Post-processing view links (0: apply next option changes to selected views, 1: force same options for all selected views)<br> 23769Default value: <code>0</code><br> 23770Saved in: <code>General.OptionsFileName</code> 23771</p> 23772</dd> 23773<dt><code>PostProcessing.NbViews</code> 23774<span id="index-PostProcessing_002eNbViews"></span> 23775</dt> 23776<dd><p>Current number of views merged (read-only)<br> 23777Default value: <code>0</code><br> 23778Saved in: <code>-</code> 23779</p> 23780</dd> 23781<dt><code>PostProcessing.Plugins</code> 23782<span id="index-PostProcessing_002ePlugins"></span> 23783</dt> 23784<dd><p>Enable default post-processing plugins?<br> 23785Default value: <code>1</code><br> 23786Saved in: <code>General.OptionsFileName</code> 23787</p> 23788</dd> 23789<dt><code>PostProcessing.SaveInterpolationMatrices</code> 23790<span id="index-PostProcessing_002eSaveInterpolationMatrices"></span> 23791</dt> 23792<dd><p>Save the interpolation matrices when exporting model-based data<br> 23793Default value: <code>1</code><br> 23794Saved in: <code>General.OptionsFileName</code> 23795</p> 23796</dd> 23797<dt><code>PostProcessing.SaveMesh</code> 23798<span id="index-PostProcessing_002eSaveMesh"></span> 23799</dt> 23800<dd><p>Save the mesh when exporting model-based data<br> 23801Default value: <code>1</code><br> 23802Saved in: <code>General.OptionsFileName</code> 23803</p> 23804</dd> 23805<dt><code>PostProcessing.Smoothing</code> 23806<span id="index-PostProcessing_002eSmoothing"></span> 23807</dt> 23808<dd><p>Apply (non-reversible) smoothing to post-processing view when merged<br> 23809Default value: <code>0</code><br> 23810Saved in: <code>General.OptionsFileName</code> 23811</p> 23812</dd> 23813</dl> 23814 23815 23816<hr> 23817<span id="Post_002dprocessing-view-options"></span><div class="header"> 23818<p> 23819Previous: <a href="#Post_002dprocessing-options" accesskey="p" rel="prev">Post-processing options</a>, Up: <a href="#Gmsh-options" accesskey="u" rel="up">Gmsh options</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 23820</div> 23821<span id="Post_002dprocessing-view-options-1"></span><h3 class="section">7.7 Post-processing view options</h3> 23822 23823<p>Options related to post-processing views take two forms. 23824</p> 23825<ol> 23826<li> options that should apply to all views can be set through 23827‘<code>View.<var>string</var></code>’, <em>before any view is loaded</em>; 23828</li><li> options that should apply only to the <var>n</var>-th 23829view take the form ‘<code>View[<var>n</var>].<var>string</var></code>’ (<var>n</var> = 0, 1, 2, 23830…), <em>after the <var>n</var>-th view is loaded</em>. 23831</li></ol> 23832 23833 23834<dl compact="compact"> 23835<dt><code>View.Attributes</code> 23836<span id="index-View_002eAttributes"></span> 23837</dt> 23838<dd><p>Optional string attached to the view. If the string contains ’
23838AlwaysVisible’, the view will not be hidden when new ones are merged.<br> 23839Default value: <code>""</code><br> 23840Saved in: <code>General.OptionsFileName</code> 23841</p> 23842</dd> 23843<dt><code>View.AxesFormatX</code> 23844<span id="index-View_002eAxesFormatX"></span> 23845</dt> 23846<dd><p>Number format for X-axis (in standard C form)<br> 23847Default value: <code>"%.3g"</code><br> 23848Saved in: <code>General.OptionsFileName</code> 23849</p> 23850</dd> 23851<dt><code>View.AxesFormatY</code> 23852<span id="index-View_002eAxesFormatY"></span> 23853</dt> 23854<dd><p>Number format for Y-axis (in standard C form)<br> 23855Default value: <code>"%.3g"</code><br> 23856Saved in: <code>General.OptionsFileName</code> 23857</p> 23858</dd> 23859<dt><code>View.AxesFormatZ</code> 23860<span id="index-View_002eAxesFormatZ"></span> 23861</dt> 23862<dd><p>Number format for Z-axis (in standard C form)<br> 23863Default value: <code>"%.3g"</code><br> 23864Saved in: <code>General.OptionsFileName</code> 23865</p> 23866</dd> 23867<dt><code>View.AxesLabelX</code> 23868<span id="index-View_002eAxesLabelX"></span> 23869</dt> 23870<dd><p>X-axis label<br> 23871Default value: <code>""</code><br> 23872Saved in: <code>General.OptionsFileName</code> 23873</p> 23874</dd> 23875<dt><code>View.AxesLabelY</code> 23876<span id="index-View_002eAxesLabelY"></span> 23877</dt> 23878<dd><p>Y-axis label<br> 23879Default value: <code>""</code><br> 23880Saved in: <code>General.OptionsFileName</code> 23881</p> 23882</dd> 23883<dt><code>View.AxesLabelZ</code> 23884<span id="index-View_002eAxesLabelZ"></span> 23885</dt> 23886<dd><p>Z-axis label<br> 23887Default value: <code>""</code><br> 23888Saved in: <code>General.OptionsFileName</code> 23889</p> 23890</dd> 23891<dt><code>View.DoubleClickedCommand</code> 23892<span id="index-View_002eDoubleClickedCommand"></span> 23893</dt> 23894<dd><p>Command parsed when double-clicking on the view<br> 23895Default value: <code>""</code><br> 23896Saved in: <code>General.OptionsFileName</code> 23897</p> 23898</dd> 23899<dt><code>View.FileName</code> 23900<span id="index-View_002eFileName"></span> 23901</dt> 23902<dd><p>Default post-processing view file name<br> 23903Default value: <code>""</code><br> 23904Saved in: <code>-</code> 23905</p> 23906</dd> 23907<dt><code>View.GeneralizedRaiseX</code> 23908<span id="index-View_002eGeneralizedRaiseX"></span> 23909</dt> 23910<dd><p>Generalized elevation of the view along X-axis (in model coordinates, using formula possibly containing x, y, z, s[tep], t[ime], v0, ... v8)<br> 23911Default value: <code>"v0"</code><br> 23912Saved in: <code>General.OptionsFileName</code> 23913</p> 23914</dd> 23915<dt><code>View.GeneralizedRaiseY</code> 23916<span id="index-View_002eGeneralizedRaiseY"></span> 23917</dt> 23918<dd><p>Generalized elevation of the view along Y-axis (in model coordinates, using formula possibly containing x, y, z, s[tep], t[ime], v0, ... v8)<br> 23919Default value: <code>"v1"</code><br> 23920Saved in: <code>General.OptionsFileName</code> 23921</p> 23922</dd> 23923<dt><code>View.GeneralizedRaiseZ</code> 23924<span id="index-View_002eGeneralizedRaiseZ"></span> 23925</dt> 23926<dd><p>Generalized elevation of the view along Z-axis (in model coordinates, using formula possibly containing x, y, z, s[tep], t[ime], v0, ... v8)<br> 23927Default value: <code>"v2"</code><br> 23928Saved in: <code>General.OptionsFileName</code> 23929</p> 23930</dd> 23931<dt><code>View.Group</code> 23932<span id="index-View_002eGroup"></span> 23933</dt> 23934<dd><p>Group to which this view belongs<br> 23935Default value: <code>""</code><br> 23936Saved in: <code>General.OptionsFileName</code> 23937</p> 23938</dd> 23939<dt><code>View.Name</code> 23940<span id="index-View_002eName"></span> 23941</dt> 23942<dd><p>Default post-processing view name<br> 23943Default value: <code>""</code><br> 23944Saved in: <code>-</code> 23945</p> 23946</dd> 23947<dt><code>View.NumberFormat</code> 23948<span id="index-View_002eNumberFormat"></span> 23949</dt> 23950<dd><p>Number format (in standard C form)<br> 23951Default value: <code>"%.3g"</code><br> 23952Saved in: <code>General.OptionsFileName</code> 23953</p> 23954</dd> 23955<dt><code>View.Stipple0</code> 23956<span id="index-View_002eStipple0"></span> 23957</dt> 23958<dd><p>First stippling pattern<br> 23959Default value: <code>"1*0x1F1F"</code><br> 23960Saved in: <code>General.OptionsFileName</code> 23961</p> 23962</dd> 23963<dt><code>View.Stipple1</code> 23964<span id="index-View_002eStipple1"></span> 23965</dt> 23966<dd><p>Second stippling pattern<br> 23967Default value: <code>"1*0x3333"</code><br> 23968Saved in: <code>General.OptionsFileName</code> 23969</p> 23970</dd> 23971<dt><code>View.Stipple2</code> 23972<span id="index-View_002eStipple2"></span> 23973</dt> 23974<dd><p>Third stippling pattern<br> 23975Default value: <code>"1*0x087F"</code><br> 23976Saved in: <code>General.OptionsFileName</code> 23977</p> 23978</dd> 23979<dt><code>View.Stipple3</code> 23980<span id="index-View_002eStipple3"></span> 23981</dt> 23982<dd><p>Fourth stippling pattern<br> 23983Default value: <code>"1*0xCCCF"</code><br> 23984Saved in: <code>General.OptionsFileName</code> 23985</p> 23986</dd> 23987<dt><code>View.Stipple4</code> 23988<span id="index-View_002eStipple4"></span> 23989</dt> 23990<dd><p>Fifth stippling pattern<br> 23991Default value: <code>"2*0x1111"</code><br> 23992Saved in: <code>General.OptionsFileName</code> 23993</p> 23994</dd> 23995<dt><code>View.Stipple5</code> 23996<span id="index-View_002eStipple5"></span> 23997</dt> 23998<dd><p>Sixth stippling pattern<br> 23999Default value: <code>"2*0x0F0F"</code><br> 24000Saved in: <code>General.OptionsFileName</code> 24001</p> 24002</dd> 24003<dt><code>View.Stipple6</code> 24004<span id="index-View_002eStipple6"></span> 24005</dt> 24006<dd><p>Seventh stippling pattern<br> 24007Default value: <code>"1*0xCFFF"</code><br> 24008Saved in: <code>General.OptionsFileName</code> 24009</p> 24010</dd> 24011<dt><code>View.Stipple7</code> 24012<span id="index-View_002eStipple7"></span> 24013</dt> 24014<dd><p>Eighth stippling pattern<br> 24015Default value: <code>"2*0x0202"</code><br> 24016Saved in: <code>General.OptionsFileName</code> 24017</p> 24018</dd> 24019<dt><code>View.Stipple8</code> 24020<span id="index-View_002eStipple8"></span> 24021</dt> 24022<dd><p>Ninth stippling pattern<br> 24023Default value: <code>"2*0x087F"</code><br> 24024Saved in: <code>General.OptionsFileName</code> 24025</p> 24026</dd> 24027<dt><code>View.Stipple9</code> 24028<span id="index-View_002eStipple9"></span> 24029</dt> 24030<dd><p>Tenth stippling pattern<br> 24031Default value: <code>"1*0xFFFF"</code><br> 24032Saved in: <code>General.OptionsFileName</code> 24033</p> 24034</dd> 24035<dt><code>View.AbscissaRangeType</code> 24036<span id="index-View_002eAbscissaRangeType"></span> 24037</dt> 24038<dd><p>Ascissa scale range type (1: default, 2: custom)<br> 24039Default value: <code>1</code><br> 24040Saved in: <code>General.OptionsFileName</code> 24041</p> 24042</dd> 24043<dt><code>View.AdaptVisualizationGrid</code> 24044<span id="index-View_002eAdaptVisualizationGrid"></span> 24045</dt> 24046<dd><p>Use adaptive visualization grid (for high-order elements)?<br> 24047Default value: <code>0</code><br> 24048Saved in: <code>General.OptionsFileName</code> 24049</p> 24050</dd> 24051<dt><code>View.AngleSmoothNormals</code> 24052<span id="index-View_002eAngleSmoothNormals"></span> 24053</dt> 24054<dd><p>Threshold angle below which normals are not smoothed<br> 24055Default value: <code>30</code><br> 24056Saved in: <code>General.OptionsFileName</code> 24057</p> 24058</dd> 24059<dt><code>View.ArrowSizeMax</code> 24060<span id="index-View_002eArrowSizeMax"></span> 24061</dt> 24062<dd><p>Maximum display size of arrows (in pixels)<br> 24063Default value: <code>60</code><br> 24064Saved in: <code>General.OptionsFileName</code> 24065</p> 24066</dd> 24067<dt><code>View.ArrowSizeMin</code> 24068<span id="index-View_002eArrowSizeMin"></span> 24069</dt> 24070<dd><p>Minimum display size of arrows (in pixels)<br> 24071Default value: <code>0</code><br> 24072Saved in: <code>General.OptionsFileName</code> 24073</p> 24074</dd> 24075<dt><code>View.AutoPosition</code> 24076<span id="index-View_002eAutoPosition"></span> 24077</dt> 24078<dd><p>Position the scale or 2D plot automatically (0: manual, 1: automatic, 2: top left, 3: top right, 4: bottom left, 5: bottom right, 6: top, 7: bottom, 8: left, 9: right, 10: full, 11: top third, 12: in model coordinates)<br> 24079Default value: <code>1</code><br> 24080Saved in: <code>General.OptionsFileName</code> 24081</p> 24082</dd> 24083<dt><code>View.Axes</code> 24084<span id="index-View_002eAxes"></span> 24085</dt> 24086<dd><p>Axes (0: none, 1: simple axes, 2: box, 3: full grid, 4: open grid, 5: ruler)<br> 24087Default value: <code>0</code><br> 24088Saved in: <code>General.OptionsFileName</code> 24089</p> 24090</dd> 24091<dt><code>View.AxesMikado</code> 24092<span id="index-View_002eAxesMikado"></span> 24093</dt> 24094<dd><p>Mikado axes style<br> 24095Default value: <code>0</code><br> 24096Saved in: <code>General.OptionsFileName</code> 24097</p> 24098</dd> 24099<dt><code>View.AxesAutoPosition</code> 24100<span id="index-View_002eAxesAutoPosition"></span> 24101</dt> 24102<dd><p>Position the axes automatically<br> 24103Default value: <code>1</code><br> 24104Saved in: <code>General.OptionsFileName</code> 24105</p> 24106</dd> 24107<dt><code>View.AxesMaxX</code> 24108<span id="index-View_002eAxesMaxX"></span> 24109</dt> 24110<dd><p>Maximum X-axis coordinate<br> 24111Default value: <code>1</code><br> 24112Saved in: <code>General.OptionsFileName</code> 24113</p> 24114</dd> 24115<dt><code>View.AxesMaxY</code> 24116<span id="index-View_002eAxesMaxY"></span> 24117</dt> 24118<dd><p>Maximum Y-axis coordinate<br> 24119Default value: <code>1</code><br> 24120Saved in: <code>General.OptionsFileName</code> 24121</p> 24122</dd> 24123<dt><code>View.AxesMaxZ</code> 24124<span id="index-View_002eAxesMaxZ"></span> 24125</dt> 24126<dd><p>Maximum Z-axis coordinate<br> 24127Default value: <code>1</code><br> 24128Saved in: <code>General.OptionsFileName</code> 24129</p> 24130</dd> 24131<dt><code>View.AxesMinX</code> 24132<span id="index-View_002eAxesMinX"></span> 24133</dt> 24134<dd><p>Minimum X-axis coordinate<br> 24135Default value: <code>0</code><br> 24136Saved in: <code>General.OptionsFileName</code> 24137</p> 24138</dd> 24139<dt><code>View.AxesMinY</code> 24140<span id="index-View_002eAxesMinY"></span> 24141</dt> 24142<dd><p>Minimum Y-axis coordinate<br> 24143Default value: <code>0</code><br> 24144Saved in: <code>General.OptionsFileName</code> 24145</p> 24146</dd> 24147<dt><code>View.AxesMinZ</code> 24148<span id="index-View_002eAxesMinZ"></span> 24149</dt> 24150<dd><p>Minimum Z-axis coordinate<br> 24151Default value: <code>0</code><br> 24152Saved in: <code>General.OptionsFileName</code> 24153</p> 24154</dd> 24155<dt><code>View.AxesTicsX</code> 24156<span id="index-View_002eAxesTicsX"></span> 24157</dt> 24158<dd><p>Number of tics on the X-axis<br> 24159Default value: <code>5</code><br> 24160Saved in: <code>General.OptionsFileName</code> 24161</p> 24162</dd> 24163<dt><code>View.AxesTicsY</code> 24164<span id="index-View_002eAxesTicsY"></span> 24165</dt> 24166<dd><p>Number of tics on the Y-axis<br> 24167Default value: <code>5</code><br> 24168Saved in: <code>General.OptionsFileName</code> 24169</p> 24170</dd> 24171<dt><code>View.AxesTicsZ</code> 24172<span id="index-View_002eAxesTicsZ"></span> 24173</dt> 24174<dd><p>Number of tics on the Z-axis<br> 24175Default value: <code>5</code><br> 24176Saved in: <code>General.OptionsFileName</code> 24177</p> 24178</dd> 24179<dt><code>View.Boundary</code> 24180<span id="index-View_002eBoundary"></span> 24181</dt> 24182<dd><p>Draw the ‘N minus b’-dimensional boundary of the element (N: element dimension, b: option value)<br> 24183Default value: <code>0</code><br> 24184Saved in: <code>General.OptionsFileName</code> 24185</p> 24186</dd> 24187<dt><code>View.CenterGlyphs</code> 24188<span id="index-View_002eCenterGlyphs"></span> 24189</dt> 24190<dd><p>Center glyphs (arrows, numbers, etc.)? (0: left, 1: centered, 2: right)<br> 24191Default value: <code>0</code><br> 24192Saved in: <code>General.OptionsFileName</code> 24193</p> 24194</dd> 24195<dt><code>View.Clip</code> 24196<span id="index-View_002eClip"></span> 24197</dt> 24198<dd><p>Enable clipping planes? (Plane[i]=2^i, i=0,...,5)<br> 24199Default value: <code>0</code><br> 24200Saved in: <code>-</code> 24201</p> 24202</dd> 24203<dt><code>View.Closed</code> 24204<span id="index-View_002eClosed"></span> 24205</dt> 24206<dd><p>Close the subtree containing this view<br> 24207Default value: <code>0</code><br> 24208Saved in: <code>General.OptionsFileName</code> 24209</p> 24210</dd> 24211<dt><code>View.ColormapAlpha</code> 24212<span id="index-View_002eColormapAlpha"></span> 24213</dt> 24214<dd><p>Colormap alpha channel value (used only if != 1)<br> 24215Default value: <code>1</code><br> 24216Saved in: <code>General.OptionsFileName</code> 24217</p> 24218</dd> 24219<dt><code>View.ColormapAlphaPower</code> 24220<span id="index-View_002eColormapAlphaPower"></span> 24221</dt> 24222<dd><p>Colormap alpha channel power<br> 24223Default value: <code>0</code><br> 24224Saved in: <code>General.OptionsFileName</code> 24225</p> 24226</dd> 24227<dt><code>View.ColormapBeta</code> 24228<span id="index-View_002eColormapBeta"></span> 24229</dt> 24230<dd><p>Colormap beta parameter (gamma = 1-beta)<br> 24231Default value: <code>0</code><br> 24232Saved in: <code>General.OptionsFileName</code> 24233</p> 24234</dd> 24235<dt><code>View.ColormapBias</code> 24236<span id="index-View_002eColormapBias"></span> 24237</dt> 24238<dd><p>Colormap bias<br> 24239Default value: <code>0</code><br> 24240Saved in: <code>General.OptionsFileName</code> 24241</p> 24242</dd> 24243<dt><code>View.ColormapCurvature</code> 24244<span id="index-View_002eColormapCurvature"></span> 24245</dt> 24246<dd><p>Colormap curvature or slope coefficient<br> 24247Default value: <code>0</code><br> 24248Saved in: <code>General.OptionsFileName</code> 24249</p> 24250</dd> 24251<dt><code>View.ColormapInvert</code> 24252<span id="index-View_002eColormapInvert"></span> 24253</dt> 24254<dd><p>Invert the color values, i.e., replace x with (255-x) in the colormap?<br> 24255Default value: <code>0</code><br> 24256Saved in: <code>General.OptionsFileName</code> 24257</p> 24258</dd> 24259<dt><code>View.ColormapNumber</code> 24260<span id="index-View_002eColormapNumber"></span> 24261</dt> 24262<dd><p>Default colormap number (0: black, 1: vis5d, 2: jet, 3: lucie, 4: rainbow, 5: emc2000, 6: incadescent, 7: hot, 8: pink, 9: grayscale, 10: french, 11: hsv, 12: spectrum, 13: bone,
2426214: spring, 15: summer, 16: autumm, 17: winter, 18: cool, 19: copper, 20: magma, 21: inferno, 22: plasma, 23: viridis, 24: turbo)<br> 24263Default value: <code>2</code><br> 24264Saved in: <code>General.OptionsFileName</code> 24265</p> 24266</dd> 24267<dt><code>View.ColormapRotation</code> 24268<span id="index-View_002eColormapRotation"></span> 24269</dt> 24270<dd><p>Incremental colormap rotation<br> 24271Default value: <code>0</code><br> 24272Saved in: <code>General.OptionsFileName</code> 24273</p> 24274</dd> 24275<dt><code>View.ColormapSwap</code> 24276<span id="index-View_002eColormapSwap"></span> 24277</dt> 24278<dd><p>Swap the min/max values in the colormap?<br> 24279Default value: <code>0</code><br> 24280Saved in: <code>General.OptionsFileName</code> 24281</p> 24282</dd> 24283<dt><code>View.ComponentMap0</code> 24284<span id="index-View_002eComponentMap0"></span> 24285</dt> 24286<dd><p>Forced component 0 (if View.ForceNumComponents > 0)<br> 24287Default value: <code>0</code><br> 24288Saved in: <code>General.OptionsFileName</code> 24289</p> 24290</dd> 24291<dt><code>View.ComponentMap1</code> 24292<span id="index-View_002eComponentMap1"></span> 24293</dt> 24294<dd><p>Forced component 1 (if View.ForceNumComponents > 0)<br> 24295Default value: <code>1</code><br> 24296Saved in: <code>General.OptionsFileName</code> 24297</p> 24298</dd> 24299<dt><code>View.ComponentMap2</code> 24300<span id="index-View_002eComponentMap2"></span> 24301</dt> 24302<dd><p>Forced component 2 (if View.ForceNumComponents > 0)<br> 24303Default value: <code>2</code><br> 24304Saved in: <code>General.OptionsFileName</code> 24305</p> 24306</dd> 24307<dt><code>View.ComponentMap3</code> 24308<span id="index-View_002eComponentMap3"></span> 24309</dt> 24310<dd><p>Forced component 3 (if View.ForceNumComponents > 0)<br> 24311Default value: <code>3</code><br> 24312Saved in: <code>General.OptionsFileName</code> 24313</p> 24314</dd> 24315<dt><code>View.ComponentMap4</code> 24316<span id="index-View_002eComponentMap4"></span> 24317</dt> 24318<dd><p>Forced component 4 (if View.ForceNumComponents > 0)<br> 24319Default value: <code>4</code><br> 24320Saved in: <code>General.OptionsFileName</code> 24321</p> 24322</dd> 24323<dt><code>View.ComponentMap5</code> 24324<span id="index-View_002eComponentMap5"></span> 24325</dt> 24326<dd><p>Forced component 5 (if View.ForceNumComponents > 0)<br> 24327Default value: <code>5</code><br> 24328Saved in: <code>General.OptionsFileName</code> 24329</p> 24330</dd> 24331<dt><code>View.ComponentMap6</code> 24332<span id="index-View_002eComponentMap6"></span> 24333</dt> 24334<dd><p>Forced component 6 (if View.ForceNumComponents > 0)<br> 24335Default value: <code>6</code><br> 24336Saved in: <code>General.OptionsFileName</code> 24337</p> 24338</dd> 24339<dt><code>View.ComponentMap7</code> 24340<span id="index-View_002eComponentMap7"></span> 24341</dt> 24342<dd><p>Forced component 7 (if View.ForceNumComponents > 0)<br> 24343Default value: <code>7</code><br> 24344Saved in: <code>General.OptionsFileName</code> 24345</p> 24346</dd> 24347<dt><code>View.ComponentMap8</code> 24348<span id="index-View_002eComponentMap8"></span> 24349</dt> 24350<dd><p>Forced component 8 (if View.ForceNumComponents > 0)<br> 24351Default value: <code>8</code><br> 24352Saved in: <code>General.OptionsFileName</code> 24353</p> 24354</dd> 24355<dt><code>View.CustomAbscissaMax</code> 24356<span id="index-View_002eCustomAbscissaMax"></span> 24357</dt> 24358<dd><p>User-defined maximum abscissa value<br> 24359Default value: <code>0</code><br> 24360Saved in: <code>-</code> 24361</p> 24362</dd> 24363<dt><code>View.CustomAbscissaMin</code> 24364<span id="index-View_002eCustomAbscissaMin"></span> 24365</dt> 24366<dd><p>User-defined minimum abscissa value<br> 24367Default value: <code>0</code><br> 24368Saved in: <code>-</code> 24369</p> 24370</dd> 24371<dt><code>View.CustomMax</code> 24372<span id="index-View_002eCustomMax"></span> 24373</dt> 24374<dd><p>User-defined maximum value to be displayed<br> 24375Default value: <code>0</code><br> 24376Saved in: <code>-</code> 24377</p> 24378</dd> 24379<dt><code>View.CustomMin</code> 24380<span id="index-View_002eCustomMin"></span> 24381</dt> 24382<dd><p>User-defined minimum value to be displayed<br> 24383Default value: <code>0</code><br> 24384Saved in: <code>-</code> 24385</p> 24386</dd> 24387<dt><code>View.DisplacementFactor</code> 24388<span id="index-View_002eDisplacementFactor"></span> 24389</dt> 24390<dd><p>Displacement amplification<br> 24391Default value: <code>1</code><br> 24392Saved in: <code>General.OptionsFileName</code> 24393</p> 24394</dd> 24395<dt><code>View.DrawHexahedra</code> 24396<span id="index-View_002eDrawHexahedra"></span> 24397</dt> 24398<dd><p>Display post-processing hexahedra?<br> 24399Default value: <code>1</code><br> 24400Saved in: <code>General.OptionsFileName</code> 24401</p> 24402</dd> 24403<dt><code>View.DrawLines</code> 24404<span id="index-View_002eDrawLines"></span> 24405</dt> 24406<dd><p>Display post-processing lines?<br> 24407Default value: <code>1</code><br> 24408Saved in: <code>General.OptionsFileName</code> 24409</p> 24410</dd> 24411<dt><code>View.DrawPoints</code> 24412<span id="index-View_002eDrawPoints"></span> 24413</dt> 24414<dd><p>Display post-processing points?<br> 24415Default value: <code>1</code><br> 24416Saved in: <code>General.OptionsFileName</code> 24417</p> 24418</dd> 24419<dt><code>View.DrawPrisms</code> 24420<span id="index-View_002eDrawPrisms"></span> 24421</dt> 24422<dd><p>Display post-processing prisms?<br> 24423Default value: <code>1</code><br> 24424Saved in: <code>General.OptionsFileName</code> 24425</p> 24426</dd> 24427<dt><code>View.DrawPyramids</code> 24428<span id="index-View_002eDrawPyramids"></span> 24429</dt> 24430<dd><p>Display post-processing pyramids?<br> 24431Default value: <code>1</code><br> 24432Saved in: <code>General.OptionsFileName</code> 24433</p> 24434</dd> 24435<dt><code>View.DrawTrihedra</code> 24436<span id="index-View_002eDrawTrihedra"></span> 24437</dt> 24438<dd><p>Display post-processing trihedra?<br> 24439Default value: <code>1</code><br> 24440Saved in: <code>General.OptionsFileName</code> 24441</p> 24442</dd> 24443<dt><code>View.DrawQuadrangles</code> 24444<span id="index-View_002eDrawQuadrangles"></span> 24445</dt> 24446<dd><p>Display post-processing quadrangles?<br> 24447Default value: <code>1</code><br> 24448Saved in: <code>General.OptionsFileName</code> 24449</p> 24450</dd> 24451<dt><code>View.DrawScalars</code> 24452<span id="index-View_002eDrawScalars"></span> 24453</dt> 24454<dd><p>Display scalar values?<br> 24455Default value: <code>1</code><br> 24456Saved in: <code>General.OptionsFileName</code> 24457</p> 24458</dd> 24459<dt><code>View.DrawSkinOnly</code> 24460<span id="index-View_002eDrawSkinOnly"></span> 24461</dt> 24462<dd><p>Draw only the skin of 3D scalar views?<br> 24463Default value: <code>0</code><br> 24464Saved in: <code>General.OptionsFileName</code> 24465</p> 24466</dd> 24467<dt><code>View.DrawStrings</code> 24468<span id="index-View_002eDrawStrings"></span> 24469</dt> 24470<dd><p>Display post-processing annotation strings?<br> 24471Default value: <code>1</code><br> 24472Saved in: <code>General.OptionsFileName</code> 24473</p> 24474</dd> 24475<dt><code>View.DrawTensors</code> 24476<span id="index-View_002eDrawTensors"></span> 24477</dt> 24478<dd><p>Display tensor values?<br> 24479Default value: <code>1</code><br> 24480Saved in: <code>General.OptionsFileName</code> 24481</p> 24482</dd> 24483<dt><code>View.DrawTetrahedra</code> 24484<span id="index-View_002eDrawTetrahedra"></span> 24485</dt> 24486<dd><p>Display post-processing tetrahedra?<br> 24487Default value: <code>1</code><br> 24488Saved in: <code>General.OptionsFileName</code> 24489</p> 24490</dd> 24491<dt><code>View.DrawTriangles</code> 24492<span id="index-View_002eDrawTriangles"></span> 24493</dt> 24494<dd><p>Display post-processing triangles?<br> 24495Default value: <code>1</code><br> 24496Saved in: <code>General.OptionsFileName</code> 24497</p> 24498</dd> 24499<dt><code>View.DrawVectors</code> 24500<span id="index-View_002eDrawVectors"></span> 24501</dt> 24502<dd><p>Display vector values?<br> 24503Default value: <code>1</code><br> 24504Saved in: <code>General.OptionsFileName</code> 24505</p> 24506</dd> 24507<dt><code>View.Explode</code> 24508<span id="index-View_002eExplode"></span> 24509</dt> 24510<dd><p>Element shrinking factor (between 0 and 1)<br> 24511Default value: <code>1</code><br> 24512Saved in: <code>General.OptionsFileName</code> 24513</p> 24514</dd> 24515<dt><code>View.ExternalView</code> 24516<span id="index-View_002eExternalView"></span> 24517</dt> 24518<dd><p>Index of the view used to color vector fields (-1: self)<br> 24519Default value: <code>-1</code><br> 24520Saved in: <code>General.OptionsFileName</code> 24521</p> 24522</dd> 24523<dt><code>View.FakeTransparency</code> 24524<span id="index-View_002eFakeTransparency"></span> 24525</dt> 24526<dd><p>Use fake transparency (cheaper than the real thing, but incorrect)<br> 24527Default value: <code>0</code><br> 24528Saved in: <code>General.OptionsFileName</code> 24529</p> 24530</dd> 24531<dt><code>
24531View.ForceNumComponents</code> 24532<span id="index-View_002eForceNumComponents"></span> 24533</dt> 24534<dd><p>Force number of components to display (see View.ComponentMapN for mapping)<br> 24535Default value: <code>0</code><br> 24536Saved in: <code>General.OptionsFileName</code> 24537</p> 24538</dd> 24539<dt><code>View.GeneralizedRaiseFactor</code> 24540<span id="index-View_002eGeneralizedRaiseFactor"></span> 24541</dt> 24542<dd><p>Generalized raise amplification factor<br> 24543Default value: <code>1</code><br> 24544Saved in: <code>General.OptionsFileName</code> 24545</p> 24546</dd> 24547<dt><code>View.GeneralizedRaiseView</code> 24548<span id="index-View_002eGeneralizedRaiseView"></span> 24549</dt> 24550<dd><p>Index of the view used for generalized raise (-1: self)<br> 24551Default value: <code>-1</code><br> 24552Saved in: <code>General.OptionsFileName</code> 24553</p> 24554</dd> 24555<dt><code>View.GlyphLocation</code> 24556<span id="index-View_002eGlyphLocation"></span> 24557</dt> 24558<dd><p>Glyph (arrow, number, etc.) location (1: center of gravity, 2: node)<br> 24559Default value: <code>1</code><br> 24560Saved in: <code>General.OptionsFileName</code> 24561</p> 24562</dd> 24563<dt><code>View.Height</code> 24564<span id="index-View_002eHeight"></span> 24565</dt> 24566<dd><p>Height (in pixels) of the scale or 2D plot<br> 24567Default value: <code>200</code><br> 24568Saved in: <code>General.OptionsFileName</code> 24569</p> 24570</dd> 24571<dt><code>View.IntervalsType</code> 24572<span id="index-View_002eIntervalsType"></span> 24573</dt> 24574<dd><p>Type of interval display (1: iso, 2: continuous, 3: discrete, 4: numeric)<br> 24575Default value: <code>2</code><br> 24576Saved in: <code>General.OptionsFileName</code> 24577</p> 24578</dd> 24579<dt><code>View.Light</code> 24580<span id="index-View_002eLight"></span> 24581</dt> 24582<dd><p>Enable lighting for the view<br> 24583Default value: <code>1</code><br> 24584Saved in: <code>General.OptionsFileName</code> 24585</p> 24586</dd> 24587<dt><code>View.LightLines</code> 24588<span id="index-View_002eLightLines"></span> 24589</dt> 24590<dd><p>Light element edges<br> 24591Default value: <code>1</code><br> 24592Saved in: <code>General.OptionsFileName</code> 24593</p> 24594</dd> 24595<dt><code>View.LightTwoSide</code> 24596<span id="index-View_002eLightTwoSide"></span> 24597</dt> 24598<dd><p>Light both sides of surfaces (leads to slower rendering)<br> 24599Default value: <code>1</code><br> 24600Saved in: <code>General.OptionsFileName</code> 24601</p> 24602</dd> 24603<dt><code>View.LineType</code> 24604<span id="index-View_002eLineType"></span> 24605</dt> 24606<dd><p>Display lines as solid color segments (0), 3D cylinders (1) or tapered cylinders (2)<br> 24607Default value: <code>0</code><br> 24608Saved in: <code>General.OptionsFileName</code> 24609</p> 24610</dd> 24611<dt><code>View.LineWidth</code> 24612<span id="index-View_002eLineWidth"></span> 24613</dt> 24614<dd><p>Display width of lines (in pixels)<br> 24615Default value: <code>1</code><br> 24616Saved in: <code>General.OptionsFileName</code> 24617</p> 24618</dd> 24619<dt><code>View.MaxRecursionLevel</code> 24620<span id="index-View_002eMaxRecursionLevel"></span> 24621</dt> 24622<dd><p>Maximum recursion level for adaptive views<br> 24623Default value: <code>0</code><br> 24624Saved in: <code>General.OptionsFileName</code> 24625</p> 24626</dd> 24627<dt><code>View.Max</code> 24628<span id="index-View_002eMax"></span> 24629</dt> 24630<dd><p>Maximum value in the view (read-only)<br> 24631Default value: <code>0</code><br> 24632Saved in: <code>-</code> 24633</p> 24634</dd> 24635<dt><code>View.MaxVisible</code> 24636<span id="index-View_002eMaxVisible"></span> 24637</dt> 24638<dd><p>Maximum value in the visible parts of the view, taking current time step and tensor display type into account (read-only)<br> 24639Default value: <code>0</code><br> 24640Saved in: <code>-</code> 24641</p> 24642</dd> 24643<dt><code>View.MaxX</code> 24644<span id="index-View_002eMaxX"></span> 24645</dt> 24646<dd><p>Maximum view coordinate along the X-axis (read-only)<br> 24647Default value: <code>0</code><br> 24648Saved in: <code>-</code> 24649</p> 24650</dd> 24651<dt><code>View.MaxY</code> 24652<span id="index-View_002eMaxY"></span> 24653</dt> 24654<dd><p>Maximum view coordinate along the Y-axis (read-only)<br> 24655Default value: <code>0</code><br> 24656Saved in: <code>-</code> 24657</p> 24658</dd> 24659<dt><code>View.MaxZ</code> 24660<span id="index-View_002eMaxZ"></span> 24661</dt> 24662<dd><p>Maximum view coordinate along the Z-axis (read-only)<br> 24663Default value: <code>0</code><br> 24664Saved in: <code>-</code> 24665</p> 24666</dd> 24667<dt><code>View.Min</code> 24668<span id="index-View_002eMin"></span> 24669</dt> 24670<dd><p>Minimum value in the view (read-only)<br> 24671Default value: <code>0</code><br> 24672Saved in: <code>-</code> 24673</p> 24674</dd> 24675<dt><code>View.MinVisible</code> 24676<span id="index-View_002eMinVisible"></span> 24677</dt> 24678<dd><p>Minimum value in the visible parts of the view, taking current time step and tensor display type into account (read-only)<br> 24679Default value: <code>0</code><br> 24680Saved in: <code>-</code> 24681</p> 24682</dd> 24683<dt><code>View.MinX</code> 24684<span id="index-View_002eMinX"></span> 24685</dt> 24686<dd><p>Minimum view coordinate along the X-axis (read-only)<br> 24687Default value: <code>0</code><br> 24688Saved in: <code>-</code> 24689</p> 24690</dd> 24691<dt><code>View.MinY</code> 24692<span id="index-View_002eMinY"></span> 24693</dt> 24694<dd><p>Minimum view coordinate along the Y-axis (read-only)<br> 24695Default value: <code>0</code><br> 24696Saved in: <code>-</code> 24697</p> 24698</dd> 24699<dt><code>View.MinZ</code> 24700<span id="index-View_002eMinZ"></span> 24701</dt> 24702<dd><p>Minimum view coordinate along the Z-axis (read-only)<br> 24703Default value: <code>0</code><br> 24704Saved in: <code>-</code> 24705</p> 24706</dd> 24707<dt><code>View.NbIso</code> 24708<span id="index-View_002eNbIso"></span> 24709</dt> 24710<dd><p>Number of intervals<br> 24711Default value: <code>10</code><br> 24712Saved in: <code>General.OptionsFileName</code> 24713</p> 24714</dd> 24715<dt><code>View.NbTimeStep</code> 24716<span id="index-View_002eNbTimeStep"></span> 24717</dt> 24718<dd><p>Number of time steps in the view (do not change this!)<br> 24719Default value: <code>1</code><br> 24720Saved in: <code>-</code> 24721</p> 24722</dd> 24723<dt><code>View.NormalRaise</code> 24724<span id="index-View_002eNormalRaise"></span> 24725</dt> 24726<dd><p>Elevation of the view along the normal (in model coordinates)<br> 24727Default value: <code>0</code><br> 24728Saved in: <code>-</code> 24729</p> 24730</dd> 24731<dt><code>View.Normals</code> 24732<span id="index-View_002eNormals"></span> 24733</dt> 24734<dd><p>Display size of normal vectors (in pixels)<br> 24735Default value: <code>0</code><br> 24736Saved in: <code>General.OptionsFileName</code> 24737</p> 24738</dd> 24739<dt><code>View.OffsetX</code> 24740<span id="index-View_002eOffsetX"></span> 24741</dt> 24742<dd><p>Translation of the view along X-axis (in model coordinates)<br> 24743Default value: <code>0</code><br> 24744Saved in: <code>-</code> 24745</p> 24746</dd> 24747<dt><code>View.OffsetY</code> 24748<span id="index-View_002eOffsetY"></span> 24749</dt> 24750<dd><p>Translation of the view along Y-axis (in model coordinates)<br> 24751Default value: <code>0</code><br> 24752Saved in: <code>-</code> 24753</p> 24754</dd> 24755<dt><code>View.OffsetZ</code> 24756<span id="index-View_002eOffsetZ"></span> 24757</dt> 24758<dd><p>Translation of the view along Z-axis (in model coordinates)<br> 24759Default value: <code>0</code><br> 24760Saved in: <code>-</code> 24761</p> 24762</dd> 24763<dt><code>View.PointSize</code> 24764<span id="index-View_002ePointSize"></span> 24765</dt> 24766<dd><p>Display size of points (in pixels)<br> 24767Default value: <code>3</code><br> 24768Saved in: <code>General.OptionsFileName</code> 24769</p> 24770</dd> 24771<dt><code>View.PointType</code> 24772<span id="index-View_002ePointType"></span> 24773</dt> 24774<dd><p>Display points as solid color dots (0), 3D spheres (1), scaled dots (2) or scaled spheres (3)<br> 24775Default value: <code>0</code><br> 24776Saved in: <code>General.OptionsFileName</code> 24777</p> 24778</dd> 24779<dt><code>View.PositionX</code> 24780<span id="index-View_002ePositionX"></span> 24781</dt> 24782<dd><p>X position (in pixels) of the scale or 2D plot (< 0: measure from right edge; >= 1e5: centered)<br> 24783Default value: <code>100</code><br> 24784Saved in: <code>General.OptionsFileName</code> 24785</p> 24786</dd> 24787<dt><code>View.PositionY</code> 24788<span id="index-View_002ePositionY"></span> 24789</dt> 24790<dd><p>Y position (in pixels) of the scale or 2D plot (< 0: measure from bottom edge; >= 1e5: centered)<br> 24791Default value: <code>50</code><br> 24792Saved in: <code>General.OptionsFileName</code> 24793</p> 24794</dd> 24795<dt><code>View.RaiseX</code> 24796<span id="index-View_002eRaiseX"></span> 24797</dt> 24798<dd><p>Elevation of the view along X-axis (in model coordinates)<br> 24799Default value: <code>0</code><br> 24800Saved in: <code>-</code> 24801</p> 24802</dd> 24803<dt><code>View.RaiseY</code> 24804<span id="index-View_002eRaiseY"></span> 24805</dt> 24806<dd><p>Elevation of the view along Y-axis (in model coordinates)<br> 24807Default value: <code>0</code><br> 24808Saved in: <code>-</code> 24809</p> 24810</dd> 24811<dt><code>View.RaiseZ</code> 24812<span id="index-View_002eRaiseZ"></span> 24813</dt> 24814<dd><p>Elevation of the view along Z-axis (in model coordinates)<br> 24815Default value: <code>0</code><br> 24816Saved in: <code>-</code> 24817</p> 24818</dd> 24819<dt><code>View.RangeType</code> 24820<span id="index-View_002eRangeType"></span> 24821</dt> 24822<dd><p>Value scale range type (1: default, 2: custom, 3: per time step)<br> 24823Default value: <code>1</code><br> 24824Saved in: <code>General.OptionsFileName</code> 24825</p> 24826</dd> 24827<dt><code>View.Sampling</code> 24828<span id="index-View_002eSampling"></span> 24829</dt> 24830<dd><p>Element sampling rate (draw one out every ‘Sampling’ elements)<br> 24831Default value: <code>1</code><br> 24832Saved in: <code>General.OptionsFileName</code> 24833</p> 24834</dd> 24835<dt><code>View.SaturateValues</code> 24836<span id="index-View_002eSaturateValues"></span> 24837</dt> 24838<dd><p>Saturate the view values to custom min and max (1: true, 0: false)<br> 24839Default value: <code>0</code><br> 24840Saved in: <code>General.OptionsFileName</code> 24841</p> 24842</dd> 24843<dt><code>View.ScaleType</code> 24844<span id="index-View_002eScaleType"></span> 24845</dt> 24846<dd><p>Value scale type (1: linear, 2: logarithmic, 3: double logarithmic)<br> 24847Default value: <code>1</code><br> 24848Saved in: <code>General.OptionsFileName</code> 24849</p> 24850</dd> 24851<dt><code>View.ShowElement</code> 24852<span id="index-View_002eShowElement"></span> 24853</dt> 24854<dd><p>Show element boundaries?<br> 24855Default value: <code>0</code><br> 24856Saved in: <code>General.OptionsFileName</code> 24857</p> 24858</dd> 24859<dt><code>View.ShowScale</code> 24860<span id="index-View_002eShowScale"></span> 24861</dt> 24862<dd><p>Show value scale?<br> 24863Default value: <code>1</code><br> 24864Saved in: <code>General.OptionsFileName</code> 24865</p> 24866</dd> 24867<dt><code>View.ShowTime</code> 24868<span id="index-View_002eShowTime"></span> 24869</dt> 24870<dd><p>Time display mode (0: none, 1: time series, 2: harmonic data, 3: automatic, 4: step data, 5: multi-step data, 6: real eigenvalues, 7: complex eigenvalues)<br> 24871Default value: <code>3</code><br> 24872Saved in: <code>General.OptionsFileName</code> 24873</p> 24874</dd> 24875<dt><code>View.SmoothNormals</code> 24876<span id="index-View_002eSmoothNormals"></span> 24877</dt> 24878<dd><p>Smooth the normals?<br> 24879Default value: <code>0</code><br> 24880Saved in: <code>General.OptionsFileName</code> 24881</p> 24882</dd> 24883<dt><code>View.Stipple</code> 24884<span id="index-View_002eStipple"></span> 24885</dt> 24886<dd><p>Stipple curves in 2D and line plots?<br> 24887Default value: <code>0</code><br> 24888Saved in: <code>General.OptionsFileName</code> 24889</p> 24890</dd> 24891<dt><code>View.Tangents</code> 24892<span id="index-View_002eTangents"></span> 24893</dt> 24894<dd><p>Display size of tangent vectors (in pixels)<br> 24895Default value: <code>0</code><br> 24896Saved in: <code>General.OptionsFileName</code> 24897</p> 24898</dd> 24899<dt><code>View.TargetError</code> 24900<span id="index-View_002eTargetError"></span> 24901</dt> 24902<dd><p>Target representation error for adaptive views<br> 24903Default value: <code>0.0001</code><br> 24904Saved in: <code>General.OptionsFileName</code> 24905</p> 24906</dd> 24907<dt><code>View.TensorType</code> 24908<span id="index-View_002eTensorType"></span> 24909</dt> 24910<dd><p>Tensor display type (1: Von-Mises, 2: maximum eigenvalue, 3: minimum eigenvalue, 4: eigenvectors, 5: ellipse, 6: ellipsoid, 7: frame (box), 8: frame (vectors))<br> 24911Default value: <code>1</code><br> 24912Saved in: <code>General.OptionsFileName</code> 24913</p> 24914</dd> 24915<dt><code>View.TimeStep</code> 24916<span id="index-View_002eTimeStep"></span> 24917</dt> 24918<dd><p>Current time step displayed<br> 24919Default value: <code>0</code><br> 24920Saved in: <code>-</code> 24921</p> 24922</dd> 24923<dt><code>View.Time</code> 24924<span id="index-View_002eTime"></span> 24925</dt> 24926<dd><p>Current time displayed (if positive, sets the time step corresponding the given time value)<br> 24927Default value: <code>0</code><br> 24928Saved in: <code>-</code> 24929</p> 24930</dd> 24931<dt><code>View.TransformXX</code> 24932<span id="index-View_002eTransformXX"></span> 24933</dt> 24934<dd><p>Element (1,1) of the 3x3 coordinate transformation matrix<br> 24935Default value: <code>1</code><br> 24936Saved in: <code>-</code> 24937</p> 24938</dd> 24939<dt><code>View.TransformXY</code> 24940<span id="index-View_002eTransformXY"></span> 24941</dt> 24942<dd><p>Element (1,2) of the 3x3 coordinate transformation matrix<br> 24943Default value: <code>0</code><br> 24944Saved in: <code>-</code> 24945</p> 24946</dd> 24947<dt><code>View.TransformXZ</code> 24948<span id="index-View_002eTransformXZ"></span> 24949</dt> 24950<dd><p>Element (1,3) of the 3x3 coordinate transformation matrix<br> 24951Default value: <code>0</code><br> 24952Saved in: <code>-</code> 24953</p> 24954</dd> 24955<dt><code>View.TransformYX</code> 24956<span id="index-View_002eTransformYX"></span> 24957</dt> 24958<dd><p>Element (2,1) of the 3x3 coordinate transformation matrix<br> 24959Default value: <code>0</code><br> 24960Saved in: <code>-</code> 24961</p> 24962</dd> 24963<dt><code>View.TransformYY</code> 24964<span id="index-View_002eTransformYY"></span> 24965</dt> 24966<dd><p>Element (2,2) of the 3x3 coordinate transformation matrix<br> 24967Default value: <code>1</code><br> 24968Saved in: <code>-</code> 24969</p> 24970</dd> 24971<dt><code>View.TransformYZ</code> 24972<span id="index-View_002eTransformYZ"></span> 24973</dt> 24974<dd><p>Element (2,3) of the 3x3 coordinate transformation matrix<br> 24975Default value: <code>0</code><br> 24976Saved in: <code>-</code> 24977</p> 24978</dd> 24979<dt><code>View.TransformZX</code> 24980<span id="index-View_002eTransformZX"></span> 24981</dt> 24982<dd><p>Element (3,1) of the 3x3 coordinate transformation matrix<br> 24983Default value: <code>0</code><br> 24984Saved in: <code>-</code> 24985</p> 24986</dd> 24987<dt><code>View.TransformZY</code> 24988<span id="index-View_002eTransformZY"></span> 24989</dt> 24990<dd><p>Element (3,2) of the 3x3 coordinate transformation matrix<br> 24991Default value: <code>0</code><br> 24992Saved in: <code>-</code> 24993</p> 24994</dd> 24995<dt><code>View.TransformZZ</code> 24996<span id="index-View_002eTransformZZ"></span> 24997</dt> 24998<dd><p>Element (3,3) of the 3x3 coordinate transformation matrix<br> 24999Default value: <code>1</code><br> 25000Saved in: <code>-</code> 25001</p> 25002</dd> 25003<dt><code>View.Type</code> 25004<span id="index-View_002eType"></span> 25005</dt> 25006<dd><p>Type of plot (1: 3D, 2: 2D space, 3: 2D time, 4: 2D)<br> 25007Default value: <code>1</code><br> 25008Saved in: <code>-</code> 25009</p> 25010</dd> 25011<dt><code>View.UseGeneralizedRaise</code> 25012<span id="index-View_002eUseGeneralizedRaise"></span> 25013</dt> 25014<dd><p>Use generalized raise?<br> 25015Default value: <code>0</code><br> 25016Saved in: <code>General.OptionsFileName</code> 25017</p> 25018</dd> 25019<dt><code>View.VectorType</code> 25020<span id="index-View_002eVectorType"></span> 25021</dt> 25022<dd><p>Vector display type (1: segment, 2: arrow, 3: pyramid, 4: 3D arrow, 5: displacement, 6: comet)<br> 25023Default value: <code>4</code><br> 25024Saved in: <code>General.OptionsFileName</code> 25025</p> 25026</dd> 25027<dt><code>View.Visible</code> 25028<span id="index-View_002eVisible"></span> 25029</dt> 25030<dd><p>Is the view visible?<br> 25031Default value: <code>1</code><br> 25032Saved in: <code>-</code> 25033</p> 25034</dd> 25035<dt><code>View.Width</code> 25036<span id="index-View_002eWidth"></span> 25037</dt> 25038<dd><p>Width (in pixels) of the scale or 2D plot<br> 25039Default value: <code>300</code><br> 25040Saved in: <code>General.OptionsFileName</code> 25041</p> 25042</dd> 25043<dt><code>View.Color.Points</code> 25044<span id="index-View_002eColor_002ePoints"></span> 25045</dt> 25046<dd><p>Point color<br> 25047Default value: <code>{0,0,0}</code><br> 25048Saved in: <code>General.OptionsFileName</code> 25049</p> 25050</dd> 25051<dt><code>View.Color.Lines</code> 25052<span id="index-View_002eColor_002eLines"></span> 25053</dt> 25054<dd><p>Line color<br> 25055Default value: <code>{0,0,0}</code><br> 25056Saved in: <code>General.OptionsFileName</code> 25057</p> 25058</dd> 25059<dt><code>View.Color.Triangles</code> 25060<span id="index-View_002eColor_002eTriangles"></span> 25061</dt> 25062<dd><p>Triangle color<br> 25063Default value: <code>{0,0,0}</code><br> 25064Saved in: <code>General.OptionsFileName</code> 25065</p> 25066</dd> 25067<dt><code>View.Color.Quadrangles</code> 25068<span id="index-View_002eColor_002eQuadrangles"></span> 25069</dt> 25070<dd><p>Quadrangle color<br> 25071Default value: <code>{0,0,0}</code><br> 25072Saved in: <code>General.OptionsFileName</code> 25073</p> 25074</dd> 25075<dt><code>View.Color.Tetrahedra</code> 25076<span id="index-View_002eColor_002eTetrahedra"></span> 25077</dt> 25078<dd><p>Tetrahedron color<br> 25079Default value: <code>{0,0,0}</code><br> 25080Saved in: <code>General.OptionsFileName</code> 25081</p> 25082</dd> 25083<dt><code>View.Color.Hexahedra</code> 25084<span id="index-View_002eColor_002eHexahedra"></span> 25085</dt> 25086<dd><p>Hexahedron color<br> 25087Default value: <code>{0,0,0}</code><br> 25088Saved in: <code>General.OptionsFileName</code> 25089</p> 25090</dd> 25091<dt><code>
25091View.Color.Prisms</code> 25092<span id="index-View_002eColor_002ePrisms"></span> 25093</dt> 25094<dd><p>Prism color<br> 25095Default value: <code>{0,0,0}</code><br> 25096Saved in: <code>General.OptionsFileName</code> 25097</p> 25098</dd> 25099<dt><code>View.Color.Pyramids</code> 25100<span id="index-View_002eColor_002ePyramids"></span> 25101</dt> 25102<dd><p>Pyramid color<br> 25103Default value: <code>{0,0,0}</code><br> 25104Saved in: <code>General.OptionsFileName</code> 25105</p> 25106</dd> 25107<dt><code>View.Color.Trihedra</code> 25108<span id="index-View_002eColor_002eTrihedra"></span> 25109</dt> 25110<dd><p>Trihedron color<br> 25111Default value: <code>{0,0,0}</code><br> 25112Saved in: <code>General.OptionsFileName</code> 25113</p> 25114</dd> 25115<dt><code>View.Color.Tangents</code> 25116<span id="index-View_002eColor_002eTangents"></span> 25117</dt> 25118<dd><p>Tangent vector color<br> 25119Default value: <code>{255,255,0}</code><br> 25120Saved in: <code>General.OptionsFileName</code> 25121</p> 25122</dd> 25123<dt><code>View.Color.Normals</code> 25124<span id="index-View_002eColor_002eNormals"></span> 25125</dt> 25126<dd><p>Normal vector color<br> 25127Default value: <code>{255,0,0}</code><br> 25128Saved in: <code>General.OptionsFileName</code> 25129</p> 25130</dd> 25131<dt><code>View.Color.Text2D</code> 25132<span id="index-View_002eColor_002eText2D"></span> 25133</dt> 25134<dd><p>2D text color<br> 25135Default value: <code>{0,0,0}</code><br> 25136Saved in: <code>General.OptionsFileName</code> 25137</p> 25138</dd> 25139<dt><code>View.Color.Text3D</code> 25140<span id="index-View_002eColor_002eText3D"></span> 25141</dt> 25142<dd><p>3D text color<br> 25143Default value: <code>{0,0,0}</code><br> 25144Saved in: <code>General.OptionsFileName</code> 25145</p> 25146</dd> 25147<dt><code>View.Color.Axes</code> 25148<span id="index-View_002eColor_002eAxes"></span> 25149</dt> 25150<dd><p>Axes color<br> 25151Default value: <code>{0,0,0}</code><br> 25152Saved in: <code>General.OptionsFileName</code> 25153</p> 25154</dd> 25155<dt><code>View.Color.Background2D</code> 25156<span id="index-View_002eColor_002eBackground2D"></span> 25157</dt> 25158<dd><p>Bacground color for 2D plots<br> 25159Default value: <code>{255,255,255}</code><br> 25160Saved in: <code>General.OptionsFileName</code> 25161</p> 25162</dd> 25163<dt><code>View.ColorTable</code> 25164<span id="index-View_002eColorTable"></span> 25165</dt> 25166<dd><p>Color table used to draw the view<br> 25167Saved in: <code>General.OptionsFileName</code> 25168</p> 25169</dd> 25170</dl> 25171 25172 25173 25174<hr> 25175<span id="Gmsh-mesh-size-fields"></span><div class="header"> 25176<p> 25177Next: <a href="#Gmsh-plugins" accesskey="n" rel="next">Gmsh plugins</a>, Previous: <a href="#Gmsh-options" accesskey="p" rel="prev">Gmsh options</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 25178</div> 25179<span id="Gmsh-mesh-size-fields-1"></span><h2 class="chapter">8 Gmsh mesh size fields</h2> 25180 25181<p>This chapter lists all the Gmsh mesh size fields (see <a href="#Specifying-mesh-element-sizes">Specifying mesh element sizes</a>). Fields can be specified in script files (see <a href="#Mesh-element-sizes">Mesh element sizes</a>) or using the API (see <a href="#Namespace-gmsh_002fmodel_002fmesh_002ffield">Namespace gmsh/model/mesh/field</a>). See <a href="#t10">t10</a> for an example on how to use 25182fields. 25183</p> 25184 25185<dl compact="compact"> 25186<dt><code>AttractorAnisoCurve</code> 25187<span id="index-AttractorAnisoCurve"></span> 25188</dt> 25189<dd><p>Compute the distance to the given curves and specify the mesh size independently in the direction normal and parallel to the nearest curve. For efficiency each curve is replaced by a set of Sampling points, to which the distance is actually computed.<br> 25190<br> 25191Options:<br> 25192</p><dl compact="compact"> 25193<dt><code>CurvesList</code></dt> 25194<dd><p>Tags of curves in the geometric model<br> 25195Type: list<br> 25196Default value: <code>{}</code> 25197</p></dd> 25198<dt><code>DistMax</code></dt> 25199<dd><p>Maxmium distance, above this distance from the curves, prescribe the maximum mesh sizes<br> 25200Type: float<br> 25201Default value: <code>0.5</code> 25202</p></dd> 25203<dt><code>DistMin</code></dt> 25204<dd><p>Minimum distance, below this distance from the curves, prescribe the minimum mesh sizes<br> 25205Type: float<br> 25206Default value: <code>0.1</code> 25207</p></dd> 25208<dt><code>Sampling</code></dt> 25209<dd><p>Number of sampling points on each curve<br> 25210Type: integer<br> 25211Default value: <code>20</code> 25212</p></dd> 25213<dt><code>SizeMaxNormal</code></dt> 25214<dd><p>Maximum mesh size in the direction normal to the closest curve<br> 25215Type: float<br> 25216Default value: <code>0.5</code> 25217</p></dd> 25218<dt><code>SizeMaxTangent</code></dt> 25219<dd><p>Maximum mesh size in the direction tangeant to the closest curve<br> 25220Type: float<br> 25221Default value: <code>0.5</code> 25222</p></dd> 25223<dt><code>SizeMinNormal</code></dt> 25224<dd><p>Minimum mesh size in the direction normal to the closest curve<br> 25225Type: float<br> 25226Default value: <code>0.05</code> 25227</p></dd> 25228<dt><code>SizeMinTangent</code></dt> 25229<dd><p>Minimum mesh size in the direction tangeant to the closest curve<br> 25230Type: float<br> 25231Default value: <code>0.5</code> 25232</p></dd> 25233</dl> 25234 25235</dd> 25236<dt><code>AutomaticMeshSizeField</code> 25237<span id="index-AutomaticMeshSizeField"></span> 25238</dt> 25239<dd><p>Compute a mesh size field that is quite automatic Takes into account surface curvatures and closeness of objects<br> 25240<br> 25241Options:<br> 25242</p><dl compact="compact"> 25243<dt><code>features</code></dt> 25244<dd><p>Enable computation of local feature size (thin channels)<br> 25245Type: boolean<br> 25246Default value: <code>1</code> 25247</p></dd> 25248<dt><code>gradation</code></dt> 25249<dd><p>Maximum growth ratio for the edges lengths<br> 25250Type: float<br> 25251Default value: <code>1.1</code> 25252</p></dd> 25253<dt><code>hBulk</code></dt> 25254<dd><p>Default size where it is not prescribed<br> 25255Type: float<br> 25256Default value: <code>-1</code> 25257</p></dd> 25258<dt><code>hMax</code></dt> 25259<dd><p>Maximum size<br> 25260Type: float<br> 25261Default value: <code>-1</code> 25262</p></dd> 25263<dt><code>hMin</code></dt> 25264<dd><p>Minimum size<br> 25265Type: float<br> 25266Default value: <code>-1</code> 25267</p></dd> 25268<dt><code>nPointsPerCircle</code></dt> 25269<dd><p>Number of points per circle (adapt to curvature of surfaces)<br> 25270Type: integer<br> 25271Default value: <code>20</code> 25272</p></dd> 25273<dt><code>
25273nPointsPerGap</code></dt> 25274<dd><p>Number of layers of elements in thin layers<br> 25275Type: integer<br> 25276Default value: <code>0</code> 25277</p></dd> 25278<dt><code>p4estFileToLoad</code></dt> 25279<dd><p>p4est file containing the size field<br> 25280Type: string<br> 25281Default value: <code>""</code> 25282</p></dd> 25283<dt><code>smoothing</code></dt> 25284<dd><p>Enable size smoothing (should always be true)<br> 25285Type: boolean<br> 25286Default value: <code>1</code> 25287</p></dd> 25288</dl> 25289 25290</dd> 25291<dt><code>Ball</code> 25292<span id="index-Ball"></span> 25293</dt> 25294<dd><p>Return VIn inside a spherical ball, and VOut outside. The ball is defined by<br> 25295<br> 25296 ||dX||^2 < R^2 &&<br> 25297 dX = (X - XC)^2 + (Y-YC)^2 + (Z-ZC)^2<br> 25298<br> 25299If Thickness is > 0, the mesh size is interpolated between VIn and VOut in a layer around the ball of the prescribed thickness.<br> 25300<br> 25301Options:<br> 25302</p><dl compact="compact"> 25303<dt><code>Radius</code></dt> 25304<dd><p>Radius<br> 25305Type: float<br> 25306Default value: <code>0</code> 25307</p></dd> 25308<dt><code>Thickness</code></dt> 25309<dd><p>Thickness of a transition layer outside the ball<br> 25310Type: float<br> 25311Default value: <code>0</code> 25312</p></dd> 25313<dt><code>VIn</code></dt> 25314<dd><p>Value inside the ball<br> 25315Type: float<br> 25316Default value: <code>1e+22</code> 25317</p></dd> 25318<dt><code>VOut</code></dt> 25319<dd><p>Value outside the ball<br> 25320Type: float<br> 25321Default value: <code>1e+22</code> 25322</p></dd> 25323<dt><code>XCenter</code></dt> 25324<dd><p>X coordinate of the ball center<br> 25325Type: float<br> 25326Default value: <code>0</code> 25327</p></dd> 25328<dt><code>YCenter</code></dt> 25329<dd><p>Y coordinate of the ball center<br> 25330Type: float<br> 25331Default value: <code>0</code> 25332</p></dd> 25333<dt><code>ZCenter</code></dt> 25334<dd><p>Z coordinate of the ball center<br> 25335Type: float<br> 25336Default value: <code>0</code> 25337</p></dd> 25338</dl> 25339 25340</dd> 25341<dt><code>BoundaryLayer</code> 25342<span id="index-BoundaryLayer"></span> 25343</dt> 25344<dd><p>Insert a 2D boundary layer mesh next to some curves in the model.<br> 25345<br> 25346Options:<br> 25347</p><dl compact="compact"> 25348<dt><code>AnisoMax</code></dt> 25349<dd><p>Threshold angle for creating a mesh fan in the boundary layer<br> 25350Type: float<br> 25351Default value: <code>10000000000</code> 25352</p></dd> 25353<dt><code>Beta</code></dt> 25354<dd><p>Beta coefficient of the Beta Law<br> 25355Type: float<br> 25356Default value: <code>1.01</code> 25357</p></dd> 25358<dt><code>BetaLaw</code></dt> 25359<dd><p>Use Beta Law instead of geometric progression <br> 25360Type: integer<br> 25361Default value: <code>0</code> 25362</p></dd> 25363<dt><code>CurvesList</code></dt> 25364<dd><p>Tags of curves in the geometric model for which a boundary layer is needed<br> 25365Type: list<br> 25366Default value: <code>{}</code> 25367</p></dd> 25368<dt><code>ExcludedSurfacesList</code></dt> 25369<dd><p>Tags of surfaces in the geometric model where the boundary layer should not be constructed<br> 25370Type: list<br> 25371Default value: <code>{}</code> 25372</p></dd> 25373<dt><code>FanPointsList</code></dt> 25374<dd><p>Tags of points in the geometric model for which a fan is created<br> 25375Type: list<br> 25376Default value: <code>{}</code> 25377</p></dd> 25378<dt><code>FanPointsSizesList</code></dt> 25379<dd><p>Number of elements in the fan for each fan point. If not present default value Mesh.BoundaryLayerFanElements<br> 25380Type: list<br> 25381Default value: <code>{}</code> 25382</p></dd> 25383<dt><code>IntersectMetrics</code></dt> 25384<dd><p>Intersect metrics of all surfaces<br> 25385Type: integer<br> 25386Default value: <code>0</code> 25387</p></dd> 25388<dt><code>NbLayers</code></dt> 25389<dd><p>Number of Layers in theBeta Law<br> 25390Type: integer<br> 25391Default value: <code>10</code> 25392</p></dd> 25393<dt><code>PointsList</code></dt> 25394<dd><p>Tags of points in the geometric model for which a boundary layer ends<br> 25395Type: list<br> 25396Default value: <code>{}</code> 25397</p></dd> 25398<dt><code>Quads</code></dt> 25399<dd><p>Generate recombined elements in the boundary layer<br> 25400Type: integer<br> 25401Default value: <code>0</code> 25402</p></dd> 25403<dt><code>Ratio</code></dt> 25404<dd><p>Size ratio between two successive layers<br> 25405Type: float<br> 25406Default value: <code>1.1</code> 25407</p></dd> 25408<dt><code>Size</code></dt> 25409<dd><p>Mesh size normal to the curve<br> 25410Type: float<br> 25411Default value: <code>0.1</code> 25412</p></dd> 25413<dt><code>SizeFar</code></dt> 25414<dd><p>Mesh size far from the curves<br> 25415Type: float<br> 25416Default value: <code>1</code> 25417</p></dd> 25418<dt><code>SizesList</code></dt> 25419<dd><p>Mesh size normal to the curve, per point (overwrites Size when defined)<br> 25420Type: list_double<br> 25421Default value: <code>{}</code> 25422</p></dd> 25423<dt><code>Thickness</code></dt> 25424<dd><p>Maximal thickness of the boundary layer<br> 25425Type: float<br> 25426Default value: <code>0.01</code> 25427</p></dd> 25428</dl> 25429 25430</dd> 25431<dt><code>Box</code> 25432<span id="index-Box"></span> 25433</dt> 25434<dd><p>Return VIn inside the box, and VOut outside. The box is defined by<br> 25435<br> 25436 Xmin <= x <= XMax &&<br> 25437 YMin <= y <= YMax &&<br> 25438 ZMin <= z <= ZMax<br> 25439<br> 25440If Thickness is > 0, the mesh size is interpolated between VIn and VOut in a layer around the box of the prescribed thickness.<br> 25441<br> 25442Options:<br> 25443</p><dl compact="compact"> 25444<dt><code>Thickness</code></dt> 25445<dd><p>Thickness of a transition layer outside the box<br> 25446Type: float<br> 25447Default value: <code>0</code> 25448</p></dd> 25449<dt><code>VIn</code></dt> 25450<dd><p>Value inside the box<br> 25451Type: float<br> 25452Default value: <code>1e+22</code> 25453</p></dd> 25454<dt><code>VOut</code></dt> 25455<dd><p>Value outside the box<br> 25456Type: float<br> 25457Default value: <code>1e+22</code> 25458</p></dd> 25459<dt><code>XMax</code></dt> 25460<dd><p>Maximum X coordinate of the box<br> 25461Type: float<br> 25462Default value: <code>0</code> 25463</p></dd> 25464<dt><code>XMin</code></dt> 25465<dd><p>Minimum X coordinate of the box<br> 25466Type: float<br> 25467Default value: <code>0</code> 25468</p></dd> 25469<dt><code>YMax</code></dt> 25470<dd><p>Maximum Y coordinate of the box<br> 25471Type: float<br> 25472Default value: <code>0</code> 25473</p></dd> 25474<dt><code>YMin</code></dt> 25475<dd><p>Minimum Y coordinate of the box<br> 25476Type: float<br> 25477Default value: <code>0</code> 25478</p></dd> 25479<dt><code>ZMax</code></dt> 25480<dd><p>Maximum Z coordinate of the box<br> 25481Type: float<br> 25482Default value: <code>0</code> 25483</p></dd> 25484<dt><code>ZMin</code></dt> 25485<dd><p>Minimum Z coordinate of the box<br> 25486Type: float<br> 25487Default value: <code>0</code> 25488</p></dd> 25489</dl> 25490 25491</dd> 25492<dt><code>Constant</code> 25493<span id="index-Constant"></span> 25494</dt> 25495<dd><p>Return VIn when inside the entities (and on their boundary if IncludeBoundary is set, and on their embedded entities if IncludeEmbedded is set), and VOut outside.<br> 25496<br> 25497Options:<br> 25498</p><dl compact="compact"> 25499<dt><code>CurvesList</code></dt> 25500<dd><p>Curve tags<br> 25501Type: list<br> 25502Default value: <code>{}</code> 25503</p></dd> 25504<dt><code>IncludeBoundary</code></dt> 25505<dd><p>Include the boundary of the entities<br> 25506Type: boolean<br> 25507Default value: <code>1</code> 25508</p></dd> 25509<dt><code>IncludeEmbedded</code></dt> 25510<dd><p>Include embedded entities<br> 25511Type: boolean<br> 25512Default value: <code>1</code> 25513</p></dd> 25514<dt><code>PointsList</code></dt> 25515<dd><p>Point tags<br> 25516Type: list<br> 25517Default value: <code>{}</code> 25518</p></dd> 25519<dt><code>SurfacesList</code></dt> 25520<dd><p>Surface tags<br> 25521Type: list<br> 25522Default value: <code>{}</code> 25523</p></dd> 25524<dt><code>VIn</code></dt> 25525<dd><p>Value inside the entities<br> 25526Type: float<br> 25527Default value: <code>1e+22</code> 25528</p></dd> 25529<dt><code>VOut</code></dt> 25530<dd><p>Value outside the entities<br> 25531Type: float<br> 25532Default value: <code>1e+22</code> 25533</p></dd> 25534<dt><code>VolumesList</code></dt> 25535<dd><p>Volume tags<br> 25536Type: list<br> 25537Default value: <code>{}</code> 25538</p></dd> 25539</dl> 25540 25541</dd> 25542<dt><code>Curvature</code> 25543<span id="index-Curvature"></span> 25544</dt> 25545<dd><p>Compute the curvature of Field[InField]:<br> 25546<br> 25547 F = div(norm(grad(Field[InField])))<br> 25548<br> 25549Options:<br> 25550</p><dl compact="compact"> 25551<dt><code>Delta</code></dt> 25552<dd><p>Step of the finite differences<br> 25553Type: float<br> 25554Default value: <code>0.0003464101615137755</code> 25555</p></dd> 25556<dt><code>InField</code></dt> 25557<dd><p>Input field tag<br> 25558Type: integer<br> 25559Default value: <code>1</code> 25560</p></dd> 25561</dl> 25562 25563</dd> 25564<dt><code>Cylinder</code> 25565<span id="index-Cylinder"></span> 25566</dt> 25567<dd><p>Return VIn inside a frustrated cylinder, and VOut outside. The cylinder is defined by<br> 25568<br> 25569 ||dX||^2 < R^2 &&<br> 25570 (X-X0).A < ||A||^2<br> 25571 dX = (X - X0) - ((X - X0).A)/(||A||^2) . A<br> 25572<br> 25573Options:<br> 25574</p><dl compact="compact"> 25575<dt><code>Radius</code></dt> 25576<dd><p>
25576Radius<br> 25577Type: float<br> 25578Default value: <code>0</code> 25579</p></dd> 25580<dt><code>VIn</code></dt> 25581<dd><p>Value inside the cylinder<br> 25582Type: float<br> 25583Default value: <code>1e+22</code> 25584</p></dd> 25585<dt><code>VOut</code></dt> 25586<dd><p>Value outside the cylinder<br> 25587Type: float<br> 25588Default value: <code>1e+22</code> 25589</p></dd> 25590<dt><code>XAxis</code></dt> 25591<dd><p>X component of the cylinder axis<br> 25592Type: float<br> 25593Default value: <code>0</code> 25594</p></dd> 25595<dt><code>XCenter</code></dt> 25596<dd><p>X coordinate of the cylinder center<br> 25597Type: float<br> 25598Default value: <code>0</code> 25599</p></dd> 25600<dt><code>YAxis</code></dt> 25601<dd><p>Y component of the cylinder axis<br> 25602Type: float<br> 25603Default value: <code>0</code> 25604</p></dd> 25605<dt><code>YCenter</code></dt> 25606<dd><p>Y coordinate of the cylinder center<br> 25607Type: float<br> 25608Default value: <code>0</code> 25609</p></dd> 25610<dt><code>ZAxis</code></dt> 25611<dd><p>Z component of the cylinder axis<br> 25612Type: float<br> 25613Default value: <code>1</code> 25614</p></dd> 25615<dt><code>ZCenter</code></dt> 25616<dd><p>Z coordinate of the cylinder center<br> 25617Type: float<br> 25618Default value: <code>0</code> 25619</p></dd> 25620</dl> 25621 25622</dd> 25623<dt><code>Distance</code> 25624<span id="index-Distance"></span> 25625</dt> 25626<dd><p>Compute the distance to the given points, curves or surfaces. For efficiency, curves and surfaces are replaced by a set of points (sampled according to Sampling), to which the distance is actually computed.<br> 25627<br> 25628Options:<br> 25629</p><dl compact="compact"> 25630<dt><code>CurvesList</code></dt> 25631<dd><p>Tags of curves in the geometric model<br> 25632Type: list<br> 25633Default value: <code>{}</code> 25634</p></dd> 25635<dt><code>PointsList</code></dt> 25636<dd><p>Tags of points in the geometric model<br> 25637Type: list<br> 25638Default value: <code>{}</code> 25639</p></dd> 25640<dt><code>Sampling</code></dt> 25641<dd><p>Linear (i.e. per dimension) number of sampling points to discretize each curve and surface<br> 25642Type: integer<br> 25643Default value: <code>20</code> 25644</p></dd> 25645<dt><code>SurfacesList</code></dt> 25646<dd><p>Tags of surfaces in the geometric model (only OpenCASCADE and discrete surfaces are currently supported)<br> 25647Type: list<br> 25648Default value: <code>{}</code> 25649</p></dd> 25650</dl> 25651 25652</dd> 25653<dt><code>Extend</code> 25654<span id="index-Extend"></span> 25655</dt> 25656<dd><p>Compute an extension of the mesh sizes from the given boundary curves (resp. surfaces) inside the surfaces (resp. volumes) being meshed. If the mesh size on the boundary, computed as the local average length of the edges of the boundary elements, is denoted by SizeBnd, the extension is computed as:<br> 25657<br> 25658 F = f * SizeBnd + (1 - f) * SizeMax, if d < DistMax<br> 25659<br> 25660 F = SizeMax, if d >= DistMax<br> 25661<br> 25662where d denotes the distance to the boundary and f = ((DistMax - d) / DistMax)^Power.<br> 25663<br> 25664Options:<br> 25665</p><dl compact="compact"> 25666<dt><code>CurvesList</code></dt> 25667<dd><p>Tags of curves in the geometric model<br> 25668Type: list<br> 25669Default value: <code>{}</code> 25670</p></dd> 25671<dt><code>DistMax</code></dt> 25672<dd><p>Maximum distance of the size extension<br> 25673Type: float<br> 25674Default value: <code>1</code> 25675</p></dd> 25676<dt><code>Power</code></dt> 25677<dd><p>Power exponent used to interpolate the mesh size<br> 25678Type: float<br> 25679Default value: <code>1</code> 25680</p></dd> 25681<dt><code>SizeMax</code></dt> 25682<dd><p>Mesh size outside DistMax<br> 25683Type: float<br> 25684Default value: <code>1</code> 25685</p></dd> 25686<dt><code>SurfacesList</code></dt> 25687<dd><p>Tags of surfaces in the geometric model<br> 25688Type: list<br> 25689Default value: <code>{}</code> 25690</p></dd> 25691</dl> 25692 25693</dd> 25694<dt><code>ExternalProcess</code> 25695<span id="index-ExternalProcess"></span> 25696</dt> 25697<dd><p>**This Field is experimental**<br> 25698Call an external process that received coordinates triple (x,y,z) as binary double precision numbers on stdin and is supposed to write the field value on stdout as a binary double precision number.<br> 25699NaN,NaN,NaN is sent as coordinate to indicate the end of the process.<br> 25700<br> 25701Example of client (python2):<br> 25702import os<br> 25703import struct<br> 25704import math<br> 25705import sys<br> 25706if sys.platform == "win32" :<br> 25707 import msvcrt<br> 25708 msvcrt.setmode(0, os.O_BINARY)<br> 25709 msvcrt.setmode(1, os.O_BINARY)<br> 25710while(True):<br> 25711 xyz = struct.unpack("ddd", os.read(0,24))<br> 25712 if math.isnan(xyz[0]):<br> 25713 break<br> 25714 f = 0.001 + xyz[1]*0.009<br> 25715 os.write(1,struct.pack("d",f))<br> 25716<br> 25717Example of client (python3):<br> 25718import struct<br> 25719import sys<br> 25720import math<br> 25721while(True):<br> 25722 xyz = struct.unpack("ddd", sys.stdin.buffer.read(24))<br> 25723 if math.isnan(xyz[0]):<br> 25724 break<br> 25725 f = 0.001 + xyz[1]*0.009<br> 25726 sys.stdout.buffer.write(struct.pack("d",f))<br> 25727 sys.stdout.flush()<br> 25728<br> 25729Example of client (c, unix):<br> 25730#include <unistd.h><br> 25731int main(int argc, char **argv) {<br> 25732 double xyz[3];<br> 25733 while(read(STDIN_FILENO, &xyz, 3*sizeof(double)) == 3*sizeof(double)) {<br> 25734 if (xyz[0] != xyz[0]) break; //nan<br> 25735 double f = 0.001 + 0.009 * xyz[1];<br> 25736 write(STDOUT_FILENO, &f, sizeof(double));<br> 25737 }<br> 25738 return 0;<br> 25739}<br> 25740<br> 25741Example of client (c, windows):<br> 25742#include <stdio.h><br> 25743#include <io.h><br> 25744#include <fcntl.h><br> 25745int main(int argc, char **argv) {<br> 25746 double xyz[3];<br> 25747 setmode(fileno(stdin),O_BINARY);<br> 25748 setmode(fileno(stdout),O_BINARY);<br> 25749 while(read(fileno(stdin), &xyz, 3*sizeof(double)) == 3*sizeof(double)) {<br> 25750 if (xyz[0] != xyz[0])<br> 25751 break;<br> 25752 double f = f = 0.01 + 0.09 * xyz[1];<br> 25753 write(fileno(stdout), &f, sizeof(double));<br> 25754 }<br> 25755}<br> 25756<br> 25757<br> 25758Options:<br> 25759</p><dl compact="compact"> 25760<dt><code>CommandLine</code></dt> 25761<dd><p>Command line to launch<br> 25762Type: string<br> 25763Default value: <code>""</code> 25764</p></dd> 25765</dl> 25766 25767</dd> 25768<dt><code>Frustum</code> 25769<span id="index-Frustum"></span> 25770</dt> 25771<dd><p>Interpolate mesh sizes on a extended cylinder frustrum defined by inner (R1i and R2i) and outer (R1o and R2o) radii and two endpoints P1 and P2.The field value F for a point P is given by :<br> 25772<br> 25773 u = P1P . P1P2 / ||P1P2|| <br> 25774 r = || P1P - u*P1P2 || <br> 25775 Ri = (1 - u) * R1i + u * R2i <br> 25776 Ro = (1 - u) * R1o + u * R2o <br> 25777 v = (r - Ri) / (Ro - Ri) <br> 25778 F = (1 - v) * ((1 - u) * v1i + u * v2i) + v * ((1 - u) * v1o + u * v2o)<br> 25779with (u, v) in [0, 1] x [0, 1].<br> 25780<br> 25781Options:<br> 25782</p><dl compact="compact"> 25783<dt><code>InnerR1</code></dt> 25784<dd><p>Inner radius of Frustum at endpoint 1<br> 25785Type: float<br> 25786Default value: <code>0</code> 25787</p></dd> 25788<dt><code>InnerR2</code></dt> 25789<dd><p>Inner radius of Frustum at endpoint 2<br> 25790Type: float<br> 25791Default value: <code>0</code> 25792</p></dd> 25793<dt><code>InnerV1</code></dt> 25794<dd><p>Mesh size at point 1, inner radius<br> 25795Type: float<br> 25796Default value: <code>0.1</code> 25797</p></dd> 25798<dt><code>InnerV2</code></dt> 25799<dd><p>Mesh size at point 2, inner radius<br> 25800Type: float<br> 25801Default value: <code>0.1</code> 25802</p></dd> 25803<dt><code>OuterR1</code></dt> 25804<dd><p>Outer radius of Frustum at endpoint 1<br> 25805Type: float<br> 25806Default value: <code>1</code> 25807</p></dd> 25808<dt><code>OuterR2</code></dt> 25809<dd><p>Outer radius of Frustum at endpoint 2<br> 25810Type: float<br> 25811Default value: <code>1</code> 25812</p></dd> 25813<dt><code>OuterV1</code></dt> 25814<dd><p>Mesh size at point 1, outer radius<br> 25815Type: float<br> 25816Default value: <code>1</code> 25817</p></dd> 25818<dt><code>OuterV2</code></dt> 25819<dd><p>Mesh size at point 2, outer radius<br> 25820Type: float<br> 25821Default value: <code>1</code> 25822</p></dd> 25823<dt><code>X1</code></dt> 25824<dd><p>X coordinate of endpoint 1<br> 25825Type: float<br> 25826Default value: <code>0</code> 25827</p></dd> 25828<dt><code>X2</code></dt> 25829<dd><p>X coordinate of endpoint 2<br> 25830Type: float<br> 25831Default value: <code>0</code> 25832</p></dd> 25833<dt><code>Y1</code></dt> 25834<dd><p>Y coordinate of endpoint 1<br> 25835Type: float<br> 25836Default value: <code>0</code> 25837</p></dd> 25838<dt><code>Y2</code></dt> 25839<dd><p>Y coordinate of endpoint 2<br> 25840Type: float<br> 25841Default value: <code>0</code> 25842</p></dd> 25843<dt><code>Z1</code></dt> 25844<dd><p>Z coordinate of endpoint 1<br> 25845Type: float<br> 25846Default value: <code>1</code> 25847</p></dd> 25848<dt><code>Z2</code></dt> 25849<dd><p>Z coordinate of endpoint 2<br> 25850Type: float<br> 25851Default value: <code>0</code> 25852</p></dd> 25853</dl> 25854 25855</dd> 25856<dt><code>Gradient</code> 25857<span id="index-Gradient"></span> 25858</dt> 25859<dd><p>Compute the finite difference gradient of Field[InField]:<br> 25860<br> 25861 F = (Field[InField](X + Delta/2) - Field[InField](X - Delta/2)) / Delta<br> 25862<br> 25863Options:<br> 25864</p><dl compact="compact"> 25865<dt><code>Delta</code></dt> 25866<dd><p>Finite difference step<br> 25867Type: float<br> 25868Default value: <code>0.0003464101615137755</code> 25869</p></dd> 25870<dt><code>InField</code></dt> 25871<dd><p>Input field tag<br> 25872Type: integer<br> 25873Default value: <code>1</code> 25874</p></dd> 25875<dt><code>Kind</code></dt> 25876<dd><p>Component of the gradient to evaluate: 0 for X, 1 for Y, 2 for Z, 3 for the norm<br> 25877Type: integer<br> 25878Default value: <code>3</code> 25879</p></dd> 25880</dl> 25881 25882</dd> 25883<dt><code>IntersectAniso</code> 25884<span id="index-IntersectAniso"></span> 25885</dt> 25886<dd><p>Take the intersection of 2 anisotropic fields according to Alauzet.<br> 25887<br> 25888Options:<br> 25889</p><dl compact="compact"> 25890<dt><code>FieldsList</code></dt> 25891<dd><p>Field indices<br> 25892Type: list<br> 25893Default value: <code>{}</code> 25894</p></dd> 25895</dl> 25896 25897</dd> 25898<dt><code>Laplacian</code> 25899<span id="index-Laplacian"></span> 25900</dt> 25901<dd><p>Compute finite difference the Laplacian of Field[InField]:<br> 25902<br> 25903 F = G(x+d,y,z) + G(x-d,y,z) +<br> 25904 G(x,y+d,z) + G(x,y-d,z) +<br> 25905 G(x,y,z+d) + G(x,y,z-d) - 6 * G(x,y,z),<br> 25906<br> 25907where G = Field[InField] and d = Delta.<br> 25908<br> 25909Options:<br> 25910</p><dl compact="compact"> 25911<dt><code>Delta</code></dt> 25912<dd><p>Finite difference step<br> 25913Type: float<br> 25914Default value: <code>0.0003464101615137755</code> 25915</p></dd> 25916<dt><code>InField</code></dt> 25917<dd><p>Input field tag<br> 25918Type: integer<br> 25919Default value: <code>1</code> 25920</p></dd> 25921</dl> 25922 25923</dd> 25924<dt><code>LonLat</code> 25925<span id="index-LonLat"></span> 25926</dt> 25927<dd><p>Evaluate Field[InField] in geographic coordinates (longitude, latitude):<br> 25928<br> 25929 F = Field[InField](atan(y / x), asin(z / sqrt(x^2 + y^2 + z^2))<br> 25930<br> 25931Options:<br> 25932</p><dl compact="compact"> 25933<dt><code>FromStereo</code></dt> 25934<dd><p>If = 1, the mesh is in stereographic coordinates: xi = 2Rx/(R+z), eta = 2Ry/(R+z)<br> 25935Type: integer<br> 25936Default value: <code>0</code> 25937</p></dd> 25938<dt><code>InField</code></dt> 25939<dd><p>Tag of the field to evaluate<br> 25940Type: integer<br> 25941Default value: <code>1</code> 25942</p></dd> 25943<dt><code>RadiusStereo</code></dt> 25944<dd><p>
25944Radius of the sphere of the stereograpic coordinates<br> 25945Type: float<br> 25946Default value: <code>6371000</code> 25947</p></dd> 25948</dl> 25949 25950</dd> 25951<dt><code>MathEval</code> 25952<span id="index-MathEval"></span> 25953</dt> 25954<dd><p>Evaluate a mathematical expression. The expression can contain x, y, z for spatial coordinates, F0, F1, ... for field values, and mathematical functions.<br> 25955<br> 25956Options:<br> 25957</p><dl compact="compact"> 25958<dt><code>F</code></dt> 25959<dd><p>Mathematical function to evaluate.<br> 25960Type: string<br> 25961Default value: <code>"F2 + Sin(z)"</code> 25962</p></dd> 25963</dl> 25964 25965</dd> 25966<dt><code>MathEvalAniso</code> 25967<span id="index-MathEvalAniso"></span> 25968</dt> 25969<dd><p>Evaluate a metric expression. The expressions can contain x, y, z for spatial coordinates, F0, F1, ... for field values, and mathematical functions.<br> 25970<br> 25971Options:<br> 25972</p><dl compact="compact"> 25973<dt><code>M11</code></dt> 25974<dd><p>Element 11 of the metric tensor<br> 25975Type: string<br> 25976Default value: <code>"F2 + Sin(z)"</code> 25977</p></dd> 25978<dt><code>M12</code></dt> 25979<dd><p>Element 12 of the metric tensor<br> 25980Type: string<br> 25981Default value: <code>"F2 + Sin(z)"</code> 25982</p></dd> 25983<dt><code>M13</code></dt> 25984<dd><p>Element 13 of the metric tensor<br> 25985Type: string<br> 25986Default value: <code>"F2 + Sin(z)"</code> 25987</p></dd> 25988<dt><code>M22</code></dt> 25989<dd><p>Element 22 of the metric tensor<br> 25990Type: string<br> 25991Default value: <code>"F2 + Sin(z)"</code> 25992</p></dd> 25993<dt><code>M23</code></dt> 25994<dd><p>Element 23 of the metric tensor<br> 25995Type: string<br> 25996Default value: <code>"F2 + Sin(z)"</code> 25997</p></dd> 25998<dt><code>M33</code></dt> 25999<dd><p>Element 33 of the metric tensor<br> 26000Type: string<br> 26001Default value: <code>"F2 + Sin(z)"</code> 26002</p></dd> 26003</dl> 26004 26005</dd> 26006<dt><code>Max</code> 26007<span id="index-Max"></span> 26008</dt> 26009<dd><p>Take the maximum value of a list of fields.<br> 26010<br> 26011Options:<br> 26012</p><dl compact="compact"> 26013<dt><code>FieldsList</code></dt> 26014<dd><p>Field indices<br> 26015Type: list<br> 26016Default value: <code>{}</code> 26017</p></dd> 26018</dl> 26019 26020</dd> 26021<dt><code>MaxEigenHessian</code> 26022<span id="index-MaxEigenHessian"></span> 26023</dt> 26024<dd><p>Compute the maximum eigenvalue of the Hessian matrix of Field[InField], with the gradients evaluated by finite differences:<br> 26025<br> 26026 F = max(eig(grad(grad(Field[InField]))))<br> 26027<br> 26028Options:<br> 26029</p><dl compact="compact"> 26030<dt><code>Delta</code></dt> 26031<dd><p>Step used for the finite differences<br> 26032Type: float<br> 26033Default value: <code>0.0003464101615137755</code> 26034</p></dd> 26035<dt><code>InField</code></dt> 26036<dd><p>Input field tag<br> 26037Type: integer<br> 26038Default value: <code>1</code> 26039</p></dd> 26040</dl> 26041 26042</dd> 26043<dt><code>Mean</code> 26044<span id="index-Mean"></span> 26045</dt> 26046<dd><p>Return the mean value<br> 26047<br> 26048 F = (G(x + delta, y, z) + G(x - delta, y, z) +<br> 26049 G(x, y + delta, z) + G(x, y - delta, z) +<br> 26050 G(x, y, z + delta) + G(x, y, z - delta) +<br> 26051 G(x, y, z)) / 7,<br> 26052<br> 26053where G = Field[InField].<br> 26054<br> 26055Options:<br> 26056</p><dl compact="compact"> 26057<dt><code>Delta</code></dt> 26058<dd><p>Distance used to compute the mean value<br> 26059Type: float<br> 26060Default value: <code>0.0003464101615137755</code> 26061</p></dd> 26062<dt><code>InField</code></dt> 26063<dd><p>Input field tag<br> 26064Type: integer<br> 26065Default value: <code>1</code> 26066</p></dd> 26067</dl> 26068 26069</dd> 26070<dt><code>Min</code> 26071<span id="index-Min"></span> 26072</dt> 26073<dd><p>Take the minimum value of a list of fields.<br> 26074<br> 26075Options:<br> 26076</p><dl compact="compact"> 26077<dt><code>FieldsList</code></dt> 26078<dd><p>Field indices<br> 26079Type: list<br> 26080Default value: <code>{}</code> 26081</p></dd> 26082</dl> 26083 26084</dd> 26085<dt><code>MinAniso</code> 26086<span id="index-MinAniso"></span> 26087</dt> 26088<dd><p>Take the intersection of a list of possibly anisotropic fields.<br> 26089<br> 26090Options:<br> 26091</p><dl compact="compact"> 26092<dt><code>FieldsList</code></dt> 26093<dd><p>Field indices<br> 26094Type: list<br> 26095Default value: <code>{}</code> 26096</p></dd> 26097</dl> 26098 26099</dd> 26100<dt><code>Octree</code> 26101<span id="index-Octree"></span> 26102</dt> 26103<dd><p>Pre compute another field on an octree to speed-up evalution.<br> 26104<br> 26105Options:<br> 26106</p><dl compact="compact"> 26107<dt><code>InField</code></dt> 26108<dd><p>Id of the field to represent on the octree<br> 26109Type: integer<br> 26110Default value: <code>1</code> 26111</p></dd> 26112</dl> 26113 26114</dd> 26115<dt><code>Param</code> 26116<span id="index-Param"></span> 26117</dt> 26118<dd><p>Evaluate Field[InField] in parametric coordinates:<br> 26119<br> 26120 F = Field[InField](FX,FY,FZ)<br> 26121<br> 26122See the MathEval Field help to get a description of valid FX, FY and FZ expressions.<br> 26123<br> 26124Options:<br> 26125</p><dl compact="compact"> 26126<dt><code>FX</code></dt> 26127<dd><p>X component of parametric function<br> 26128Type: string<br> 26129Default value: <code>""</code> 26130</p></dd> 26131<dt><code>FY</code></dt> 26132<dd><p>Y component of parametric function<br> 26133Type: string<br> 26134Default value: <code>""</code> 26135</p></dd> 26136<dt><code>FZ</code></dt> 26137<dd><p>Z component of parametric function<br> 26138Type: string<br> 26139Default value: <code>""</code> 26140</p></dd> 26141<dt><code>InField</code></dt> 26142<dd><p>Input field tag<br> 26143Type: integer<br> 26144Default value: <code>1</code> 26145</p></dd> 26146</dl> 26147 26148</dd> 26149<dt><code>PostView</code> 26150<span id="index-PostView"></span> 26151</dt> 26152<dd><p>Evaluate the post processing view with index ViewIndex, or with tag ViewTag if ViewTag is positive.<br> 26153<br> 26154Options:<br> 26155</p><dl compact="compact"> 26156<dt><code>CropNegativeValues</code></dt> 26157<dd><p>return MAX_LC instead of a negative value (this option is needed for backward compatibility with the Backgroun
26157dMesh option<br> 26158Type: boolean<br> 26159Default value: <code>1</code> 26160</p></dd> 26161<dt><code>UseClosest</code></dt> 26162<dd><p>Use value at closest node if no exact match is found<br> 26163Type: boolean<br> 26164Default value: <code>1</code> 26165</p></dd> 26166<dt><code>ViewIndex</code></dt> 26167<dd><p>Post-processing view index<br> 26168Type: integer<br> 26169Default value: <code>0</code> 26170</p></dd> 26171<dt><code>ViewTag</code></dt> 26172<dd><p>Post-processing view tag<br> 26173Type: integer<br> 26174Default value: <code>-1</code> 26175</p></dd> 26176</dl> 26177 26178</dd> 26179<dt><code>Restrict</code> 26180<span id="index-Restrict"></span> 26181</dt> 26182<dd><p>Restrict the application of a field to a given list of geometrical points, curves, surfaces or volumes (as well as their boundaries if IncludeBoundary is set, and their embedded entities if IncludeEmbedded is set).<br> 26183<br> 26184Options:<br> 26185</p><dl compact="compact"> 26186<dt><code>CurvesList</code></dt> 26187<dd><p>Curve tags<br> 26188Type: list<br> 26189Default value: <code>{}</code> 26190</p></dd> 26191<dt><code>InField</code></dt> 26192<dd><p>Input field tag<br> 26193Type: integer<br> 26194Default value: <code>1</code> 26195</p></dd> 26196<dt><code>IncludeBoundary</code></dt> 26197<dd><p>Include the boundary of the entities<br> 26198Type: boolean<br> 26199Default value: <code>1</code> 26200</p></dd> 26201<dt><code>IncludeEmbedded</code></dt> 26202<dd><p>Include embedded entities<br> 26203Type: boolean<br> 26204Default value: <code>1</code> 26205</p></dd> 26206<dt><code>PointsList</code></dt> 26207<dd><p>Point tags<br> 26208Type: list<br> 26209Default value: <code>{}</code> 26210</p></dd> 26211<dt><code>SurfacesList</code></dt> 26212<dd><p>Surface tags<br> 26213Type: list<br> 26214Default value: <code>{}</code> 26215</p></dd> 26216<dt><code>VolumesList</code></dt> 26217<dd><p>Volume tags<br> 26218Type: list<br> 26219Default value: <code>{}</code> 26220</p></dd> 26221</dl> 26222 26223</dd> 26224<dt><code>Structured</code> 26225<span id="index-Structured"></span> 26226</dt> 26227<dd><p>Linearly interpolate between data provided on a 3D rectangular structured grid.<br> 26228<br> 26229The format of the input file is:<br> 26230<br> 26231 Ox Oy Oz <br> 26232 Dx Dy Dz <br> 26233 nx ny nz <br> 26234 v(0,0,0) v(0,0,1) v(0,0,2) ... <br> 26235 v(0,1,0) v(0,1,1) v(0,1,2) ... <br> 26236 v(0,2,0) v(0,2,1) v(0,2,2) ... <br> 26237 ... ... ... <br> 26238 v(1,0,0) ... ... <br> 26239<br> 26240where O are the coordinates of the first node, D are the distances between nodes in each direction, n are the numbers of nodes in each direction, and v are the values on each node.<br> 26241<br> 26242Options:<br> 26243</p><dl compact="compact"> 26244<dt><code>FileName</code></dt> 26245<dd><p>Name of the input file<br> 26246Type: path<br> 26247Default value: <code>""</code> 26248</p></dd> 26249<dt><code>OutsideValue</code></dt> 26250<dd><p>Value of the field outside the grid (only used if the "SetOutsideValue" option is true).<br> 26251Type: float<br> 26252Default value: <code>1e+22</code> 26253</p></dd> 26254<dt><code>SetOutsideValue</code></dt> 26255<dd><p>True to use the "OutsideValue" option. If False, the last values of the grid are used.<br> 26256Type: boolean<br> 26257Default value: <code>0</code> 26258</p></dd> 26259<dt><code>TextFormat</code></dt> 26260<dd><p>True for ASCII input files, false for binary files (4 bite signed integers for n, double precision floating points for v, D and O)<br> 26261Type: boolean<br> 26262Default value: <code>0</code> 26263</p></dd> 26264</dl> 26265 26266</dd> 26267<dt><code>Threshold</code> 26268<span id="index-Threshold"></span> 26269</dt> 26270<dd><p>Return F = SizeMin if Field[InField] <= DistMin, F = SizeMax if Field[InField] >= DistMax, and the interpolation between SizeMin and SizeMax if DistMin < Field[InField] < DistMax.<br> 26271<br> 26272Options:<br> 26273</p><dl compact="compact"> 26274<dt><code>DistMax</code></dt> 26275<dd><p>Value after which the mesh size will be SizeMax<br> 26276Type: float<br> 26277Default value: <code>10</code> 26278</p></dd> 26279<dt><code>DistMin</code></dt> 26280<dd><p>Value up to which the mesh size will be SizeMin<br> 26281Type: float<br> 26282Default value: <code>1</code> 26283</p></dd> 26284<dt><code>InField</code></dt> 26285<dd><p>Tag of the field computing the input value, usually a distance<br> 26286Type: integer<br> 26287Default value: <code>0</code> 26288</p></dd> 26289<dt><code>Sigmoid</code></dt> 26290<dd><p>True to interpolate between SizeMin and SizeMax using a sigmoid, false to interpolate linearly<br> 26291Type: boolean<br> 26292Default value: <code>0</code> 26293</p></dd> 26294<dt><code>SizeMax</code></dt> 26295<dd><p>Mesh size when value > DistMax<br> 26296Type: float<br> 26297Default value: <code>1</code> 26298</p></dd> 26299<dt><code>SizeMin</code></dt> 26300<dd><p>Mesh size when value < DistMin<br> 26301Type: float<br> 26302Default value: <code>0.1</code> 26303</p></dd> 26304<dt><code>StopAtDistMax</code></dt> 26305<dd><p>True to not impose mesh size outside DistMax (i.e., F = a very big value if Field[InField] > DistMax)<br> 26306Type: boolean<br> 26307Default value: <code>0</code> 26308</p></dd> 26309</dl> 26310 26311</dd> 26312</dl> 26313 26314 26315<hr> 26316<span id="Gmsh-plugins"></span><div class="header"> 26317<p> 26318Next: <a href="#Gmsh-file-formats" accesskey="n" rel="next">Gmsh file formats</a>, Previous: <a href="#Gmsh-mesh-size-fields" accesskey="p" rel="prev">Gmsh mesh size fields</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 26319</div> 26320<span id="Gmsh-plugins-1"></span><h2 class="chapter">9 Gmsh plugins</h2> 26321 26322<span id="index-Post_002dprocessing-plugins"></span> 26323<span id="index-Plugins_002c-post_002dprocessing"></span> 26324 26325<p>This chapter lists all the plugins that are bundled in the official Gmsh 26326distribution. Plugins are available in the GUI (by right-clicking on a 26327view button, or by clicking on the black arrow next to the view button, 26328and then selecting the ‘Plugin’ submenu), in the scripting language 26329(see <a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a>) and in the API 26330(see <a href="#Namespace-gmsh_002fplugin">Namespace gmsh/plugin</a>). See <a href="#t9">t9</a> for an example on how to 26331use plugins. 26332</p> 26333 26334<dl compact="compact"> 26335<dt><code>Plugin(AnalyseMeshQuality)</code> 26336<span id="index-Plugin_0028AnalyseMeshQuality_0029"></span> 26337</dt> 26338<dd><p>
26338Plugin(AnalyseMeshQuality) analyses the quality of the elements of a given dimension in the current model. Depending on the input parameters it computes the minimum of the Jacobian determinant (J), the IGE quality measure (Inverse Gradient Error) and/or the ICN quality measure (Condition Number). Statistics are printed and, if requested, a model-based post-processing view is created for each quality measure. The plugin can optionally hide elements by comparing the measure to a prescribed threshold.<br> 26339<br> 26340J is faster to compute but gives information only on element validity while the other measures also give information on element quality. The IGE measure is related to the error on the gradient of the finite element solution. It is the scaled Jacobian for quads and hexes and a new measure for triangles and tetrahedra. The ICN measure is related to the condition number of the stiffness matrix. (See the article "Efficient computation of the minimum of shape quality measures on curvilinear finite elements" for details.)<br> 26341<br> 26342Parameters:<br> 26343<br> 26344- ‘JacobianDeterminant’: compute J?<br> 26345<br> 26346- ‘IGEMeasure’: compute IGE?<br> 26347<br> 26348- ‘ICNMeasure’: compute ICN?<br> 26349<br> 26350- ‘HidingThreshold’: hide all elements for which min(mu) is strictly greater than (if ‘ThresholdGreater’ == 1) or less than (if ‘ThresholdGreater’ == 0) the threshold, where mu is ICN if ‘ICNMeasure’ == 1, IGE if ‘IGEMeasure’ == 1 or min(J)/max(J) if ‘JacobianDeterminant’ == 1.<br> 26351<br> 26352- ‘CreateView’: create a model-based view of min(J)/max(J), min(IGE) and/or min(ICN)?<br> 26353<br> 26354- ‘Recompute’: force recomputation (set to 1 if the mesh has changed).<br> 26355<br> 26356- ‘DimensionOfElements’: analyse elements of the given dimension if equal to 1, 2 or 3; analyse 2D and 3D elements if equal to 4; or analyse elements of the highest dimension if equal to -1. 26357Numeric options: 26358</p><dl compact="compact"> 26359<dt><code>JacobianDeterminant</code></dt> 26360<dd><p>Default value: <code>0</code> 26361</p></dd> 26362<dt><code>IGEMeasure</code></dt> 26363<dd><p>Default value: <code>0</code> 26364</p></dd> 26365<dt><code>ICNMeasure</code></dt> 26366<dd><p>Default value: <code>0</code> 26367</p></dd> 26368<dt><code>HidingThreshold</code></dt> 26369<dd><p>Default value: <code>99</code> 26370</p></dd> 26371<dt><code>ThresholdGreater</code></dt> 26372<dd><p>Default value: <code>1</code> 26373</p></dd> 26374<dt><code>CreateView</code></dt> 26375<dd><p>Default value: <code>0</code> 26376</p></dd> 26377<dt><code>Recompute</code></dt> 26378<dd><p>Default value: <code>0</code> 26379</p></dd> 26380<dt><code>DimensionOfElements</code></dt> 26381<dd><p>Default value: <code>-1</code> 26382</p></dd> 26383</dl> 26384 26385</dd> 26386<dt><code>Plugin(Annotate)</code> 26387<span id="index-Plugin_0028Annotate_0029"></span> 26388</dt> 26389<dd><p>Plugin(Annotate) adds the text string ‘Text’, in font ‘Font’ and size ‘FontSize’, in the view ‘View’. The string is aligned according to ‘Align’.<br> 26390<br> 26391If ‘ThreeD’ is equal to 1, the plugin inserts the string in model coordinates at the position (‘X’,‘Y’,‘Z’). If ‘ThreeD’ is equal to 0, the plugin inserts the string in screen coordinates at the position (‘X’,‘Y’).<br> 26392<br> 26393If ‘View’ < 0, the plugin is run on the current view.<br> 26394<br> 26395Plugin(Annotate) is executed in-place for list-based datasets or creates a new list-based view for other datasets. 26396String options: 26397</p><dl compact="compact"> 26398<dt><code>Text</code></dt> 26399<dd><p>Default value: <code>"My Text"</code> 26400</p></dd> 26401<dt><code>Font</code></dt> 26402<dd><p>Default value: <code>"Helvetica"</code> 26403</p></dd> 26404<dt><code>Align</code></dt> 26405<dd><p>Default value: <code>"Left"</code> 26406</p></dd> 26407</dl> 26408<p>Numeric options: 26409</p><dl compact="compact"> 26410<dt><code>X</code></dt> 26411<dd><p>Default value: <code>50</code> 26412</p></dd> 26413<dt><code>Y</code></dt> 26414<dd><p>Default value: <code>30</code> 26415</p></dd> 26416<dt><code>Z</code></dt> 26417<dd><p>Default value: <code>0</code> 26418</p></dd> 26419<dt><code>ThreeD</code></dt> 26420<dd><p>Default value: <code>0</code> 26421</p></dd> 26422<dt><code>FontSize</code></dt> 26423<dd><p>Default value: <code>14</code> 26424</p></dd> 26425<dt><code>View</code></dt> 26426<dd><p>Default value: <code>-1</code> 26427</p></dd> 26428</dl> 26429 26430</dd> 26431<dt><code>Plugin(BoundaryAngles)</code> 26432<span id="index-Plugin_0028BoundaryAngles_0029"></span> 26433</dt> 26434<dd><p>Plugin(BoundaryAngles) computes the (interior) angles between the line elements on the boundary of all surfaces. The angles, computed modulo 2*Pi, are stored in a new post-processing view, one for each surface. The plugin currently only w
26434orks for planar surfaces.Available options:- Visible (1=True, 0 = False, Default = 1): Visibility of the Views in the GUI - Save (1=True, 0 = False, Default = 0): Save the Views on disk ?- Remove (1=True, 0 = False, Default = 0): Remove the View from the memory after execution?- Filename (Default = ’Angles_Surface’): Root name for the Views (in case of save / Visibility)- Dir (Default = ”): Output directory (possibly nested) 26435String options: 26436</p><dl compact="compact"> 26437<dt><code>Filename</code></dt> 26438<dd><p>Default value: <code>"Angles_Surface"</code> 26439</p></dd> 26440<dt><code>Dir</code></dt> 26441<dd><p>Default value: <code>""</code> 26442</p></dd> 26443</dl> 26444<p>Numeric options: 26445</p><dl compact="compact"> 26446<dt><code>View</code></dt> 26447<dd><p>Default value: <code>-1</code> 26448</p></dd> 26449<dt><code>Save</code></dt> 26450<dd><p>Default value: <code>0</code> 26451</p></dd> 26452<dt><code>Visible</code></dt> 26453<dd><p>Default value: <code>0</code> 26454</p></dd> 26455<dt><code>Remove</code></dt> 26456<dd><p>Default value: <code>0</code> 26457</p></dd> 26458</dl> 26459 26460</dd> 26461<dt><code>Plugin(BoundaryLayer)</code> 26462<span id="index-Plugin_0028BoundaryLayer_0029"></span> 26463</dt> 26464<dd><p>Plugin(BoundaryLayer) performs magic. 26465String options: 26466</p><dl compact="compact"> 26467<dt><code>Volumes</code></dt> 26468<dd><p>Default value: <code>""</code> 26469</p></dd> 26470<dt><code>Surfaces</code></dt> 26471<dd><p>Default value: <code>""</code> 26472</p></dd> 26473<dt><code>Curves</code></dt> 26474<dd><p>Default value: <code>""</code> 26475</p></dd> 26476<dt><code>Points</code></dt> 26477<dd><p>Default value: <code>""</code> 26478</p></dd> 26479</dl> 26480<p>Numeric options: 26481</p><dl compact="compact"> 26482<dt><code>Thickness</code></dt> 26483<dd><p>Default value: <code>0.01</code> 26484</p></dd> 26485<dt><code>Size</code></dt> 26486<dd><p>Default value: <code>0.001</code> 26487</p></dd> 26488<dt><code>Ratio</code></dt> 26489<dd><p>Default value: <code>1.2</code> 26490</p></dd> 26491</dl> 26492 26493</dd> 26494<dt><code>Plugin(Bubbles)</code> 26495<span id="index-Plugin_0028Bubbles_0029"></span> 26496</dt> 26497<dd><p>Plugin(Bubbles) constructs a geometry consisting of ‘bubbles’ inscribed in the Voronoi of an input triangulation. ‘ShrinkFactor’ allows to change the size of the bubbles. The plugin expects a triangulation in the ‘z = 0’ plane to exist in the current model.<br> 26498<br> 26499Plugin(Bubbles) creates one ‘.geo’ file. 26500String options: 26501</p><dl compact="compact"> 26502<dt><code>OutputFile</code></dt> 26503<dd><p>Default value: <code>"bubbles.geo"</code> 26504</p></dd> 26505</dl> 26506<p>Numeric options: 26507</p><dl compact="compact"> 26508<dt><code>ShrinkFactor</code></dt> 26509<dd><p>Default value: <code>0</code> 26510</p></dd> 26511</dl> 26512 26513</dd> 26514<dt><code>Plugin(Crack)</code> 26515<span id="index-Plugin_0028Crack_0029"></span> 26516</dt> 26517<dd><p>Plugin(Crack) creates a crack around the orientable, manifold physical group ‘PhysicalGroup’ of dimension ‘Dimension’ (1 or 2), embedded in a mesh of dimension ‘Dimension’ + 1.The plugin duplicates the nodes and the elements on the crack and stores them in a new discrete curve (‘Dimension’ = 1) or surface (‘Dimension’ = 2). The elements touching the crack on the positive side are modified to use the newly generated nodes.If ‘OpenBoundaryPhysicalGroup’ is given (> 0), its nodes are duplicated and the crack will be left open on that (part of the) boundary. Otherwise, the lips of the crack are sealed, i.e., its nodes are not duplicated. For 1D cracks, ‘NormalX’, ‘NormalY’ and ‘NormalZ’ provide the reference normal of the surface in which the crack is supposed to be embedded. If ‘NewPhysicalGroup’ is positive, use it as the tag of the newly created curve or surface; otherwise use ‘PhysicalGroup’. If ‘SwapOrientation’ is set to 1, the orientation of the duplicated elements on the crack is reversed. 26518Numeric options: 26519</p><dl compact="compact"> 26520<dt><code>Dimension</code></dt> 26521<dd><p>Default value: <code>1</code> 26522</p></dd> 26523<dt><code>PhysicalGroup</code></dt> 26524<dd><p>Default value: <code>1</code> 26525</p></dd> 26526<dt><code>OpenBoundaryPhysicalGroup</code></dt> 26527<dd><p>Default value: <code>0</code> 26528</p></dd> 26529<dt><code>NormalX</code></dt> 26530<dd><p>Default value: <code>0</code> 26531</p></dd> 26532<dt><code>NormalY</code></dt> 26533<dd><p>Default value: <code>0</code> 26534</p></dd> 26535<dt><code>NormalZ</code></dt> 26536<dd><p>Default value: <code>1</code> 26537</p></dd> 26538<dt><code>NewPhysicalGroup</code></dt> 26539<dd><p>Default value: <code>0</code> 26540</p></dd> 26541<dt><code>DebugView</code></dt> 26542<dd><p>Default value: <code>0</code> 26543</p></dd> 26544<dt><code>SwapOrientation</code></dt> 26545<dd><p>Default value: <code>0</code> 26546</p></dd> 26547</dl> 26548 26549</dd> 26550<dt><code>Plugin(Curl)</code> 26551<span id="index-Plugin_0028Curl_0029"></span> 26552</dt> 26553<dd><p>Plugin(Curl) computes the curl of the field in the view ‘View’.<br> 26554<br> 26555If ‘View’ < 0, the plugin is run on the current view.<br> 26556<br> 26557Plugin(Curl) creates one new list-based view. 26558Numeric options: 26559</p><dl compact="compact"> 26560<dt><code>View</code></dt> 26561<dd><p>Default value: <code>-1</code> 26562</p></dd> 26563</dl> 26564 26565</dd> 26566<dt><code>
26566Plugin(CurvedBndDist)</code> 26567<span id="index-Plugin_0028CurvedBndDist_0029"></span> 26568</dt> 26569<dd><p>Plugin(CurvedBndDist) ... 26570</p> 26571</dd> 26572<dt><code>Plugin(CutBox)</code> 26573<span id="index-Plugin_0028CutBox_0029"></span> 26574</dt> 26575<dd><p>Plugin(CutBox) cuts the view ‘View’ with a rectangular box defined by the 4 points (‘X0’,‘Y0’,‘Z0’) (origin), (‘X1’,‘Y1’,‘Z1’) (axis of U), (‘X2’,‘Y2’,‘Z2’) (axis of V) and (‘X3’,‘Y3’,‘Z3’) (axis of W).<br> 26576<br> 26577The number of points along U, V, W is set with the options ‘NumPointsU’, ‘NumPointsV’ and ‘NumPointsW’.<br> 26578<br> 26579If ‘ConnectPoints’ is zero, the plugin creates points; otherwise, the plugin generates hexahedra, quadrangles, lines or points depending on the values of ‘NumPointsU’, ‘NumPointsV’ and ‘NumPointsW’.<br> 26580<br> 26581If ‘Boundary’ is zero, the plugin interpolates the view inside the box; otherwise the plugin interpolates the view at its boundary.<br> 26582<br> 26583If ‘View’ < 0, the plugin is run on the current view.<br> 26584<br> 26585Plugin(CutBox) creates one new list-based view. 26586Numeric options: 26587</p><dl compact="compact"> 26588<dt><code>X0</code></dt> 26589<dd><p>Default value: <code>0</code> 26590</p></dd> 26591<dt><code>Y0</code></dt> 26592<dd><p>Default value: <code>0</code> 26593</p></dd> 26594<dt><code>Z0</code></dt> 26595<dd><p>Default value: <code>0</code> 26596</p></dd> 26597<dt><code>X1</code></dt> 26598<dd><p>Default value: <code>1</code> 26599</p></dd> 26600<dt><code>Y1</code></dt> 26601<dd><p>Default value: <code>0</code> 26602</p></dd> 26603<dt><code>Z1</code></dt> 26604<dd><p>Default value: <code>0</code> 26605</p></dd> 26606<dt><code>X2</code></dt> 26607<dd><p>Default value: <code>0</code> 26608</p></dd> 26609<dt><code>Y2</code></dt> 26610<dd><p>Default value: <code>1</code> 26611</p></dd> 26612<dt><code>Z2</code></dt> 26613<dd><p>Default value: <code>0</code> 26614</p></dd> 26615<dt><code>X3</code></dt> 26616<dd><p>Default value: <code>0</code> 26617</p></dd> 26618<dt><code>Y3</code></dt> 26619<dd><p>Default value: <code>0</code> 26620</p></dd> 26621<dt><code>Z3</code></dt> 26622<dd><p>Default value: <code>1</code> 26623</p></dd> 26624<dt><code>NumPointsU</code></dt> 26625<dd><p>Default value: <code>20</code> 26626</p></dd> 26627<dt><code>NumPointsV</code></dt> 26628<dd><p>Default value: <code>20</code> 26629</p></dd> 26630<dt><code>NumPointsW</code></dt> 26631<dd><p>Default value: <code>20</code> 26632</p></dd> 26633<dt><code>ConnectPoints</code></dt> 26634<dd><p>Default value: <code>1</code> 26635</p></dd> 26636<dt><code>Boundary</code></dt> 26637<dd><p>Default value: <code>1</code> 26638</p></dd> 26639<dt><code>View</code></dt> 26640<dd><p>Default value: <code>-1</code> 26641</p></dd> 26642</dl> 26643 26644</dd> 26645<dt><code>Plugin(CutGrid)</code> 26646<span id="index-Plugin_0028CutGrid_0029"></span> 26647</dt> 26648<dd><p>Plugin(CutGrid) cuts the view ‘View’ with a rectangular grid defined by the 3 points (‘X0’,‘Y0’,‘Z0’) (origin), (‘X1’,‘Y1’,‘Z1’) (axis of U) and (‘X2’,‘Y2’,‘Z2’) (axis of V).<br> 26649<br> 26650The number of points along U and V is set with the options ‘NumPointsU’ and ‘NumPointsV’.<br> 26651<br> 26652If ‘ConnectPoints’ is zero, the plugin creates points; otherwise, the plugin generates quadrangles, lines or points depending on the values of ‘NumPointsU’ and ‘NumPointsV’.<br> 26653<br> 26654If ‘View’ < 0, the plugin is run on the current view.<br> 26655<br> 26656Plugin(CutGrid) creates one new list-based view. 26657Numeric options: 26658</p><dl compact="compact"> 26659<dt><code>X0</code></dt> 26660<dd><p>Default value: <code>0</code> 26661</p></dd> 26662<dt><code>Y0</code></dt> 26663<dd><p>Default value: <code>0</code> 26664</p></dd> 26665<dt><code>Z0</code></dt> 26666<dd><p>Default value: <code>0</code> 26667</p></dd> 26668<dt><code>X1</code></dt> 26669<dd><p>Default value: <code>1</code> 26670</p></dd> 26671<dt><code>Y1</code></dt> 26672<dd><p>Default value: <code>0</code> 26673</p></dd> 26674<dt><code>Z1</code></dt> 26675<dd><p>Default value: <code>0</code> 26676</p></dd> 26677<dt><code>X2</code></dt> 26678<dd><p>Default value: <code>0</code> 26679</p></dd> 26680<dt><code>Y2</code></dt> 26681<dd><p>Default value: <code>1</code> 26682</p></dd> 26683<dt><code>Z2</code></dt> 26684<dd><p>Default value: <code>0</code> 26685</p></dd> 26686<dt><code>NumPointsU</code></dt> 26687<dd><p>Default value: <code>20</code> 26688</p></dd> 26689<dt><code>NumPointsV</code></dt> 26690<dd><p>Default value: <code>20</code> 26691</p></dd> 26692<dt><code>ConnectPoints</code></dt> 26693<dd><p>Default value: <code>1</code> 26694</p></dd> 26695<dt><code>View</code></dt> 26696<dd><p>Default value: <code>-1</code> 26697</p></dd> 26698</dl> 26699 26700</dd> 26701<dt><code>Plugin(CutMesh)</code> 26702<span id="index-Plugin_0028CutMesh_0029"></span> 26703</dt> 26704<dd><p>Plugin(CutMesh) cuts the mesh of the current GModel with the zero value of the levelset defined with the view ’View’.Sub-elements are created in the new model (polygons in 2D and polyhedra in 3D) and border elements are created on the zero-levelset.<br> 26705<br> 26706If ‘Split’ is nonzero, the plugin splits the meshalong the edges of the cut elements in the positive side.<br> 26707<br> 26708If ’SaveTri’ is nonzero, the sub-elements are saved as simplices.<br> 26709<br> 26710Plugin(CutMesh) creates one new GModel. 26711Numeric options: 26712</p><dl compact="compact"> 26713<dt><code>View</code></dt> 26714<dd><p>Default value: <code>-1</code> 26715</p></dd> 26716<dt><code>Split</code></dt> 26717<dd><p>Default value: <code>0</code> 26718</p></dd> 26719<dt><code>SaveTri</code></dt> 26720<dd><p>Default value: <code>0</code> 26721</p></dd> 26722</dl> 26723 26724</dd> 26725<dt><code>Plugin(CutParametric)</code> 26726<span id="index-Plugin_0028CutParametric_0029"></span> 26727</dt> 26728<dd><p>Plugin(CutParametric) cuts the view ‘View’ with the parametric function (‘X’(u,v), ‘Y’(u,v), ‘Z’(u,v)), using ‘NumPointsU’ values of the parameter u in [‘MinU’, ‘MaxU’] and ‘NumPointsV’ values of the parameter v in [‘MinV’, ‘MaxV’].<br> 26729<br> 26730If ‘ConnectPoints’ is set, the plugin creates surface or line elements; otherwise, the plugin generates points.<br> 26731<br> 26732If ‘View’ < 0, the plugin is run on the current view.<br> 26733<br> 26734Plugin(CutParametric) creates one new list-based view. 26735String options: 26736</p><dl compact="compact"> 26737<dt><code>X</code></dt> 26738<dd><p>Default value: <code>"2 * Cos(u) * Sin(v)"</code> 26739</p></dd> 26740<dt><code>Y</code></dt> 26741<dd><p>Default value: <code>"4 * Sin(u) * Sin(v)"</code> 26742</p></dd> 26743<dt><code>Z</code></dt> 26744<dd><p>Default value: <code>"0.1 + 0.5 * Cos(v)"</code> 26745</p></dd> 26746</dl> 26747<p>Numeric options: 26748</p><dl compact="compact"> 26749<dt><code>MinU</code></dt> 26750<dd><p>Default value: <code>0</code> 26751</p></dd> 26752<dt><code>MaxU</code></dt> 26753<dd><p>Default value: <code>6.2832</code> 26754</p></dd> 26755<dt><code>NumPointsU</code></dt> 26756<dd><p>Default value: <code>180</code> 26757</p></dd> 26758<dt><code>MinV</code></dt> 26759<dd><p>Default value: <code>0</code> 26760</p></dd> 26761<dt><code>MaxV</code></dt> 26762<dd><p>Default value: <code>6.2832</code> 26763</p></dd> 26764<dt><code>NumPointsV</code></dt> 26765<dd><p>Default value: <code>180</code> 26766</p></dd> 26767<dt><code>ConnectPoints</code></dt> 26768<dd><p>Default value: <code>0</code> 26769</p></dd> 26770<dt><code>View</code></dt> 26771<dd><p>Default value: <code>-1</code> 26772</p></dd> 26773</dl> 26774 26775</dd> 26776<dt><code>Plugin(CutPlane)</code> 26777<span id="index-Plugin_0028CutPlane_0029"></span> 26778</dt> 26779<dd><p>Plugin(CutPlane) cuts the view ‘View’ with the plane ‘A’*X + ‘B’*Y + ‘C’*Z + ‘D’ = 0.<br> 26780<br> 26781If ‘ExtractVolume’ is nonzero, the plugin extracts the elements on one side of the plane (depending on the sign of ‘ExtractVolume’).<br> 26782<br> 26783If ‘View’ < 0, the plugin is run on the current view. If ‘
26783Visible’ = 1, the plugin only cuts visible entities.<br> 26784<br> 26785Plugin(CutPlane) creates one new list-based view. 26786Numeric options: 26787</p><dl compact="compact"> 26788<dt><code>A</code></dt> 26789<dd><p>Default value: <code>1</code> 26790</p></dd> 26791<dt><code>B</code></dt> 26792<dd><p>Default value: <code>0</code> 26793</p></dd> 26794<dt><code>C</code></dt> 26795<dd><p>Default value: <code>0</code> 26796</p></dd> 26797<dt><code>D</code></dt> 26798<dd><p>Default value: <code>-0.01</code> 26799</p></dd> 26800<dt><code>ExtractVolume</code></dt> 26801<dd><p>Default value: <code>0</code> 26802</p></dd> 26803<dt><code>RecurLevel</code></dt> 26804<dd><p>Default value: <code>3</code> 26805</p></dd> 26806<dt><code>TargetError</code></dt> 26807<dd><p>Default value: <code>0.0001</code> 26808</p></dd> 26809<dt><code>View</code></dt> 26810<dd><p>Default value: <code>-1</code> 26811</p></dd> 26812<dt><code>Visible</code></dt> 26813<dd><p>Default value: <code>1</code> 26814</p></dd> 26815</dl> 26816 26817</dd> 26818<dt><code>Plugin(CutSphere)</code> 26819<span id="index-Plugin_0028CutSphere_0029"></span> 26820</dt> 26821<dd><p>Plugin(CutSphere) cuts the view ‘View’ with the sphere (X-‘Xc’)^2 + (Y-‘Yc’)^2 + (Z-‘Zc’)^2 = ‘R’^2.<br> 26822<br> 26823If ‘ExtractVolume’ is nonzero, the plugin extracts the elements inside (if ‘ExtractVolume’ < 0) or outside (if ‘ExtractVolume’ > 0) the sphere.<br> 26824<br> 26825If ‘View’ < 0, the plugin is run on the current view. If ‘Visible’ = 1, the plugin only cuts visible entities.<br> 26826<br> 26827Plugin(CutSphere) creates one new list-based view. 26828Numeric options: 26829</p><dl compact="compact"> 26830<dt><code>Xc</code></dt> 26831<dd><p>Default value: <code>0</code> 26832</p></dd> 26833<dt><code>Yc</code></dt> 26834<dd><p>Default value: <code>0</code> 26835</p></dd> 26836<dt><code>Zc</code></dt> 26837<dd><p>Default value: <code>0</code> 26838</p></dd> 26839<dt><code>R</code></dt> 26840<dd><p>Default value: <code>0.25</code> 26841</p></dd> 26842<dt><code>ExtractVolume</code></dt> 26843<dd><p>Default value: <code>0</code> 26844</p></dd> 26845<dt><code>RecurLevel</code></dt> 26846<dd><p>Default value: <code>3</code> 26847</p></dd> 26848<dt><code>TargetError</code></dt> 26849<dd><p>Default value: <code>0.0001</code> 26850</p></dd> 26851<dt><code>View</code></dt> 26852<dd><p>Default value: <code>-1</code> 26853</p></dd> 26854<dt><code>Visible</code></dt> 26855<dd><p>Default value: <code>1</code> 26856</p></dd> 26857</dl> 26858 26859</dd> 26860<dt><code>Plugin(DiscretizationError)</code> 26861<span id="index-Plugin_0028DiscretizationError_0029"></span> 26862</dt> 26863<dd><p>Plugin(DiscretizationError) computes the error between the mesh and the geometry. It does so by supersampling the elements and computing the distance between the supersampled points dans their projection on the geometry. 26864Numeric options: 26865</p><dl compact="compact"> 26866<dt><code>SuperSamplingNodes</code></dt> 26867<dd><p>Default value: <code>10</code> 26868</p></dd> 26869</dl> 26870 26871</dd> 26872<dt><code>Plugin(Distance)</code> 26873<span id="index-Plugin_0028Distance_0029"></span> 26874</dt> 26875<dd><p>Plugin(Distance) computes distances to entities in a mesh.<br> 26876<br> 26877If ‘PhysicalPoint’, ‘PhysicalLine’ and ‘PhysicalSurface’ are 0, the distance is computed to all the boundaries. Otherwise the distance is computed to the given physical group.<br> 26878<br> 26879If ‘DistanceType’ is 0, the plugin computes the geometrical Euclidean distance using the naive O(N^2) algorithm. If ‘DistanceType’ > 0, the plugin computes an approximate distance by solving a PDE with a diffusion constant equal to ‘DistanceType’ time the maximum size of the bounding box of the mesh as in [Legrand et al. 2006].<br> 26880<br> 26881Positive ‘MinScale’ and ‘MaxScale’ scale the distance function.<br> 26882<br> 26883Plugin(Distance) creates one new list-based view. 26884Numeric options: 26885</p><dl compact="compact"> 26886<dt><code>PhysicalPoint</code></dt> 26887<dd><p>Default value: <code>0</code> 26888</p></dd> 26889<dt><code>PhysicalLine</code></dt> 26890<dd><p>Default value: <code>0</code> 26891</p></dd> 26892<dt><code>PhysicalSurface</code></dt> 26893<dd><p>Default value: <code>0</code> 26894</p></dd> 26895<dt><code>DistanceType</code></dt> 26896<dd><p>Default value: <code>0</code> 26897</p></dd> 26898<dt><code>MinScale</code></dt> 26899<dd><p>Default value: <code>0</code> 26900</p></dd> 26901<dt><code>MaxScale</code></dt> 26902<dd><p>Default value: <code>0</code> 26903</p></dd> 26904</dl> 26905 26906</dd> 26907<dt><code>Plugin(Divergence)</code> 26908<span id="index-Plugin_0028Divergence_0029"></span> 26909</dt> 26910<dd><p>Plugin(Divergence) computes the divergence of the field in the view ‘View’.<br> 26911<br> 26912If ‘View’ < 0, the plugin is run on the current view.<br> 26913<br> 26914Plugin(Divergence) creates one new list-based view. 26915Numeric options: 26916</p><dl compact="compact"> 26917<dt><code>View</code></dt> 26918<dd><p>Default value: <code>-1</code> 26919</p></dd> 26920</dl> 26921 26922</dd> 26923<dt><code>Plugin(Eigenvalues)</code> 26924<span id="index-Plugin_0028Eigenvalues_0029"></span> 26925</dt> 26926<dd><p>Plugin(Eigenvalues) computes the three real eigenvalues of each tensor in the view ‘View’.<br> 26927<br> 26928If ‘View’ < 0, the plugin is run on the current view.<br> 26929<br> 26930Plugin(Eigenvalues) creates three new list-based scalar views. 26931Numeric options: 26932</p><dl compact="compact"> 26933<dt><code>View</code></dt> 26934<dd><p>Default value: <code>-1</code> 26935</p></dd> 26936</dl> 26937 26938</dd> 26939<dt><code>Plugin(Eigenvectors)</code> 26940<span id="index-Plugin_0028Eigenvectors_0029"></span> 26941</dt> 26942<dd><p>Plugin(Eigenvectors) computes the three (right) eigenvectors of each tensor in the view ‘View’ and sorts them according to the value of the associated eigenvalues.<br> 26943<br> 26944If ‘ScaleByEigenvalues’ is set, each eigenvector is scaled by its associated eigenvalue. The plugin gives an error if the eigenvectors are complex.<br> 26945<br> 26946If ‘View’ < 0, the plugin is run on the current view.<br> 26947<br> 26948Plugin(Eigenvectors) creates three new list-based vector view. 26949Numeric options: 26950</p><dl compact="compact"> 26951<dt><code>ScaleByEigenvalues</code></dt> 26952<dd><p>Default value: <code>1</code> 26953</p></dd> 26954<dt><code>View</code></dt> 26955<dd><p>Default value: <code>-1</code> 26956</p></dd> 26957</dl> 26958 26959</dd> 26960<dt><code>Plugin(ExtractEdges)</code> 26961<span id="index-Plugin_0028ExtractEdges_0029"></span> 26962</dt> 26963<dd><p>Plugin(ExtractEdges) extracts sharp edges from a triangular mesh.<br> 26964<br> 26965Plugin(ExtractEdges) creates one new view. 26966Numeric options: 26967</p><dl compact="compact"> 26968<dt><code>Angle</code></dt> 26969<dd><p>Default value: <code>40</code> 26970</p></dd> 26971<dt><code>IncludeBoundary</code></dt> 26972<dd><p>Default value: <code>1</code> 26973</p></dd> 26974</dl> 26975 26976</dd> 26977<dt><code>Plugin(ExtractElements)</code> 26978<span id="index-Plugin_0028ExtractElements_0029"></span> 26979</dt> 26980<dd><p>Plugin(ExtractElements) extracts some elements from the view ‘View’. If ‘MinVal’ != ‘MaxVal’, it extracts the elements whose ‘TimeStep’-th values (averaged by element) are comprised between ‘MinVal’ and ‘MaxVal’. If ‘
26980Visible’ != 0, it extracts visible elements. <br> 26981<br> 26982If ‘View’ < 0, the plugin is run on the current view.<br> 26983<br> 26984Plugin(ExtractElements) creates one new list-based view. 26985Numeric options: 26986</p><dl compact="compact"> 26987<dt><code>MinVal</code></dt> 26988<dd><p>Default value: <code>0</code> 26989</p></dd> 26990<dt><code>MaxVal</code></dt> 26991<dd><p>Default value: <code>0</code> 26992</p></dd> 26993<dt><code>TimeStep</code></dt> 26994<dd><p>Default value: <code>0</code> 26995</p></dd> 26996<dt><code>Visible</code></dt> 26997<dd><p>Default value: <code>1</code> 26998</p></dd> 26999<dt><code>Dimension</code></dt> 27000<dd><p>Default value: <code>-1</code> 27001</p></dd> 27002<dt><code>View</code></dt> 27003<dd><p>Default value: <code>-1</code> 27004</p></dd> 27005</dl> 27006 27007</dd> 27008<dt><code>Plugin(FieldFromAmplitudePhase)</code> 27009<span id="index-Plugin_0028FieldFromAmplitudePhase_0029"></span> 27010</dt> 27011<dd><p>Plugin(FieldFromAmplitudePhase) builds a complex field ’u’ from amplitude ’a’ (complex) and phase ’phi’ given in two different ’Views’ u = a * exp(k*phi), with k the wavenumber. <br> 27012<br> 27013The result is to be interpolated in a sufficiently fine mesh: ’MeshFile’. <br> 27014<br> 27015Plugin(FieldFromAmplitudePhase) generates one new view. 27016String options: 27017</p><dl compact="compact"> 27018<dt><code>MeshFile</code></dt> 27019<dd><p>Default value: <code>"fine.msh"</code> 27020</p></dd> 27021</dl> 27022<p>Numeric options: 27023</p><dl compact="compact"> 27024<dt><code>Wavenumber</code></dt> 27025<dd><p>Default value: <code>5</code> 27026</p></dd> 27027<dt><code>AmplitudeView</code></dt> 27028<dd><p>Default value: <code>0</code> 27029</p></dd> 27030<dt><code>PhaseView</code></dt> 27031<dd><p>Default value: <code>1</code> 27032</p></dd> 27033</dl> 27034 27035</dd> 27036<dt><code>Plugin(GaussPoints)</code> 27037<span id="index-Plugin_0028GaussPoints_0029"></span> 27038</dt> 27039<dd><p>Given an input mesh, Plugin(GaussPoints) creates a list-based view containing the Gauss points for a given polynomial ‘Order’.<br> 27040<br> 27041If ‘PhysicalGroup’ is nonzero, the plugin only creates points for the elements belonging to the group. 27042Numeric options: 27043</p><dl compact="compact"> 27044<dt><code>Order</code></dt> 27045<dd><p>Default value: <code>0</code> 27046</p></dd> 27047<dt><code>Dimension</code></dt> 27048<dd><p>Default value: <code>2</code> 27049</p></dd> 27050<dt><code>PhysicalGroup</code></dt> 27051<dd><p>Default value: <code>0</code> 27052</p></dd> 27053</dl> 27054 27055</dd> 27056<dt><code>Plugin(Gradient)</code> 27057<span id="index-Plugin_0028Gradient_0029"></span> 27058</dt> 27059<dd><p>Plugin(Gradient) computes the gradient of the field in the view ‘View’.<br> 27060<br> 27061If ‘View’ < 0, the plugin is run on the current view.<br> 27062<br> 27063Plugin(Gradient) creates one new list-based view. 27064Numeric options: 27065</p><dl compact="compact"> 27066<dt><code>View</code></dt> 27067<dd><p>Default value: <code>-1</code> 27068</p></dd> 27069</dl> 27070 27071</dd> 27072<dt><code>Plugin(HarmonicToTime)</code> 27073<span id="index-Plugin_0028HarmonicToTime_0029"></span> 27074</dt> 27075<dd><p>Plugin(HarmonicToTime) takes the values in the time steps ‘RealPart’ and ‘ImaginaryPart’ of the view ‘View’, and creates a new view containing<br> 27076<br> 27077‘View’[‘RealPart’] * cos(p) +- ‘View’[‘ImaginaryPart’] * sin(p)<br> 27078with<br> 27079 p = 2*Pi*k/‘NumSteps’, k = 0, ..., ‘NumSteps’-1<br> 27080and ’NumSteps’ the total number of time steps<br> 27081over ’NumPeriods’ periods at frequency ’Frequency’ [Hz].<br> 27082The ’+’ sign is used if ‘TimeSign’>0, the ’-’ sign otherwise.<br> 27083<br> 27084If ‘View’ < 0, the plugin is run on the current view.<br> 27085<br> 27086Plugin(HarmonicToTime) creates one new list-based view. 27087Numeric options: 27088</p><dl compact="compact"> 27089<dt><code>RealPart</code></dt> 27090<dd><p>Default value: <code>0</code> 27091</p></dd> 27092<dt><code>ImaginaryPart</code></dt> 27093<dd><p>Default value: <code>1</code> 27094</p></dd> 27095<dt><code>NumSteps</code></dt> 27096<dd><p>Default value: <code>20</code> 27097</p></dd> 27098<dt><code>TimeSign</code></dt> 27099<dd><p>Default value: <code>-1</code> 27100</p></dd> 27101<dt><code>Frequency</code></dt> 27102<dd><p>Default value: <code>1</code> 27103</p></dd> 27104<dt><code>NumPeriods</code></dt> 27105<dd><p>Default value: <code>1</code> 27106</p></dd> 27107<dt><code>View</code></dt> 27108<dd><p>Default value: <code>-1</code> 27109</p></dd> 27110</dl> 27111 27112</dd> 27113<dt><code>Plugin(HomologyComputation)</code> 27114<span id="index-Plugin_0028HomologyComputation_0029"></span> 27115</dt> 27116<dd><p>Plugin(HomologyComputation) computes representative chains of basis elements of (relative) homology and cohomology spaces.<br> 27117<br> 27118Define physical groups in order to specify the computation domain and the relative subdomain. Otherwise the whole mesh is the domain and the relative subdomain is empty. <br> 27119<br> 27120Plugin(HomologyComputation) creates new views, one for each basis element. If ‘Filename’ is provided, the plugin saves the resulting basis chains of desired dimension along with the mesh. 27121String options: 27122</p><dl compact="compact"> 27123<dt><code>DomainPhysicalGroups</code></dt> 27124<dd><p>Default value: <code>""</code> 27125</p></dd> 27126<dt><code>SubdomainPhysicalGroups</code></dt> 27127<dd><p>Default value: <code>""</code> 27128</p></dd> 27129<dt><code>ReductionImmunePhysicalGroups</code></dt> 27130<dd><p>Default value: <code>""</code> 27131</p></dd> 27132<dt><code>DimensionOfChainsToSave</code></dt> 27133<dd><p>Default value: <code>"0, 1, 2, 3"</code> 27134</p></dd> 27135<dt><code>Filename</code></dt> 27136<dd><p>Default value: <code>""</code> 27137</p></dd> 27138</dl> 27139<p>Numeric options: 27140</p><dl compact="compact"> 27141<dt><code>ComputeHomology</code></dt> 27142<dd><p>Default value: <code>1</code> 27143</p></dd> 27144<dt><code>ComputeCohomology</code></dt> 27145<dd><p>Default value: <code>0</code> 27146</p></dd> 27147<dt><code>HomologyPhysicalGroupsBegin</code></dt> 27148<dd><p>Default value: <code>-1</code> 27149</p></dd> 27150<dt><code>CohomologyPhysicalGroupsBegin</code></dt> 27151<dd><p>Default value: <code>-1</code> 27152</p></dd> 27153<dt><code>CreatePostProcessingViews</code></dt> 27154<dd><p>Default value: <code>1</code> 27155</p></dd> 27156<dt><code>ReductionOmit</code></dt> 27157<dd><p>Default value: <code>1</code> 27158</p></dd> 27159<dt><code>ReductionCombine</code></dt> 27160<dd><p>Default value: <code>3</code> 27161</p></dd> 27162<dt><code>PostProcessSimplify</code></dt> 27163<dd><p>Default value: <code>1</code> 27164</p></dd> 27165<dt><code>ReductionHeuristic</code></dt> 27166<dd><p>Default value: <code>1</code> 27167</p></dd> 27168</dl> 27169 27170</dd> 27171<dt><code>Plugin(HomologyPostProcessing)</code> 27172<span id="index-Plugin_0028HomologyPostProcessing_0029"></span> 27173</dt> 27174<dd><p>Plugin(HomologyPostProcessing) operates on representative basis chains of homology and cohomology spaces. Functionality:<br> 27175<br> 271761. (co)homology basis transformation:<br> 27177 ’TransformationMatrix’: Integer matrix of the transformation.<br> 27178 ’PhysicalGroupsOfOperatedChains’: (Co)chains of a (co)homology space basis to be transformed.<br> 27179 Results a new (co)chain basis that is an integer combination of the given basis.<br> 27180<br> 271812. Make basis representations of a homology space and a cohomology space compatible:<br> 27182’PhysicalGroupsOfOperatedChains’: Chains of a homology space basis.<br> 27183’PhysicalGroupsOfOperatedChains2’: Cochains of a cohomology space basis.<br> 27184Results a new basis for the homology space such that the incidence matrix of the new basis and the basis of the cohomology space is the identity matrix.<br> 27185<br> 27186Options:<br> 27187’PhysicalGroupsToTraceResults’
27187: Trace the resulting (co)chains to the given physical groups.<br> 27188’PhysicalGroupsToProjectResults’: Project the resulting (co)chains to the complement of the given physical groups.<br> 27189’NameForResultChains’: Post-processing view name prefix for the results.<br> 27190’ApplyBoundaryOperatorToResults’: Apply boundary operator to the resulting chains.<br> 27191</p> 27192<p>String options: 27193</p><dl compact="compact"> 27194<dt><code>TransformationMatrix</code></dt> 27195<dd><p>Default value: <code>"1, 0; 0, 1"</code> 27196</p></dd> 27197<dt><code>PhysicalGroupsOfOperatedChains</code></dt> 27198<dd><p>Default value: <code>"1, 2"</code> 27199</p></dd> 27200<dt><code>PhysicalGroupsOfOperatedChains2</code></dt> 27201<dd><p>Default value: <code>""</code> 27202</p></dd> 27203<dt><code>PhysicalGroupsToTraceResults</code></dt> 27204<dd><p>Default value: <code>""</code> 27205</p></dd> 27206<dt><code>PhysicalGroupsToProjectResults</code></dt> 27207<dd><p>Default value: <code>""</code> 27208</p></dd> 27209<dt><code>NameForResultChains</code></dt> 27210<dd><p>Default value: <code>"c"</code> 27211</p></dd> 27212</dl> 27213<p>Numeric options: 27214</p><dl compact="compact"> 27215<dt><code>ApplyBoundaryOperatorToResults</code></dt> 27216<dd><p>Default value: <code>0</code> 27217</p></dd> 27218</dl> 27219 27220</dd> 27221<dt><code>Plugin(Integrate)</code> 27222<span id="index-Plugin_0028Integrate_0029"></span> 27223</dt> 27224<dd><p>Plugin(Integrate) integrates a scalar field over all the elements of the view ‘View’ (if ‘Dimension’ < 0), or over all elements of the prescribed dimension (if ‘Dimension’ > 0). If the field is a vector field, the circulation/flux of the field over line/surface elements is calculated.<br> 27225<br> 27226If ‘View’ < 0, the plugin is run on the current view.<br> 27227<br> 27228If ‘OverTime’ = i > -1 , the plugin integrates the scalar view over time (using the trapezoidal rule) instead of over space, starting at step i. If ‘Visible’ = 1, the plugin only integrates over visible entities.<br> 27229<br> 27230Plugin(Integrate) creates one new list-based view. 27231Numeric options: 27232</p><dl compact="compact"> 27233<dt><code>View</code></dt> 27234<dd><p>Default value: <code>-1</code> 27235</p></dd> 27236<dt><code>OverTime</code></dt> 27237<dd><p>Default value: <code>-1</code> 27238</p></dd> 27239<dt><code>Dimension</code></dt> 27240<dd><p>Default value: <code>-1</code> 27241</p></dd> 27242<dt><code>Visible</code></dt> 27243<dd><p>Default value: <code>1</code> 27244</p></dd> 27245</dl> 27246 27247</dd> 27248<dt><code>Plugin(Invisible)</code> 27249<span id="index-Plugin_0028Invisible_0029"></span> 27250</dt> 27251<dd><p>Plugin(Invisible) deletes (if ‘DeleteElements’ is set) or reverses (if ‘ReverseElements’ is set) all the invisible elements in the current model. If the bounding box defined by ‘XMin’ < x < ‘XMax, ‘YMin’ < y < ‘YMax and ‘ZMin’ < z < ‘ZMax’ is not empty, mark all elements outside or inside (if ‘Inside’ is set) the bounding box as invisible prior to deleting or inverting the elements. 27252Numeric options: 27253</p><dl compact="compact"> 27254<dt><code>DeleteElements</code></dt> 27255<dd><p>Default value: <code>1</code> 27256</p></dd> 27257<dt><code>ReverseElements</code></dt> 27258<dd><p>Default value: <code>0</code> 27259</p></dd> 27260<dt><code>XMin</code></dt> 27261<dd><p>Default value: <code>0</code> 27262</p></dd> 27263<dt><code>YMin</code></dt> 27264<dd><p>Default value: <code>0</code> 27265</p></dd> 27266<dt><code>ZMin</code></dt> 27267<dd><p>Default value: <code>0</code> 27268</p></dd> 27269<dt><code>XMax</code></dt> 27270<dd><p>Default value: <code>0</code> 27271</p></dd> 27272<dt><code>YMax</code></dt> 27273<dd><p>Default value: <code>0</code> 27274</p></dd> 27275<dt><code>ZMax</code></dt> 27276<dd><p>Default value: <code>0</code> 27277</p></dd> 27278<dt><code>Inside</code></dt> 27279<dd><p>Default value: <code>0</code> 27280</p></dd> 27281</dl> 27282 27283</dd> 27284<dt><code>Plugin(Isosurface)</code> 27285<span id="index-Plugin_0028Isosurface_0029"></span> 27286</dt> 27287<dd><p>Plugin(Isosurface) extracts the isosurface of value ‘Value’ from the view ‘View’, and draws the ‘OtherTimeStep’-th step of the view ‘OtherView’ on this isosurface.<br> 27288<br> 27289If ‘ExtractVolume’ is nonzero, the plugin extracts the isovolume with values greater (if ‘ExtractVolume’ > 0) or smaller (if ‘ExtractVolume’ < 0) than the isosurface ‘Value’.<br> 27290<br> 27291If ‘OtherTimeStep’ < 0, the plugin uses, for each time step in ‘View’, the corresponding time step in ‘OtherView’. If ‘OtherView’ < 0, the plugin uses ‘View’ as the value source.<br> 27292<br> 27293If ‘View’ < 0, the plugin is run on the current view. If ‘
27293Visible’ = 1, the plugin only cuts visible entities.<br> 27294<br> 27295Plugin(Isosurface) creates as many list-based views as there are time steps in ‘View’. 27296Numeric options: 27297</p><dl compact="compact"> 27298<dt><code>Value</code></dt> 27299<dd><p>Default value: <code>0</code> 27300</p></dd> 27301<dt><code>ExtractVolume</code></dt> 27302<dd><p>Default value: <code>0</code> 27303</p></dd> 27304<dt><code>RecurLevel</code></dt> 27305<dd><p>Default value: <code>3</code> 27306</p></dd> 27307<dt><code>TargetError</code></dt> 27308<dd><p>Default value: <code>0.0001</code> 27309</p></dd> 27310<dt><code>View</code></dt> 27311<dd><p>Default value: <code>-1</code> 27312</p></dd> 27313<dt><code>OtherTimeStep</code></dt> 27314<dd><p>Default value: <code>-1</code> 27315</p></dd> 27316<dt><code>OtherView</code></dt> 27317<dd><p>Default value: <code>-1</code> 27318</p></dd> 27319<dt><code>Visible</code></dt> 27320<dd><p>Default value: <code>1</code> 27321</p></dd> 27322</dl> 27323 27324</dd> 27325<dt><code>Plugin(Lambda2)</code> 27326<span id="index-Plugin_0028Lambda2_0029"></span> 27327</dt> 27328<dd><p>Plugin(Lambda2) computes the eigenvalues Lambda(1,2,3) of the tensor (S_ik S_kj + Om_ik Om_kj), where S_ij = 0.5 (ui,j + uj,i) and Om_ij = 0.5 (ui,j - uj,i) are respectively the symmetric and antisymmetric parts of the velocity gradient tensor.<br> 27329<br> 27330Vortices are well represented by regions where Lambda(2) is negative.<br> 27331<br> 27332If ‘View’ contains tensor elements, the plugin directly uses the tensors as the values of the velocity gradient tensor; if ‘View’ contains vector elements, the plugin uses them as the velocities from which to derive the velocity gradient tensor.<br> 27333<br> 27334If ‘View’ < 0, the plugin is run on the current view.<br> 27335<br> 27336Plugin(Lambda2) creates one new list-based view. 27337Numeric options: 27338</p><dl compact="compact"> 27339<dt><code>Eigenvalue</code></dt> 27340<dd><p>Default value: <code>2</code> 27341</p></dd> 27342<dt><code>View</code></dt> 27343<dd><p>Default value: <code>-1</code> 27344</p></dd> 27345</dl> 27346 27347</dd> 27348<dt><code>Plugin(LongitudeLatitude)</code> 27349<span id="index-Plugin_0028LongitudeLatitude_0029"></span> 27350</dt> 27351<dd><p>Plugin(LongituteLatitude) projects the view ‘View’ in longitude-latitude.<br> 27352<br> 27353If ‘View’ < 0, the plugin is run on the current view.<br> 27354<br> 27355Plugin(LongituteLatitude) is executed in place. 27356Numeric options: 27357</p><dl compact="compact"> 27358<dt><code>View</code></dt> 27359<dd><p>Default value: <code>-1</code> 27360</p></dd> 27361</dl> 27362 27363</dd> 27364<dt><code>Plugin(MakeSimplex)</code> 27365<span id="index-Plugin_0028MakeSimplex_0029"></span> 27366</dt> 27367<dd><p>Plugin(MakeSimplex) decomposes all non-simplectic elements (quadrangles, prisms, hexahedra, pyramids) in the view ‘View’ into simplices (triangles, tetrahedra).<br> 27368<br> 27369If ‘View’ < 0, the plugin is run on the current view.<br> 27370<br> 27371Plugin(MakeSimplex) is executed in-place. 27372Numeric options: 27373</p><dl compact="compact"> 27374<dt><code>View</code></dt> 27375<dd><p>Default value: <code>-1</code> 27376</p></dd> 27377</dl> 27378 27379</dd> 27380<dt><code>Plugin(MathEval)</code> 27381<span id="index-Plugin_0028MathEval_0029"></span> 27382</dt> 27383<dd><p>Plugin(MathEval) creates a new view using data from the time step ‘TimeStep’ in the view ‘View’.<br> 27384<br> 27385If only ‘Expression0’ is given (and ‘Expression1’, ..., ‘Expression8’ are all empty), the plugin creates a scalar view. If ‘Expression0’, ‘Expression1’ and/or ‘Expression2’ are given (and ‘Expression3’, ..., ‘Expression8’ are all empty) the plugin creates a vector view. Otherwise the plugin creates a tensor view.<br> 27386<br> 27387In addition to the usual mathematical functions (Exp, Log, Sqrt, Sin, Cos, Fabs, etc.) and operators (+, -, *, /, ^), all expressions can contain:<br> 27388<br> 27389- the symbols v0, v1, v2, ..., vn, which represent the n components in ‘View’;<br> 27390<br> 27391- the symbols w0, w1, w2, ..., wn, which represent the n components of ‘OtherView’, at time step ‘OtherTimeStep’;<br> 27392<br> 27393- the symbols x, y and z, which represent the three spatial coordinates.<br> 27394<br> 27395If ‘TimeStep’ < 0, the plugin extracts data from all the time steps in the view.<br> 27396<br> 27397If ‘View’ < 0, the plugin is run on the current view.<br> 27398<br> 27399Plugin(MathEval) creates one new view.If ‘PhysicalGroup’ < 0, the plugin is run on all physical regions.If ‘Dimension’ > 0, only search for elements of the given dimension.<br> 27400<br> 27401Plugin(MathEval) creates one new list-based view. 27402String options: 27403</p><dl compact="compact"> 27404<dt><code>Expression0</code></dt> 27405<dd><p>Default value: <code>"Sqrt(v0^2+v1^2+v2^2)"</code> 27406</p></dd> 27407<dt><code>Expression1</code></dt> 27408<dd><p>Default value: <code>""</code> 27409</p></dd> 27410<dt><code>Expression2</code></dt> 27411<dd><p>Default value: <code>""</code> 27412</p></dd> 27413<dt><code>Expression3</code></dt> 27414<dd><p>Default value: <code>""</code> 27415</p></dd> 27416<dt><code>Expression4</code></dt> 27417<dd><p>Default value: <code>""</code> 27418</p></dd> 27419<dt><code>Expression5</code></dt> 27420<dd><p>Default value: <code>""</code> 27421</p></dd> 27422<dt><code>Expression6</code></dt> 27423<dd><p>Default value: <code>""</code> 27424</p></dd> 27425<dt><code>Expression7</code></dt> 27426<dd><p>Default value: <code>""</code> 27427</p></dd> 27428<dt><code>Expression8</code></dt> 27429<dd><p>Default value: <code>""</code> 27430</p></dd> 27431</dl> 27432<p>Numeric options: 27433</p><dl compact="compact"> 27434<dt><code>TimeStep</code></dt> 27435<dd><p>Default value: <code>-1</code> 27436</p></dd> 27437<dt><code>View</code></dt> 27438<dd><p>Default value: <code>-1</code> 27439</p></dd> 27440<dt><code>OtherTimeStep</code></dt> 27441<dd><p>Default value: <code>-1</code> 27442</p></dd> 27443<dt><code>OtherView</code></dt> 27444<dd><p>Default value: <code>-1</code> 27445</p></dd> 27446<dt><code>ForceInterpolation</code></dt> 27447<dd><p>Default value: <code>0</code> 27448</p></dd> 27449<dt><code>PhysicalGroup</code></dt> 27450<dd><p>Default value: <code>-1</code> 27451</p></dd> 27452<dt><code>Dimension</code></dt> 27453<dd><p>Default value: <code>-1</code> 27454</p></dd> 27455</dl> 27456 27457</dd> 27458<dt><code>Plugin(MeshSizeFieldView)</code> 27459<span id="index-Plugin_0028MeshSizeFieldView_0029"></span> 27460</dt> 27461<dd><p>Plugin(MeshSizeFieldView) evaluates the mesh size field ‘MeshSizeField’ on specified ‘Component‘ (0 for scalar) of the post-processing view ‘View’. 27462Numeric options: 27463</p><dl compact="compact"> 27464<dt><code>MeshSizeField</code></dt> 27465<dd><p>Default value: <code>0</code> 27466</p></dd> 27467<dt><code>View</code></dt> 27468<dd><p>Default value: <code>-1</code> 27469</p></dd> 27470<dt><code>Component</code></dt> 27471<dd><p>Default value: <code>0</code> 27472</p></dd> 27473</dl> 27474 27475</dd> 27476<dt><code>Plugin(MeshSubEntities)</code> 27477<span id="index-Plugin_0028MeshSubEntities_0029"></span> 27478</dt> 27479<dd><p>Plugin(MeshSubEntities) creates mesh elements for the entities of dimension ‘OutputDimension’ (0 for vertices, 1 for edges, 2 for faces) of the ‘InputPhysicalGroup’ of dimension ‘InputDimension’. The plugin creates new elements belonging to ‘OutputPhysicalGroup’. 27480Numeric options: 27481</p><dl compact="compact"> 27482<dt><code>InputDimension</code></dt> 27483<dd><p>Default value: <code>1</code> 27484</p></dd> 27485<dt><code>InputPhysicalGroup</code></dt> 27486<dd><p>Default value: <code>1</code> 27487</p></dd> 27488<dt><code>OuputDimension</code></dt> 27489<dd><p>Default value: <code>0</code> 27490</p></dd> 27491<dt><code>OuputPhysicalGroup</code></dt> 27492<dd><p>Default value: <code>2000</code> 27493</p></dd> 27494</dl> 27495 27496</dd> 27497<dt><code>Plugin(MeshVolume)</code> 27498<span id="index-Plugin_0028MeshVolume_0029"></span> 27499</dt> 27500<dd><p>Plugin(MeshVolume) computes the volume of the mesh.<br> 27501<br> 27502Only the elements in the physical group ‘PhysicalGroup’ of dimension ‘Dimension’ are taken into account, unless ’PhysicalGroup’ is negative, in which case all the elements of the given ‘Dimension’ are considered. If ‘Dimension‘ is negative, all the elements are considered.<br> 27503<br> 27504Plugin(MeshVolume) creates one new list-based view. 27505Numeric options: 27506</p><dl compact="compact"> 27507<dt><code>PhysicalGroup</code></dt> 27508<dd><p>Default value: <code>-1</code> 27509</p></dd> 27510<dt><code>Dimension</code></dt> 27511<dd><p>Default value: <code>3</code> 27512</p></dd> 27513</dl> 27514 27515</dd> 27516<dt><code>Plugin(MinMax)</code> 27517<span id="index-Plugin_0028MinMax_0029"></span> 27518</dt> 27519<dd><p>Plugin(MinMax) computes the min/max of a view.<br> 27520<br> 27521If ‘View’ < 0, the plugin is run on the current view. If ‘OverTime’ = 1, the plugin calculates the min/max over space and time. If ‘Argument’ = 1, the plugin calculates the min/max and the argmin/argmax. If ‘
27521Visible’ = 1, the plugin is only applied to visible entities.<br> 27522<br> 27523Plugin(MinMax) creates two new list-based views. 27524Numeric options: 27525</p><dl compact="compact"> 27526<dt><code>View</code></dt> 27527<dd><p>Default value: <code>-1</code> 27528</p></dd> 27529<dt><code>OverTime</code></dt> 27530<dd><p>Default value: <code>0</code> 27531</p></dd> 27532<dt><code>Argument</code></dt> 27533<dd><p>Default value: <code>0</code> 27534</p></dd> 27535<dt><code>Visible</code></dt> 27536<dd><p>Default value: <code>1</code> 27537</p></dd> 27538</dl> 27539 27540</dd> 27541<dt><code>Plugin(ModifyComponents)</code> 27542<span id="index-Plugin_0028ModifyComponents_0029"></span> 27543</dt> 27544<dd><p>Plugin(ModifyComponents) modifies the components of the ‘TimeStep’-th time step in the view ‘View’, using the expressions provided in ‘Expression0’, ..., ‘Expression8’. If an expression is empty, the corresponding component in the view is not modified.<br> 27545<br> 27546The expressions can contain:<br> 27547<br> 27548- the usual mathematical functions (Log, Sqrt, Sin, Cos, Fabs, ...) and operators (+, -, *, /, ^);<br> 27549<br> 27550- the symbols x, y and z, to retrieve the coordinates of the current node;<br> 27551<br> 27552- the symbols Time and TimeStep, to retrieve the current time and time step values;<br> 27553<br> 27554- the symbols v0, v1, v2, ..., v8, to retrieve each component of the field in ‘View’ at the ‘TimeStep’-th time step;<br> 27555<br> 27556- the symbols w0, w1, w2, ..., w8, to retrieve each component of the field in ‘OtherView’ at the ‘OtherTimeStep’-th time step. If ‘OtherView’ and ‘View’ are based on different spatial grids, or if their data types are different, ‘OtherView’ is interpolated onto ‘View’.<br> 27557<br> 27558If ‘TimeStep’ < 0, the plugin automatically loops over all the time steps in ‘View’ and evaluates the expressions for each one.<br> 27559<br> 27560If ‘OtherTimeStep’ < 0, the plugin uses ‘TimeStep’ instead.<br> 27561<br> 27562If ‘View’ < 0, the plugin is run on the current view.<br> 27563<br> 27564If ‘OtherView’ < 0, the plugin uses ‘View’ instead.<br> 27565<br> 27566Plugin(ModifyComponents) is executed in-place. 27567String options: 27568</p><dl compact="compact"> 27569<dt><code>Expression0</code></dt> 27570<dd><p>Default value: <code>"v0 * Sin(x)"</code> 27571</p></dd> 27572<dt><code>Expression1</code></dt> 27573<dd><p>Default value: <code>""</code> 27574</p></dd> 27575<dt><code>Expression2</code></dt> 27576<dd><p>Default value: <code>""</code> 27577</p></dd> 27578<dt><code>Expression3</code></dt> 27579<dd><p>Default value: <code>""</code> 27580</p></dd> 27581<dt><code>Expression4</code></dt> 27582<dd><p>Default value: <code>""</code> 27583</p></dd> 27584<dt><code>Expression5</code></dt> 27585<dd><p>Default value: <code>""</code> 27586</p></dd> 27587<dt><code>Expression6</code></dt> 27588<dd><p>Default value: <code>""</code> 27589</p></dd> 27590<dt><code>Expression7</code></dt> 27591<dd><p>Default value: <code>""</code> 27592</p></dd> 27593<dt><code>Expression8</code></dt> 27594<dd><p>Default value: <code>""</code> 27595</p></dd> 27596</dl> 27597<p>Numeric options: 27598</p><dl compact="compact"> 27599<dt><code>TimeStep</code></dt> 27600<dd><p>Default value: <code>-1</code> 27601</p></dd> 27602<dt><code>View</code></dt> 27603<dd><p>Default value: <code>-1</code> 27604</p></dd> 27605<dt><code>OtherTimeStep</code></dt> 27606<dd><p>Default value: <code>-1</code> 27607</p></dd> 27608<dt><code>OtherView</code></dt> 27609<dd><p>Default value: <code>-1</code> 27610</p></dd> 27611<dt><code>ForceInterpolation</code></dt> 27612<dd><p>Default value: <code>0</code> 27613</p></dd> 27614</dl> 27615 27616</dd> 27617<dt><code>Plugin(ModulusPhase)</code> 27618<span id="index-Plugin_0028ModulusPhase_0029"></span> 27619</dt> 27620<dd><p>Plugin(ModulusPhase) interprets the time steps ‘realPart’ and ‘imaginaryPart’ in the view ‘View’ as the real and imaginary parts of a complex field and replaces them with their corresponding modulus and phase.<br> 27621<br> 27622If ‘View’ < 0, the plugin is run on the current view.<br> 27623<br> 27624Plugin(ModulusPhase) is executed in-place. 27625Numeric options: 27626</p><dl compact="compact"> 27627<dt><code>RealPart</code></dt> 27628<dd><p>Default value: <code>0</code> 27629</p></dd> 27630<dt><code>ImaginaryPart</code></dt> 27631<dd><p>Default value: <code>1</code> 27632</p></dd> 27633<dt><code>View</code></dt> 27634<dd><p>Default value: <code>-1</code> 27635</p></dd> 27636</dl> 27637 27638</dd> 27639<dt><code>Plugin(NearToFarField)</code> 27640<span id="index-Plugin_0028NearToFarField_0029"></span> 27641</dt> 27642<dd><p>Plugin(NearToFarField) computes the far field pattern from the near electric E and magnetic H fields on a surface enclosing the radiating device (antenna).<br> 27643<br>
27644Parameters: the wavenumber, the angular discretisation (phi in [0, 2*Pi] and theta in [0, Pi]) of the far field sphere and the indices of the views containing the complex-valued E and H fields. If ‘Normalize’ is set, the far field is normalized to 1. If ‘dB’ is set, the far field is computed in dB. If ‘NegativeTime’ is set, E and H are assumed to have exp(-iwt) time dependency; otherwise they are assume to have exp(+iwt) time dependency. If ‘MatlabOutputFile’ is given the raw far field data is also exported in Matlab format.<br> 27645<br> 27646Plugin(NearToFarField) creates one new view. 27647String options: 27648</p><dl compact="compact"> 27649<dt><code>MatlabOutputFile</code></dt> 27650<dd><p>Default value: <code>"farfield.m"</code> 27651</p></dd> 27652</dl> 27653<p>Numeric options: 27654</p><dl compact="compact"> 27655<dt><code>Wavenumber</code></dt> 27656<dd><p>Default value: <code>1</code> 27657</p></dd> 27658<dt><code>PhiStart</code></dt> 27659<dd><p>Default value: <code>0</code> 27660</p></dd> 27661<dt><code>PhiEnd</code></dt> 27662<dd><p>Default value: <code>6.28319</code> 27663</p></dd> 27664<dt><code>NumPointsPhi</code></dt> 27665<dd><p>Default value: <code>60</code> 27666</p></dd> 27667<dt><code>ThetaStart</code></dt> 27668<dd><p>Default value: <code>0</code> 27669</p></dd> 27670<dt><code>ThetaEnd</code></dt> 27671<dd><p>Default value: <code>3.14159</code> 27672</p></dd> 27673<dt><code>NumPointsTheta</code></dt> 27674<dd><p>Default value: <code>30</code> 27675</p></dd> 27676<dt><code>EView</code></dt> 27677<dd><p>Default value: <code>0</code> 27678</p></dd> 27679<dt><code>HView</code></dt> 27680<dd><p>Default value: <code>1</code> 27681</p></dd> 27682<dt><code>Normalize</code></dt> 27683<dd><p>Default value: <code>1</code> 27684</p></dd> 27685<dt><code>dB</code></dt> 27686<dd><p>Default value: <code>1</code> 27687</p></dd> 27688<dt><code>NegativeTime</code></dt> 27689<dd><p>Default value: <code>0</code> 27690</p></dd> 27691<dt><code>RFar</code></dt> 27692<dd><p>Default value: <code>0</code> 27693</p></dd> 27694</dl> 27695 27696</dd> 27697<dt><code>Plugin(NearestNeighbor)</code> 27698<span id="index-Plugin_0028NearestNeighbor_0029"></span> 27699</dt> 27700<dd><p>Plugin(NearestNeighbor) computes the distance from each point in ‘View’ to its nearest neighbor.<br> 27701<br> 27702If ‘View’ < 0, the plugin is run on the current view.<br> 27703<br> 27704Plugin(NearestNeighbor) is executed in-place. 27705Numeric options: 27706</p><dl compact="compact"> 27707<dt><code>View</code></dt> 27708<dd><p>Default value: <code>-1</code> 27709</p></dd> 27710</dl> 27711 27712</dd> 27713<dt><code>Plugin(NewView)</code> 27714<span id="index-Plugin_0028NewView_0029"></span> 27715</dt> 27716<dd><p>Plugin(NewView) creates a new model-based view from the current mesh, with ‘NumComp’ field components, set to value ‘Value’.<br> 27717<br> 27718If ‘ViewTag’ is positive, force that tag for the created view. The view type is determined by ‘Type’ (NodeData or ElementData). In the case of an ElementData type, the view can be restricted to a specific physical group with a positive ‘PhysicalGroup’. 27719String options: 27720</p><dl compact="compact"> 27721<dt><code>Type</code></dt> 27722<dd><p>Default value: <code>"NodeData"</code> 27723</p></dd> 27724</dl> 27725<p>Numeric options: 27726</p><dl compact="compact"> 27727<dt><code>NumComp</code></dt> 27728<dd><p>Default value: <code>1</code> 27729</p></dd> 27730<dt><code>Value</code></dt> 27731<dd><p>Default value: <code>0</code> 27732</p></dd> 27733<dt><code>ViewTag</code></dt> 27734<dd><p>Default value: <code>-1</code> 27735</p></dd> 27736<dt><code>PhysicalGroup</code></dt> 27737<dd><p>Default value: <code>-1</code> 27738</p></dd> 27739</dl> 27740 27741</dd> 27742<dt><code>Plugin(Particles)</code> 27743<span id="index-Plugin_0028Particles_0029"></span> 27744</dt> 27745<dd><p>Plugin(Particles) computes the trajectory of particules in the force field given by the ‘TimeStep’-th time step of a vector view ‘View’.<br> 27746<br> 27747The plugin takes as input a grid defined by the 3 points (‘X0’,‘Y0’,‘Z0’) (origin), (‘X1’,‘Y1’,‘Z1’) (axis of U) and (‘X2’,‘Y2’,‘Z2’) (axis of V).<br> 27748<br> 27749The number of particles along U and V that are to be transported is set with the options ‘NumPointsU’ and ‘NumPointsV’. The equation<br> 27750<br> 27751A2 * d^2X(t)/dt^2 + A1 * dX(t)/dt + A0 * X(t) = F<br> 27752<br> 27753is then solved with the initial conditions X(t=0) chosen as the grid, dX/dt(t=0)=0, and with F interpolated from the vector view.<br> 27754<br>
27755Time stepping is done using a Newmark scheme with step size ‘DT’ and ‘MaxIter’ maximum number of iterations.<br> 27756<br> 27757If ‘View’ < 0, the plugin is run on the current view.<br> 27758<br> 27759Plugin(Particles) creates one new list-based view containing multi-step vector points. 27760Numeric options: 27761</p><dl compact="compact"> 27762<dt><code>X0</code></dt> 27763<dd><p>Default value: <code>0</code> 27764</p></dd> 27765<dt><code>Y0</code></dt> 27766<dd><p>Default value: <code>0</code> 27767</p></dd> 27768<dt><code>Z0</code></dt> 27769<dd><p>Default value: <code>0</code> 27770</p></dd> 27771<dt><code>X1</code></dt> 27772<dd><p>Default value: <code>1</code> 27773</p></dd> 27774<dt><code>Y1</code></dt> 27775<dd><p>Default value: <code>0</code> 27776</p></dd> 27777<dt><code>Z1</code></dt> 27778<dd><p>Default value: <code>0</code> 27779</p></dd> 27780<dt><code>X2</code></dt> 27781<dd><p>Default value: <code>0</code> 27782</p></dd> 27783<dt><code>Y2</code></dt> 27784<dd><p>Default value: <code>1</code> 27785</p></dd> 27786<dt><code>Z2</code></dt> 27787<dd><p>Default value: <code>0</code> 27788</p></dd> 27789<dt><code>NumPointsU</code></dt> 27790<dd><p>Default value: <code>10</code> 27791</p></dd> 27792<dt><code>NumPointsV</code></dt> 27793<dd><p>Default value: <code>1</code> 27794</p></dd> 27795<dt><code>A2</code></dt> 27796<dd><p>Default value: <code>1</code> 27797</p></dd> 27798<dt><code>A1</code></dt> 27799<dd><p>Default value: <code>0</code> 27800</p></dd> 27801<dt><code>A0</code></dt> 27802<dd><p>Default value: <code>0</code> 27803</p></dd> 27804<dt><code>DT</code></dt> 27805<dd><p>Default value: <code>0.1</code> 27806</p></dd> 27807<dt><code>MaxIter</code></dt> 27808<dd><p>Default value: <code>100</code> 27809</p></dd> 27810<dt><code>TimeStep</code></dt> 27811<dd><p>Default value: <code>0</code> 27812</p></dd> 27813<dt><code>View</code></dt> 27814<dd><p>Default value: <code>-1</code> 27815</p></dd> 27816</dl> 27817 27818</dd> 27819<dt><code>Plugin(Probe)</code> 27820<span id="index-Plugin_0028Probe_0029"></span> 27821</dt> 27822<dd><p>Plugin(Probe) gets the value of the view ‘View’ at the point (‘X’,‘Y’,‘Z’).<br> 27823<br> 27824If ‘View’ < 0, the plugin is run on the current view.<br> 27825<br> 27826Plugin(Probe) creates one new view. 27827Numeric options: 27828</p><dl compact="compact"> 27829<dt><code>X</code></dt> 27830<dd><p>Default value: <code>0</code> 27831</p></dd> 27832<dt><code>Y</code></dt> 27833<dd><p>Default value: <code>0</code> 27834</p></dd> 27835<dt><code>Z</code></dt> 27836<dd><p>Default value: <code>0</code> 27837</p></dd> 27838<dt><code>View</code></dt> 27839<dd><p>Default value: <code>-1</code> 27840</p></dd> 27841</dl> 27842 27843</dd> 27844<dt><code>Plugin(Remove)</code> 27845<span id="index-Plugin_0028Remove_0029"></span> 27846</dt> 27847<dd><p>Plugin(Remove) removes the marked items from the list-based view ‘View’.<br> 27848<br> 27849If ‘View’ < 0, the plugin is run on the current view.<br> 27850<br> 27851Plugin(Remove) is executed in-place. 27852Numeric options: 27853</p><dl compact="compact"> 27854<dt><code>Text2D</code></dt> 27855<dd><p>Default value: <code>1</code> 27856</p></dd> 27857<dt><code>Text3D</code></dt> 27858<dd><p>Default value: <code>1</code> 27859</p></dd> 27860<dt><code>Points</code></dt> 27861<dd><p>Default value: <code>0</code> 27862</p></dd> 27863<dt><code>Lines</code></dt> 27864<dd><p>Default value: <code>0</code> 27865</p></dd> 27866<dt><code>Triangles</code></dt> 27867<dd><p>Default value: <code>0</code> 27868</p></dd> 27869<dt><code>Quadrangles</code></dt> 27870<dd><p>Default value: <code>0</code> 27871</p></dd> 27872<dt><code>Tetrahedra</code></dt> 27873<dd><p>Default value: <code>0</code> 27874</p></dd> 27875<dt><code>Hexahedra</code></dt> 27876<dd><p>Default value: <code>0</code> 27877</p></dd> 27878<dt><code>Prisms</code></dt> 27879<dd><p>Default value: <code>0</code> 27880</p></dd> 27881<dt><code>Pyramids</code></dt> 27882<dd><p>Default value: <code>0</code> 27883</p></dd> 27884<dt><code>Scalar</code></dt> 27885<dd><p>Default value: <code>1</code> 27886</p></dd> 27887<dt><code>Vector</code></dt> 27888<dd><p>Default value: <code>1</code> 27889</p></dd> 27890<dt><code>Tensor</code></dt> 27891<dd><p>Default value: <code>1</code> 27892</p></dd> 27893<dt><code>View</code></dt> 27894<dd><p>Default value: <code>-1</code> 27895</p></dd> 27896</dl> 27897 27898</dd> 27899<dt><code>Plugin(Scal2Tens)</code> 27900<span id="index-Plugin_0028Scal2Tens_0029"></span> 27901</dt> 27902<dd><p>Plugin(Scal2Tens) converts some scalar fields into a tensor field. The number of components must be given (max. 9). The new view ’NameNewView’ contains the new tensor field. If the number of a view is -1, the value of the corresponding component is 0. 27903String options: 27904</p><dl compact="compact"> 27905<dt><code>NameNewView</code></dt> 27906<dd><p>Default value: <code>"NewView"</code> 27907</p></dd> 27908</dl> 27909<p>Numeric options: 27910</p><dl compact="compact"> 27911<dt><code>NumberOfComponents</code></dt> 27912<dd><p>Default value: <code>9</code> 27913</p></dd> 27914<dt><code>View0</code></dt> 27915<dd><p>Default value: <code>-1</code> 27916</p></dd> 27917<dt><code>View1</code></dt> 27918<dd><p>Default value: <code>-1</code> 27919</p></dd> 27920<dt><code>View2</code></dt> 27921<dd><p>Default value: <code>-1</code> 27922</p></dd> 27923<dt><code>View3</code></dt> 27924<dd><p>Default value: <code>-1</code> 27925</p></dd> 27926<dt><code>View4</code></dt> 27927<dd><p>Default value: <code>-1</code> 27928</p></dd> 27929<dt><code>View5</code></dt> 27930<dd><p>Default value: <code>-1</code> 27931</p></dd> 27932<dt><code>View6</code></dt> 27933<dd><p>Default value: <code>-1</code> 27934</p></dd> 27935<dt><code>View7</code></dt> 27936<dd><p>Default value: <code>-1</code> 27937</p></dd> 27938<dt><code>View8</code></dt> 27939<dd><p>Default value: <code>-1</code> 27940</p></dd> 27941</dl> 27942 27943</dd> 27944<dt><code>Plugin(Scal2Vec)</code> 27945<span id="index-Plugin_0028Scal2Vec_0029"></span> 27946</dt> 27947<dd><p>Plugin(Scal2Vec) converts the scalar fields into a vectorial field. The new view ’NameNewView’ contains it. If the number of a view is -1, the value of the corresponding component of the vector field is 0. 27948String options: 27949</p><dl compact="compact"> 27950<dt><code>NameNewView</code></dt> 27951<dd><p>Default value: <code>"NewView"</code> 27952</p></dd> 27953</dl> 27954<p>Numeric options: 27955</p><dl compact="compact"> 27956<dt><code>ViewX</code></dt> 27957<dd><p>Default value: <code>-1</code> 27958</p></dd> 27959<dt><code>ViewY</code></dt> 27960<dd><p>Default value: <code>-1</code> 27961</p></dd> 27962<dt><code>ViewZ</code></dt> 27963<dd><p>Default value: <code>-1</code> 27964</p></dd> 27965</dl> 27966 27967</dd> 27968<dt><code>Plugin(ShowNeighborElements)</code> 27969<span id="index-Plugin_0028ShowNeighborElements_0029"></span> 27970</dt> 27971<dd><p>Plugin(ShowNeighborElements) sets visible some elements and a layer of elements around them, the other being set invisible. 27972Numeric options: 27973</p><dl compact="compact"> 27974<dt><code>NumLayers</code></dt> 27975<dd><p>Default value: <code>1</code> 27976</p></dd> 27977<dt><code>Element1</code></dt> 27978<dd><p>Default value: <code>0</code> 27979</p></dd> 27980<dt><code>Element2</code></dt> 27981<dd><p>Default value: <code>0</code> 27982</p></dd> 27983<dt><code>Element3</code></dt> 27984<dd><p>Default value: <code>0</code> 27985</p></dd> 27986<dt><code>Element4</code></dt> 27987<dd><p>Default value: <code>0</code> 27988</p></dd> 27989<dt><code>Element5</code></dt> 27990<dd><p>Default value: <code>0</code> 27991</p></dd> 27992</dl> 27993 27994</dd> 27995<dt><code>Plugin(SimplePartition)</code> 27996<span id="index-Plugin_0028SimplePartition_0029"></span> 27997</dt> 27998<dd><p>Plugin(SimplePartition) partitions the current mesh into ‘NumSlicesX’, ‘NumSlicesY’ and ‘NumSlicesZ’ slices along the X-, Y- and Z-axis, respectively. The distribution of these slice
27998s is governed by ‘MappingX’, ‘MappingY’ and ‘MappingZ’, where ‘t’ is a normalized absissa along each direction. (Setting ‘MappingX’ to ‘t’ will thus lead to equidistant slices along the X-axis.) 27999String options: 28000</p><dl compact="compact"> 28001<dt><code>MappingX</code></dt> 28002<dd><p>Default value: <code>"t"</code> 28003</p></dd> 28004<dt><code>MappingY</code></dt> 28005<dd><p>Default value: <code>"t"</code> 28006</p></dd> 28007<dt><code>MappingZ</code></dt> 28008<dd><p>Default value: <code>"t"</code> 28009</p></dd> 28010</dl> 28011<p>Numeric options: 28012</p><dl compact="compact"> 28013<dt><code>NumSlicesX</code></dt> 28014<dd><p>Default value: <code>4</code> 28015</p></dd> 28016<dt><code>NumSlicesY</code></dt> 28017<dd><p>Default value: <code>1</code> 28018</p></dd> 28019<dt><code>NumSlicesZ</code></dt> 28020<dd><p>Default value: <code>1</code> 28021</p></dd> 28022</dl> 28023 28024</dd> 28025<dt><code>Plugin(Skin)</code> 28026<span id="index-Plugin_0028Skin_0029"></span> 28027</dt> 28028<dd><p>Plugin(Skin) extracts the boundary (skin) of the current mesh (if ‘FromMesh’ = 1), or from the the view ‘View’ (in which case it creates a new view). If ‘View’ < 0 and ‘FromMesh’ = 0, the plugin is run on the current view.<br> 28029If ‘Visible’ is set, the plugin only extracts the skin of visible entities. 28030Numeric options: 28031</p><dl compact="compact"> 28032<dt><code>Visible</code></dt> 28033<dd><p>Default value: <code>1</code> 28034</p></dd> 28035<dt><code>FromMesh</code></dt> 28036<dd><p>Default value: <code>0</code> 28037</p></dd> 28038<dt><code>View</code></dt> 28039<dd><p>Default value: <code>-1</code> 28040</p></dd> 28041</dl> 28042 28043</dd> 28044<dt><code>Plugin(Smooth)</code> 28045<span id="index-Plugin_0028Smooth_0029"></span> 28046</dt> 28047<dd><p>Plugin(Smooth) averages the values at the nodes of the view ‘View’.<br> 28048<br> 28049If ‘View’ < 0, the plugin is run on the current view.<br> 28050<br> 28051Plugin(Smooth) is executed in-place. 28052Numeric options: 28053</p><dl compact="compact"> 28054<dt><code>View</code></dt> 28055<dd><p>Default value: <code>-1</code> 28056</p></dd> 28057</dl> 28058 28059</dd> 28060<dt><code>Plugin(SpanningTree)</code> 28061<span id="index-Plugin_0028SpanningTree_0029"></span> 28062</dt> 28063<dd><p>Plugin(SpanningTree) builds a tree spanning every vertex of a mesh and stores it directly in the model.<br> 28064The tree is constructed by starting first on the curves, then on the surfaces and finally on the volumes.<br> 28065<br> 28066Parameters<br> 28067- PhysicalVolumes: list of the physical volumes upon which the tree must be built.<br> 28068- PhysicalSurfaces: list of the physical surfaces upon which the tree must be built.<br> 28069- PhysicalCurves: list of the physical curves upon which the tree must be built.<br> 28070- OutputPhysical: physical tag of the generated tree (-1 will select a new tag automatically).<br> 28071<br> 28072Note - Lists must be comma separated integers and spaces are ignored.<br> 28073Remark - This plugin does not overwrite a physical group.Therefore, if an existing physical tag is used in OutputPhysical, the edges of the tree will be /added/ to the specified group. 28074String options: 28075</p><dl compact="compact"> 28076<dt><code>PhysicalVolumes</code></dt> 28077<dd><p>Default value: <code>""</code> 28078</p></dd> 28079<dt><code>PhysicalSurfaces</code></dt> 28080<dd><p>Default value: <code>""</code> 28081</p></dd> 28082<dt><code>PhysicalCurves</code></dt> 28083<dd><p>Default value: <code>""</code> 28084</p></dd> 28085</dl> 28086<p>Numeric options: 28087</p><dl compact="compact"> 28088<dt><code>OutputPhysical</code></dt> 28089<dd><p>Default value: <code>-1</code> 28090</p></dd> 28091</dl> 28092 28093</dd> 28094<dt><code>Plugin(SphericalRaise)</code> 28095<span id="index-Plugin_0028SphericalRaise_0029"></span> 28096</dt> 28097<dd><p>Plugin(SphericalRaise) transforms the coordinates of the elements in the view ‘View’ using the values associated with the ‘TimeStep’-th time step.<br> 28098<br> 28099Instead of elevating the nodes along the X, Y and Z axes as with the View[‘View’].RaiseX, View[‘View’].RaiseY and View[‘View’].RaiseZ options, the raise is applied along the radius of a sphere centered at (‘Xc’, ‘Yc’, ‘Zc’).<br> 28100<br> 28101To produce a standard radiation pattern, set ‘Offset’ to minus the radius of the sphere the original data lives on.<br> 28102<br> 28103If ‘View’ < 0, the plugin is run on the current view.<br> 28104<br> 28105Plugin(SphericalRaise) is executed in-place. 28106Numeric options: 28107</p><dl compact="compact"> 28108<dt><code>Xc</code></dt> 28109<dd><p>Default value: <code>0</code> 28110</p></dd> 28111<dt><code>Yc</code></dt> 28112<dd><p>Default value: <code>0</code> 28113</p></dd> 28114<dt><code>Zc</code></dt> 28115<dd><p>Default value: <code>0</code> 28116</p></dd> 28117<dt><code>Raise</code></dt> 28118<dd><p>Default value: <code>1</code> 28119</p></dd> 28120<dt><code>Offset</code></dt> 28121<dd><p>Default value: <code>0</code> 28122</p></dd> 28123<dt><code>TimeStep</code></dt> 28124<dd><p>Default value: <code>0</code> 28125</p></dd> 28126<dt><code>View</code></dt> 28127<dd><p>Default value: <code>-1</code> 28128</p></dd> 28129</dl> 28130 28131</dd> 28132<dt><code>Plugin(StreamLines)</code> 28133<span id="index-Plugin_0028StreamLines_0029"></span> 28134</dt> 28135<dd><p>Plugin(StreamLines) computes stream lines from the ‘TimeStep’-th time step of a vector view ‘View’ and optionally interpolates the scalar view ‘OtherView’ on the resulting stream lines.<br> 28136<br> 28137The plugin takes as input a grid defined by the 3 points (‘X0’,‘Y0’,‘Z0’) (origin), (‘X1’,‘Y1’,‘Z1’) (axis of U) and (‘X2’,‘Y2’,‘Z2’) (axis of V).<br> 28138<br> 28139The number of points along U and V that are to be transported is set with the options ‘NumPointsU’ and ‘NumPointsV’. The equation<br> 28140<br> 28141dX(t)/dt = V(x,y,z)<br> 28142<br> 28143is then solved with the initial condition X(t=0) chosen as the grid and with V(x,y,z) interpolated on the vector view.<br> 28144<br>
28145The time stepping scheme is a RK44 with step size ‘DT’ and ‘MaxIter’ maximum number of iterations.<br> 28146<br> 28147If ‘TimeStep’ < 0, the plugin tries to compute streamlines of the unsteady flow.<br> 28148<br> 28149If ‘View’ < 0, the plugin is run on the current view.<br> 28150<br> 28151Plugin(StreamLines) creates one new list-based view. This view contains multi-step vector points if ‘OtherView’ < 0, or single-step scalar lines if ‘OtherView’ >= 0. 28152Numeric options: 28153</p><dl compact="compact"> 28154<dt><code>X0</code></dt> 28155<dd><p>Default value: <code>0</code> 28156</p></dd> 28157<dt><code>Y0</code></dt> 28158<dd><p>Default value: <code>0</code> 28159</p></dd> 28160<dt><code>Z0</code></dt> 28161<dd><p>Default value: <code>0</code> 28162</p></dd> 28163<dt><code>X1</code></dt> 28164<dd><p>Default value: <code>1</code> 28165</p></dd> 28166<dt><code>Y1</code></dt> 28167<dd><p>Default value: <code>0</code> 28168</p></dd> 28169<dt><code>Z1</code></dt> 28170<dd><p>Default value: <code>0</code> 28171</p></dd> 28172<dt><code>X2</code></dt> 28173<dd><p>Default value: <code>0</code> 28174</p></dd> 28175<dt><code>Y2</code></dt> 28176<dd><p>Default value: <code>1</code> 28177</p></dd> 28178<dt><code>Z2</code></dt> 28179<dd><p>Default value: <code>0</code> 28180</p></dd> 28181<dt><code>NumPointsU</code></dt> 28182<dd><p>Default value: <code>10</code> 28183</p></dd> 28184<dt><code>NumPointsV</code></dt> 28185<dd><p>Default value: <code>1</code> 28186</p></dd> 28187<dt><code>DT</code></dt> 28188<dd><p>Default value: <code>0.1</code> 28189</p></dd> 28190<dt><code>MaxIter</code></dt> 28191<dd><p>Default value: <code>100</code> 28192</p></dd> 28193<dt><code>TimeStep</code></dt> 28194<dd><p>Default value: <code>0</code> 28195</p></dd> 28196<dt><code>View</code></dt> 28197<dd><p>Default value: <code>-1</code> 28198</p></dd> 28199<dt><code>OtherView</code></dt> 28200<dd><p>Default value: <code>-1</code> 28201</p></dd> 28202</dl> 28203 28204</dd> 28205<dt><code>Plugin(Summation)</code> 28206<span id="index-Plugin_0028Summation_0029"></span> 28207</dt> 28208<dd><p>Plugin(Summation) sums every time steps of ’Reference View’ and (every) ’Other View X’and store the result in a new view.<br> 28209If ’View 0’ < 0 then the current view is selected.<br> 28210If ’View 1...8’ < 0 then this view is skipped.<br> 28211Views can have different number of time steps<br> 28212Warning: the Plugin assume that every views sharethe same mesh and that meshes do not move between time steps! 28213String options: 28214</p><dl compact="compact"> 28215<dt><code>Resuling View Name</code></dt> 28216<dd><p>Default value: <code>"default"</code> 28217</p></dd> 28218</dl> 28219<p>Numeric options: 28220</p><dl compact="compact"> 28221<dt><code>View 0</code></dt> 28222<dd><p>Default value: <code>-1</code> 28223</p></dd> 28224<dt><code>View 1</code></dt> 28225<dd><p>Default value: <code>-1</code> 28226</p></dd> 28227<dt><code>View 2</code></dt> 28228<dd><p>Default value: <code>-1</code> 28229</p></dd> 28230<dt><code>View 3</code></dt> 28231<dd><p>Default value: <code>-1</code> 28232</p></dd> 28233<dt><code>View 4</code></dt> 28234<dd><p>Default value: <code>-1</code> 28235</p></dd> 28236<dt><code>View 5</code></dt> 28237<dd><p>Default value: <code>-1</code> 28238</p></dd> 28239<dt><code>View 6</code></dt> 28240<dd><p>Default value: <code>-1</code> 28241</p></dd> 28242<dt><code>View 7</code></dt> 28243<dd><p>Default value: <code>-1</code> 28244</p></dd> 28245</dl> 28246 28247</dd> 28248<dt><code>Plugin(Tetrahedralize)</code> 28249<span id="index-Plugin_0028Tetrahedralize_0029"></span> 28250</dt> 28251<dd><p>Plugin(Tetrahedralize) tetrahedralizes the points in the view ‘View’.<br> 28252<br> 28253If ‘View’ < 0, the plugin is run on the current view.<br> 28254<br> 28255Plugin(Tetrahedralize) creates one new list-based view. 28256Numeric options: 28257</p><dl compact="compact"> 28258<dt><code>View</code></dt> 28259<dd><p>Default value: <code>-1</code> 28260</p></dd> 28261</dl> 28262 28263</dd> 28264<dt><code>Plugin(Transform)</code> 28265<span id="index-Plugin_0028Transform_0029"></span> 28266</dt> 28267<dd><p>Plugin(Transform) transforms the homogeneous node coordinates (x,y,z,1) of the elements in the view ‘View’ by the matrix<br> 28268<br> 28269[‘A11’ ‘A12’ ‘A13’ ‘Tx’]<br> 28270[‘A21’ ‘A22’ ‘A23’ ‘Ty’]<br> 28271[‘A31’ ‘A32’ ‘A33’ ‘Tz’].<br> 28272<br> 28273If ‘SwapOrientation’
28273 is set, the orientation of the elements is reversed.<br> 28274<br> 28275If ‘View’ < 0, the plugin is run on the current view.<br> 28276<br> 28277Plugin(Transform) is executed in-place. 28278Numeric options: 28279</p><dl compact="compact"> 28280<dt><code>A11</code></dt> 28281<dd><p>Default value: <code>1</code> 28282</p></dd> 28283<dt><code>A12</code></dt> 28284<dd><p>Default value: <code>0</code> 28285</p></dd> 28286<dt><code>A13</code></dt> 28287<dd><p>Default value: <code>0</code> 28288</p></dd> 28289<dt><code>A21</code></dt> 28290<dd><p>Default value: <code>0</code> 28291</p></dd> 28292<dt><code>A22</code></dt> 28293<dd><p>Default value: <code>1</code> 28294</p></dd> 28295<dt><code>A23</code></dt> 28296<dd><p>Default value: <code>0</code> 28297</p></dd> 28298<dt><code>A31</code></dt> 28299<dd><p>Default value: <code>0</code> 28300</p></dd> 28301<dt><code>A32</code></dt> 28302<dd><p>Default value: <code>0</code> 28303</p></dd> 28304<dt><code>A33</code></dt> 28305<dd><p>Default value: <code>1</code> 28306</p></dd> 28307<dt><code>Tx</code></dt> 28308<dd><p>Default value: <code>0</code> 28309</p></dd> 28310<dt><code>Ty</code></dt> 28311<dd><p>Default value: <code>0</code> 28312</p></dd> 28313<dt><code>Tz</code></dt> 28314<dd><p>Default value: <code>0</code> 28315</p></dd> 28316<dt><code>SwapOrientation</code></dt> 28317<dd><p>Default value: <code>0</code> 28318</p></dd> 28319<dt><code>View</code></dt> 28320<dd><p>Default value: <code>-1</code> 28321</p></dd> 28322</dl> 28323 28324</dd> 28325<dt><code>Plugin(Triangulate)</code> 28326<span id="index-Plugin_0028Triangulate_0029"></span> 28327</dt> 28328<dd><p>Plugin(Triangulate) triangulates the points in the view ‘View’, assuming that all the points belong to a surface that can be projected one-to-one onto a plane. <br> 28329<br> 28330If ‘View’ < 0, the plugin is run on the current view.<br> 28331<br> 28332Plugin(Triangulate) creates one new list-based view. 28333Numeric options: 28334</p><dl compact="compact"> 28335<dt><code>View</code></dt> 28336<dd><p>Default value: <code>-1</code> 28337</p></dd> 28338</dl> 28339 28340</dd> 28341<dt><code>Plugin(VoroMetal)</code> 28342<span id="index-Plugin_0028VoroMetal_0029"></span> 28343</dt> 28344<dd><p>Plugin(VoroMetal) creates microstructures using Voronoi diagrams.<br> 28345<br> 28346</p> 28347<p>String options: 28348</p><dl compact="compact"> 28349<dt><code>SeedsFile</code></dt> 28350<dd><p>Default value: <code>"seeds.txt"</code> 28351</p></dd> 28352</dl> 28353<p>Numeric options: 28354</p><dl compact="compact"> 28355<dt><code>ComputeBestSeeds</code></dt> 28356<dd><p>Default value: <code>0</code> 28357</p></dd> 28358<dt><code>ComputeMicrostructure</code></dt> 28359<dd><p>Default value: <code>1</code> 28360</p></dd> 28361</dl> 28362 28363</dd> 28364<dt><code>Plugin(Warp)</code> 28365<span id="index-Plugin_0028Warp_0029"></span> 28366</dt> 28367<dd><p>Plugin(Warp) transforms the elements in the view ‘View’ by adding to their node coordinates the vector field stored in the ‘TimeStep’-th time step of the view ‘OtherView’, scaled by ‘Factor’.<br> 28368<br> 28369If ‘View’ < 0, the plugin is run on the current view.<br> 28370<br> 28371If ‘OtherView’ < 0, the vector field is taken as the field of surface normals multiplied by the ‘TimeStep’ value in ‘View’. (The smoothing of the surface normals is controlled by the ‘SmoothingAngle’ parameter.)<br> 28372<br> 28373Plugin(Warp) is executed in-place. 28374Numeric options: 28375</p><dl compact="compact"> 28376<dt><code>Factor</code></dt> 28377<dd><p>Default value: <code>1</code> 28378</p></dd> 28379<dt><code>TimeStep</code></dt> 28380<dd><p>Default value: <code>0</code> 28381</p></dd> 28382<dt><code>SmoothingAngle</code></dt> 28383<dd><p>Default value: <code>180</code> 28384</p></dd> 28385<dt><code>View</code></dt> 28386<dd><p>Default value: <code>-1</code> 28387</p></dd> 28388<dt><code>OtherView</code></dt> 28389<dd><p>Default value: <code>-1</code> 28390</p></dd> 28391</dl> 28392 28393</dd> 28394</dl> 28395 28396 28397<hr> 28398<span id="Gmsh-file-formats"></span><div class="header"> 28399<p> 28400Next: <a href="#Compiling-the-source-code" accesskey="n" rel="next">Compiling the source code</a>, Previous: <a href="#Gmsh-plugins" accesskey="p" rel="prev">Gmsh plugins</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 28401</div> 28402<span id="Gmsh-file-formats-1"></span><h2 class="chapter">10 Gmsh file formats</h2> 28403 28404<span id="index-File-formats"></span> 28405 28406<p>This chapter describes Gmsh’s native “MSH” file format, used to store 28407meshes and associated post-processing datasets. The MSH format exists in 28408two flavors: ASCII and binary. The format has a version number that is 28409independent of Gmsh’s main version number. 28410</p> 28411<p>(Remember that for small post-processing datasets you can also use 28412human-readable “parsed”
28412 post-processing views, as described in 28413<a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a>. Such “parsed” views do not 28414require an underlying mesh, and can therefore be easier to use in some 28415cases.) 28416</p> 28417<table class="menu" border="0" cellspacing="0"> 28418<tr><td align="left" valign="top">• <a href="#MSH-file-format" accesskey="1">MSH file format</a></td><td> </td><td align="left" valign="top"> 28419</td></tr> 28420<tr><td align="left" valign="top">• <a href="#Node-ordering" accesskey="2">Node ordering</a></td><td> </td><td align="left" valign="top"> 28421</td></tr> 28422<tr><td align="left" valign="top">• <a href="#Legacy-formats" accesskey="3">Legacy formats</a></td><td> </td><td align="left" valign="top"> 28423</td></tr> 28424</table> 28425 28426 28427<hr> 28428<span id="MSH-file-format"></span><div class="header"> 28429<p> 28430Next: <a href="#Node-ordering" accesskey="n" rel="next">Node ordering</a>, Previous: <a href="#Gmsh-file-formats" accesskey="p" rel="prev">Gmsh file formats</a>, Up: <a href="#Gmsh-file-formats" accesskey="u" rel="up">Gmsh file formats</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 28431</div> 28432<span id="MSH-file-format-1"></span><h3 class="section">10.1 MSH file format</h3> 28433 28434<span id="index-Mesh_002c-file-format"></span> 28435<span id="index-File-format_002c-mesh"></span> 28436<span id="index-MSH4-file"></span> 28437 28438<p>The MSH file format version 4 (current revision: version 4.1) contains 28439one mandatory section giving information about the file 28440(<code>$MeshFormat</code>), followed by several optional sections defining the 28441physical group names (<code>$PhysicalName</code>), the elementary model 28442entities (<code>$Entities</code>), the partitioned entities 28443(<code>$PartitionedEntities</code>), the nodes (<code>$Nodes</code>), the elements 28444(<code>$Elements</code>), the periodicity relations (<code>$Periodic</code>), the 28445ghost elements (<code>$GhostElements</code>), the parametrizations 28446(<code>$Parametrizations</code>) and the post-processing datasets 28447(<code>$NodeData</code>, <code>$ElementData</code>, <code>$ElementNodeData</code>). The 28448sections reflect the underlying Gmsh data model: <code>$Entities</code> store 28449the boundary representation of the model geometrical entities, 28450<code>$Nodes</code> and <code>$Elements</code> store mesh data classified on these 28451entities, and <code>$NodeData</code>, <code>$ElementData</code>, 28452<code>$ElementNodeData</code> store post-processing data (views). (See 28453<a href="#Gmsh-application-programming-interface">Gmsh application programming interface</a> and <a href="#Source-code-structure">Source code structure</a> for a more detailed description of the internal Gmsh data 28454model.) 28455</p> 28456<p>To represent a simple mesh, the minimal sections that should be present 28457in the file are <code>$MeshFormat</code>, <code>$Nodes</code> and 28458<code>$Elements</code>. Nodes are assumed to be defined before elements. To 28459represent a mesh with the full topology (BRep) of the model and 28460associated physical groups, an <code>$Entities</code> section should be 28461present before the <code>$Nodes</code> section. Sections can be repeated in 28462the same file, and post-processing sections can be put into separate 28463files (e.g. one file per time step). Any section with an unrecognized 28464header is stored by default as a model attribute: you can thus e.g. add 28465comments in a <samp>.msh</samp> file by putting them inside a 28466<code>$Comments</code>/<code>$EndComments</code> section. Unrocognized sections can 28467be ignored altogether if the <code>Mesh.IgnoreUnknownSections</code> option is 28468set. 28469</p> 28470<p>All the node, element, entity and physical group tags (their global 28471identification numbers) should be strictly positive. (Tag <code>0</code> is 28472reserved for internal use.) Important note about efficiency: tags can 28473be "sparse", i.e., do not have to constitute a continuous list of 28474numbers (the format even allows them to not be ordered). However, using 28475sparse node or element tags can lead to performance degradation. For 28476meshes, sparse indexing can<a id="DOCF15" href="#FOOT15"><sup>15</sup></a> force Gmsh to use a map instead of a 28477vector to access nodes and elements. The performance hit is on 28478speed. For post-processing datasets, which always use vectors to access 28479data, the performance hit is on memory. A <code>$NodeData</code> with two 28480nodes, tagged 1 and 1000000, will allocate a (mostly empty) vector of 284811000000 elements. By default, for non-partitioned, single file meshes, 28482Gmsh will create files with a continuous ordering of node and element 28483tags, starting at 1. Detecting if the numbering is continuous can be 28484done easily when reading a file by inspecting <code>numNodes</code>, 28485<code>minNodeTag</code> and <code>maxNodeTag</code> in the <code>$Nodes</code> section; 28486and <code>numElements</code>, <code>minElementTag</code> and <code>maxElementTag</code> in 28487the <code>$Elements</code> section. 28488</p> 28489<p>In binary mode (<code>Mesh.Binary=1</code> or <code>-bin</code> on the command 28490line), all the numerical values (integer and floating point) not marked 28491as ASCII in the format description below are written in binary form, 28492using the type given between parentheses. The block structure of the 28493<code>$Nodes</code> and <code>$Elements</code> sections allows to read integer and
28494floating point data in each block in a single step (e.g. using 28495<code>fread</code> in C). 28496</p> 28497<p>The format is defined as follows: 28498</p> 28499<div class="example"> 28500<pre class="example">$MeshFormat // same as MSH version 2 28501 version(ASCII double; currently 4.1) 28502 file-type(ASCII int; 0 for ASCII mode, 1 for binary mode) 28503 data-size(ASCII int; sizeof(size_t)) 28504 < int with value one; only in binary mode, to detect endianness > 28505$EndMeshFormat 28506 28507$PhysicalNames // same as MSH version 2 28508 numPhysicalNames(ASCII int) 28509 dimension(ASCII int) physicalTag(ASCII int) "name"(127 characters max) 28510 ... 28511$EndPhysicalNames 28512 28513$Entities 28514 numPoints(size_t) numCurves(size_t) 28515 numSurfaces(size_t) numVolumes(size_t) 28516 pointTag(int) X(double) Y(double) Z(double) 28517 numPhysicalTags(size_t) physicalTag(int) ... 28518 ... 28519 curveTag(int) minX(double) minY(double) minZ(double) 28520 maxX(double) maxY(double) maxZ(double) 28521 numPhysicalTags(size_t) physicalTag(int) ... 28522 numBoundingPoints(size_t) pointTag(int; sign encodes orientation) ... 28523 ... 28524 surfaceTag(int) minX(double) minY(double) minZ(double) 28525 maxX(double) maxY(double) maxZ(double) 28526 numPhysicalTags(size_t) physicalTag(int) ... 28527 numBoundingCurves(size_t) curveTag(int; sign encodes orientation) ... 28528 ... 28529 volumeTag(int) minX(double) minY(double) minZ(double) 28530 maxX(double) maxY(double) maxZ(double) 28531 numPhysicalTags(size_t) physicalTag(int) ... 28532 numBoundngSurfaces(size_t) surfaceTag(int; sign encodes orientation) ... 28533 ... 28534$EndEntities 28535 28536$PartitionedEntities 28537 numPartitions(size_t) 28538 numGhostEntities(size_t) 28539 ghostEntityTag(int) partition(int) 28540 ... 28541 numPoints(size_t) numCurves(size_t) 28542 numSurfaces(size_t) numVolumes(size_t) 28543 pointTag(int) parentDim(int) parentTag(int) 28544 numPartitions(size_t) partitionTag(int) ... 28545 X(double) Y(double) Z(double) 28546 numPhysicalTags(size_t) physicalTag(int) ... 28547 ... 28548 curveTag(int) parentDim(int) parentTag(int) 28549 numPartitions(size_t) partitionTag(int) ... 28550 minX(double) minY(double) minZ(double) 28551 maxX(double) maxY(double) maxZ(double) 28552 numPhysicalTags(size_t) physicalTag(int) ... 28553 numBoundingPoints(size_t) pointTag(int) ... 28554 ... 28555 surfaceTag(int) parentDim(int) parentTag(int) 28556 numPartitions(size_t) partitionTag(int) ... 28557 minX(double) minY(double) minZ(double) 28558 maxX(double) maxY(double) maxZ(double) 28559 numPhysicalTags(size_t) physicalTag(int) ... 28560 numBoundingCurves(size_t) curveTag(int) ... 28561 ... 28562 volumeTag(int) parentDim(int) parentTag(int) 28563 numPartitions(size_t) partitionTag(int) ... 28564 minX(double) minY(double) minZ(double) 28565 maxX(double) maxY(double) maxZ(double) 28566 numPhysicalTags(size_t) physicalTag(int) ... 28567 numBoundingSurfaces(size_t) surfaceTag(int) ... 28568 ... 28569$EndPartitionedEntities 28570 28571$Nodes 28572 numEntityBlocks(size_t) numNodes(size_t) 28573 minNodeTag(size_t) maxNodeTag(size_t) 28574 entityDim(int) entityTag(int) parametric(int; 0 or 1) 28575 numNodesInBlock(size_t) 28576 nodeTag(size_t) 28577 ... 28578 x(double) y(double) z(double) 28579 < u(double; if parametric and entityDim >= 1) > 28580 < v(double; if parametric and entityDim >= 2) > 28581 < w(double; if parametric and entityDim == 3) > 28582 ... 28583 ... 28584$EndNodes 28585 28586$Elements 28587 numEntityBlocks(size_t) numElements(size_t) 28588 minElementTag(size_t) maxElementTag(size_t) 28589 entityDim(int) entityTag(int) elementType(int; see below) 28590 numElementsInBlock(size_t) 28591 elementTag(size_t) nodeTag(size_t) ... 28592 ... 28593 ... 28594$EndElements 28595 28596$Periodic 28597 numPeriodicLinks(size_t) 28598 entityDim(int) entityTag(int) entityTagMaster(int) 28599 numAffine(size_t) value(double) ... 28600 numCorrespondingNodes(size_t) 28601 nodeTag(size_t) nodeTagMaster(size_t) 28602 ... 28603 ... 28604$EndPeriodic 28605 28606$GhostElements 28607 numGhostElements(size_t) 28608 elementTag(size_t) partitionTag(int) 28609 numGhostPartitions(size_t) ghostPartitionTag(int) ... 28610 ... 28611$EndGhostElements 28612 28613$Parametrizations 28614 numCurveParam(size_t) numSurfaceParam(size_t) 28615 curveTag(int) numNodes(size_t) 28616 nodeX(double) nodeY(double) nodeZ(double) nodeU(double) 28617 ... 28618 ... 28619 surfaceTag(int) numNodes(size_t) numTriangles(size_t) 28620 nodeX(double) nodeY(double) nodeZ(double) 28621 nodeU(double) nodeV(double) 28622 curvMaxX(double) curvMaxY(double) curvMaxZ(double) 28623 curvMinX(double) curvMinY(double) curvMinZ(double) 28624 ... 28625 nodeIndex1(int) nodeIndex2(int) nodeIndex3(int) 28626 ... 28627 ... 28628$EndParametrizations 28629 28630$NodeData 28631 numStringTags(ASCII int) 28632 stringTag(string) ... 28633 numRealTags(ASCII int) 28634 realTag(ASCII double) ... 28635 numIntegerTags(ASCII int) 28636 integerTag(ASCII int) ... 28637 nodeTag(int) value(double) ... 28638 ... 28639$EndNodeData 28640 28641$ElementData 28642 numStringTags(ASCII int) 28643 stringTag(string) ... 28644 numRealTags(ASCII int) 28645 realTag(ASCII double) ... 28646 numIntegerTags(ASCII int) 28647 integerTag(ASCII int) ... 28648 elementTag(int) value(double) ... 28649 ... 28650$EndElementData 28651 28652$ElementNodeData 28653 numStringTags(ASCII int) 28654 stringTag(string) ... 28655 numRealTags(ASCII int) 28656 realTag(ASCII double) ... 28657 numIntegerTags(ASCII int) 28658 integerTag(ASCII int) ... 28659 elementTag(int) numNodesPerElement(int) value(double) ... 28660 ... 28661$EndElementNodeData 28662 28663$InterpolationScheme 28664 name(string) 28665 numElementTopologies(ASCII int) 28666 elementTopology 28667 numInterpolationMatrices(ASCII int) 28668 numRows(ASCII int) numColumns(ASCII int) value(ASCII double) ... 28669$EndInterpolationScheme 28670</pre></div> 28671 28672<p>In the format description above, <code>elementType</code> is e.g.: 28673</p><dl compact="compact"> 28674<dt><code>1</code></dt> 28675<dd><p>2-node line. 28676</p></dd> 28677<dt><code>2</code></dt> 28678<dd><p>3-node triangle. 28679</p></dd> 28680<dt><code>3</code></dt> 28681<dd><p>4-node quadrangle. 28682</p></dd> 28683<dt><code>4</code></dt> 28684<dd><p>4-node tetrahedron. 28685</p></dd> 28686<dt><code>5</code></dt> 28687<dd><p>8-node hexahedron. 28688</p></dd> 28689<dt><code>6</code></dt> 28690<dd><p>6-node prism. 28691</p></dd> 28692<dt><code>7</code></dt> 28693<dd><p>5-node pyramid. 28694</p></dd> 28695<dt><code>8</code></dt> 28696<dd><p>3-node second order line (2 nodes associated with the vertices and 1 28697with the edge). 28698</p></dd> 28699<dt><code>9</code></dt> 28700<dd><p>6-node second order triangle (3 nodes associated with the vertices and 3 28701with the edges). 28702</p></dd> 28703<dt><code>10</code></dt> 28704<dd><p>9-node second order quadrangle (4 nodes associated with the vertices, 4 28705with the edges and 1 with the face). 28706</p></dd> 28707<dt><code>11</code></dt> 28708<dd><p>10-node second order tetrahedron (4 nodes associated with the vertices 28709and 6 with the edges). 28710</p></dd> 28711<dt><code>12</code></dt> 28712<dd><p>27-node second order hexahedron (8 nodes associated with the vertices, 2871312 with the edges, 6 with the faces and 1 with the volume). 28714</p></dd> 28715<dt><code>13</code></dt> 28716<dd><p>18-node second order prism (6 nodes associated with the vertices, 9 with 28717the edges and 3 with the quadrangular faces). 28718</p></dd> 28719<dt><code>14</code></dt> 28720<dd><p>14-node second order pyramid (5 nodes associated with the vertices, 8 28721with the edges and 1 with the quadrangular face). 28722</p></dd> 28723<dt><code>15</code></dt> 28724<dd><p>1-node point. 28725</p></dd> 28726<dt><code>16</code></dt> 28727<dd><p>8-node second order quadrangle (4 nodes associated with the vertices and 287284 with the edges). 28729</p></dd> 28730<dt><code>17</code></dt> 28731<dd><p>20-node second order hexahedron (8 nodes associated with the vertices 28732and 12 with the edges). 28733</p></dd> 28734<dt><code>18</code></dt> 28735<dd><p>15-node second order prism (6 nodes associated with the vertices and 9 28736with the edges). 28737</p></dd> 28738<dt><code>19</code></dt> 28739<dd><p>13-node second order pyramid (5 nodes associated with the vertices and 8 28740with the edges). 28741</p></dd> 28742<dt><code>20</code></dt> 28743<dd><p>9-node third order incomplete triangle (3 nodes associated with the vertices, 6 28744with the edges) 28745</p></dd> 28746<dt><code>21</code></dt> 28747<dd><p>10-node third order triangle (3 nodes associated with the vertices, 6 28748with the edges, 1 with the face) 28749</p></dd> 28750<dt><code>22</code></dt> 28751<dd><p>12-node fourth order incomplete triangle (3 nodes associated with the vertices, 9 28752with the edges) 28753</p></dd> 28754<dt><code>23</code></dt> 28755<dd><p>15-node fourth order triangle (3 nodes associated with the vertices, 9 28756with the edges, 3 with the face) 28757</p></dd> 28758<dt><code>24</code></dt> 28759<dd><p>15-node fifth order incomplete triangle (3 nodes associated with the vertices, 12 28760with the edges) 28761</p></dd> 28762<dt><code>25</code></dt> 28763<dd><p>21-node fifth order complete triangle (3 nodes associated with the vertices, 12 28764with the edges, 6 with the face) 28765</p></dd> 28766<dt><code>26</code></dt> 28767<dd><p>4-node third order edge (2 nodes associated with the vertices, 2 28768internal to the edge) 28769</p></dd> 28770<dt><code>27</code></dt> 28771<dd><p>5-node fourth order edge (2 nodes associated with the vertices, 3 28772internal to the edge) 28773</p></dd> 28774<dt><code>28</code></dt> 28775<dd><p>6-node fifth order edge (2 nodes associated with the vertices, 4 28776internal to the edge) 28777</p></dd> 28778<dt><code>29</code></dt> 28779<dd><p>20-node third order tetrahedron (4 nodes associated with the vertices, 2878012 with the edges, 4 with the faces) 28781</p></dd> 28782<dt><code>30</code></dt> 28783<dd><p>35-node fourth order tetrahedron (4 nodes associated with the vertices, 2878418 with the edges, 12 with the faces, 1 in the volume) 28785</p></dd> 28786<dt><code>31</code></dt> 28787<dd><p>56-node fifth order tetrahedron (4 nodes associated with the vertices, 2878824 with the edges, 24 with the faces, 4 in the volume) 28789</p></dd> 28790<dt><code>92</code></dt> 28791<dd><p>64-node third order hexahedron (8 nodes associated with the vertices, 24 28792with the edges, 24 with the faces, 8 in the volume) 28793</p></dd> 28794<dt><code>93</code></dt> 28795<dd><p>125-node fourth order hexahedron (8 nodes associated with the vertices, 36 28796with the edges, 54 with the faces, 27 in the volume) 28797</p></dd> 28798<dt><code>...</code></dt> 28799</dl> 28800<p>All the currently supported elements in the format are defined in 28801<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/master/src/common/GmshDefines.h">GmshDefines.h</a>. See 28802<a href="#Node-ordering">Node ordering</a> for the ordering of the nodes. 28803</p> 28804<p>The post-processing sections (<code>$NodeData</code>, <code>$ElementData</code>, 28805<code>$ElementNodeData</code>) can contain <code>numStringTags</code> string tags, 28806<code>numRealTags</code> real value tags and <code>numIntegerTags</code> integer 28807tags. The default set of tags understood by Gmsh is as follows: 28808</p><dl compact="compact"> 28809<dt><code>stringTag</code></dt> 28810<dd><p>The first is interpreted as the name of the post-processing view and the 28811second as the name of the interpolation scheme, as provided in the 28812<code>$InterpolationScheme</code> section. 28813</p></dd> 28814<dt><code>realTag</code></dt> 28815<dd><p>The first is interpreted as a time value associated with the dataset. 28816</p></dd> 28817<dt><code>integerTag</code></dt> 28818<dd><p>The first is interpreted as a time step index (starting at 0), the 28819second as the number of field components of the data in the view (1, 3 28820or 9), the third as the number of entities (nodes or elements) in the 28821view, and the fourth as the partition index for the view data (0 for no 28822partition). 28823</p></dd> 28824</dl> 28825 28826<p>In the <code>$InterpolationScheme</code> section: 28827</p><dl compact="compact"> 28828<dt><code>numElementTopologies</code></dt> 28829<dd><p>is the number of element topologies for which interpolation matrices are 28830provided. 28831</p></dd> 28832<dt><code>elementTopology</code></dt> 28833<dd><p>is the id tag of a given element topology: 1 for points, 2 for lines, 3 28834for triangles, 4 for quadrangles, 5 for tetrahedra, 6 for pyramids, 7 28835for prisms, 8 for hexahedra, 9 for polygons and 10 for polyhedra. 28836</p></dd> 28837<dt><code>numInterpolationMatrices</code></dt> 28838<dd><p>is the number of interpolation matrices provided for the given element 28839topology. Currently you should provide 2 matrices, i.e., the matrices 28840that specify how to interpolate the data (they have the same meaning as 28841in <a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a>). The matrices are specified by 2 28842integers (<code>numRows</code> and <code>numColumns</code>) followed by the values, 28843by row. 28844</p></dd> 28845</dl> 28846 28847<p>Here is a small example of a minimal ASCII MSH4.1 file, with a mesh 28848consisting of two quadrangles and an associated nodal scalar dataset 28849(the comments are not part of the actual file): 28850</p> 28851<div class="example"> 28852<pre class="example">$MeshFormat 288534.1 0 8 <em>MSH4.1, ASCII</em> 28854$EndMeshFormat 28855$Nodes 288561 6 1 6 <em>1 entity bloc, 6 nodes total, min/max node tags: 1 and 6</em> 288572 1 0 6 <em>2D entity (surface) 1, no parametric coordinates, 6 nodes</em> 288581 <em> node tag #1</em> 288592 <em> node tag #2</em> 288603 <em> etc.</em> 288614 288625 288636 288640. 0. 0. <em> node #1 coordinates (0., 0., 0.)</em> 288651. 0. 0. <em> node #2 coordinates (1., 0., 0.)</em> 288661. 1. 0. <em> etc.</em> 288670. 1. 0. 288682. 0. 0. 288692. 1. 0. 28870$EndNodes 28871$Elements 288721 2 1 2 <em>1 entity bloc, 2 elements total, min/max element tags: 1 and 2</em> 288732 1 3 2 <em>2D entity (surface) 1, element type 3 (4-node quad), 2 elements</em> 288741 1 2 3 4 <em> quad tag #1, nodes 1 2 3 4</em> 288752 2 5 6 3 <em> quad tag #2, nodes 2 5 6 3</em> 28876$EndElements 28877$NodeData 288781 <em>1 string tag:</em> 28879"My view" <em> the name of the view ("My view")</em> 288801 <em>1 real tag:</em> 288810.0 <em> the time value (0.0)</em> 288823 <em>3 integer tags:</em> 288830 <em> the time step (0; time steps always start at 0)</em> 288841 <em> 1-component (scalar) field</em> 288856 <em> 6 associated nodal values</em> 288861 0.0 <em>value associated with node #1 (0.0)</em> 288872 0.1 <em>value associated with node #2 (0.1)</em> 288883 0.2 <em>etc.</em> 288894 0.0 288905 0.2 288916 0.4 28892$EndNodeData 28893</pre></div> 28894 28895<p>The 4.1 revision of the format includes the following modifications with 28896respect to the initial 4.0 version: 28897</p><ul> 28898<li> All the <code>unsigned long</code> entries have been changed to 28899<code>size_t</code>. All the entries designating counts which were previously 28900encoded as <code>int</code> have also been changed to <code>size_t</code>. (This 28901only impacts binary files.) 28902</li><li> The <code>$Entities</code> section is now optional. 28903</li><li> Integer and floating point data in the <code>$Nodes</code> section is not 28904mixed anymore: all the tags are given first, followed by all the 28905coordinates. 28906</li><li> The bounding box for point entities has been replaced simply by the 3 28907coordinates of the point (instead of the six bounding box values). 28908</li><li> The <code>entityDim</code> and <code>entityTag</code> values have been switched in 28909the <code>$Nodes</code> and <code>$Elements</code> sections (for consistency with 28910the ordering used elsewhere in the file and in the <a href="#Gmsh-application-programming-interface">Gmsh application programming interface</a>). 28911</li><li> The minimum and the maximum tag of nodes (resp. elements) have been 28912added in the header of the <code>$Nodes</code> (resp. <code>$Elements</code>) 28913section, to facilitate the detection of sparse or dense numberings when 28914reading the file. 28915</li><li> The <code>
28915$Periodic</code> section has been changed to always provide the 28916number of values in the affine transform (which can be zero, if the 28917transform is not provided). 28918</li></ul> 28919 28920<p>The following changes are foreseen in a future revision of the MSH format: 28921</p><ul> 28922<li> The <code>$GhostElements</code>, <code>$NodeData</code>, <code>$ElementData</code> and 28923<code>$ElementNodeData</code> will be reworked for greater IO efficiency, with 28924separation of entries by type and a block structure with predictable 28925sizes. 28926</li><li> Node and element tags in <code>$NodeData</code>, <code>$ElementData</code> and 28927<code>$ElementNodeData</code> will be switched to <code>size_t</code>. 28928</li></ul> 28929 28930 28931<hr> 28932<span id="Node-ordering"></span><div class="header"> 28933<p> 28934Next: <a href="#Legacy-formats" accesskey="n" rel="next">Legacy formats</a>, Previous: <a href="#MSH-file-format" accesskey="p" rel="prev">MSH file format</a>, Up: <a href="#Gmsh-file-formats" accesskey="u" rel="up">Gmsh file formats</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 28935</div> 28936<span id="Node-ordering-1"></span><h3 class="section">10.2 Node ordering</h3> 28937 28938<span id="index-Nodes_002c-ordering"></span> 28939 28940<p>Historically, Gmsh first supported linear elements (lines, triangles, 28941quadrangles, tetrahedra, prisms and hexahedra). Then, support for second 28942and some third order elements has been added. Below we distinguish such 28943“low order elements”, which are hardcoded (i.e. they are explicitly 28944defined in the code), and general “high-order elements”, that have 28945been coded in a more general fashion, theoretically valid for any order. 28946</p> 28947<span id="Low-order-elements"></span><h4 class="subsection">10.2.1 Low order elements</h4> 28948 28949<p>For all mesh and post-processing file formats, the reference elements 28950are defined as follows. 28951</p> 28952<div class="example"> 28953<pre class="example">Line: Line3: Line4: 28954 28955 v 28956 ^ 28957 | 28958 | 289590-----+-----1 --> u 0----2----1 0---2---3---1 28960 28961</pre></div> 28962 28963<div class="example"> 28964<pre class="example">Triangle: Triangle6: Triangle9/10: 28965 28966v 28967^ 28968| 289692 2 2 28970|`\ |`\ | \ 28971| `\ | `\ 7 6 28972| `\ 5 `4 | \ 28973| `\ | `\ 8 (9) 5 28974| `\ | `\ | \ 289750----------1--> u 0-----3----1 0---3---4---1 28976 28977</pre></div> 28978 28979<div class="example"> 28980<pre class="example">Triangle12/15: 28981 28982 v 28983 ^ 28984 | 28985 2 28986 | \ 28987 9 8 28988 | \ 2898910 (14) 7 28990 | \ 2899111 (12) (13) 6 28992 | \ 28993 0---3---4---5---1--> u 28994 28995</pre></div> 28996 28997<div class="example"> 28998<pre class="example">Quadrangle: Quadrangle8: Quadrangle9: 28999 29000 v 29001 ^ 29002 | 290033-----------2 3-----6-----2 3-----6-----2 29004| | | | | | | 29005| | | | | | | 29006| +---- | --> u 7 5 7 8 5 29007| | | | | | 29008| | | | | | 290090-----------1 0-----4-----1 0-----4-----1 29010 29011</pre></div> 29012 29013<div class="example"> 29014<pre class="example">Tetrahedron: Tetrahedron10: 29015 29016 v 29017 . 29018 ,/ 29019 / 29020 2 2 29021 ,/|`\ ,/|`\ 29022 ,/ | `\ ,/ | `\ 29023 ,/ '. `\ ,6 '. `5 29024 ,/ | `\ ,/ 8 `\ 29025 ,/ | `\ ,/ | `\ 290260-----------'.--------1 --> u 0--------4--'.--------1 29027 `\. | ,/ `\. | ,/ 29028 `\. | ,/ `\. | ,9 29029 `\. '. ,/ `7. '. ,/ 29030 `\. |/ `\. |/ 29031 `3 `3 29032 `\. 29033 ` w 29034</pre></div> 29035 29036<div class="example"> 29037<pre class="example">Hexahedron: Hexahedron20: Hexahedron27: 29038 29039 v 290403----------2 3----13----2 3----13----2 29041|\ ^ |\ |\ |\ |\ |\ 29042| \ | | \ | 15 | 14 |15 24 | 14 29043| \ | | \ 9 \ 11 \ 9 \ 20 11 \ 29044| 7------+---6 | 7----19+---6 | 7----19+---6 29045| | +-- |-- | -> u | | | | |22 | 26 | 23| 290460---+---\--1 | 0---+-8----1 | 0---+-8----1 | 29047 \ | \ \ | \ 17 \ 18 \ 17 25 \ 18 29048 \ | \ \ | 10 | 12| 10 | 21 12| 29049 \| w \| \| \| \| \| 29050 4----------5 4----16----5 4----16----5 29051 29052</pre></div> 29053 29054<div class="example"> 29055<pre class="example">Prism: Prism15: Prism18: 29056 29057 w 29058 ^ 29059 | 29060 3 3 3 29061 ,/|`\ ,/|`\ ,/|`\ 29062 ,/ | `\ 12 | 13 12 | 13 29063 ,/ | `\ ,/ | `\ ,/ | `\ 29064 4------+------5 4------14-----5 4------14-----5 29065 | | | | 8 | | 8 | 29066 | ,/|`\ | | | | | ,/|`\ | 29067 | ,/ | `\ | | | | | 15 | 16 | 29068 |,/ | `\| | | | |,/ | `\| 29069 ,| | |\ 10 | 11 10-----17-----11 29070 ,/ | 0 | `\ | 0 | | 0 | 29071u | ,/ `\ | v | ,/ `\ | | ,/ `\ | 29072 | ,/ `\ | | ,6 `7 | | ,6 `7 | 29073 |,/ `\| |,/ `\| |,/ `\| 29074 1-------------2 1------9------2 1------9------2 29075 29076</pre></div> 29077 29078<div class="example"> 29079<pre class="example">Pyramid: Pyramid13: 29080 29081 4 4 29082 ,/|\ ,/|\ 29083 ,/ .'|\ ,/ .'|\ 29084 ,/ | | \ ,/ | | \ 29085 ,/ .' | `. ,/ .' | `. 29086 ,/ | '. \ ,7 | 12 \ 29087 ,/ .' w | \ ,/ .' | \ 29088 ,/ | ^ | \ ,/ 9 | 11 290890----------.'--|-3 `. 0--------6-.'----3 `. 29090 `\ | | `\ \ `\ | `\ \ 29091 `\ .' +----`\ - \ -> v `5 .' 10 \ 29092 `\ | `\ `\ \ `\ | `\ \ 29093 `\.' `\ `\` `\.' `\` 29094 1----------------2 1--------8-------2 29095 `\ 29096 u 29097</pre></div> 29098 29099<div class="example"> 29100<pre class="example">Pyramid14: 29101 29102 4 29103 ,/|\ 29104 ,/ .'|\ 29105 ,/ | | \ 29106 ,/ .' | `. 29107 ,7 | 12 \ 29108 ,/ .' | \ 29109 ,/ 9 | 11 291100--------6-.'----3 `. 29111 `\ | `\ \ 29112 `5 .' 13 10 \ 29113 `\ | `\ \ 29114 `\.' `\` 29115 1--------8-------2 29116 `\ 29117 u 29118</pre></div> 29119 29120<span id="High_002dorder-elements"></span><h4 class="subsection">10.2.2 High-order elements</h4> 29121 29122<p>The node ordering of a higher order (possibly curved) element is 29123compatible with the numbering of low order element (it is a 29124generalization). We number nodes in the following order: 29125</p><ul class="no-bullet"> 29126<li>– the element principal or corner vertices; 29127</li><li>– the internal nodes for each edge; 29128</li><li>– the internal nodes for each face; 29129</li><li>– the volume internal nodes. 29130</li></ul> 29131 29132<p>The numbering for internal nodes is recursive, i.e. the numbering follows 29133that of the nodes of an embedded edge/face/volume of lower order. The 29134higher order nodes are assumed to be equispaced. Edges and faces are 29135numbered following the lowest order template that generates a single 29136high-order on this edge/face. Furthermore, an edge is oriented from the 29137node with the lowest to the highest index. The orientation of a face 29138is such that the computed normal points outward; the starting point is 29139the node with the lowest index. 29140</p> 29141 29142<hr> 29143<span id="Legacy-formats"></span><div class="header"> 29144<p> 29145Previous: <a href="#Node-ordering" accesskey="p" rel="prev">Node ordering</a>, Up: <a href="#Gmsh-file-formats" accesskey="u" rel="up">Gmsh file formats</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 29146</div> 29147<span id="Legacy-formats-1"></span>
29147<h3 class="section">10.3 Legacy formats</h3> 29148 29149<p>This section describes Gmsh’s older native file formats. Future versions 29150of Gmsh will continue to support these formats, but we recommend that 29151you do not use them in new applications. 29152</p> 29153<table class="menu" border="0" cellspacing="0"> 29154<tr><td align="left" valign="top">• <a href="#MSH-file-format-version-2-_0028Legacy_0029" accesskey="1">MSH file format version 2 (Legacy)</a></td><td> </td><td align="left" valign="top"> 29155</td></tr> 29156<tr><td align="left" valign="top">• <a href="#MSH-file-format-version-1-_0028Legacy_0029" accesskey="2">MSH file format version 1 (Legacy)</a></td><td> </td><td align="left" valign="top"> 29157</td></tr> 29158<tr><td align="left" valign="top">• <a href="#POS-ASCII-file-format-_0028Legacy_0029" accesskey="3">POS ASCII file format (Legacy)</a></td><td> </td><td align="left" valign="top"> 29159</td></tr> 29160<tr><td align="left" valign="top">• <a href="#POS-binary-file-format-_0028Legacy_0029" accesskey="4">POS binary file format (Legacy)</a></td><td> </td><td align="left" valign="top"> 29161</td></tr> 29162</table> 29163 29164 29165<hr> 29166<span id="MSH-file-format-version-2-_0028Legacy_0029"></span><div class="header"> 29167<p> 29168Next: <a href="#MSH-file-format-version-1-_0028Legacy_0029" accesskey="n" rel="next">MSH file format version 1 (Legacy)</a>, Previous: <a href="#Legacy-formats" accesskey="p" rel="prev">Legacy formats</a>, Up: <a href="#Legacy-formats" accesskey="u" rel="up">Legacy formats</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 29169</div> 29170<span id="MSH-file-format-version-2-_0028Legacy_0029-1"></span><h4 class="subsection">10.3.1 MSH file format version 2 (Legacy)</h4> 29171 29172<p>The MSH file format version 2 is Gmsh’s previous native mesh file 29173format, now superseded by the format described in <a href="#MSH-file-format">MSH file format</a>. It is defined as follows: 29174</p> 29175<div class="example"> 29176<pre class="example">$MeshFormat 29177<var>version-number</var> <var>file-type</var> <var>data-size</var> 29178$EndMeshFormat 29179$PhysicalNames 29180<var>number-of-names</var> 29181<var>physical-dimension</var> <var>physical-tag</var> "<var>physical-name</var>" 29182… 29183$EndPhysicalNames 29184$Nodes 29185<var>number-of-nodes</var> 29186<var>node-number</var> <var>x-coord</var> <var>y-coord</var> <var>z-coord</var> 29187… 29188$EndNodes 29189$Elements 29190<var>number-of-elements</var> 29191<var>elm-number</var> <var>elm-type</var> <var>number-of-tags</var> < <var>tag</var> > … <var>node-number-list</var> 29192… 29193$EndElements 29194$Periodic 29195<var>number-of-periodic-entities</var> 29196<var>dimension</var> <var>entity-tag</var> <var>master-entity-tag</var> 29197<Affine <var>value</var> ...> 29198<var>number-of-nodes</var> 29199<var>node-number master-node-number</var> 29200… 29201$EndPeriodic 29202$NodeData 29203<var>number-of-string-tags</var> 29204< "<var>string-tag</var>" > 29205… 29206<var>number-of-real-tags</var> 29207< <var>real-tag</var> > 29208… 29209<var>number-of-integer-tags</var> 29210< <var>integer-tag</var> > 29211… 29212<var>node-number</var> <var>value</var> … 29213… 29214$EndNodeData 29215$ElementData 29216<var>number-of-string-tags</var> 29217< "<var>string-tag</var>" > 29218… 29219<var>number-of-real-tags</var> 29220< <var>real-tag</var> > 29221… 29222<var>number-of-integer-tags</var> 29223< <var>integer-tag</var> > 29224… 29225<var>elm-number</var> <var>value</var> … 29226… 29227$EndElementData 29228$ElementNodeData 29229<var>number-of-string-tags</var> 29230< "<var>string-tag</var>" > 29231… 29232<var>number-of-real-tags</var> 29233< <var>real-tag</var> > 29234… 29235<var>number-of-integer-tags</var> 29236< <var>integer-tag</var> > 29237… 29238<var>elm-number</var> <var>number-of-nodes-per-element</var> <var>value</var> … 29239… 29240$EndElementNodeData 29241$InterpolationScheme 29242"<var>name</var>" 29243<var>number-of-element-topologies</var> 29244<var>elm-topology</var> 29245<var>number-of-interpolation-matrices</var> 29246<var>num-rows</var> <var>num-columns</var> <var>value</var> … 29247… 29248$EndInterpolationScheme 29249</pre></div> 29250 29251<p>where 29252</p><dl compact="compact"> 29253<dt><code><var>version-number</var></code></dt> 29254<dd><p>is a real number equal to 2.2 29255</p> 29256</dd> 29257<dt><code><var>file-type</var></code></dt> 29258<dd><p>is an integer equal to 0 in the ASCII file format. 29259</p> 29260</dd> 29261<dt><code><var>data-size</var></code></dt> 29262<dd><p>is an integer equal to the size of the floating point numbers used in the 29263file (currently only <var>data-size</var> = sizeof(double) is supported). 29264</p> 29265</dd> 29266<dt><code><var>number-of-nodes</var></code></dt> 29267<dd><p>is the number of nodes in the mesh. 29268</p> 29269</dd> 29270<dt><code><var>node-number</var></code></dt> 29271<dd><p>is the number (index) of the <var>n</var>-th node in the mesh; 29272<var>node-number</var> must be a positive (non-zero) integer. Note that the 29273<var><span class="nolinebreak">node-number</span></var>s<!-- /@w --> do not necessarily have to form a dense nor an 29274ordered sequence. 29275</p> 29276</dd> 29277<dt><code><var>x-coord</var> <var>y-coord</var> <var>z-coord</var></code></dt> 29278<dd><p>
29278are the floating point values giving the X, Y and Z coordinates of the 29279<var>n</var>-th node. 29280</p> 29281</dd> 29282<dt><code><var>number-of-elements</var></code></dt> 29283<dd><p>is the number of elements in the mesh. 29284</p> 29285</dd> 29286<dt><code><var>elm-number</var></code></dt> 29287<dd><p>is the number (index) of the <var>n</var>-th element in the mesh; 29288<var>elm-number</var> must be a positive (non-zero) integer. Note that the 29289<var><span class="nolinebreak">elm-number</span></var>s<!-- /@w --> do not necessarily have to form a dense nor an 29290ordered sequence. 29291</p> 29292</dd> 29293<dt><code><var>elm-type</var></code></dt> 29294<dd><p>defines the geometrical type of the <var>n</var>-th element: see <a href="#MSH-file-format">MSH file format</a>. 29295</p> 29296</dd> 29297<dt><code><var>number-of-tags</var></code></dt> 29298<dd><p>gives the number of integer tags that follow for the <var>n</var>-th 29299element. By default, the first <var>tag</var> is the tag of the physical 29300entity to which the element belongs; the second is the tag of the 29301elementary model entity to which the element belongs; the third is the 29302number of mesh partitions to which the element belongs, followed by the 29303partition ids (negative partition ids indicate ghost cells). A zero tag 29304is equivalent to no tag. Gmsh and most codes using the MSH 2 format 29305require at least the first two tags (physical and elementary tags). 29306</p> 29307</dd> 29308<dt><code><var>node-number-list</var></code></dt> 29309<dd><p>is the list of the node numbers of the <var>n</var>-th element. The ordering of 29310the nodes is given in <a href="#Node-ordering">Node ordering</a>. 29311</p> 29312</dd> 29313<dt><code><var>number-of-string-tags</var></code></dt> 29314<dd><p>gives the number of string tags that follow. By default the first 29315<var>string-tag</var> is interpreted as the name of the post-processing view 29316and the second as the name of the interpolation scheme. The 29317interpolation scheme is provided in the <code>$InterpolationScheme</code> 29318section (see below). 29319</p> 29320</dd> 29321<dt><code><var>number-of-real-tags</var></code></dt> 29322<dd><p>gives the number of real number tags that follow. By default the first 29323<var>real-tag</var> is interpreted as a time value associated with the 29324dataset. 29325</p> 29326</dd> 29327<dt><code><var>number-of-integer-tags</var></code></dt> 29328<dd><p>gives the number of integer tags that follow. By default the first 29329<var>integer-tag</var> is interpreted as a time step index (starting at 0), 29330the second as the number of field components of the data in the view (1, 293313 or 9), the third as the number of entities (nodes or elements) in the 29332view, and the fourth as the partition index for the view data (0 for no 29333partition). 29334</p> 29335</dd> 29336<dt><code><var>number-of-nodes-per-elements</var></code></dt> 29337<dd><p>gives the number of node values for an element in an element-based view. 29338</p> 29339</dd> 29340<dt><code><var>value</var></code></dt> 29341<dd><p>is a real number giving the value associated with a node or an 29342element. For <code>NodeData</code> (respectively <code>ElementData</code>) views, 29343there are <var>ncomp</var> values per node (resp. per element), where 29344<var>ncomp</var> is the number of field components. For 29345<code>ElementNodeData</code> views, there are <var>ncomp</var> times 29346<var>number-of-nodes-per-elements</var> values per element. 29347</p> 29348</dd> 29349<dt><code><var>number-of-element-topologies</var></code></dt> 29350<dd><p>is the number of element topologies for which interpolation matrices are 29351provided 29352</p> 29353</dd> 29354<dt><code><var>elm-topology</var></code></dt> 29355<dd><p>is the id tag of a given element topology: 1 for points, 2 for lines, 3 29356for triangles, 4 for quadrangles, 5 for tetrahedra, 6 for pyramids, 7 29357for prisms, 8 for hexahedra, 9 for polygons and 10 for polyhedra. 29358</p> 29359</dd> 29360<dt><code><var>number-of-interpolation-matrices</var></code></dt> 29361<dd><p>is the number of interpolation matrices provided for the element 29362topology <var>elm-topology</var>. Currently you should provide 2 matrices, 29363i.e., the matrices that specify how to interpolate the data (they have 29364the same meaning as in <a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a>). The matrices are 29365specified by 2 integers (<var>num-rows</var> and <var>num-columns</var>) followed 29366by the values. 29367</p> 29368</dd> 29369</dl> 29370 29371<p>Below is a small example (a mesh consisting of two quadrangles with an 29372associated nodal scalar dataset; the comments are not part of the actual 29373file!): 29374</p> 29375<div class="example"> 29376<pre class="example">$MeshFormat 293772.2 0 8 29378$EndMeshFormat 29379$Nodes 293806 <em>six mesh nodes:</em> 293811 0.0 0.0 0.0 <em> node #1: coordinates (0.0, 0.0, 0.0)</em> 293822 1.0 0.0 0.0 <em> node #2: coordinates (1.0, 0.0, 0.0)</em> 293833 1.0 1.0 0.0 <em> etc.</em> 293844 0.0 1.0 0.0 293855 2.0 0.0 0.0 293866 2.0 1.0 0.0 29387$EndNodes 29388$Elements 293892 <em>two elements:</em> 293901 3 2 99 2 1 2 3 4 <em> quad #1: type 3, phys 99, ent 2, nodes 1 2 3 4</em> 293912 3 2 99 2 2 5 6 3 <em> quad #2: type 3, phys 99, ent 2, nodes 2 5 6 3</em> 29392$EndElements 29393$NodeData 293941 <em>one string tag:</em> 29395"My view" <em> the name of the view ("My view")</em> 293961 <em>one real tag:</em> 293970.0 <em> the time value (0.0)</em> 293983 <em>three integer tags:</em> 293990 <em> the time step (0; time steps always start at 0)</em> 294001 <em> 1-component (scalar) field</em> 294016 <em> six associated nodal values</em> 294021 0.0 <em>value associated with node #1 (0.0)</em> 294032 0.1 <em>value associated with node #2 (0.1)</em> 294043 0.2 <em>etc.</em> 294054 0.0 294065 0.2 294076 0.4 29408$EndNodeData 29409</pre></div> 29410 29411<p>The binary file format is similar to the ASCII format described above: 29412</p> 29413<div class="example"> 29414<pre class="example">$MeshFormat 29415<var>version-number</var> <var>file-type</var> <var>data-size</var> 29416<var>one-binary</var> 29417$EndMeshFormat 29418$Nodes 29419<var>number-of-nodes</var> 29420<var>nodes-binary</var> 29421$EndNodes 29422$Elements 29423<var>number-of-elements</var> 29424<var>element-header-binary</var> 29425<var>elements-binary</var> 29426<var>element-header-binary</var> 29427<var>elements-binary</var> 29428… 29429$EndElements 29430 29431[ All other sections are identical to ASCII, except that 29432 <var>node-number</var>, <var>elm-number</var>, <var>number-of-nodes-per-element</var> 29433 and <var>values</var> are written in binary format. Beware that all the 29434 $End tags must start on a new line. ] 29435</pre></div> 29436 29437<p>where 29438</p><dl compact="compact"> 29439<dt><code><var>version-number</var></code></dt> 29440<dd><p>is a real number equal to 2.2. 29441</p> 29442</dd> 29443<dt><code><var>file-type</var></code></dt> 29444<dd><p>is an integer equal to 1. 29445</p> 29446</dd> 29447<dt><code><var>data-size</var></code></dt> 29448<dd><p>has the same meaning as in the ASCII file format. Currently only 29449<var>data-size</var> = sizeof(double) is supported. 29450</p> 29451</dd> 29452<dt><code><var>one-binary</var></code></dt> 29453<dd><p>is an integer of value 1 written in binary form. This integer is used 29454for detecting if the computer on which the binary file was written and 29455the computer on which the file is read are of the same type (little or 29456big endian). 29457</p> 29458<p>Here is a pseudo C code to write <var>one-binary</var>: 29459</p><div class="example"> 29460<pre class="example">int one = 1; 29461fwrite(&one, sizeof(int), 1, file); 29462</pre></div> 29463 29464</dd> 29465<dt><code><var>number-of-nodes</var></code></dt> 29466<dd><p>has the same meaning as in the ASCII file format. 29467</p> 29468</dd> 29469<dt><code><var>nodes-binary</var></code></dt> 29470<dd><p>is the list of nodes in binary form, i.e., a array of 29471<var>number-of-nodes</var> * (4 + 3 * <var>data-size</var>) bytes. For each node, 29472the first 4 bytes contain the node number and the next (3 * 29473<var>data-size</var>) bytes contain the three floating point coordinates. 29474</p> 29475<p>Here is a pseudo C code to write <var>nodes-binary</var>: 29476</p><div class="example"> 29477<pre class="example">for(i = 0; i < number_of_nodes; i++){ 29478 fwrite(&num_i, sizeof(int), 1, file); 29479 double xyz[3] = {node_i_x, node_i_y, node_i_z}; 29480 fwrite(xyz, sizeof(double), 3, file); 29481} 29482</pre></div> 29483 29484</dd> 29485<dt><code><var>number-of-elements</var></code></dt> 29486<dd><p>has the same meaning as in the ASCII file format. 29487</p> 29488</dd> 29489<dt><code><var>element-header-binary</var></code></dt> 29490<dd><p>is a list of 3 integers in binary form, i.e., an array of (3 * 4) bytes: 29491the first four bytes contain the type of the elements that follow (same 29492as <var>elm-type</var> in the ASCII format), the next four contain the number 29493of elements that follow, and the last four contain the number of tags 29494per element (same as <var>number-of-tags</var> in the ASCII format). 29495</p> 29496<p>Here is a pseudo C code to write <var>element-header-binary</var>: 29497</p><div class="example"> 29498<pre class="example">int header[3] = {elm_type, num_elm_follow, num_tags}; 29499fwrite(header, sizeof(int), 3, file); 29500</pre></div> 29501 29502</dd> 29503<dt><code><var>elements-binary</var></code></dt> 29504<dd><p>is a list of elements in binary form, i.e., an array of “number of 29505elements that follow” * (4 + <var>number-of-tags</var> * 4 + 29506#<var>node-number-list</var> * 4) bytes. For each element, the first four 29507bytes contain the element number, the next (<var>number-of-tags</var> * 4) 29508contain the tags, and the last (#<var>node-number-list</var> * 4) contain the 29509node indices. 29510</p> 29511<p>Here is a pseudo C code to write <var>elements-binary</var> for triangles 29512with the 2 standard tags (the physical group and elementary entity): 29513</p><div class="example"> 29514<pre class="example">for(i = 0; i < number_of_triangles; i++){ 29515 int data[6] = {num_i, physical, elementary, 29516 node_i_1, node_i_2, node_i_3}; 29517 fwrite(data, sizeof(int), 6, file); 29518} 29519</pre></div> 29520</dd> 29521</dl> 29522 29523 29524<hr> 29525<span id="MSH-file-format-version-1-_0028Legacy_0029"></span><div class="header"> 29526<p> 29527Next: <a href="#POS-ASCII-file-format-_0028Legacy_0029" accesskey="n" rel="next">POS ASCII file format (Legacy)</a>, Previous: <a href="#MSH-file-format-version-2-_0028Legacy_0029" accesskey="p" rel="prev">MSH file format version 2 (Legacy)</a>, Up: <a href="#Legacy-formats" accesskey="u" rel="up">Legacy formats</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 29528</div> 29529<span id="MSH-file-format-version-1-_0028Legacy_0029-1"></span><h4 class="subsection">10.3.2 MSH file format version 1 (Legacy)</h4> 29530 29531<p>The MSH file format version 1 is Gmsh’s original native mesh file
29532format, now superseded by the format described in <a href="#MSH-file-format">MSH file format</a>. It is defined as follows: 29533</p> 29534<div class="example"> 29535<pre class="example">$NOD 29536<var>number-of-nodes</var> 29537<var>node-number</var> <var>x-coord</var> <var>y-coord</var> <var>z-coord</var> 29538… 29539$ENDNOD 29540$ELM 29541<var>number-of-elements</var> 29542<var>elm-number</var> <var>elm-type</var> <var>reg-phys</var> <var>reg-elem</var> <var>number-of-nodes</var> <var>node-number-list</var> 29543… 29544$ENDELM 29545</pre></div> 29546 29547<p>where 29548</p><dl compact="compact"> 29549<dt><code><var>number-of-nodes</var></code></dt> 29550<dd><p>is the number of nodes in the mesh. 29551</p> 29552</dd> 29553<dt><code><var>node-number</var></code></dt> 29554<dd><p>is the number (index) of the <var>n</var>-th node in the mesh; 29555<var>node-number</var> must be a positive (non-zero) integer. Note that the 29556<var><span class="nolinebreak">node-number</span></var>s<!-- /@w --> do not necessarily have to form a dense nor an 29557ordered sequence. 29558</p> 29559</dd> 29560<dt><code><var>x-coord</var> <var>y-coord</var> <var>z-coord</var></code></dt> 29561<dd><p>are the floating point values giving the X, Y and Z coordinates of the 29562<var>n</var>-th node. 29563</p> 29564</dd> 29565<dt><code><var>number-of-elements</var></code></dt> 29566<dd><p>is the number of elements in the mesh. 29567</p> 29568</dd> 29569<dt><code><var>elm-number</var></code></dt> 29570<dd><p>is the number (index) of the <var>n</var>-th element in the mesh; 29571<var>elm-number</var> must be a positive (non-zero) integer. Note that the 29572<var><span class="nolinebreak">elm-number</span></var>s<!-- /@w --> do not necessarily have to form a dense nor an 29573ordered sequence. 29574</p> 29575</dd> 29576<dt><code><var>elm-type</var></code></dt> 29577<dd><p>defines the geometrical type of the <var>n</var>-th element: 29578</p><dl compact="compact"> 29579<dt><code>1</code></dt> 29580<dd><p>2-node line. 29581</p></dd> 29582<dt><code>2</code></dt> 29583<dd><p>3-node triangle. 29584</p></dd> 29585<dt><code>3</code></dt> 29586<dd><p>4-node quadrangle. 29587</p></dd> 29588<dt><code>4</code></dt> 29589<dd><p>4-node tetrahedron. 29590</p></dd> 29591<dt><code>5</code></dt> 29592<dd><p>8-node hexahedron. 29593</p></dd> 29594<dt><code>6</code></dt> 29595<dd><p>6-node prism. 29596</p></dd> 29597<dt><code>7</code></dt> 29598<dd><p>5-node pyramid. 29599</p></dd> 29600<dt><code>8</code></dt> 29601<dd><p>3-node second order line (2 nodes associated with the vertices and 1 29602with the edge). 29603</p></dd> 29604<dt><code>9</code></dt> 29605<dd><p>6-node second order triangle (3 nodes associated with the vertices and 3 29606with the edges). 29607</p></dd> 29608<dt><code>10</code></dt> 29609<dd><p>9-node second order quadrangle (4 nodes associated with the vertices, 4 29610with the edges and 1 with the face). 29611</p></dd> 29612<dt><code>11</code></dt> 29613<dd><p>10-node second order tetrahedron (4 nodes associated with the vertices 29614and 6 with the edges). 29615</p></dd> 29616<dt><code>12</code></dt> 29617<dd><p>27-node second order hexahedron (8 nodes associated with the vertices, 2961812 with the edges, 6 with the faces and 1 with the volume). 29619</p></dd> 29620<dt><code>13</code></dt> 29621<dd><p>18-node second order prism (6 nodes associated with the vertices, 9 with 29622the edges and 3 with the quadrangular faces). 29623</p></dd> 29624<dt><code>14</code></dt> 29625<dd><p>14-node second order pyramid (5 nodes associated with the vertices, 8 29626with the edges and 1 with the quadrangular face). 29627</p></dd> 29628<dt><code>15</code></dt> 29629<dd><p>1-node point. 29630</p></dd> 29631<dt><code>16</code></dt> 29632<dd><p>8-node second order quadrangle (4 nodes associated with the vertices and 296334 with the edges). 29634</p></dd> 29635<dt><code>17</code></dt> 29636<dd><p>20-node second order hexahedron (8 nodes associated with the vertices 29637and 12 with the edges). 29638</p></dd> 29639<dt><code>18</code></dt> 29640<dd><p>15-node second order prism (6 nodes associated with the vertices and 9 29641with the edges). 29642</p></dd> 29643<dt><code>19</code></dt> 29644<dd><p>13-node second order pyramid (5 nodes associated with the vertices and 8 29645with the edges). 29646</p></dd> 29647</dl> 29648<p>See below for the ordering of the nodes. 29649</p> 29650</dd> 29651<dt><code><var>reg-phys</var></code></dt> 29652<dd><p>is the tag of the physical entity to which the element belongs; 29653<var>reg-phys</var> must be a positive integer, or zero. If <var>reg-phys</var> is 29654equal to zero, the element is considered not to belong to any physical 29655entity. 29656</p> 29657</dd> 29658<dt><code><var>reg-elem</var></code></dt> 29659<dd><p>is the tag of the elementary entity to which the element belongs; 29660<var>reg-elem</var> must be a positive (non-zero) integer. 29661</p> 29662</dd> 29663<dt><code><var>number-of-nodes</var></code></dt> 29664<dd><p>is the number of nodes for the <var>n</var>-th element. This is redundant, but 29665kept for backward compatibility. 29666</p> 29667</dd> 29668<dt><code><var>node-number-list</var></code></dt> 29669<dd><p>is the list of the <var>number-of-nodes</var>
29669 node numbers of the <var>n</var>-th 29670element. The ordering of the nodes is given in <a href="#Node-ordering">Node ordering</a>. 29671</p></dd> 29672</dl> 29673 29674 29675<hr> 29676<span id="POS-ASCII-file-format-_0028Legacy_0029"></span><div class="header"> 29677<p> 29678Next: <a href="#POS-binary-file-format-_0028Legacy_0029" accesskey="n" rel="next">POS binary file format (Legacy)</a>, Previous: <a href="#MSH-file-format-version-1-_0028Legacy_0029" accesskey="p" rel="prev">MSH file format version 1 (Legacy)</a>, Up: <a href="#Legacy-formats" accesskey="u" rel="up">Legacy formats</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 29679</div> 29680<span id="POS-ASCII-file-format-_0028Legacy_0029-1"></span><h4 class="subsection">10.3.3 POS ASCII file format (Legacy)</h4> 29681 29682<p>The POS ASCII file is Gmsh’s old native post-processing format, now 29683superseded by the format described in <a href="#MSH-file-format">MSH file format</a>. It is 29684defined as follows: 29685</p> 29686<div class="example"> 29687<pre class="example">$PostFormat 296881.4 <var>file-type</var> <var>data-size</var> 29689$EndPostFormat 29690$View 29691<var>view-name</var> <var>nb-time-steps</var> 29692<var>nb-scalar-points</var> <var>nb-vector-points</var> <var>nb-tensor-points</var> 29693<var>nb-scalar-lines</var> <var>nb-vector-lines</var> <var>nb-tensor-lines</var> 29694<var>nb-scalar-triangles</var> <var>nb-vector-triangles</var> <var>nb-tensor-triangles</var> 29695<var>nb-scalar-quadrangles</var> <var>nb-vector-quadrangles</var> <var>nb-tensor-quadrangles</var> 29696<var>nb-scalar-tetrahedra</var> <var>nb-vector-tetrahedra</var> <var>nb-tensor-tetrahedra</var> 29697<var>nb-scalar-hexahedra</var> <var>nb-vector-hexahedra</var> <var>nb-tensor-hexahedra</var> 29698<var>nb-scalar-prisms</var> <var>nb-vector-prisms</var> <var>nb-tensor-prisms</var> 29699<var>nb-scalar-pyramids</var> <var>nb-vector-pyramids</var> <var>nb-tensor-pyramids</var> 29700<var>nb-scalar-lines2</var> <var>nb-vector-lines2</var> <var>nb-tensor-lines2</var> 29701<var>nb-scalar-triangles2</var> <var>nb-vector-triangles2</var> <var>nb-tensor-triangles2</var> 29702<var>nb-scalar-quadrangles2</var> <var>nb-vector-quadrangles2</var> <var>nb-tensor-quadrangles2</var> 29703<var>nb-scalar-tetrahedra2</var> <var>nb-vector-tetrahedra2</var> <var>nb-tensor-tetrahedra2</var> 29704<var>nb-scalar-hexahedra2</var> <var>nb-vector-hexahedra2</var> <var>nb-tensor-hexahedra2</var> 29705<var>nb-scalar-prisms2</var> <var>nb-vector-prisms2</var> <var>nb-tensor-prisms2</var> 29706<var>nb-scalar-pyramids2</var> <var>nb-vector-pyramids2</var> <var>nb-tensor-pyramids2</var> 29707<var>nb-text2d</var> <var>nb-text2d-chars</var> <var>nb-text3d</var> <var>nb-text3d-chars</var> 29708<var>time-step-values</var> 29709< <var>scalar-point-value</var> > … < <var>vector-point-value</var> > … 29710 < <var>tensor-point-value</var> > … 29711< <var>scalar-line-value</var> > … < <var>vector-line-value</var> > … 29712 < <var>tensor-line-value</var> > … 29713< <var>scalar-triangle-value</var> > … < <var>vector-triangle-value</var> > … 29714 < <var>tensor-triangle-value</var> > … 29715< <var>scalar-quadrangle-value</var> > … < <var>vector-quadrangle-value</var> > … 29716 < <var>tensor-quadrangle-value</var> > … 29717< <var>scalar-tetrahedron-value</var> > … < <var>vector-tetrahedron-value</var> > … 29718 < <var>tensor-tetrahedron-value</var> > … 29719< <var>scalar-hexahedron-value</var> > … < <var>vector-hexahedron-value</var> > … 29720 < <var>tensor-hexahedron-value</var> > … 29721< <var>scalar-prism-value</var> > … < <var>vector-prism-value</var> > … 29722 < <var>tensor-prism-value</var> > … 29723< <var>scalar-pyramid-value</var> > … < <var>vector-pyramid-value</var> > … 29724 < <var>tensor-pyramid-value</var> > … 29725< <var>scalar-line2-value</var> > … < <var>vector-line2-value</var> > … 29726 < <var>tensor-line2-value</var> > … 29727< <var>scalar-triangle2-value</var> > … < <var>vector-triangle2-value</var> > … 29728 < <var>tensor-triangle2-value</var> > … 29729< <var>scalar-quadrangle2-value</var> > … < <var>vector-quadrangle2-value</var> > … 29730 < <var>tensor-quadrangle2-value</var> > … 29731< <var>scalar-tetrahedron2-value</var> > … < <var>vector-tetrahedron2-value</var> > … 29732 < <var>tensor-tetrahedron2-value</var> > … 29733< <var>scalar-hexahedron2-value</var> > … < <var>vector-hexahedron2-value</var> > … 29734 < <var>tensor-hexahedron2-value</var> > … 29735< <var>scalar-prism2-value</var> > … < <var>vector-prism2-value</var> > … 29736 < <var>tensor-prism2-value</var> > … 29737< <var>scalar-pyramid2-value</var> > … < <var>vector-pyramid2-value</var> > … 29738 < <var>tensor-pyramid2-value</var> > … 29739< <var>text2d</var> > … < <var>text2d-chars</var> > … 29740< <var>text3d</var> > … < <var>text3d-chars</var> > … 29741$EndView 29742</pre></div> 29743 29744<p>where 29745</p><dl compact="compact"> 29746<dt><code><var>file-type</var></code></dt> 29747<dd><p>is an integer equal to 0 in the ASCII file format. 29748</p> 29749</dd> 29750<dt><code><var>data-size</var></code></dt> 29751<dd><p>is an integer equal to the size of the floating point numbers used in the 29752file (usually, <var>data-size</var> = sizeof(double)). 29753</p> 29754</dd> 29755<dt><code><var>view-name</var></code></dt> 29756<dd><p>is a string containing the name of the view (max. 256 characters). 29757</p> 29758</dd> 29759<dt><code><var>nb-time-steps</var></code></dt> 29760<dd><p>is an integer giving the number of time steps in the view. 29761</p> 29762</dd> 29763<dt><code><var>nb-scalar-points</var></code></dt> 29764<dt><code><var>nb-vector-points</var></code></dt> 29765<dt><code>…</code></dt> 29766<dd><p>are integers giving the number of scalar points, vector points, …, in 29767the view. 29768</p> 29769</dd> 29770<dt><code><var>nb-text2d</var></code></dt> 29771<dt><code><var>nb-text3d</var></code></dt> 29772<dd><p>
29772are integers giving the number of 2D and 3D text strings in the 29773view. 29774</p> 29775</dd> 29776<dt><code><var>nb-text2d-chars</var></code></dt> 29777<dt><code><var>nb-text3d-chars</var></code></dt> 29778<dd><p>are integers giving the total number of characters in the 2D and 3D strings. 29779</p> 29780</dd> 29781<dt><code><var>time-step-values</var></code></dt> 29782<dd><p>is a list of <var>nb-time-steps</var> double precision numbers giving the value 29783of the time (or any other variable) for which an evolution was saved. 29784</p> 29785</dd> 29786<dt><code><var>scalar-point-value</var></code></dt> 29787<dt><code><var>vector-point-value</var></code></dt> 29788<dt><code>…</code></dt> 29789<dd><p>are lists of double precision numbers giving the node coordinates and the 29790values associated with the nodes of the <var>nb-scalar-points</var> scalar 29791points, <var>nb-vector-points</var> vector points, …, for each of the 29792<var>time-step-values</var>. 29793</p> 29794<p>For example, <var>vector-triangle-value</var> is defined as: 29795</p><div class="example"> 29796<pre class="example"><var>coord1-node1</var> <var>coord1-node2</var> <var>coord1-node3</var> 29797<var>coord2-node1</var> <var>coord2-node2</var> <var>coord2-node3</var> 29798<var>coord3-node1</var> <var>coord3-node2</var> <var>coord3-node3</var> 29799<var>comp1-node1-time1</var> <var>comp2-node1-time1</var> <var>comp3-node1-time1</var> 29800<var>comp1-node2-time1</var> <var>comp2-node2-time1</var> <var>comp3-node2-time1</var> 29801<var>comp1-node3-time1</var> <var>comp2-node3-time1</var> <var>comp3-node3-time1</var> 29802<var>comp1-node1-time2</var> <var>comp2-node1-time2</var> <var>comp3-node1-time2</var> 29803<var>comp1-node2-time2</var> <var>comp2-node2-time2</var> <var>comp3-node2-time2</var> 29804<var>comp1-node3-time2</var> <var>comp2-node3-time2</var> <var>comp3-node3-time2</var> 29805… 29806</pre></div> 29807 29808<p>The ordering of the nodes is given in <a href="#Node-ordering">Node ordering</a>. 29809</p> 29810</dd> 29811<dt><code><var>text2d</var></code></dt> 29812<dd><p>is a list of 4 double precision numbers: 29813</p><div class="example"> 29814<pre class="example"><var>coord1</var> <var>coord2</var> <var>style</var> <var>index</var> 29815</pre></div> 29816<p>where <var>coord1</var> and <var>coord2</var> give the X-Y position of the 2D string 29817in screen coordinates (measured from the top-left corner of the window) and 29818where <var>index</var> gives the starting index of the string in 29819<var>text2d-chars</var>. If <var>coord1</var> (respectively <var>coord2</var>) is negative, 29820the position is measured from the right (respectively bottom) edge of the 29821window. If <var>coord1</var> (respectively <var>coord2</var>) is larger than 99999, 29822the string is centered horizontally (respectively vertically). If 29823<var>style</var> is equal to zero, the text is aligned bottom-left and displayed 29824using the default font and size. Otherwise, <var>style</var> is converted into an 29825integer whose eight lower bits give the font size, whose eight next bits 29826select the font (the index corresponds to the position in the font menu in 29827the GUI), and whose eight next bits define the text alignment 29828(0=bottom-left, 1=bottom-center, 2=bottom-right, 3=top-left, 4=top-center, 298295=top-right, 6=center-left, 7=center-center, 8=center-right). 29830</p> 29831</dd> 29832<dt><code><var>text2d-chars</var></code></dt> 29833<dd><p>is a list of <var>nb-text2d-chars</var> characters. Substrings are separated with 29834the null ‘<code>\0</code>’ character. 29835</p> 29836</dd> 29837<dt><code><var>text3d</var></code></dt> 29838<dd><p>is a list of 5 double precision numbers 29839</p><div class="example"> 29840<pre class="example"><var>coord1</var> <var>coord2</var> <var>coord3</var> <var>style</var> <var>index</var> 29841</pre></div> 29842<p>where <var>coord1</var>, <var>coord2</var> and <var>coord3</var> give the XYZ coordinates 29843of the string in model (real world) coordinates, <var>index</var> gives the 29844starting index of the string in <var>text3d-chars</var>, and <var>style</var> has the 29845same meaning as in <var>text2d</var>. 29846</p> 29847</dd> 29848<dt><code><var>text3d-chars</var></code></dt> 29849<dd><p>is a list of <var>nb-text3d-chars</var> chars. Substrings are separated with the 29850null ‘<code>\0</code>’ character. 29851</p></dd> 29852</dl> 29853 29854 29855<hr> 29856<span id="POS-binary-file-format-_0028Legacy_0029"></span><div class="header"> 29857<p> 29858Previous: <a href="#POS-ASCII-file-format-_0028Legacy_0029" accesskey="p" rel="prev">POS ASCII file format (Legacy)</a>, Up: <a href="#Legacy-formats" accesskey="u" rel="up">Legacy formats</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 29859</div> 29860<span id="POS-binary-file-format-_0028Legacy_0029-1"></span><h4 class="subsection">10.3.4 POS binary file format (Legacy)</h4> 29861 29862<p>The POS binary file format is the same as the POS ASCII file format
29863described in <a href="#POS-ASCII-file-format-_0028Legacy_0029">POS ASCII file format (Legacy)</a>, except that: 29864</p> 29865<ol> 29866<li> <var>file-type</var> equals 1. 29867</li><li> all lists of floating point numbers and characters are written in binary 29868format 29869</li><li> there is an additional integer, of value 1, written before 29870<var>time-step-values</var>. This integer is used for detecting if the computer 29871on which the binary file was written and the computer on which the file is 29872read are of the same type (little or big endian). 29873</li></ol> 29874 29875<p>Here is a pseudo C code to write a post-processing file in binary format: 29876</p> 29877<div class="example"> 29878<pre class="example">int one = 1; 29879 29880fprintf(file, "$PostFormat\n"); 29881fprintf(file, "%g %d %d\n", 1.4, 1, sizeof(double)); 29882fprintf(file, "$EndPostFormat\n"); 29883fprintf(file, "$View\n"); 29884fprintf(file, "%s %d " 29885 "%d %d %d %d %d %d %d %d %d " 29886 "%d %d %d %d %d %d %d %d %d " 29887 "%d %d %d %d %d %d %d %d %d " 29888 "%d %d %d %d %d %d %d %d %d " 29889 "%d %d %d %d %d %d %d %d %d " 29890 "%d %d %d %d\n", 29891 view-name, nb-time-steps, 29892 nb-scalar-points, nb-vector-points, nb-tensor-points, 29893 nb-scalar-lines, nb-vector-lines, nb-tensor-lines, 29894 nb-scalar-triangles, nb-vector-triangles, nb-tensor-triangles, 29895 nb-scalar-quadrangles, nb-vector-quadrangles, nb-tensor-quadrangles, 29896 nb-scalar-tetrahedra, nb-vector-tetrahedra, nb-tensor-tetrahedra, 29897 nb-scalar-hexahedra, nb-vector-hexahedra, nb-tensor-hexahedra, 29898 nb-scalar-prisms, nb-vector-prisms, nb-tensor-prisms, 29899 nb-scalar-pyramids, nb-vector-pyramids, nb-tensor-pyramids, 29900 nb-scalar-lines2, nb-vector-lines2, nb-tensor-lines2, 29901 nb-scalar-triangles2, nb-vector-triangles2, nb-tensor-triangles2, 29902 nb-scalar-quadrangles2, nb-vector-quadrangles2, 29903 nb-tensor-quadrangles2, 29904 nb-scalar-tetrahedra2, nb-vector-tetrahedra2, nb-tensor-tetrahedra2, 29905 nb-scalar-hexahedra2, nb-vector-hexahedra2, nb-tensor-hexahedra2, 29906 nb-scalar-prisms2, nb-vector-prisms2, nb-tensor-prisms2, 29907 nb-scalar-pyramids2, nb-vector-pyramids2, nb-tensor-pyramids2, 29908 nb-text2d, nb-text2d-chars, nb-text3d, nb-text3d-chars); 29909fwrite(&one, sizeof(int), 1, file); 29910fwrite(time-step-values, sizeof(double), nb-time-steps, file); 29911fwrite(all-scalar-point-values, sizeof(double), ..., file); 29912... 29913fprintf(file, "\n$EndView\n"); 29914</pre></div> 29915<p>In this pseudo-code, <var>all-scalar-point-values</var> is the array of double 29916precision numbers containing all the <var>scalar-point-value</var> lists, put one 29917after each other in order to form a long array of doubles. The principle is 29918the same for all other kinds of values. 29919</p> 29920 29921<hr> 29922<span id="Compiling-the-source-code"></span><div class="header"> 29923<p> 29924Next: <a href="#Information-for-developers" accesskey="n" rel="next">Information for developers</a>, Previous: <a href="#Gmsh-file-formats" accesskey="p" rel="prev">Gmsh file formats</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 29925</div> 29926<span id="Compiling-the-source-code-1"></span><h2 class="appendix">Appendix A Compiling the source code</h2> 29927 29928<p>Stable releases and source snapshots are available from 29929<a href="https://gmsh.info/src/">https://gmsh.info/src/</a>. You can also access the Git repository 29930directly: 29931</p> 29932<ol> 29933<li> The first time you want to download the latest full source, type: 29934 29935<div class="example"> 29936<pre class="example">git clone <a href="https://gitlab.onelab.info/gmsh/gmsh.git">https://gitlab.onelab.info/gmsh/gmsh.git</a> 29937</pre></div> 29938 29939</li><li> To update your local version to the latest and greatest, go in the gmsh 29940directory and type: 29941 29942<div class="example"> 29943<pre class="example">git pull 29944</pre></div> 29945 29946</li></ol> 29947 29948<p>Once you have the source code, you need to run CMake to configure your 29949build (see the <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/README.txt">README.txt</a> file in 29950the top-level source directory for additional information on how to run 29951CMake, as well as the 29952<a href="https://gitlab.onelab.info/gmsh/gmsh/wikis/Gmsh-compilation">Gmsh-compilation wiki page</a> for more detailed instructions on how to 29953compile Gmsh, including the compilation of common dependencies). 29954</p> 29955<p>Each build can be configured using a series of options, to selectively 29956enable optional modules or features. Here is the list of all the 29957Gmsh-specific CMake options: 29958</p> 29959<dl compact="compact"> 29960<dt><code>ENABLE_3M</code></dt> 29961<dd><p>Enable proprietary 3M extension (default: OFF) 29962</p></dd> 29963<dt><code>ENABLE_ALGLIB</code></dt> 29964<dd><p>Enable ALGLIB (used by some mesh optimizers) (default: ON) 29965</p></dd> 29966<dt><code>ENABLE_ANN</code></dt> 29967<dd><p>Enable ANN (used for fast point search in mesh/post) (default: ON) 29968</p></dd> 29969<dt><code>ENABLE_BAMG</code></dt> 29970<dd><p>Enable Bamg 2D anisotropic mesh generator (default: ON) 29971</p></dd> 29972<dt><code>ENABLE_BLAS_LAPACK</code></dt> 29973<dd><p>Enable BLAS/Lapack for linear algebra (if Eigen if disabled) (default: OFF) 29974</p></dd> 29975<dt><code>ENABLE_BLOSSOM</code></dt> 29976<dd><p>Enable Blossom algorithm (needed for full quad meshing) (default: ON) 29977</p></dd> 29978<dt><code>ENABLE_BUILD_LIB</code></dt> 29979<dd><p>Enable ’lib’ target for building static Gmsh library (default: OFF) 29980</p></dd> 29981<dt><code>ENABLE_BUILD_SHARED</code></dt> 29982<dd><p>Enable ’shared’ target for building shared Gmsh library (default: OFF) 29983</p></dd> 29984<dt><code>ENABLE_BUILD_DYNAMIC</code></dt> 29985<dd><p>Enable dynamic Gmsh executable (linked with shared library) (default: OFF) 29986</p></dd> 29987<dt><code>ENABLE_BUILD_ANDROID</code></dt> 29988<dd><p>Enable Android NDK library target (experimental) (default: OFF) 29989</p></dd> 29990<dt><code>ENABLE_BUILD_IOS</code></dt> 29991<dd><p>Enable iOS library target (experimental) (default: OFF) 29992</p></dd> 29993<dt><code>ENABLE_CGNS</code></dt> 29994<dd><p>Enable CGNS import/export (experimental) (default: ON) 29995</p></dd> 29996<dt><code>ENABLE_CGNS_CPEX0045</code></dt> 29997<dd><p>Enable high-order CGNS import/export following CPEX0045 (experimental) (default: OFF) 29998</p></dd> 29999<dt><code>ENABLE_CAIRO</code></dt> 30000<dd><p>Enable Cairo to render fonts (experimental) (default: ON) 30001</p></dd> 30002<dt><code>ENABLE_PROFILE</code></dt> 30003<dd><p>Enable profiling compiler flags (default: OFF) 30004</p></dd> 30005<dt><code>ENABLE_DINTEGRATION</code></dt> 30006<dd><p>Enable discrete integration (needed for levelsets) (default: ON) 30007</p></dd> 30008<dt><code>ENABLE_DOMHEX</code></dt> 30009<dd><p>Enable experimental DOMHEX code (default: ON) 30010</p></dd> 30011<dt><code>ENABLE_EIGEN</code></dt> 30012<dd><p>Enable Eigen for linear algebra (instead of Blas/Lapack) (default: ON) 30013</p></dd> 30014<dt><code>ENABLE_FLTK</code></dt> 30015<dd><p>Enable FLTK graphical user interface (requires mesh/post) (default: ON) 30016</p></dd> 30017<dt><code>ENABLE_GEOMETRYCENTRAL</code></dt> 30018<dd><p>Enable geometry-central library (experimental) (default: ON) 30019</p></dd> 30020<dt><code>ENABLE_GETDP</code></dt> 30021<dd><p>Enable GetDP solver (linked as a library, experimental) (default: ON) 30022</p></dd> 30023<dt><code>ENABLE_GMM</code></dt> 30024<dd><p>Enable GMM linear solvers (simple alternative to PETSc) (default: ON) 30025</p></dd> 30026<dt><code>ENABLE_GMP</code></dt> 30027<dd><p>Enable GMP for Kbipack (advanced) (default: ON) 30028</p></dd> 30029<dt><code>ENABLE_GRAPHICS</code></dt> 30030<dd><p>Enable building graphics lib even without GUI (advanced) (default: OFF) 30031</p></dd> 30032<dt><code>ENABLE_HXT</code></dt> 30033<dd><p>Enable HXT library (for reparametrization and meshing) (default: ON) 30034</p></dd> 30035<dt><code>ENABLE_KBIPACK</code></dt> 30036<dd><p>Enable Kbipack (neeeded by homology solver) (default: ON) 30037</p></dd> 30038<dt><code>ENABLE_MATHEX</code></dt> 30039<dd><p>Enable Mathex expression parser (used by plugins and options) (default: ON) 30040</p></dd> 30041<dt><code>ENABLE_MED</code></dt> 30042<dd><p>Enable MED mesh and post file formats (default: ON) 30043</p></dd> 30044<dt><code>ENABLE_MESH</code></dt> 30045<dd><p>Enable mesh module (default: ON) 30046</p></dd> 30047<dt><code>ENABLE_METIS</code></dt> 30048<dd><p>
30048Enable Metis mesh partitioner (default: ON) 30049</p></dd> 30050<dt><code>ENABLE_MMG</code></dt> 30051<dd><p>Enable Mmg mesh adaptation interface (default: ON) 30052</p></dd> 30053<dt><code>ENABLE_MPEG_ENCODE</code></dt> 30054<dd><p>Enable built-in MPEG movie encoder (default: ON) 30055</p></dd> 30056<dt><code>ENABLE_MPI</code></dt> 30057<dd><p>Enable MPI (experimental, not used for meshing) (default: OFF) 30058</p></dd> 30059<dt><code>ENABLE_MSVC_STATIC_RUNTIME</code></dt> 30060<dd><p>Enable static Visual C++ runtime (default: OFF) 30061</p></dd> 30062<dt><code>ENABLE_MUMPS</code></dt> 30063<dd><p>Enable MUMPS sparse direct linear solver (default: OFF) 30064</p></dd> 30065<dt><code>ENABLE_NETGEN</code></dt> 30066<dd><p>Enable Netgen 3D frontal mesh generator (default: ON) 30067</p></dd> 30068<dt><code>ENABLE_NUMPY</code></dt> 30069<dd><p>Enable fullMatrix and numpy array conversion for private API (default: OFF) 30070</p></dd> 30071<dt><code>ENABLE_PETSC4PY</code></dt> 30072<dd><p>Enable petsc4py wrappers for petsc matrices for private API (default: OFF) 30073</p></dd> 30074<dt><code>ENABLE_OCC</code></dt> 30075<dd><p>Enable OpenCASCADE CAD kernel (default: ON) 30076</p></dd> 30077<dt><code>ENABLE_OCC_CAF</code></dt> 30078<dd><p>Enable OpenCASCADE CAF module (for STEP/IGES attributes) (default: ON) 30079</p></dd> 30080<dt><code>ENABLE_OCC_STATIC</code></dt> 30081<dd><p>Link OpenCASCADE static instead of dynamic libraries (requires ENABLE_OCC) (default: OFF) 30082</p></dd> 30083<dt><code>ENABLE_OCC_TBB</code></dt> 30084<dd><p>Add TBB libraries in list of OCC libraries (default: OFF) 30085</p></dd> 30086<dt><code>ENABLE_ONELAB</code></dt> 30087<dd><p>Enable ONELAB solver interface (default: ON) 30088</p></dd> 30089<dt><code>ENABLE_ONELAB_METAMODEL</code></dt> 30090<dd><p>Enable ONELAB metamodels (experimental) (default: ON) 30091</p></dd> 30092<dt><code>ENABLE_OPENACC</code></dt> 30093<dd><p>Enable OpenACC (default: OFF) 30094</p></dd> 30095<dt><code>ENABLE_OPENMP</code></dt> 30096<dd><p>Enable OpenMP (default: ON) 30097</p></dd> 30098<dt><code>ENABLE_OPTHOM</code></dt> 30099<dd><p>Enable high-order mesh optimization tools (default: ON) 30100</p></dd> 30101<dt><code>ENABLE_OS_SPECIFIC_INSTALL</code></dt> 30102<dd><p>Enable OS-specific (e.g. app bundle) installation (default: OFF) 30103</p></dd> 30104<dt><code>ENABLE_OSMESA</code></dt> 30105<dd><p>Enable OSMesa for offscreen rendering (experimental) (default: OFF) 30106</p></dd> 30107<dt><code>ENABLE_P4EST</code></dt> 30108<dd><p>Enable p4est for enabling automatic mesh size field (experimental) (default: OFF) 30109</p></dd> 30110<dt><code>ENABLE_PACKAGE_STRIP</code></dt> 30111<dd><p>Strip symbols in install packages to reduce install size (default: ON) 30112</p></dd> 30113<dt><code>ENABLE_PARSER</code></dt> 30114<dd><p>Enable GEO file parser (required for .geo/.pos scripts) (default: ON) 30115</p></dd> 30116<dt><code>ENABLE_PETSC</code></dt> 30117<dd><p>Enable PETSc linear solvers (required for SLEPc) (default: OFF) 30118</p></dd> 30119<dt><code>ENABLE_PLUGINS</code></dt> 30120<dd><p>Enable post-processing plugins (default: ON) 30121</p></dd> 30122<dt><code>ENABLE_POST</code></dt> 30123<dd><p>Enable post-processing module (required by GUI) (default: ON) 30124</p></dd> 30125<dt><code>ENABLE_POPPLER</code></dt> 30126<dd><p>Enable Poppler for displaying PDF documents (experimental) (default: OFF) 30127</p></dd> 30128<dt><code>ENABLE_PRIVATE_API</code></dt> 30129<dd><p>Enable private API (default: OFF) 30130</p></dd> 30131<dt><code>ENABLE_PRO</code></dt> 30132<dd><p>Enable PRO extensions (default: ON) 30133</p></dd> 30134<dt><code>ENABLE_QUADMESHINGTOOLS</code></dt> 30135<dd><p>Enable QuadMeshingTools extensions (default: ON) 30136</p></dd> 30137<dt><code>ENABLE_QUADTRI</code></dt> 30138<dd><p>Enable QuadTri structured meshing extensions (default: ON) 30139</p></dd> 30140<dt><code>ENABLE_REVOROPT</code></dt> 30141<dd><p>Enable Revoropt (used for CVT remeshing) (default: OFF) 30142</p></dd> 30143<dt><code>ENABLE_RPATH</code></dt> 30144<dd><p>Use RPATH in dynamically linked targets (default: ON) 30145</p></dd> 30146<dt><code>ENABLE_SLEPC</code></dt> 30147<dd><p>Enable SLEPc eigensolvers (default: OFF) 30148</p></dd> 30149<dt><code>ENABLE_SOLVER</code></dt> 30150<dd><p>Enable built-in finite element solvers (required for reparametrization) (default: ON) 30151</p></dd> 30152<dt><code>ENABLE_SYSTEM_CONTRIB</code></dt> 30153<dd><p>Use system versions of contrib libraries, when possible (default: OFF) 30154</p></dd> 30155<dt><code>ENABLE_TCMALLOC</code></dt> 30156<dd><p>Enable libtcmalloc (fast malloc that does not release memory) (default: OFF) 30157</p></dd> 30158<dt><code>ENABLE_TESTS</code></dt> 30159<dd><p>Enable tests (default: ON) 30160</p></dd> 30161<dt><code>ENABLE_TOUCHBAR</code></dt> 30162<dd><p>Enable Apple Touch bar (default: ON) 30163</p></dd> 30164<dt><code>ENABLE_VISUDEV</code></dt> 30165<dd><p>Enable additional visualization capabilities for development purposes (default: OFF) 30166</p></dd> 30167<dt><code>ENABLE_VOROPP</code></dt> 30168<dd><p>Enable voro++ (for hex meshing, experimental) (default: ON) 30169</p></dd> 30170<dt><code>ENABLE_WINSLOWUNTANGLER</code></dt> 30171<dd><p>Enable WinslowUntangler extensions (requires ALGLIB) (default: ON) 30172</p></dd> 30173<dt><code>ENABLE_WRAP_JAVA</code></dt> 30174<dd><p>Generate SWIG Java wrappers for private API (default: OFF) 30175</p></dd> 30176<dt><code>ENABLE_WRAP_PYTHON</code></dt> 30177<dd><p>
30177Generate SWIG Python wrappers for private API (not used by public API) (default: OFF) 30178</p></dd> 30179<dt><code>ENABLE_ZIPPER</code></dt> 30180<dd><p>Enable Zip file compression/decompression (default: OFF) 30181</p> 30182</dd> 30183</dl> 30184 30185 30186<hr> 30187<span id="Information-for-developers"></span><div class="header"> 30188<p> 30189Next: <a href="#Frequently-asked-questions" accesskey="n" rel="next">Frequently asked questions</a>, Previous: <a href="#Compiling-the-source-code" accesskey="p" rel="prev">Compiling the source code</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 30190</div> 30191<span id="Information-for-developers-1"></span><h2 class="appendix">Appendix B Information for developers</h2> 30192 30193<span id="index-Developer_002c-information"></span> 30194<span id="index-Programming_002c-notes"></span> 30195 30196<p>Gmsh is written in C++, the scripting language is parsed using Lex and 30197Yacc (actually, Flex and Bison), and the GUI relies on OpenGL for the 3D 30198graphics and FLTK (<a href="http://www.fltk.org">http://www.fltk.org</a>) for the widgets (menus, 30199buttons, etc.). Gmsh’s build system is based on CMake 30200(<a href="http://www.cmake.org">http://www.cmake.org</a>). Practical notes on how to compile Gmsh’s 30201source code are provided in <a href="#Compiling-the-source-code">Compiling the source code</a> (see also 30202<a href="#Frequently-asked-questions">Frequently asked questions</a>). 30203</p> 30204<p>This section is for developers who would like to contribute directly to 30205the Gmsh source code. Gmsh’s official Git repository is located at 30206<a href="https://gitlab.onelab.info/gmsh/gmsh">https://gitlab.onelab.info/gmsh/gmsh</a>. The wiki 30207(<a href="https://gitlab.onelab.info/gmsh/gmsh/wikis/Git-cheat-sheet">https://gitlab.onelab.info/gmsh/gmsh/wikis/Git-cheat-sheet</a>) 30208contains instructions on how to create feature branches and submit merge 30209requests. 30210</p> 30211<table class="menu" border="0" cellspacing="0"> 30212<tr><td align="left" valign="top">• <a href="#Source-code-structure" accesskey="1">Source code structure</a></td><td> </td><td align="left" valign="top"> 30213</td></tr> 30214<tr><td align="left" valign="top">• <a href="#Coding-style" accesskey="2">Coding style</a></td><td> </td><td align="left" valign="top"> 30215</td></tr> 30216<tr><td align="left" valign="top">• <a href="#Adding-a-new-option" accesskey="3">Adding a new option</a></td><td> </td><td align="left" valign="top"> 30217</td></tr> 30218</table> 30219 30220 30221<hr> 30222<span id="Source-code-structure"></span><div class="header"> 30223<p> 30224Next: <a href="#Coding-style" accesskey="n" rel="next">Coding style</a>, Previous: <a href="#Information-for-developers" accesskey="p" rel="prev">Information for developers</a>, Up: <a href="#Information-for-developers" accesskey="u" rel="up">Information for developers</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 30225</div> 30226<span id="Source-code-structure-1"></span><h3 class="section">B.1 Source code structure</h3> 30227 30228<p>Gmsh’s code is structured in several subdirectories, roughly separated 30229between the four core modules 30230(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/geo">src/geo</a>, 30231<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/mesh">src/mesh</a>, 30232<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/solver">src/solver</a>, 30233<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/post">src/post</a>) and 30234associated utilities 30235(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/common">src/common</a>, 30236<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/numeric">src/numeric</a>) 30237on one hand, and the graphics 30238(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/graphics">src/graphics</a>) 30239and interface 30240(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/fltk">src/fltk</a>, 30241<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/parser">src/parser</a>, 30242<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/api">api</a>) code on 30243the other. 30244</p> 30245<p>The geometry module is based on a model class 30246(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/geo/GModel.h">src/geo/GModel.h</a>), 30247and abstract entity classes for geometrical points 30248(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/geo/GVertex.h">src/geo/GVertex.h</a>), 30249curves 30250(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/geo/GEdge.h">src/geo/GEdge.h</a>), 30251surfaces 30252(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/geo/GFace.h">src/geo/GFace.h</a>) 30253and volumes 30254(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/geo/GRegion.h">src/geo/GRegion.h</a>). 30255Concrete implementations of these classes are provided for each 30256supported CAD kernel 30257(e.g. <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/geo/gmshVertex.h">src/geo/gmshVertex.h</a> 30258for points in Gmsh’s built-in CAD kernel, or 30259<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/geo/OCCVertex.h">src/geo/OCCVertex.h</a> 30260for points from OpenCASCADE). All these elementary model entities derive 30261from 30262<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/geo/GEntity.h">src/geo/GEntity.h</a>. 30263Physical groups are simply stored as integer tags in the entities. 30264</p> 30265<p>A mesh is composed of elements: mesh points 30266(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/geo/MPoint.h">src/geo/MPoint.h</a>), 30267lines 30268(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/geo/MLine.h">src/geo/MLine.h</a>), 30269triangles 30270(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/geo/MTriangle.h">src/geo/MTriangle.h</a>), 30271quadrangles 30272(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/geo/MQuadrangle.h">src/geo/MQuadrangle.h</a>), 30273tetrahedra 30274(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/geo/MTetrahedron.h">src/geo/MTetrahedron.h</a>), 30275etc. All the mesh elements are derived from 30276<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/geo/MElement.h">src/geo/MElement.h</a>, 30277and are stored in the corresponding model entities: one mesh point per 30278geometrical point, mesh lines in geometrical curves, triangles and 30279quadrangles in surfaces, etc. The elements are defined in terms of their 30280nodes 30281(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/geo/MVertex.h">src/geo/MVertex.h</a>). 30282Each model entity stores only its internal nodes: nodes on boundaries or 30283on embedded entities are stored in the associated bounding/embedded 30284entity. 30285</p> 30286<p>The post-processing module is based on the concept of views 30287(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/post/PView.h">src/post/PView.h</a>) and 30288abstract data containers (derived from 30289<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/post/PViewData.h">src/post/PViewData.h</a>). 30290Data can be either mesh-based 30291(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/post/PViewDataGModel.h">src/post/PViewDataGModel.h</a>), 30292in which case the view is linked to one or more models, or list-based 30293(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/post/PViewDataList.h">src/post/PViewDataList.h</a>), 30294in which case all the relevant geometrical information is self-contained 30295in the view. 30296</p> 30297 30298<hr> 30299<span id="Coding-style"></span><div class="header"> 30300<p> 30301Next: <a href="#Adding-a-new-option" accesskey="n" rel="next">Adding a new option</a>
30301, Previous: <a href="#Source-code-structure" accesskey="p" rel="prev">Source code structure</a>, Up: <a href="#Information-for-developers" accesskey="u" rel="up">Information for developers</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 30302</div> 30303<span id="Coding-style-1"></span><h3 class="section">B.2 Coding style</h3> 30304 30305<p>If you plan to contribute code to the Gmsh project, here are some easy rules 30306to make the code easy to read/debug/maintain: 30307</p> 30308<ul> 30309<li> See <a href="https://gitlab.onelab.info/gmsh/gmsh/wikis/Git-cheat-sheet">https://gitlab.onelab.info/gmsh/gmsh/wikis/Git-cheat-sheet</a> 30310for instructions on how to contribute to Gmsh’s Git source code 30311repository. All branches are tested; make sure that all tests pass and 30312that your code does not produce any warnings before submitting merge 30313requests. 30314</li><li> Follow the style used in the existing code when adding something new: 30315indent using 2 spaces (never use tabs!), put 1 space after commas, put 30316opening braces for functions on a separate line, opening braces for 30317loops and tests on the same line, etc. You can use the 30318<code>clang-format</code> tool to apply these rules automatically (the rules 30319are defined in the 30320<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/.clang-format">.clang-format</a> 30321file.) 30322</li><li> Always use the <code>Msg::</code> class to print information or errors 30323</li><li> Use memory checking tools to detect memory leaks and other nasty memory 30324problems. For example, on Linux you can use 30325<code>valgrind --leak-check=full gmsh file.geo -3</code>. 30326</li></ul> 30327 30328 30329<hr> 30330<span id="Adding-a-new-option"></span><div class="header"> 30331<p> 30332Previous: <a href="#Coding-style" accesskey="p" rel="prev">Coding style</a>, Up: <a href="#Information-for-developers" accesskey="u" rel="up">Information for developers</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 30333</div> 30334<span id="Adding-a-new-option-1"></span><h3 class="section">B.3 Adding a new option</h3> 30335 30336<p>To add a new option in Gmsh: 30337</p> 30338<ol> 30339<li> create the option in the <code>CTX</code> class 30340(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/common/Context.h">src/common/Context.h</a> 30341if it’s a classical option, or in the <code>PViewOptions</code> class 30342(<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/post/PViewOptions.h">src/post/PViewOptions.h</a>) 30343if it’s a post-processing view-dependent option; 30344</li><li> in 30345<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/common/DefaultOptions.h">src/common/DefaultOptions.h</a>, 30346give a name (for the parser to be able to access it), a reference to a 30347handling routine (i.e. <code>opt_XXX</code>) and a default value for this 30348option; 30349</li><li> create the handling routine <code>opt_XXX</code> in 30350<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/common/Options.cpp">src/common/Options.cpp</a> 30351(and add the prototype in 30352<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/common/Options.h">src/common/Options.h</a>); 30353</li><li> optional: create the associated widget in 30354<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/fltk/optionWindow.cpp">src/fltk/optionWindow.h</a>; 30355</li></ol> 30356 30357 30358<hr> 30359<span id="Frequently-asked-questions"></span><div class="header"> 30360<p> 30361Next: <a href="#Version-history" accesskey="n" rel="next">Version history</a>, Previous: <a href="#Information-for-developers" accesskey="p" rel="prev">Information for developers</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 30362</div> 30363<span id="Frequently-asked-questions-1"></span><h2 class="appendix">Appendix C Frequently asked questions</h2> 30364 30365<span id="index-Frequently-asked-questions"></span> 30366<span id="index-Questions_002c-frequently-asked"></span> 30367<span id="index-FAQ"></span> 30368 30369<table class="menu" border="0" cellspacing="0"> 30370<tr><td align="left" valign="top">• <a href="#The-basics" accesskey="1">The basics</a></td><td> </td><td align="left" valign="top"> 30371</td></tr> 30372<tr><td align="left" valign="top">• <a href="#Installation-problems" accesskey="2">Installation problems</a></td><td> </td><td align="left" valign="top"> 30373</td></tr> 30374<tr><td align="left" valign="top">• <a href="#General-questions" accesskey="3">General questions</a></td><td> </td><td align="left" valign="top"> 30375</td></tr> 30376<tr><td align="left" valign="top">• <a href="#Geometry-module-questions" accesskey="4">Geometry module questions</a></td><td> </td><td align="left" valign="top"> 30377</td></tr> 30378<tr><td align="left" valign="top">• <a href="#Mesh-module-questions" accesskey="5">Mesh module questions</a></td><td> </td><td align="left" valign="top"> 30379</td></tr> 30380<tr><td align="left" valign="top">•
30380 <a href="#Solver-module-questions" accesskey="6">Solver module questions</a></td><td> </td><td align="left" valign="top"> 30381</td></tr> 30382<tr><td align="left" valign="top">• <a href="#Post_002dprocessing-module-questions" accesskey="7">Post-processing module questions</a></td><td> </td><td align="left" valign="top"> 30383</td></tr> 30384</table> 30385 30386 30387<hr> 30388<span id="The-basics"></span><div class="header"> 30389<p> 30390Next: <a href="#Installation-problems" accesskey="n" rel="next">Installation problems</a>, Previous: <a href="#Frequently-asked-questions" accesskey="p" rel="prev">Frequently asked questions</a>, Up: <a href="#Frequently-asked-questions" accesskey="u" rel="up">Frequently asked questions</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 30391</div> 30392<span id="The-basics-1"></span><h3 class="section">C.1 The basics</h3> 30393 30394<ol> 30395<li> What is Gmsh? 30396 30397<p>Gmsh is an automatic three-dimensional finite element mesh generator 30398with built-in pre- and post-processing facilities. With Gmsh you can 30399create or import 1D, 2D and 3D geometrical models, mesh them, launch 30400external finite element solvers and visualize solutions. Gmsh can be 30401used either as a stand-alone program (graphical or not) or as a library 30402to integrate in C++, C, Python, Julia or Fortran codes. 30403</p> 30404</li><li> What are the terms and conditions of use? 30405 30406<p>Gmsh is distributed under the terms of the GNU General Public License, 30407with an exception to allow for easier linking with external 30408libraries. See <a href="#License">License</a> for more information. 30409</p> 30410</li><li> What does ’Gmsh’ mean? 30411 30412<p>Nothing... The name was derived from a previous version called “msh” 30413(a shortcut for “mesh”), with the “g” prefix added to differentiate 30414it. The default mesh file format used by Gmsh still uses the <samp>.msh</samp> 30415extension. 30416</p> 30417<p>In English people tend to pronounce ‘Gmsh’ as “gee-mesh”. 30418</p> 30419</li><li> Can I embed ’Gmsh’ in my own software? 30420 30421<p>Yes, using the Gmsh API (see <a href="#Gmsh-application-programming-interface">Gmsh application programming interface</a>). See <a href="#Copying-conditions">Copying conditions</a> for the licensing constraints. 30422</p> 30423</li><li> Where can I find more information? 30424 30425<p><a href="https://gmsh.info">https://gmsh.info</a> is the primary location to obtain information 30426about Gmsh. There you will for example find the complete reference 30427manual and the <a href="https://gitlab.onelab.info/gmsh/gmsh/issues">bug 30428tracking database</a>. 30429</p></li></ol> 30430 30431 30432<hr> 30433<span id="Installation-problems"></span><div class="header"> 30434<p> 30435Next: <a href="#General-questions" accesskey="n" rel="next">General questions</a>, Previous: <a href="#The-basics" accesskey="p" rel="prev">The basics</a>, Up: <a href="#Frequently-asked-questions" accesskey="u" rel="up">Frequently asked questions</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 30436</div> 30437<span id="Installation-problems-1"></span><h3 class="section">C.2 Installation problems</h3> 30438 30439<ol> 30440<li> Which OSes does Gmsh run on? 30441 30442<p>Gmsh runs on Windows, macOS, Linux and most Unix variants. Gmsh is also 30443available as part of the ONELAB package on Android and iOS tablets and 30444phones. 30445</p> 30446</li><li> Are there additional requirements to run Gmsh? 30447 30448<p>You should have the OpenGL libraries installed on your system, and in 30449the path of the library loader. A free replacement for OpenGL can be 30450found at <a href="http://www.mesa3d.org">http://www.mesa3d.org</a>. 30451</p> 30452</li><li> How do I compile Gmsh from the source code? 30453 30454<p>You need cmake (<a href="http://www.cmake.org">http://www.cmake.org</a>) and a C++ compiler. See 30455<a href="#Compiling-the-source-code">Compiling the source code</a> for more information. 30456</p> 30457</li><li> Where does Gmsh save its configuration files? 30458 30459<p>Gmsh will attempt to save temporary files and persistent configuration 30460options first in the <code>$GMSH_HOME</code> directory, then in 30461<code>$APPDATA</code> (on Windows) or <code>$HOME</code>
30461 (on other OSes), then in 30462<code>$TMP</code>, and finally in <code>$TEMP</code>, in that order. If none of 30463these variables are defined, Gmsh will try to save/load its 30464configuration files from the current working directory. 30465</p></li></ol> 30466 30467 30468<hr> 30469<span id="General-questions"></span><div class="header"> 30470<p> 30471Next: <a href="#Geometry-module-questions" accesskey="n" rel="next">Geometry module questions</a>, Previous: <a href="#Installation-problems" accesskey="p" rel="prev">Installation problems</a>, Up: <a href="#Frequently-asked-questions" accesskey="u" rel="up">Frequently asked questions</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 30472</div> 30473<span id="General-questions-1"></span><h3 class="section">C.3 General questions</h3> 30474 30475<ol> 30476<li> Gmsh (from a binary distribution) complains about missing libraries. 30477 30478<p>On Windows, if your system complains about missing <samp>OPENGL32.DLL</samp> 30479or <samp>GLU32.DLL</samp> libraries, then OpenGL is not properly installed on 30480your machine. You can download OpenGL from Microsoft’s web site, or 30481directly from <a href="http://www.opengl.org">http://www.opengl.org</a>. 30482</p> 30483<p>On Unix try ‘ldd gmsh’ (or ‘otool -L gmsh’ on macOS) to check if all the 30484required shared libraries are installed on your system. If not, install 30485them. If it still doesn’t work, recompile Gmsh from the source code. 30486</p> 30487</li><li> Gmsh keeps re-displaying its graphics when other windows partially hide the graphical window. 30488 30489<p>Disable opaque move in your window manager. 30490</p> 30491</li><li> The graphics display very slowly. 30492 30493<p>Are you are executing Gmsh from a remote host (via the network) 30494without GLX? You should turn double buffering off (with the ‘-nodb’ 30495command-line switch). 30496</p> 30497</li><li> There is an ugly “ghost triangulation” in the vector PostScript/PDF files generated by Gmsh! 30498 30499<p>No, there isn’t. This “ghost triangulation” is due to the fact that most 30500PostScript previewers nowadays antialias the graphic primitives when 30501they display the page on screen. (For example, in gv, you can disable 30502antialising with the ‘State->Antialias’ menu.) You should not see this 30503ghost triangulation in the printed output (on paper). 30504</p> 30505</li><li> How can I save GIF, JPEG, ..., images? 30506 30507<p>Just choose the appropriate format in ‘File->Export’. By default Gmsh 30508guesses the format from the file extension, so you can just type 30509<samp>myfile.jpg</samp> in the dialog and Gmsh will automatically create a JPEG 30510image file. 30511</p> 30512</li><li> How save high-resolution images? 30513 30514<p>You can specify the dimension in the dialog (e.g. set the width of the 30515image to 5000 pixels; leaving one dimension negative will rescale using 30516the natural aspect ratio), or through the <code>Print.Width</code> and 30517<code>Print.Height</code> options. The maximum image size is graphics hardware 30518dependent. 30519</p> 30520</li><li> How can I save MPEG, AVI, ..., animations? 30521 30522<p>You can create simple MPEG animations by choosing MPEG as the format in 30523‘File->Export’: this allows you to loop over time steps or 30524post-processing data sets, or to change parameters according to 30525<code>Print.Parameter</code>. To create fully customized animations or to use 30526different output formats (AVI, MP4, etc.) you should write a 30527script. Have a look at <a href="#t8">t8</a> or 30528<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/post_processing/anim.script">examples/post_processing/anim.script</a> 30529for some examples. 30530</p> 30531</li><li> Can I change values in input fields with the mouse in the GUI? 30532 30533<p>Yes: dragging the mouse in a numeric input field slides the value! The 30534left button moves one step per pixel, the middle by ‘10*step’, and the 30535right button by ‘100*step’. 30536</p> 30537</li><li> Can I copy messages to the clipboard? 30538 30539<p>Yes: selecting the content of an input field, or lines in the message 30540console (‘Tools->Message Console’), copies the selected text to the 30541clipboard. 30542</p> 30543</li><li> Graphical rendering or entity selection is very slow on Linux. 30544 30545<p>The issue is most probably linked with your graphics card driver. Try 30546setting the environment variable <code>LIBGL_ALWAYS_SOFTWARE=true</code> to
30547force software rendering. 30548</p></li></ol> 30549 30550 30551<hr> 30552<span id="Geometry-module-questions"></span><div class="header"> 30553<p> 30554Next: <a href="#Mesh-module-questions" accesskey="n" rel="next">Mesh module questions</a>, Previous: <a href="#General-questions" accesskey="p" rel="prev">General questions</a>, Up: <a href="#Frequently-asked-questions" accesskey="u" rel="up">Frequently asked questions</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 30555</div> 30556<span id="Geometry-module-2"></span><h3 class="section">C.4 Geometry module</h3> 30557 30558<ol> 30559<li> Does Gmsh support trimmed NURBS surfaces? 30560 30561<p>Yes, but only with the OpenCASCADE kernel. 30562</p> 30563</li><li> Gmsh is very slow when I use many transformations (Translate, Rotate, Symmetry, Extrude, etc.) with the built-in CAD kernel. What’s wrong? 30564 30565<p>The default behavior of Gmsh is to check and suppress all duplicate 30566entities (points, curves and surfaces) each time a transformation 30567command is issued with the built-in CAD kernel. This can slow down 30568things a lot if many transformations are performed. There are two 30569solutions to this problem: 30570</p><ul> 30571<li> you may save the serialized (“unrolled”) geometry in another file 30572(using <code>gmsh file.geo -0</code> or exporting to “.geo_unrolled”), and 30573use this new file for subsequent computations; 30574</li><li> or you may set the <code>Geometry.AutoCoherence</code> option to 0. This will 30575prevent any automatic duplicate check/replacement. If you still need to 30576remove the duplicates entities, simply add <code>Coherence;</code> at 30577strategic locations in your <samp>.geo</samp> files (e.g. before the creation 30578of curve loops, etc.). 30579</li></ul> 30580 30581</li><li> Why is my “.geo_unrolled” file incomplete? 30582 30583<p>“Unrolled GEO” files can only fully represent geometries created with 30584the built-in geometry kernel. If you want to serialize a geometry 30585created with the OpenCASCADE geometry kernel, you should use the native 30586OpenCASCADE “.brep” format. 30587</p> 30588</li><li> How can I display only selected parts of my model? 30589 30590<p>Use ‘Tools->Visibility’. This allows you to select elementary entities 30591and physical groups, as well as mesh elements, in a variety of ways (in 30592a list or tree browser, by tag, interactively, or per window). 30593</p> 30594</li><li> Can I edit STEP/IGES/BRep models? 30595 30596<p>Yes: with the OpenCASCADE kernel (<code>SetFactory("OpenCASCADE");</code>), 30597load the file (<code>Merge "file.step";</code> or 30598<code>ShapeFromFile("file.step");</code>) and add the relevant scripting 30599commands after that to delete parts, create new parts or apply boolean 30600operators. See 30601e.g. <a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/boolean/import.geo">examples/boolean/import.geo</a>. 30602</p> 30603</li><li> Why are there surfaces missing when I export a STEP as an unrolled <samp>.geo</samp> file? 30604 30605<p>You should <em>not</em> export STEP models as <samp>.geo</samp> files. By 30606design, Gmsh never translates from one CAD format to another. The 30607“unrolled GEO” feature is there for unrolling complex GEO scripts 30608writted with the built-in geometry kernel. While it can indeed export a 30609limited subset of geometrical entities created by other CAD kernels 30610(e.g. OpenCASCADE), this feature is available for debugging purposes. 30611</p> 30612</li><li> How can I build modular geometries? 30613 30614<p>Define common geometrical objects and options in separate files or using 30615<code>Macro</code>, reusable in all your problem definition structures. Or use 30616the features of your language of choice and the Gmsh API. 30617</p> 30618</li><li> Some files take much more time to load with Gmsh 4 compared to Gmsh 3: what’s happening? 30619 30620<p>In Gmsh 4, some operations (<code>Color</code>, <code>Show</code>, <code>Hide</code>, 30621<code>BoundingBox</code>, <code>Boundary</code>, <code>PointsOf</code>, <code>Periodic</code>, 30622<code>In</code> embedding constraints, ..) are now applied directly on the 30623internal Gmsh model, instead of being handled at the level of the CAD 30624kernel. This implies a synchronization between the CAD kernel and the 30625Gmsh model. To minimize the number of synchronizations (which can become 30626costly for large models), you should always create your geometry first; 30627and use these commands once the geometry has been created. 30628</p> 30629</li></ol> 30630 30631 30632<hr> 30633<span id="Mesh-module-questions"></span><div class="header"> 30634<p>
30635Next: <a href="#Solver-module-questions" accesskey="n" rel="next">Solver module questions</a>, Previous: <a href="#Geometry-module-questions" accesskey="p" rel="prev">Geometry module questions</a>, Up: <a href="#Frequently-asked-questions" accesskey="u" rel="up">Frequently asked questions</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 30636</div> 30637<span id="Mesh-module-2"></span><h3 class="section">C.5 Mesh module</h3> 30638 30639<ol> 30640<li> What should I do when the 2D unstructured algorithm fails? 30641 30642<p>Verify that the curves in the model do not self-intersect. If 30643‘<code>Mesh.RandomFactor</code> * size of triangle / size of model’ approaches 30644machine accuracy, increase <code>Mesh.RandomFactor</code>. 30645</p> 30646<p>If everything fails file a bug report with the version of your operating 30647system and the full geometry. 30648</p> 30649</li><li> What should I do when the 3D unstructured algorithm fails? 30650 30651<p>Verify that the surfaces in your model do not self-intersect or 30652partially overlap. If they don’t, try the other 3D algorithms 30653(‘Tool->Options->Mesh->General->3D algorithm’) or try to adapt the mesh 30654element sizes in your input file so that the surface mesh better matches 30655the geometrical details of the model. 30656</p> 30657<p>If nothing works, file a bug report with the version of your operating 30658system and the full geometry. 30659</p> 30660</li><li> How can I only save tetrahedral elements (not triangles and lines)? 30661 30662<p>By default, if physical groups are defined, the output mesh only 30663contains those elements that belong to physical entities. So to save 30664only 3D elements, simply define one (or more) physical volume(s) and 30665don’t define any physical surfaces, physical curves or physical points. 30666</p> 30667</li><li> How can I remove mesh nodes for geometrical construction points (centers of spheres, etc.) from output mesh file? 30668 30669<p>By default Gmsh saves all the geometrical entities and their associated 30670mesh. In particular, since each geometry point is meshed with a point 30671element, defined by a mesh node, the output file will contain one 0-D 30672mesh element and one mesh node for each geometry point. To remove such 30673elements/nodes from the mesh, simply define physical groups for the 30674entities you want to save (see previous question). 30675</p> 30676</li><li> My 2D meshes of IGES files present gaps between surfaces 30677 30678<p>IGES files do not contain the topology of the model, and tolerance 30679problems can thus appear when the OpenCASCADE importer cannot identify 30680two (close) curves as actually being identical. 30681</p> 30682<p>The best solution is to <em>not use IGES and use STEP</em> instead. If you 30683really have to use IGES, check that you don’t have duplicate curves 30684(e.g. by displaying their tags in the GUI with 30685‘Tools->Options->Geometry->Visibility->Curve labels’). If there are 30686duplicates, try to change the geometrical tolerance and sew the faces 30687(see options in ‘Tools->Options->Geometry->General’). 30688</p> 30689</li><li> The quality of the elements generated by the 3D algorithm is very bad. 30690 30691<p>Use ‘Optimize quality’ in the mesh menu. 30692</p> 30693</li><li> Non-recombined 3D extruded meshes sometimes fail. 30694 30695<p>The swapping algorithm is not very clever. Try to change the surface 30696mesh a bit, or recombine your mesh to generate prisms or hexahedra 30697instead of tetrahedra. 30698</p> 30699</li><li> Does Gmsh automatically couple unstructured tetrahedral meshes and structured hexahedral meshed using pyramids? 30700 30701<p>Yes, but only if pyramids need to be created on a single side of the 30702quadrangular surface mesh. 30703</p> 30704</li><li> Can I explicitly assign region tags to extruded layers? 30705 30706<p>No, this feature has been removed in Gmsh 2.0. You must use the 30707standard entity tag instead. 30708</p> 30709</li><li> Did you remove the elliptic mesh generator in Gmsh 2.0? 30710 30711<p>Yes. You can achieve the same result by using the transfinite 30712algorithm with smoothing (e.g., with <code>Mesh.Smoothing = 10</code>). 30713</p> 30714</li><li> Does Gmsh support curved elements? 30715 30716<p>Yes, just choose the appropriate order in the mesh menu after the mesh 30717is completed. High-order optimization tools are also available in the 30718mesh menu. You can select the order on the command line with e.g. 30719<code>-order 2</code>, and activcate high-order optimization with 30720<code>-optimize_ho</code>. 30721</p> 30722</li><li> Can I import an existing surface mesh in Gmsh and use it to build a 3D mesh? 30723 30724<p>Yes, you can import a surface mesh in any one of the supported mesh file 30725formats, define a volume, and mesh it. For an example see 30726<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/simple_geo/sphere-discrete.geo">examples/simple_geo/sphere-discrete.geo</a>. 30727</p> 30728</li><li> How do I define boundary conditions or material properties in Gmsh? 30729 30730<p>By design, Gmsh does not try to incorporate every possible definition of 30731boundary conditions or material properties—this is a job best left to 30732the solver. Instead, Gmsh provides a simple mechanism to tag groups of 30733elements, and it is up to the solver to interpret these tags as boundary 30734conditions, materials, etc. Associating tags with elements in Gmsh is 30735done by defining physical groups (Physical Points, Physical Curves, 30736Physical Surfaces and Physical Volumes). See the reference manual as 30737well as the tutorials (in particular <a href="#t1">t1</a>) for a detailed 30738description and some examples. 30739</p> 30740<p>The Gmsh API can be used to build sophisticated interactive workflows 30741where the definition of boundary conditions and material properties can 30742be fully tailored to your preferred solver. For an example see 30743<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/prepro.py">examples/api/prepro.py</a>. 30744</p> 30745</li><li> How can I display only the mesh associated with selected geometrical entities? 30746 30747<p>See “How can I display only selected parts of my model?”. 30748</p> 30749</li><li> How can I “explore” a mesh (for example, to see inside a complex structure)? 30750 30751<p>You can use ‘Tools->Clipping’ to clip the region of interest. You can 30752define up to 6 clipping planes in Gmsh (i.e., enough to define a 30753“cube” inside your model) and each plane can clip either the geometry, 30754the mesh, the post-processing views, or any combination of the above. 30755The clipping planes are defined using the four coefficients A,B,C,D of
30756the equation A*x+B*y+C*y+D=0, which can be adjusted interactively by 30757dragging the mouse in the input fields. 30758</p> 30759</li><li> What is the signification of SICN, Gamma and SIGE in Tools->Statistics? 30760 30761<p>They measure the quality of the elements’ shape in a mesh. They are defined for 30762all 2D and 3D element types, except Gamma which is not defined for hexes and pyramids. 30763The ‘S-’ of SICN and SIGE stands for ‘Signed’. Those two measures actually give two information 30764on an element: Their absolute value gives the element’s shape quality while their sign 30765gives the element validity. In other words, negative values of SICN and SIGE 30766indicate tangled elements. The pure quality part of the measures take values 30767between 0 and 1, with 1 corresponding to the best shape. 30768</p> 30769<p>The measures are computed for 3D elements if any, otherwise for 2D elements. Given values 30770are the average, the minimum and the maximum among elements. 30771Graphs plot the number of elements vs. the quality measure. 30772</p> 30773<p>Meaning of the measures: 30774</p><ul> 30775<li> ‘(S-)ICN’ stands for (Signed-) Inverse Condition Number. Low-ICN elements influence 30776negatively the condition number of the stiffness matrix which, as a result, can 30777introduce roundoff errors, or significantly reduce the convergence speed of iterative methods. 30778</li><li> ‘(S-)IGE’ stands for (Signed-) Inverse Gradient Error. Low-IGE elements influence 30779negatively the error on the gradient of the FE solution. For hexahedra, the measure 30780is the well-known "scaled Jacobian" as defined in the hexahedral community. 30781</li><li> For triangles and tetrahedra, ‘Gamma’ is equal to the ratio 30782"inscribed radius / circumscribed radius", which is a measure that is largely used 30783in the community of simplicial meshes. This form is closely related to the ICN measure. 30784</li><li> For quadrangles and prisms, ‘Gamma’ is computed on the worst corner using the 30785formula [1 - abs(r)] where r is proportional to the difference between the corner angle 30786and the perfect (solid) angle, that is pi/2 for quads and pi/3 for prisms. This form is closely 30787related to the IGE measure. 30788</li></ul> 30789 30790<p>For the exact definitions, see 30791<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/src/geo/MElement.cpp">src/geo/MElement.cpp</a>, and, for 30792the ICN and IGE measures, see the paper 30793A. Johnen, C. Geuzaine, T. Toulorge and J.-F. Remacle, 30794<a href="https://www.sciencedirect.com/science/article/abs/pii/S0010448518301015">"Efficient computation of the minimum of shape quality measures on curvilinear finite elements"</a>, 30795Computer-Aided Design 103, pp. 24-33, 2018. 30796</p> 30797</li><li> How can I save a mesh file with a given (e.g. older) MSH file format version? 30798 30799<ul> 30800<li> In the GUI: open ‘File->Export’, enter your <samp>filename.msh</samp> and then 30801pick the version in the dropdown menu. 30802</li><li> On the command line: use the <code>-format</code> option (e.g. <code>gmsh 30803file.geo -format msh2 -2</code>). 30804</li><li> In a <samp>.geo</samp> script: add the line <code>Mesh.MshFileVersion = x.y;</code> 30805for any version number <code>x.y</code>. You can also save this in your 30806default options. 30807</li><li> In the API: <code>gmsh::option::setNumber("Mesh.MshFileVersion", x.y)</code>. 30808</li></ul> 30809 30810<p>As an alternative method, you can also not specify the format 30811explicitly, and just choose a filename with the <code>.msh2</code> or 30812<code>.msh4</code> extension. 30813</p> 30814</li><li> Why isn’t neighboring element information stored in the MSH file? 30815 30816<p>Each numerical method has its own requirements: it might need 30817neighboring elements connected by a node, an edge or a face; it might 30818require a single layer or multiple layers; it should include elements of 30819lower dimension (boundaries) or not, go across geometrical entities or 30820mesh partitions or not, etc. Given the number of possibilities, 30821generating the appropriate information is thus best performed in the 30822numerical solver itself. The Gmsh API makes these computations easy: see 30823tutorial <a href="#x7">x7</a> and 30824<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/neighbors.py">examples/api/neighbors.py</a>. 30825</p> 30826</li><li> Could mesh edges/faces be stored in the MSH file? 30827 30828<p>Edge/faces can be easily generated from the information already 30829available in the file (i.e. nodes and elements), or through the Gmsh 30830API: see tutorial <a href="#x7">x7</a>, 30831<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/edges.cpp">examples/api/edges.cpp</a> and 30832<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/faces.cpp">examples/api/faces.cpp</a>. 30833</p> 30834</li></ol> 30835 30836 30837<hr> 30838<span id="Solver-module-questions"></span><div class="header"> 30839<p> 30840Next: <a href="#Post_002dprocessing-module-questions" accesskey="n" rel="next">Post-processing module questions</a>, Previous: <a href="#Mesh-module-questions" accesskey="p" rel="prev">Mesh module questions</a>, Up: <a href="#Frequently-asked-questions" accesskey="u" rel="up">Frequently asked questions</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 30841</div> 30842<span id="Solver-module-2"></span>
30842<h3 class="section">C.6 Solver module</h3> 30843 30844<ol> 30845<li> How do I integrate my own solver with Gmsh? 30846 30847<p>Gmsh uses the ONELAB interface (<a href="http://www.onelab.info">http://www.onelab.info</a>) to 30848interact with external solvers. See <a href="#Solver-module">Solver module</a>. 30849</p> 30850</li><li> Can I launch Gmsh from my solver (instead of launching my solver from Gmsh) in order to monitor a solution? 30851 30852<p>Using the Gmsh API, you can directly embed Gmsh in your own solver, use 30853ONELAB for interactive parameter definition and modification, and create 30854visualization data on the fly. See e.g. 30855<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/prepro.py">prepro.py</a>, 30856<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/custom_gui.py">custom_gui.py</a>, 30857<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/api/custom_gui.cpp">custom_gui.cpp</a>. 30858</p> 30859<p>Another (rather crude) approach if to launch the Gmsh app everytime you 30860want to visualize something (a simple C program showing how to do this 30861is given in 30862<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/utils/misc/callgmsh.c">utils/misc/callgmsh.c</a>). 30863</p> 30864<p>Yet another approach is to modify your program so that it can 30865communicate with Gmsh through ONELAB over a socket. Select ‘Always 30866listen to incoming connection requests’ in the Gmsh solver option panel 30867(or run gmsh with the <code>-listen</code> command line switch), and Gmsh will 30868always listen for your program on the given socket (or on the 30869<code>
30869Solver.SocketName</code> if no socket is specified). 30870</p> 30871</li></ol> 30872 30873 30874<hr> 30875<span id="Post_002dprocessing-module-questions"></span><div class="header"> 30876<p> 30877Previous: <a href="#Solver-module-questions" accesskey="p" rel="prev">Solver module questions</a>, Up: <a href="#Frequently-asked-questions" accesskey="u" rel="up">Frequently asked questions</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 30878</div> 30879<span id="Post_002dprocessing-module-2"></span><h3 class="section">C.7 Post-processing module</h3> 30880 30881<ol> 30882<li> How do I compute a section of a plot? 30883 30884<p>Use ‘Tools->Plugins->Cut Plane’. 30885</p> 30886</li><li> Can I save an isosurface to a file? 30887 30888<p>Yes: first run ‘Tools->Plugins->Isosurface’ to extract the isosurface, 30889then use ‘View->Export’ to save the new view. 30890</p> 30891</li><li> Can Gmsh generate isovolumes? 30892 30893<p>Yes, with the CutMap plugin (set the ExtractVolume option to -1 or 1 30894to extract the negative or positive levelset). 30895</p> 30896</li><li> How do I animate my plots? 30897 30898<p>If the views contain multiple time steps, you can press the ‘play’ 30899button at the bottom of the graphic window, or change the time step by 30900hand in the view option panel. You can also use the left and right 30901arrow keys on your keyboard to change the time step in all visible 30902views in real time. 30903</p> 30904<p>If you want to loop through different views instead of time steps, you 30905can use the ‘Loop through views instead of time steps’ option in the 30906view option panel, or use the up and down arrow keys on your keyboard. 30907</p> 30908</li><li> How do I visualize a deformed mesh? 30909 30910<p>Load a vector view containing the displacement field, and set ‘Vector 30911display’ to ‘Displacement’ in ‘View->Options->Aspect’. If the 30912displacement is too small (or too large), you can scale it with the 30913‘Displacement factor’ option. (Remember that you can drag the mouse in 30914all numeric input fields to slide the value!) 30915</p> 30916<p>Another option is to use the ‘General transformation expressions’ (in 30917View->Options->Offset) on a scalar view, with the displacement map 30918selected as the data source. 30919</p> 30920</li><li> Can I visualize a field on a deformed mesh? 30921 30922<p>Yes, there are several ways to do that. 30923</p> 30924<p>The easiest is to load two views: the first one containing a 30925displacement field (a vector view that will be used to deform the 30926mesh), and the second one containing the field you want to display 30927(this view has to contain the same number of elements as the 30928displacement view). You should then set ‘Vector display’ to 30929‘Displacement’ in the first view, as well as set ‘Data source’ to 30930point to the second view. (You might want to make the second view 30931invisible, too. If you want to amplify or decrease the amount of 30932deformation, just modify the ‘Displacement factor’ option.) 30933</p> 30934<p>Another solution is to use the ‘General transformation expressions’ 30935(in ‘View->Options->Offset’) on the field you want to display, with 30936the displacement map selected as the data source. 30937</p> 30938<p>And yet another solution is to use the Warp plugin. 30939</p> 30940</li><li> Can I color the arrows representing a vector field with data from a scalar field? 30941 30942<p>Yes: load both the vector and the scalar fields (the two views must 30943have the same number of elements) and, in the vector field options, 30944select the scalar view in ‘Data source’. 30945</p> 30946</li><li> Can I color isovalue surfaces with data from another scalar view? 30947 30948<p>Yes, using either the CutMap plugin (with the ‘dView’ option) or the 30949Evaluate plugin. 30950</p> 30951</li><li> Is there a way to save animations? 30952 30953<p>You can save simple MPEG animations directly from the ‘File->Export’ 30954menu. For other formats you should write a script. Have a look at 30955<a href="#t8">t8</a> or 30956<a href="https://gitlab.onelab.info/gmsh/gmsh/blob/gmsh_4_15_2/examples/post_processing/anim.script">examples/post_processing/anim.script</a> 30957for some examples. 30958</p> 30959</li><li> Is there a way to visualize only certain components of vector/tensor fields? 30960 30961<p>Yes, by using either the “Force field” options in 30962‘Tools->Options->View->Visibility’, or by using 30963‘Tools->Plugins->MathEval’. 30964</p> 30965</li><li> Can I do arithmetic operations on a view? Can I perform operations involving different views? 30966 30967<p>Yes, with the Evaluate plugin. 30968</p> 30969</li><li> Some plugins seem to create empty views. What’s wrong? 30970 30971<p>There can be several reasons: 30972</p><ul> 30973<li> the plugin might be written for specific element types only (for 30974example, only for scalar triangles or tetrahedra). In that case, you 30975should transform your view before running the plugin (you can use 30976<code>Plugin(DecomposeinSimplex)</code> to transform all quads, hexas, prisms 30977and pyramids into triangles and tetrahedra). 30978</li><li> the plugin might expect a mesh while all you provide is a point 30979cloud. In 2D, you can use <code>Plugin(Triangulate)</code> to transform a
30980point cloud into a triangulated surface. In 3D you can use 30981<code>Plugin(Tetrahedralize)</code>. 30982</li><li> the input parameters are out of range. 30983</li></ul> 30984 30985<p>In any case, you can automatically remove all empty views with 30986‘View->Remove->Empty Views’ in the GUI, or with <code>Delete Empty 30987Views;</code> in a script. 30988</p> 30989</li><li> How can I see “inside” a complicated post-processing view? 30990 30991<p>Use ‘Tools->Clipping’. 30992</p> 30993<p>When viewing 3D scalar fields, you can also modify the colormap 30994(‘Tools->Options->View->Map’) to make the iso-surfaces “transparent”: 30995either by holding <kbd>Ctrl</kbd> while dragging the mouse to draw the alpha 30996channel by hand, or by using the <kbd>a</kbd>, <kbd>Ctrl+a</kbd>, <kbd>p</kbd> and 30997<kbd>Ctrl+p</kbd> keyboard shortcuts. 30998</p> 30999<p>Yet another (destructive) option is to use the ExtractVolume option in 31000the CutSphere or CutPlane plugins. 31001</p> 31002</li><li> I am loading a valid 3D scalar view but Gmsh does not display anything! 31003 31004<p>If your dataset is constant per element make sure you don’t use the 31005‘Iso-values’ interval type in ‘Tools->Options->View->Range’. 31006</p></li></ol> 31007 31008 31009 31010<hr> 31011<span id="Version-history"></span><div class="header"> 31012<p> 31013Next: <a href="#Copyright-and-credits" accesskey="n" rel="next">Copyright and credits</a>, Previous: <a href="#Frequently-asked-questions" accesskey="p" rel="prev">Frequently asked questions</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 31014</div> 31015<span id="Version-history-1"></span><h2 class="appendix">Appendix D Version history</h2> 31016 31017<span id="index-Versions"></span> 31018<span id="index-History_002c-versions"></span> 31019<span id="index-Changelog"></span> 31020 31021<div class="format"> 31022<pre class="verbatim">4.15.2 (March 24, 2026): fixed issue in 3D structured CGNS output. 31023 310244.15.1 (February 16, 2026): improved handling of anisotropic surface meshes in 310253D Delaunay; bug fixes. 31026 310274.15.0 (October 26, 2025): new Closest, Parametric Point and Normal parser 31028functions; changed Boundary and CombinedBoundary parser functions to not return 31029signed entity tags anymore (use new OrientedBoundary and 31030OrientedCombinedBoundary to get the old behavior); changed default value of 31031oriented argument to false in model/getBoundary API; new fltk/run() option to 31032automatically load/save options between runs; improved Constant and Restrict 31033mesh size fields; reverted curve drawing to use fixed number of subdivisions; 31034levelset-based plugins now take entity visibility into account; bug fixes. 31035 31036* New API functions: model/isEntityOrphan, occ/getClosestEntities 31037 31038* Incompatible API changes: new arguments to algorithm/tetrahedralize and 31039 fltk/run 31040 310414.14.1 (September 2, 2025): further improvement of return value of boolean 31042operations; bug fixes. 31043 310444.14.0 (July 3, 2025): improved return value of boolean operations; improved 31045ONELAB parameter GUI; improved XAO export with mesh sizes; improved unrolled GEO 31046export to handle OCC geometries; new Step() built-in parser function; fixed 31047occ/getClosestPoint for OCC surfaces; renamed Windows DLL import library from 31048.lib to .dll.lib; official binary builds now use OCC 7.8, and Linux and Windows 31049binary builds use FLTK 1.3 (instead of FLTK 1.4, which introduced performance 31050regressions in OpenGL rendering); bug fixes. 31051 31052* New API functions: model/getEntityProperties, model/getPhysicalGroupsEntities 31053 31054* Incompatible API changes: new optional arguments to occ/fillet2D; renamed 31055 model/getType as model/getEntityType; renamed mesh/triangulate as 31056 algorithm/triangulate and add new optional argument (edges); renamed 31057 mesh/tetrahedralize as algorithm/tetrahedralize 31058 310594.13.1 (May 24, 2024): fix regression introduced in 4.13.0 when reading binary 31060.msh files with post-processing data; new read-only Mesh.MinQuality updated 31061after meshing pipeline; occ/addSurfaceFilling new defaults to degree=2 for 31062consistency with .geo files; small bug fixes. 31063
310644.13.0 (May 7, 2024): added support for importing and exporting XAO files; new 31065options for OCC boolean operations (OCCBooleanCheckInverted, OCCBooleanGlue, 31066OCCBooleanNonDestructive, OCCBooleanSimplify); new OCC operations (2D fillets 31067and chamfers, distance, defeature); new quasi-transfinite 2d meshes (with fans); 31068small API additions; revert Crack plugin logic to version 4.10.1; bug fixes. 31069 31070* New API functions: occ/getDistance, occ/fillet2D, occ/chamfer2D, 31071 occ/offsetCurve, occ/defeature, mesh/removeElements, option/restoreDefaults, 31072 logger/getMemory, logger/getTotalMemory. 31073 310744.12.2 (January 21, 2024): small bug fixes. 31075 310764.12.1 (January 11, 2024): small bug fixes. 31077 310784.12.0 (December 21, 2023): new high-order mesh optimisation mode for periodic 31079meshes; new element qualities available through API; new IGES export; new volume 31080glyph; OCC curve loops can now be oriented based on the sign of the first curve; 31081better mesh node visualization; added suppport for model attributes in MSH2 31082files; new mesh renumbering capabilities in the API; new GAMBIT mesh reader; 31083replaced Geometry.OCCSafeUnbind with more flexible Geometry.OCCFastUnbind (which 31084can be set for boolean operations as well); added support for editing STEP 31085headers; small bug fixes. 31086 31087* New API functions: model/getEntitiesForPhysicalName, mesh/computeRenumbering, 31088 mesh/getVisibility. 31089 31090* Incompatible API changes: new optional argument to occ/addCircleArc, 31091 mesh/renumberNodes, mesh/renumberElements and view/getListData; new optional 31092 "interruptible" argument to gmsh.initialize() in Python 31093 310944.11.1 (December 21, 2022): Mesh.TransfiniteTri improvements; small bug fixes. 31095 310964.11.0 (November 6, 2022): new Fortran API; improved copying ("Duplicata") of 31097multiple shapes with OCC; reduced default order for OCC surface filling; 31098arbitrary string attributes can now be stored in models and MSH files; new 31099Radioss export; added ability to specify spline tangents with OCC; new option 31100Mesh.SaveWithoutOrphans to prune orphan entities (e.g. geometrical construction 31101points) from MSH4 files; major overhaul of the reference manual; new official 31102macOS ARM builds; small bug fixes. 31103 31104* New API functions: model/getAttributeNames, model/getAttribute, 31105 model/setAttribute, model/removeAttribute 31106 31107* Incompatible API changes: new argument to mesh/computeHomology; new optional
31108 arguments to occ/addSpline and occ/addThruSections 31109 311104.10.5 (July 1, 2022): small bug fixes. 31111 311124.10.4 (June 19, 2022): improved graphical window tooltips; small bug fixes. 31113 31114* New API function: mesh/removeDuplicateElements 31115 311164.10.3 (May 26, 2022): small bug fixes. 31117 31118* New API function: fltk/finalize 31119 311204.10.2 (May 13, 2022): fixed regression introduced in 4.9 for recombined meshes 31121with boundary layers; new Geometry.OCCSafeUnbind option to disable boolean 31122optimization introduced in 4.10.0 (for backward compatibility); new HealShapes 31123command in .geo files; simplified calculation of OCC STL bounding boxes; 31124generalized Crack plugin; small bug fixes. 31125 311264.10.1 (May 1, 2022): small bug fixes. 31127 311284.10.0 (April 25, 2022): more flexible homology/cohomology workflow in the API; 31129"Attractor" field is now just a synonym for the newer (and more efficient) 31130"Distance" field; periodic bsplines now use the same default multiplicities in 31131OCC as in the built-in kernel; model/isInside now also handles discrete 31132entities; speed-up repeated simple boolean operations; C++ api now throws 31133std::runtime_error on errors; small bug fixes. 31134 31135* New API functions: geo/addGeometry, geo/addPointOnGeometry, 31136 mesh/addHomologyRequest, mesh/clearHomologyRequests, mesh/setVisibility, 31137 mesh/getElementQualities 31138 31139* Incompatible API changes: additional const qualifiers in C API; removed 31140 mesh/computeCohomology; new arguments to occ/getCurveLoops and 31141 occ/getSurfaceLoops; changed arguments of mesh/computeHomology; new optional 31142 arguments to occ/addCircle, occ/addEllipse, occ/addDisk, occ/addTorus, 31143 occ/addWedge, model/addPhysicalGroup, model/geo/addPhysicalGroup, 31144 mesh/removeDuplicateNodes and mesh/setRecombine. 31145 311464.9.5 (February 21, 2022): dynamic Gmsh library now also only exports public 31147symbols on macOS and Linux, like it does on Windows; better handling of 31148max. thread settings; small bug fixes. 31149 31150* New API function: mesh/getDuplicateNodes 31151 311524.9.4 (February 3, 2022): improved BSpline filling; new options 31153Mesh.MinimumLineNodes, Mesh.RecombineNodeRepositioning, 31154Mesh.RecombineMinimumQuality and Mesh.StlLinearDeflectionRelative; updated 31155bundled Eigen; small bug fixes. 31156 31157* New API functions: gmsh/isInitialized, occ/convertToNURBS, occ/getCurveLoops, 31158 occ/getSurfaceLoops, mesh/importStl, parser/getNames, parser/setNumber, 31159 parser/setString, parser/getNumber, parser/getString, parser/clear, 31160 parser/parse, onelab/getChanged, onelab/setChanged 31161 311624.9.3 (January 4, 2022): improved handling of degenerate curves in periodic 31163surfaces and boundary layer extrusion; extended Mesh.SaveGroupsOfElements 31164capabilities for INP export; extended Mesh.MeshSizeExtendFromBoundary + new 31165"Extend" mesh size field to enable alternative mesh size extensions from 31166boundary; enhanced X3D output; moved all kernel sources to src/ subdirectory; 31167renamed demos/ as examples/ and tutorial/ as tutorials/; small bug fixes. 31168 311694.9.2 (December 23, 2021): faster projection on OCC entities; extended 31170Mesh.SaveGroupsOfNodes capabilities for INP export; improved transfinite meshing 31171of surfaces with boundary on periodic seam. 31172 311734.9.1 (December 18, 2021): relax tolerance on curve parametrization match for 31174periodic meshing; enable extruded boundary layers on generic model entities; 31175activate IncludeBoundary by default in Restrict field; downgraded compiler for 31176official Linux releases to gcc 6 to improve compatibility with older systems; 31177small bug fixes (view tag generation with zero tag, model/setTag). 31178 311794.9.0 (December 3, 2021): new initial 2D meshing algorithm; new quasi-structured 31180quad algorithm; improved handling of imperfect curve reparametrization on 31181surfaces in 2D periodic meshing algorithm; mesh renumbering now also renumbers 31182dependent post-processing views; the mesh size callback is now per-model and its 31183returned value is not gathered with the other size constraints in a global min 31184reduction anymore: instead the callback takes as additional argument the mesh 31185size lc that would be prescribed in the absence of the callback, which allows to 31186perform any desired modification (the old behavior can be achieved by returning 31187min(lc, value)); OCC STL representation is now generated using relative 31188deflection tolerance; new TransformMesh command in .geo files; new behavior of 31189Mesh.SaveGroupsOf{Nodes,Elements} in UNV and INP exports; partitioned MSH4 files 31190now contain the full partition topology (i.e. all partition entities); fixed 31191metric calculation with Eigen (for anisotropic mesh generation); official binary 31192builds now support OpenMP parallelization and are 64 bit only (build OS upgraded 31193to Windows 10, macOS 10.15 and Linux glibc 2.24); new experimental Fortran API; 31194new API functions to handle view options by tag instead of by index; color 31195options in the API can now be specified as in .geo files, in the form 31196"Category.Color.Option"; small bug fixes. 31197 31198* New API functions: model/setTag, mesh/reverse, mesh/affineTransform, 31199 mesh/getMaxNodeTag, mesh/getMaxElementTag, mesh/getSizes, mesh/getPer
31199iodic, 31200 mesh/getAllEdges, mesh/getAllFaces, mesh/addEdge, mesh/addFace, 31201 mesh/getNumberOfPartitions, field/list, field/getType, field/getNumber, 31202 field/getNumbers, field/getString, view/option/setNumber, 31203 view/option/getNumber, view/option/setString, view/option/getString, 31204 view/option/setColor, view/option/getColor, view/option/copy. 31205 31206* Incompatible API changes: new arguments to mesh/getNode, mesh/getElement and 31207 view/probe; additional argument to the mesh size callback function provided to 31208 mesh/setSizeCallback; new optional arguments to gmsh/initialize, 31209 model/isInside, mesh/partition and occ/addSurfaceFilling; renamed 31210 mesh/preallocateBasisFunctionsOrientationForElements as 31211 mesh/preallocateBasisFunctionsOrientation, mesh/getNumberOfKeysForElements as 31212 mesh/getNumberOfKeys, and mesh/getBasisFunctionsOrientationForElements as 31213 mesh/getBasisFunctionsOrientation; renamed mesh/getKeysForElements as 31214 mesh/getKeys and mesh/getInformationForElements as mesh/getKeysInformation, 31215 and modified their arguments; modified arguments to mesh/getKeysForElement; 31216 removed mesh/getLocalMultipliersForHcurl0; renamed view/copyOptions as 31217 view/option/copy. 31218 312194.8.4 (April 28, 2021): set current model in gmsh/model/add; small bug fixes. 31220 312214.8.3 (April 6, 2021): better handling of errors in inverse surface mapping; 31222fixed Mesh.MedFileMinorVersion for MED 4; small bug fixes. 31223 312244.8.2 (March 27, 2021): fixed regression in OCC transforms; fixed cwrap API. 31225 312264.8.1 (March 21, 2021): improved performance when transforming many OCC 31227entities; fixed regression in high-order meshing of surfaces with singular 31228parametrizations; small bug fixes. 31229 312304.8.0 (March 2, 2021): new interactive and fully parametrizable definition of 31231boundary conditions, materials, etc. through ONELAB variables; new API functions 31232for creating trimmed BSpline/Bezier patches, perform raw triangulations and 31233tetrehedralizations, get upward adjacencies, and create extruded boundary layers 31234and automatic curve loops in built-in kernel; improved performance of high-order 31235meshing of OCC models; improved handling of high resolution displays; new 31236structured CGNS exporter; new transfinite Beta law; added support for embedded 31237curves in HXT; added automatic conversion from partitioned MSH2 files to new 31238partitioned entities; element groups can now be imported from UNV files; fixed 31239order of Gauss quadrature for quads and hexas; code modernization (C++11); 31240further uniformization of option names to match the documented terminology 31241(Mesh.Point -> Mesh.Node, ...; old names are still accepted, but deprecated); 31242deprecated Mesh.MinimumElementsPerTwoPi: set value directly to 31243Mesh.MeshSizeFromCurvature instead; Python and Julia APIs now also define "snake 31244case"
31244 aliases for all camelCase function names; small bug fixes and 31245improvements. 31246 31247* New API functions: model/getFileName, model/setFileName, model/getAdjacencies, 31248 model/getSecondDerivative, mesh/getEdges, mesh/getFaces, mesh/createEdges, 31249 mesh/createFaces, mesh/removeConstraints, mesh/getEmbedded, mesh/triangulate, 31250 mesh/tetrahedralize, geo/addCurveLoops, fltk/setStatusMessage, 31251 fltk/showContextWindow, fltk/openTreeItem, fltk/closeTreeItem, 31252 onelab/getNames. 31253 31254* Incompatible API changes: new optional arguments to mesh/classifySurfaces, 31255 occ/addBSplineSurface, occ/addBezierSurface, occ/addPipe and view/probe; 31256 renamed mesh/getEdgeNumber as mesh/getEdges. 31257 312584.7.1 (November 16, 2020): small bug fixes and improvements. 31259 312604.7.0 (November 5, 2020): API errors now throw exceptions with the last error 31261message (instead of an integer error code); API functions now print messages on 31262the terminal by default, and throw exceptions on all errors unless in 31263interactive mode; new API functions to retrieve "homogeneous" model-based data 31264(for improved Python performance), to set interpolation matrices for high-order 31265datasets, to assign "automatic" transfinite meshing constraints and to pass 31266native (C++, C, Python or Julia) mesh size callback; added option to save 31267high-order periodic nodes info; added support for scripted window splitting; 31268improved VTK reader; new MatrixOfInertia command; added support for Unicode 31269command line arguments on Windows; uniformized commands, options and field 31270option names to match the documented terminology (CharacteristicLength -> 31271MeshSize, geometry Line -> Curve, ...; old names are still accepted, but 31272deprecated); improved handling of complex periodic cases; removed bundled Mmg3D 31273and added support for stock Mmg 5; Gmsh now requires C++11 and CMake 3.1, and 31274uses Eigen by default instead of Blas/Lapack for dense linear algebra; small bug 31275fixes. 31276 31277* New API functions: model/setVisibilityPerWindow, mesh/setSizeCallback, 31278 mesh/removeSizeCallback, mesh/setTransfiniteAutomatic, geo/addPhysicalGroup, 31279 geo/removePhysicalGroups, view/setInterpolationMatrices, 31280 view/setVisibilityPerWindow, fltk/splitCurrentWindow, fltk/setCurrentWindow, 31281 logger/getLastError. 31282 31283* Incompatible API changes: new optional argument to geo/addCurveLoop. 31284 312854.6.0 (June 22, 2020): new options to only generate initial 2D or 3D meshes 31286(without node insertion), and to only mesh non-meshed entities; added ability to 31287only remesh parts of discrete models; added support for mesh size fields and 31288embedded points and surfaces in HXT; improved reparametrization and partitioning 31289code; new OCC API functions to reduce the number of synchronizations for complex 31290models; new OCC spline surface interfaces; new functions and options to control 31291the first tag of entities, nodes and elements; fixed duplicated entities in STEP 31292output; improved mesh subdivision and high-order pipeline; MED output now 31293preserves node and element tags; small bug fixes. 31294 31295* New API functions: model/getParametrizationBounds, model/isInside, 31296 model/getClosestPoint, model/reparametrizeOnSurface, mesh/rebuildElementCache, 31297 mesh/getBasisFunctionsOrientationForElements, 31298 mesh/getBasisFunctionsOrientationForElement, mesh/getNumberOfOrientations, 31299 mesh/preallocateBasisFunctionsOrientationForElements, 31300 mesh/setSizeAtParametricPoints, geo/setMaxTag, geo/getMaxTag, 31301 occ/addBSplineFilling, occ/addBezierFilling, occ/addBSplineSurface, 31302 occ/addBezierSurface, occ/setMaxTag, occ/getMaxTag, occ/getEntities, 31303 occ/getEntitiesInBoundingBox, occ/getBoundingBox, 31304 view/addHomogeneousModelData. 31305 31306* Incompatible API changes: new optional arguments to mesh/clear, 31307 mesh/createTopology, mesh/createGeometry, occ/addThruSections, 31308 mesh/getPeriodicNodes; new arguments to mesh/getBasisFunctions; removed 31309 mesh/preallocateBasisFunctions, mesh/precomputeBasisFunctions and 31310 mesh/getBasisFunctionsForElements; renamed occ/setMeshSize as 31311 occ/mesh/setSize. 31312 313134.5.6 (March 30, 2020): better calculation of OCC bounding boxes using STL; API 31314tutorials; small bug fixes. 31315 31316* New API functions: view/addListDataString, view/getListDataStrings. 31317 313184.5.5 (March 21, 2020): tooltips in GUI to help discovery of scripting options; 31319fixed MED IO of high-order elements; fixed OCC attribute search by bounding box; 31320fix parsing of mac-encoded scripts; new RecombineMesh command;
31320 added support for 31321extrusion of mixed-dimension entities with OCC; small bug fixes. 31322 313234.5.4 (February 29, 2020): periodic mesh optimization now ensures that the 31324master mesh is not modified; code cleanup; small bug fixes. 31325 313264.5.3 (February 22, 2020): improved positioning of corresponding nodes on 31327periodic entities; improved LaTeX output; improved curve splitting in 31328reparametrization; new binary PLY reader; small compilation fixes. 31329 31330* New API functions: mesh/getEdgeNumber, mesh/getLocalMultipliersForHcurl0. 31331 313324.5.2 (January 30, 2020): periodic meshes now obey reorientation constraints; 31333physical group definitions now follow compound meshing constraints; small bug 31334fixes and improvements. 31335 31336* New API function: geo/splitCurve. 31337 313384.5.1 (December 28, 2019): new Min and Max commands in .geo files; 31339Mesh.MinimumCirclePoints now behaves the same with all geometry kernels; fixed 31340issue with UTF16-encoded home directories on Windows. 31341 313424.5.0 (December 21, 2019): changed default 2D meshing algorithm to 31343Frontal-Delaunay; new compound Spline/BSpline commands; new MeshSizeFromBoundary 31344command; new CGNS importer/exporter; new X3D exporter for geometries and meshes; 31345improved surface mesh reclassification; new separate option to govern curvature 31346adapted meshes (Mesh.MinimumElementsPerTwoPi and "-clcurv val"); improved 31347handling of anisotropic surface meshes in 3D Delaunay; improved high-order 31348periodic meshing; improved 2D boolean unions; file chooser type is now 31349changeable at runtime; FLTK GUI can now be created and destroyed at will through 31350the API; fixed regression in MeshAdapt for non-periodic surfaces with 31351singularities; combining views now copies options; added API support for mesh 31352compounds, per-surface mesh algorithm and mesh size from boundary; renamed 31353plugin AnalyseCurvedMesh to AnalyseMeshQuality; fixed regression for built-in 31354kernel BSplines on non-flat geometries (Sphere, PolarSphere); small fixes and 31355improvements. 31356 31357* New API functions: model/getCurrent, model/getParametrization, 31358 mesh/computeCrossField, mesh/setNode, mesh/getElementsByCoordinates, 31359 mesh/getLocalCoordinatesInElement, mesh/getNumberOfKeysForElements, 31360 mesh/setAlgorithm, mesh.setSizeFromBoundary, mesh/setComound, 31361 geo/addCompoundSpline, geo/addCompoundBSpline, fltk/isAvailable. 31362 31363* Incompatible API changes: removed mesh/smooth (now handled by mesh/optimize 31364 like all other mesh optimizers); renamed logger/time to logger/getWallTime and 31365 logger/cputime to logger/getCpuTime; new arguments to mesh/optimize, 31366 mesh/getElementProperties and occ/healShapes; added optional argument to 31367 mesh/classifySurfaces and view/combine. 31368 313694.4.1 (July 25, 2019): small improvements (transfinite with degenerate curves, 31370renumbering for some mesh formats, empty MSH file sections, tunable accuracy of 31371compound meshes) and bug fixes (ellipse < pi, orientation and reclassification 31372of compound parts, serendip pyramids, periodic MeshAdapt robustness, invalidate 31373cache after mesh/addNodes). 31374 313754.4.0 (July 1, 2019): new STL remeshing workflow (with new ClassifySurfaces 31376command in .geo files); added API support for color options, mesh optimization, 31377recombination, smoothing and shape healing; exposed additional METIS options; 31378improved support for periodic entities (multiple curves with the same start/end 31379points, legacy MSH2 format, periodic surfaces with embedded entities); added 31380mesh renumbering also after interactive mesh modifications; improved support for 31381OpenCASCADE ellipse arcs; new interactive filter in visibility window; flatter 31382GUI; small bug fixes. 31383 31384* New API functions: option/setColor, option/getColor, mesh/optimize, 31385 mesh/recombine, mesh/smooth, mesh/clear, mesh/getNodesByElementType, 31386 occ/healShapes. 31387 31388* Incompatible API changes: mesh/getJacobians and mesh/getBasisFunctions now 31389 take integration points explicitly; mesh/setNodes and mesh/setElements have 31390 been replaced by mesh/addNodes and mesh/addElements; added optional arguments 31391 to mesh/classifySurfaces and occ/addSurfaceLoop; changed arguments of 31392 occ/addEllipseArc to follow geo/addEllipseArc. 31393 313944.3.0 (April 19, 2019): improved meshing of surfaces with singular 31395parametrizations; added API support for aliasing and combining views, copying 31396view options, setting point coordinates, extruding built-in CAD entities along 31397normals and retrieving mass, center of mass and inertia from OpenCASCADE CAD 31398entities;
31398 fixed regression introduced in 4.1.4 that could lead to 31399non-deterministic 2D meshes; small bug fixes. 31400 31401* New API functions: model/setCoordinates, occ/getMass, occ/getCenterOfMass, 31402 occ/getMatrixOfInertia, view/addAlias, view/copyOptions, view/combine 31403 31404* Incompatible API changes: added optional arguments to mesh/getNodes and 31405 mesh/getElementByCoordinates. 31406 314074.2.3 (April 3, 2019): added STL export by physical surface; added ability to 31408remove embedded entities; added handling of boundary entities in 31409addDiscreteEntity; small bug fixes. 31410 31411* New API functions: mesh/getKeysForElements, mesh/getInformationForElements, 31412 mesh/removeEmbedded. 31413 314144.2.2 (March 13, 2019): fixed regression in reading of extruded meshes; added 31415ability to export one solid per surface in STL format. 31416 314174.2.1 (March 7, 2019): fixed regression for STEP files without global compound 31418shape; added support for reading IGES labels and colors; improved search for 31419shared library in Python and Julia modules; improved Plugin(MeshVolume); updates 31420to the reference manual. 31421 314224.2.0 (March 5, 2019): new MSH4.1 revision of the MSH file format, with support 31423for size_t node and element tags (see the reference manual for detailed 31424changes); added support for reading STEP labels and colors with OCC CAF; changed 31425default "Geometry.OCCTargetUnit" value to none (i.e. use STEP file coordinates 31426as-is, without conversion); improved high-order mesh optimization; added ability 31427to import groups of nodes from MED files; enhanced Plugin(Distance) and 31428Plugin(SimplePartition); removed unmaintained plugins; removed default 31429dependency on PETSc; small improvements and bug fixes. 31430 31431* New API functions: model/setEntityName, model/getEntityName, 31432 model/removeEntityName. 31433 31434* Incompatible API changes: changed type of node and element tags from int to 31435 size_t to support (very) large meshes; changed logger/start, 31436 mesh/getPeriodicNodes and mesh/setElementsByType. 31437 314384.1.5 (February 14, 2019): improved OpenMP parallelization, STL remeshing, mesh 31439partitioning and high-order mesh optimization; bug fixes. 31440 31441* New API function: mesh/classifySurfces. 31442 314434.1.4 (February 3, 2019): improved ghost cell I/O; small improvements and bug 31444fixes. 31445 31446* New API functions: mesh/relocateNodes, mesh/getElementType, 31447 mesh/setElementsByType, mesh/getElementEdgeNodes, mesh/getElementFaceNodes, 31448 mesh/getGhostElements, mesh/splitQuadrangles. 31449 314504.1.3 (January 23, 2019): improved quad meshing; new options for automatic 31451full-quad meshes; save nodesets also for physical points (Abaqus, Tochnog); 31452small bug fixes. 31453 31454* New API functions: model/removePhysicalName, model/getPartitions, 31455 mesh/unpartition. 31456 314574.1.2 (January 21, 2019): fixed full-quad subdivision if Mesh.SecondOrderLinear 31458is set; fixed packing of parallelograms regression in 4.1.1. 31459 314604.1.1 (January 20, 2019): added support for general affine transformations with 31461OpenCASCADE kernel; improved handling of boolean tolerance (snap vertices); 31462faster crossfield calculation by default (e.g. for Frontal-Delauany for quads 31463algorithm); fixed face vertices for PyramidN; renamed ONELAB "Action" and 31464"Button" parameters "ONELAB/Action" and "ONELAB/Button"; added support for 31465actions on any ONELAB button; added API functions for selections in user 31466interface. 31467 31468* New API functions: occ/affineTransform, fltk/selectEntities, 31469 fltk/selectElements, fltk/selectViews. 31470 314714.1.0 (January 13, 2019): improved ONELAB and Fltk support in API; improved 31472renumbering of mesh nodes/elements; major code refactoring. 31473 31474* New API functions: fltk/update, fltk/awake, fltk/lock, fltk/unlock, 31475 onelab/setNumber, onelab/getNumber, onelab/setString, onelab/getString, 31476 onelab/clear, onelab/write, logger/time, logger/cputime. 31477 31478* Incompatible API changes: changed onelab/get. 31479 314804.0.7 (December 9, 2018): fixed small memory leaks; removed unused code. 31481 314824.0.6 (November 25, 2018): moved private API wrappers to utils/wrappers; 31483improved Gmsh 3 compatibility for high-order periodic meshes; fixed '-v 0' not 31484being completely silent; fixed rendering of image textures on some OSes; small 31485compilation fixes. 31486 314874.0.5 (November 17, 2018): new automatic hybrid mesh generation (pyramid layer) 31488when 3D Delaunay algorithm is applied to a volume with quadrangles on boundary; 31489improved robustness of 2D MeshAdapt algorithm; bug fixes. 31490 314914.0.4 (October 19, 2018): fixed physical names regression in 4.0.3. 31492 314934.0.3 (October 18, 2018): bug fixes. 31494 31495* New API function: model/removePhysicalGroups. 31496
314974.0.2 (September 26, 2018): added support for creating MED files with specific 31498MED (minor) version; small bug fixes. 31499 315004.0.1 (September 7, 2018): renumber mesh nodes/elements by default; new 31501SendToServer command for nodal views; small bug fixes. 31502 31503* New API functions: model/setVisibility, model/getVisibility, model/setColor, 31504 model/getColor. 31505 315064.0.0 (August 22, 2018): new C++, C, Python and Julia API; new MSH4 format; new 31507mesh partitioning code based on Metis 5; new 3D tetrahedralization algorithm as 31508default; new workflow for remeshing (compound entities as meshing constraints, 31509CreateGeometry for mesh reparametrization); added support for general BSplines, 31510fillets and chamfers with OpenCASCADE kernel and changed default BSpline 31511parameters with the built-in kernel to match OpenCASCADE's; STEP files are now 31512be default interpreted in MKS units (see Geometry.OCCTargetUnit); improved 31513meshing of surfaces with singular parametrizations (spheres, etc.); uniformized 31514entity naming conventions (line/curve, vertex/node, etc.); generalized handling 31515of "all" entities in geo file (using {:} notation); added support for creating 31516LSDYNA mesh files; removed old CAD creation factory (GModelFactory), old 31517reparametrization code (G{Edge, Face, Region}Compound) and old partitioning 31518code (Metis 4 and Chaco); various cleanups, bug fixes and enhancements. 31519 315203.0.6 (November 5, 2017): improved meshing of spheres; improved handling of mesh 31521size constraints with OpenCASCADE kernel; implemented "Coherence" for 31522OpenCASCADE kernel (shortcut for BooleanFragments); added GAMBIT Neutral File 31523export; small improvements and bug fixes. 31524 315253.0.5 (September 6, 2017): bug fixes. 31526 315273.0.4 (July 28, 2017): moved vorometal code to plugin; OpenMP improvements; bug 31528fixes. 31529 315303.0.3 (June 27, 2017): new element quality measures; Block->Box; minor fixes. 31531 315323.0.2 (May 13, 2017): improved handling of meshing constraints and entity 31533numbering after boolean operations; improved handling of fast coarseness 31534transitions in MeshAdapt; new TIKZ export; small bug fixes. 31535 315363.0.1 (April 14, 2017): fixed OpenCASCADE plane surfaces with holes. 31537 315383.0.0 (April 13, 2017): new constructive solid geometry features and boolean 31539operations using OpenCASCADE; improved graphical user interface for interactive, 31540parametric geometry construction; new or modified commands in .geo files: 31541SetFactory, Circle, Ellipse, Wire, Surface, Sphere, Block, Torus, Rectangle, 31542Disk, Cylinder, Cone, Wedge, ThickSolid, ThruSections, Ruled ThruSections, 31543Fillet, Extrude, BooleanUnion, BooleanIntersection, BooleanDifference, 31544BooleanFragments, ShapeFromFile, Recursive Delete, Unique; "Surface" replaces 31545the deprecated "Ruled Surface" command; faster 3D tetrahedral mesh optimization 31546enabled by default; major code refactoring and numerous bug fixes. 31547 315482.16.0 (January 3, 2017): small improvements (list functions, second order hexes 31549for MED, GUI) and bug fixes. 31550 315512.15.0 (December 4, 2016): fixed several regressions (multi-file partitioned 31552grid export, mesh subdivision, old compound mesher); improved 2D boundary layer 31553field & removed non-functional 3D boundary layer field; faster rendering of 31554large meshes. 31555 315562.14.1 (October 30, 2016): fixed regression in periodic meshes; small bug fixes 31557and code cleanups. 31558 315592.14.0 (October 9, 2016): new Tochnog file format export; added ability to 31560remove last command in scripts generated interactively; ONELAB 1.3 with 31561usability and performance improvements; faster "Coherence Mesh". 31562 315632.13.2 (August 18, 2016)): small improvements (scale labels, periodic and 31564high-order meshes) and bug fixes. 31565 315662.13.1 (July 15, 2016): small bug fixes. 31567 315682.13.0 (July 11, 2016): new ONELAB 1.2 protocol with native support for lists; 31569new experimental 3D boundary recovery code and 3D refinement algorithm; better 31570adaptive visualization of quads and hexahedra; fixed several regressions 31571introduced in 2.12. 31572 315732.12.0 (March 5, 2016): improved interactive definition of physical groups and 31574handling of ONELAB clients; improved full quad algorithm; added support for list 31575of strings, trihedra elements and X3D format; improved message console; new 31576colormaps; various bugs fixes and small improvements all over. 31577 315782.11.0 (November 7, 2015): new Else/ElseIf commands; new OptimizeMesh command; 31579Plugin(ModifyComponents) replaces Plugin(ModifyComponent); new VTK and X3D 31580outputs; separate 0/Ctrl+0 shortcuts for geometry/full model reload; small bug 31581fixes in homology solver, handling of embedded entities, and Plugin(Crack). 31582 315832.10.1 (July 30, 2015): minor fixes. 31584 315852.10.0 (July 21, 2015): improved periodic meshing constraints; new Physical 31586specification with both label and numeric id; images can now be used as glyphs 31587in post-processing views, using text annotations with the `file://' prefix; 31588Views can be grouped and organized in subtrees; improved visibility browser 31589navigation; geometrical entities and post-processing views can now react to 31590double-clicks, via new generic DoubleClicked options; new Get/SetNumber and 31591Get/SetString for direct access to ONELAB variables; small bug fixes and code 31592cleanups. 31593
315942.9.3 (April 18, 2015): updated versions of PETSc/SLEPc and OpenCASCADE/OCE 31595libraries used in official binary builds; new Find() command; miscellaneous code 31596cleanups and small fixes. 31597 315982.9.2 (March 31, 2015): added support for extrusion of embedded points/curves; 31599improved hex-dominant algorithm; fixed crashes in quad algorithm; fix regression 31600in MED reader introduced in 2.9.0; new dark interface mode. 31601 316022.9.1 (March 18, 2015): minor bug fixes. 31603 316042.9.0 (March 12, 2015): improved robustness of spatial searches (extruded meshes, 31605geometry coherence); improved reproductibility of 2D and 3D meshes; added 31606support for high resolution ("retina") graphics; interactive graph point 31607commands; on-the-fly creation of onelab clients in scripts; general periodic 31608meshes using afine transforms; scripted selection of entities in bounding boxes; 31609extended string and list handling functions; many small improvements and bug 31610fixes. 31611 316122.8.5 (Jul 9, 2014): improved stability and error handling, better Coherence 31613function, updated onelab API version and inline parameter definitions, new 31614background image modes, more robust Triangulate/Tetrahedralize plugins, new PGF 31615output, improved support for string~index variable names in parser, small 31616improvements and bug fixes all over the place. 31617 316182.8.4 (Feb 7, 2014): better reproductibility of 2D meshes; new mandatory 'Name' 31619attribute to define onelab variables in DefineConstant[] & co; new 31620-setnumber/-setstring command line arguments; small improvements and bug fixes. 31621 316222.8.3 (Sep 27, 2013): new quick access menu and multiple view selection in GUI; 31623enhanced animation creation; many small enhancements and bug fixes. 31624 316252.8.2 (Jul 16, 2013): improved high order tools interface; minor bug fixes. 31626 316272.8.1 (Jul 11, 2013): improved compound surfaces and transfinite arrangements. 31628 316292.8.0 (Jul 8, 2013): improved Delaunay point insertion; fixed mesh orientation 31630of plane surfaces; fixed mesh size prescribed at embedded points; improved 31631display of vectors at COG; new experimental text string display engines; 31632improved fullscreen mode; access time/step in transformations; new experimental 31633features: AdaptMesh and Surface In Volume; accept unicode file paths on Windows; 31634compilation and bug fixes. 31635 316362.7.1 (May 11, 2013): improved Delaunay point insertion; updated onelab; better 31637Abaqus and UNV export; small bug and compilation fixes. 31638 316392.7.0 (Mar 9, 2013): new single-window GUI, with dynamically customizable 31640widget tree; faster STEP/BRep import; arbitrary size image export; faster 2D 31641Delaunay/Frontal algorithms; full option viewer/editor; many bug fixes. 31642 316432.6.1 (Jul 15, 2012): minor improvements and bug fixes. 31644 316452.6.0 (Jun 19, 2012): new quadrilateral meshing algorithms (Blossom and 31646Delaunay-Frontal for quads); new solver module based on ONELAB project (requires 31647FLTK 1.3); new tensor field visualization modes (eigenvectors, ellipsoid, etc.); 31648added support for interpolation schemes in .msh file; added support for MED3 31649format; rescale viewport around visible entities (shift+1:1 in GUI); unified 31650post-processing field export; new experimental stereo+camera visualization mode; 31651added experimental BAMG & Mmg3D support for anisotropic mesh generation; new OCC 31652cut & merge algorithm imported from Salome; new ability to connect extruded 31653meshes to tetrahedral grids using pyramids; new homology solver; Abaqus (INP) 31654mesh export; new Python and Java wrappers; bug fixes and small improvements all 31655over the place. 31656 316572.5.0 (Oct 15, 2010): new compound geometrical entities (for remeshing and/or 31658trans-patch meshing); improved mesh reclassification tool; new client/server 31659visualization mode; new ability to watch a pattern of files to merge; new 31660integrated MPEG export; new option to force the type of views dynamically; 31661bumped mesh version format to 2.2 (small change in the meaning of the partition 31662tags; this only affects partitioned (i.e. parallel) meshes); renamed several 31663post-processing plugins (as well as plugin options) to make them easier to 31664understand; many bug fixes and usability improvements all over the place. 31665
316662.4.2 (Sep 21, 2009): solver code refactoring + better IDE integration. 31667 316682.4.1 (Sep 1, 2009): fixed surface mesh orientation bug introduced in 2.4.0; 31669mesh and graphics code refactoring, small usability enhancements and bug fixes. 31670 316712.4.0 (Aug 22, 2009): switched build system to CMake; optionally copy 31672transfinite mesh constraints during geometry transformations; bumped mesh 31673version format to 2.1 (small change in the $PhysicalNames section, where the 31674group dimension is now required); ported most plugins to the new 31675post-processing API; switched from MathEval to MathEx and Flu_Tree_Browser to 31676Fl_Tree; small bug fixes and improvements all over the place. 31677 316782.3.1 (Mar 18, 2009): removed GSL dependency (Gmsh now simply uses Blas and 31679Lapack); new per-window visibility; added support for composite window printing 31680and background images; fixed string option affectation in parser; fixed surface 31681mesh orientation for OpenCASCADE models; fixed random triangle orientations in 31682Delaunay and Frontal algorithms. 31683 316842.3.0 (Jan 23, 2009): major graphics and GUI code refactoring; new 31685full-quad/hexa subdivision algorithm; improved automatic transfinite corner 31686selection (now also for volumes); improved visibility browser; new automatic 31687adaptive visualization for high-order simplices; modified arrow size, clipping 31688planes and transform options; many improvements and bug fixes all over the 31689place. 31690 316912.2.6 (Nov 21, 2008): better transfinite smoothing and automatic corner 31692selection; fixed high order meshing crashes on Windows and Linux; new uniform 31693mesh refinement (thanks Brian!); fixed various other small bugs. 31694 316952.2.5 (Oct 25, 2008): Gmsh now requires FLTK 1.1.7 or above; various small 31696improvements (STL and VTK mesh I/O, Netgen upgrade, Visual C++ support, Fields, 31697Mesh.{Msh,Stl,...}Binary changed to Mesh.Binary) and bug fixes (pyramid 31698interpolation, Chaco crashes). 31699 317002.2.4 (Aug 14, 2008): integrated Metis and Chaco mesh partitioners; variables 31701can now be deleted in geo files; added support for point datasets in model-based 31702postprocessing views; small bug fixes. 31703 317042.2.3 (Jul 14, 2008): enhanced clipping interface; API cleanup; fixed various 31705bugs (Plugin(Integrate), high order meshes, surface info crash). 31706 317072.2.2 (Jun 20, 2008): added geometrical transformations on volumes; fixed bug in 31708high order mesh generation. 31709 317102.2.1 (Jun 15, 2008): various small improvements (adaptive views, GUI, code 31711cleanup) and bug fixes (high order meshes, Netgen interface). 31712 317132.2.0 (Apr 19, 2008): new model-based post-processing backend; added MED I/O for 31714mesh and post-processing; fixed BDF vertex ordering for 2nd order elements; 31715replaced Mesh.ConstrainedBackgroundMesh with 31716Mesh.CharacteristicLength{FromPoints,ExtendFromBoundary}; new Fields interface; 31717control windows are now non-modal by default; new experimental 2D frontal 31718algorithm; fixed various bugs. 31719 317202.1.1 (Mar 1, 2008): small bug fixes (second order meshes, combine views, divide 31721and conquer crash, ...). 31722 317232.1.0 (Feb 23, 2008): new post-processing database; complete rewrite of 31724post-processing drawing code; improved surface mesh algorithms; improved 31725STEP/IGES/BREP support; new 3D mesh optimization algorithm; new default native 31726file choosers; fixed 'could not find extruded vertex' in extrusions; many 31727improvements and bug fixes all over the place. 31728 317292.0.8 (Jul 13, 2007): unused vertices are not saved in mesh files anymore; new 31730plugin GUI; automatic GUI font size selection; renamed 31731Plugin(DecomposeInSimplex) into Plugin(MakeSimplex); reintroduced enhanced 31732Plugin(SphericalRaise); clarified meshing algo names; new option to save groups 31733of nodes in UNV meshes; new background mesh infrastructure; many small 31734improvements and small bug fixes. 31735 317362.0.7 (Apr 3, 2007): volumes can now be defined from external CAD surfaces; 31737Delaunay/Tetgen algorithm is now used by default when available; re-added 31738support for Plot3D structured mesh format; added ability to export external CAD 31739models as GEO files (this only works for the limited set of geometrical 31740primitives available in the GEO language, of course--so trying to convert e.g. a 31741trimmed NURBS from a STEP file into a GEO file will fail); "lateral" entities 31742are now added at the end of the list returned by extrusion commands; fixed 31743various bugs. 31744 317452.0.0 (Feb 5, 2007): new geometry and mesh databases, with support for STEP and 31746IGES import via OpenCASCADE; complete rewrite of geometry and mesh drawing 31747code; complete rewrite of mesh I/O layer (with new native binary MSH format and 31748support for import/export of I-deas UNV, Nastran BDF, STL, Medit MESH and VRML 317491.0 files);
31749 added support for incomplete second order elements; new 2D and 3D 31750meshing algorithms; improved integration of Netgen and TetGen algorithms; 31751removed anisotropic meshing algorithm (as well as attractors); removed explicit 31752region number specification in extrusions; option changes in the graphical 31753interface are now applied instantaneously; added support for offscreen rendering 31754using OSMesa; added support for SVG output; added string labels for Physical 31755entities; lots of other improvements all over the place. 31756 317571.65 (May 15, 2006): new Plugin(ExtractEdges); fixed compilation errors with 31758gcc4.1; replaced Plugin(DisplacementRaise) and Plugin(SphericalRaise) with the 31759more flexible Plugin(Warp); better handling of discrete curves; new Status 31760command in parser; added option to renumber nodes in .msh files (to avoid holes 31761in the numbering sequence); fixed 2 special cases in quad->prism extrusion; 31762fixed saving of 2nd order hexas with negative volume; small bug fixes and 31763cleanups. 31764 317651.64 (Mar 18, 2006): Windows versions do no depend on Cygwin anymore; various 31766bug fixes and cleanups. 31767 317681.63 (Feb 01, 2006): post-processing views can now be exported as meshes; 31769improved background mesh handling (a lot faster, and more accurate); improved 31770support for input images; new Plugin(ExtractElements); small bug fixes and 31771enhancements. 31772 317731.62 (Jan 15, 2006): new option to draw color gradients in the background; 31774enhanced perspective projection mode; new "lasso" selection mode (same as 31775"lasso" zoom, but in selection mode); new "invert selection" button in the 31776visibility browser; new snapping grid when adding points in the GUI; nicer 31777normal smoothing; new extrude syntax (old syntax still available, but 31778deprecated); various small bug fixes and enhancements. 31779 317801.61 (Nov 29, 2005): added support for second order (curved) elements in 31781post-processor; new version (1.4) of post-processing file formats; new stippling 31782options for 2D plots; removed limit on allowed number of files on command line; 31783all "Combine" operations are now available in the parser; changed 31784View.ArrowLocation into View.GlyphLocation; optimized memory usage when loading 31785many (>1000) views; optimized loading and drawing of line meshes and 2D iso 31786views; optimized handling of meshes with large number of physical entities; 31787optimized vertex array creation for large post-processing views on 31788Windows/Cygwin; removed Discrete Line and Discrete Surface commands (the same 31789functionality can now be obtained by simply loading a mesh in .msh format); 31790fixed coloring by mesh partition; added option to light wireframe meshes and 31791views; new "mesh statistics" export format; new full-quad recombine option; new 31792Plugin(ModulusPhase); hexas and prisms are now always saved with positive 31793volume; improved interactive entity selection; new experimental Tetgen 31794integration; new experimental STL remeshing algorithm; various small bug fixes 31795and improvements. 31796 317971.60 (Mar 15, 2005): added support for discrete curves; new Window menu on Mac 31798OS X; generalized all octree-based plugins (CutGrid, StreamLines, Probe, etc.) 31799to handle all element types (and not only scalar and vector 31800triangles+tetrahedra); generalized Plugin(Evaluate), Plugin(Extract) and 31801Plugin(Annotate); enhanced clipping plane interface; new grid/axes/rulers for 3D 31802post-processing views (renamed the AbscissaName, NbAbscissa and AbscissaFormat 31803options to more general names in the process); better automatic positioning of 318042D graphs; new manipulator dialog to specify rotations, translations and 31805scalings "by hand"; various small enhancements and bug fixes. 31806 318071.59 (Feb 06, 2005): added support for discrete (triangulated) surfaces, either 31808in STL format or with the new "Discrete Surface" command; added STL and Text 31809output format for post-processing views and STL output format for surface 31810meshes; all levelset-based plugins can now also compute isovolumes; generalized 31811Plugin(Evaluate) to handle external view data (based on the same or on a 31812different mesh); generalized Plugin(CutGrid); new plugins (Eigenvalues, 31813Gradient, Curl, Divergence); changed default colormap to match Matlab's "Jet" 31814colormap; new transformation matrix option for views (for non-destructive 31815rotations, symmetries, etc.); improved solver interface to keep the GUI 31816responsive during solver calls; new C++ and Python solver examples; simplified 31817Tools->Visibility GUI; transfinite lines with "Progression" now allow negative 31818line numbers to reverse the progression; added ability to retrieve Gmsh's 31819version number in the parser (to help write backward compatible scripts); fixed 31820white space in unv mesh output; fixed various small bugs. 31821 318221.58 (Jan 01, 2005): fixed UNIX socket interface on Windows (broken by the TCP 31823solver patch in 1.57); bumped version number of default post-processing file 31824formats to 1.3 (the only small modification is the handling of the end-of-string 31825character for text2d and text3d objects in the ASCII format); new File->Rename 31826menu; new colormaps+improved colormap handling; new color+min/max options in 31827views; new GetValue() function to ask for values interactively in scripts; 31828generalized For/EndFor loops in parser; new plugins (Annotate, Remove, Probe); 31829new text attributes in views; renamed some shortcuts; fixed TeX output for large 31830scenes; new option dialogs for various output formats; fixed many small memory 31831leaks in parser; many small enhancements to polish the graphics and the user 31832interface. 31833 318341.57 (Dec 23, 2004): generalized displacement maps to display arbitrary view 31835types;
31835 the arrows representing a vector field can now also be colored by the 31836values from other scalar, vector or tensor fields; new adaptive high order 31837visualization mode; new options (Solver.SocketCommand, Solver.NameCommand, 31838View.ArrowSizeProportional, View.Normals, View.Tangents and General.ClipFactor); 31839fixed display of undesired solver plugin popups; enhanced interactive plugin 31840behavior; new plugins (HarmonicToTime, Integrate, Eigenvectors); tetrahedral 31841mesh file reading speedup (50% faster on large meshes); large memory footprint 31842reduction (up to 50%) for the visualization of triangular/tetrahedral meshes; 31843the solver interface now supports TCP/IP connections; new generalized raise mode 31844(allows one to use complex expressions to offset post-processing maps); upgraded 31845Netgen kernel to version 4.4; new optional TIME list in parsed views to specify 31846the values of the time steps; several bug fixes in the Elliptic mesh algorithm; 31847various other small bug fixes and enhancements. 31848 318491.56 (Oct 17, 2004): new post-processing option to draw a scalar view raised by 31850a displacement view without using Plugin(DisplacementRaise) (makes drawing 31851arbitrary scalar fields on deformed meshes much easier); better post-processing 31852menu (arbitrary number of views+scrollable+show view number); improved 31853view->combine; new horizontal post-processing scales; new option to draw the 31854mesh nodes per element; views can now also be saved in "parsed" format; fixed 31855various path problems on Windows; small bug fixes. 31856 318571.55 (Aug 21, 2004): added background mesh support for Triangle; meshes can now 31858be displayed using "smoothed" normals (like post-processing views); added GUI 31859for clipping planes; new interactive clipping/cutting plane definition; 31860reorganized the Options GUI; enhanced 3D iso computation; enhanced lighting; 31861many small bug fixes. 31862 318631.54 (Jul 03, 2004): integrated Netgen (3D mesh quality optimization + 31864alternative 3D algorithm); Extrude Surface now always automatically creates a 31865new volume (in the same way Extrude Point or Extrude Line create new lines and 31866surfaces, respectively); fixed UNV output; made the "Layers" region numbering 31867consistent between lines, surfaces and volumes; fixed home directory problem on 31868Win98; new Plugin(CutParametric); the default project file is now created in the 31869home directory if no current directory is defined (e.g., when double-clicking on 31870the icon on Windows/Mac); fixed the discrepancy between the orientation of 31871geometrical surfaces and the associated surface meshes; added automatic 31872orientation of surfaces in surface loops; generalized Plugin(Triangulate) to 31873handle vector and tensor views; much nicer display of discrete iso-surfaces and 31874custom ranges using smooth normals; small bug fixes and cleanups. 31875 318761.53 (Jun 04, 2004): completed support for second order elements in the mesh 31877module (line, triangles, quadrangles, tetrahedra, hexahedra, prisms and 31878pyramids); various background mesh fixes and enhancements; major performance 31879improvements in mesh and post-processing drawing routines (OpenGL vertex arrays 31880for tri/quads); new Plugin(Evaluate) to evaluate arbitrary expressions on 31881post-processing views; generalized Plugin(Extract) to handle any combination of 31882components; generalized "Coherence" to handle transfinite surface/volume 31883attributes; plugin options can now be set in the option file (like all other 31884options); added "undo" capability during geometry creation; rewrote the contour 31885guessing routines so that entities can be selected in an arbitrary order; Mac 31886users can now double click on geo/msh/pos files in the Finder to launch Gmsh; 31887removed support for FLTK 1.0; rewrote most of the code related to quadrangles; 31888fixed 2d elliptic algorithm; removed all OpenGL display list code and options; 31889fixed light positioning; new BoundingBox command to set the bounding box 31890explicitly; added support for inexpensive "fake" transparency mode; many code 31891cleanups. 31892 318931.52 (May 06, 2004): new raster ("bitmap") PostScript/EPS/PDF output formats; 31894new Plugin(Extract) to extract a given component from a post-processing view; 31895new Plugin(CutGrid) and Plugin(StreamLines); improved mesh projection on 31896non-planar surfaces;
31896 added support for second order tetrahedral elements; added 31897interactive control of element order; refined mesh entity drawing selection (and 31898renamed most of the corresponding options); enhanced log scale in 31899post-processing; better font selection; simplified View.Raise{X,Y,Z} by removing 31900the scaling; various bug fixes (default postscript printing mode, drawing of 3D 31901arrows/cylinders on Linux, default home directory on Windows, default initial 31902file browser directory, extrusion of points with non-normalized axes of 31903rotation, computation of the scene bounding box in scripts, + the usual 31904documentation updates). 31905 319061.51 (Feb 29, 2004): initial support for visualizing mesh partitions; integrated 31907version 2.0 of the MSH mesh file format; new option to compute post-processing 31908ranges (min/max) per time step; Multiple views can now be combined into multi 31909time step ones (e.g. for programs that generate data one time step at a time); 31910new syntax: #var[] returns the size of the list var[]; enhanced "gmsh -convert"; 31911temporary and error files are now created in the home directory to avoid file 31912permission issues; new 3D arrows; better lighting support; STL facets can now be 31913converted into individual geometrical surfaces; many other small improvements 31914and bug fixes (multi timestep tensors, color by physical entity, parser cleanup, 31915etc.). 31916 319171.50 (Dec 06, 2003): small changes to the visibility browser + made visibility 31918scriptable (new Show/Hide commands); fixed (rare) crash when deleting views; 31919split File->Open into File->Open and File->New to behave like most other 31920programs; Mac versions now use the system menu bar by default (if possible); 31921fixed bug leading to degenerate and/or duplicate tetrahedra in extruded meshes; 31922fixed crash when reloading sms meshes. 31923 319241.49 (Nov 30, 2003): made Merge, Save and Print behave like Include (i.e., open 31925files in the same directory as the main project file if the path is relative); 31926new Plugin(DecomposeInSimplex); new option View.AlphaChannel to set the 31927transparency factor globally for a post-processing view; new "Combine Views" 31928command; various bug fixes and cleanups. 31929 319301.48 (Nov 23, 2003): new DisplacementRaise plugin to plot arbitrary fields on 31931deformed meshes; generalized CutMap, CutPlane, CutSphere and Skin plugins to 31932handle all kinds of elements and fields; new "Save View[n]" command to save 31933views from a script; many small bug fixes (configure tests for libpng, handling 31934of erroneous options, multi time step scalar prism drawings, copy of surface 31935mesh attributes, etc.). 31936 319371.47 (Nov 12, 2003): fixed extrusion of surfaces defined by only two curves; new 31938syntax to retrieve point coordinates and indices of entities created through 31939geometrical transformations; new PDF and compressed PostScript output formats; 31940fixed numbering of elements created with "Extrude Point/Line"; use $GMSH_HOME as 31941home directory if defined. 31942 319431.46 (Aug 23, 2003): fixed crash for very long command lines; new options for 31944setting the displacement factor and Triangle's parameters + renamed a couple of 31945options to more sensible names (View.VectorType, View.ArrowSize); various small 31946bug fixes; documentation update. 31947 319481.45 (Jun 14, 2003): small bug fixes (min/max computation for tensor views, 31949missing physical points in read mesh, "jumping" geometry during interactive 31950manipulation of large models, etc.); variable definition speedup; restored 31951support for second order elements in one- and two-dimensional meshes; 31952documentation updates. 31953 319541.44 (Apr 21, 2003): new reference manual; added support for PNG output; fixed 31955small configure script bugs. 31956 319571.43 (Mar 28, 2003): fixed solver interface problem on Mac OS X; new option to 31958specify the interactive rotation center (default is now the pseudo "center of 31959gravity" of the object, instead of (0,0,0)). 31960 319611.42 (Mar 19, 2003): suppressed the automatic addition of a ".geo" extension if 31962the file given on the command line is not recognized; added missing Layer option 31963for Extrude Point; fixed various small bugs. 31964 319651.41 (Mar 04, 2003): Gmsh is now licensed under the GNU General Public License; 31966general code cleanup (indent). 31967 319681.40 (Feb 26, 2003): various small bug fixes (mainly GSL-related). 31969 319701.39 (Feb 23, 2003): removed all non-free routines; more build system work; 31971implemented Von-Mises tensor display for all element types; fixed small GUI 31972bugs. 31973 319741.38 (Feb 17, 2003): fixed custom range selection for 3D iso graphs; new build 31975system based on autoconf; new image reading code to import bitmaps as 31976post-processing views. 31977 319781.37 (Jan 25, 2003): generalized smoothing and cuts of post-processing views; 31979better Windows integration (solvers, external editors, etc.); small bug fixes. 31980 319811.36 (Nov 20, 2002): enhanced view duplication (one can now use "Duplicata 31982View[num]" in the input file); merged all option dialogs in a new general option 31983window; enhanced discoverability of the view option menus; new 3D point and line 31984display; many small bug fixes and enhancements ("Print" format in parser, 31985post-processing statistics, smooth normals, save window positions, restore 31986default options, etc.). 31987 319881.35 (Sep 11, 2002): graphical user interface upgraded to FLTK 1.1 (tooltips, 31989new file chooser with multiple selection, full keyboard navigation, cut/paste of 31990messages, etc.); colors can be now be directly assigned to mesh entities; 31991initial tensor visualization; new keyboard animation (right/left arrow for time 31992steps; up/down arrow for view cycling); new VRML output format for surface 31993meshes; new plugin for spherical elevation plots; new post-processing file
31994format (version 1.2) supporting quadrangles, hexahedra, prisms and pyramids; 31995transparency is now enabled by default for post-processing plots; many small bug 31996fixes (read mesh, ...). 31997 319981.34 (Feb 18, 2002): improved surface mesh of non-plane surfaces; fixed 31999orientation of elements in 2D anisotropic algorithm; minor user interface polish 32000and additions (mostly in post-processing options); various small bug fixes. 32001 320021.33 (Jan 24, 2002): new parameterizable solver interface (allowing up to 5 32003user-defined solvers); enhanced 2D aniso algorithm; 3D initial mesh speedup. 32004 320051.32 (Oct 04, 2001): new visibility browser; better floating point exception 32006checks; fixed infinite looping when merging meshes in project files; various 32007small clean ups (degenerate 2D extrusion, view->reload, ...). 32008 320091.31 (Nov 30, 2001): corrected ellipses; PostScript output update (better 32010shading, new combined PS/LaTeX output format); more interface polish; fixed 32011extra memory allocation in 2D meshes; Physical Volume handling in unv format; 32012various small fixes. 32013 320141.30 (Nov 16, 2001): interface polish; fix crash when extruding quadrangles. 32015 320161.29 (Nov 12, 2001): translations and rotations can now be combined in 32017extrusions; fixed coherence bug in Extrude Line; various small bug fixes and 32018additions. 32019 320201.28 (Oct 30, 2001): corrected the 'Using Progression' attribute for tranfinite 32021meshes to actually match a real geometric progression; new Triangulate plugin; 32022new 2D graphs (space+time charts); better performance of geometrical 32023transformations (warning: the numbering of some automatically created entities 32024has changed); new text primitives in post-processing views (file format updated 32025to version 1.1); more robust mean plane computation and error checks; various 32026other small additions and clean-ups. 32027 320281.27 (Oct 05, 2001): added ability to extrude curves with Layers/Recombine 32029attributes; new PointSize/LineWidth options; fixed For/EndFor loops in included 32030files; fixed error messages (line numbers+file names) in loops and functions; 32031made the automatic removal of duplicate geometrical entities optional 32032(Geometry.AutoCoherence=0); various other small bug fixes and clean-ups. 32033 320341.26 (Sep 06, 2001): enhanced 2D anisotropic mesh generator (metric 32035intersections); fixed small bug in 3D initial mesh; added alternative syntax for 32036built-in functions (for GetDP compatibility); added line element display; Gmsh 32037now saves all the elements in the mesh if no physical groups are defined (or if 32038Mesh.SaveAll=1). 32039 320401.25 (Sep 01, 2001): fixed bug with mixed recombined/non-recombined extruded 32041meshes; Linux versions are now build with no optimization, due to bugs in gcc 320422.95.X. 32043 320441.24 (Aug 30, 2001): fixed characteristic length interpolation for Splines; 32045fixed edge swapping bug in 3D initial mesh; fixed degenerated case in 32046geometrical extrusion (ruled surface with 3 borders); fixed generation of 32047degenerated hexahedra and prisms for recombined+extruded meshes; added BSplines 32048creation in the GUI; integrated Jonathan Shewchuk's Triangle as an alternative 32049isotropic 2D mesh generator; added AngleSmoothNormals to control sharp edge 32050display with smoothed normals; fixed random crash for lighted 3D iso surfaces. 32051 320521.23 (Aug, 2001): fixed duplicate elements generation + non-matching tetrahedra 32053faces in 3D extruded meshes; better display of displacement maps; fixed 32054interactive ellipsis construction; generalized boundary operator; added new 32055explode option for post-processing views; enhanced link view behavior (to update 32056only the changed items); added new default plugins: Skin, Transform, Smooth; 32057fixed various other small bugs (mostly in the post-processing module and for 32058extruded meshes). 32059 320601.22 (Aug 03, 2001): fixed (yet another) bug for 2D mesh in the mean plane; 32061fixed surface coherence bug in extruded meshes; new double logarithmic scale, 32062saturate value and smoothed normals option for post-processing views; plugins 32063are now enabled by default; three new experimental statically linked plugins: 32064CutMap (extracts a given iso surface from a 3D scalar map), CutPlane (cuts a 3D 32065scalar map with a plane section), CutSphere (cuts a 3D scalar map with a 32066sphere); various other bug fixes, additions and clean-ups. 32067 320681.21 (Jul 25, 2001): fixed more memory leaks;
32068 added -opt command line option to 32069parse definitions directly from the command line; fixed missing screen refreshes 32070during contour/surface/volume selection; enhanced string manipulation functions 32071(Sprintf, StrCat, StrPrefix); many other small fixes and clean-ups. 32072 320731.20 (Jun 14, 2001): fixed various bugs (memory leaks, functions in included 32074files, solver command selection, ColorTable option, duplicate nodes in extruded 32075meshes (not finished yet), infinite loop on empty views, orientation of 32076recombined quadrangles, ...); reorganized the interface menus; added constrained 32077background mesh and mesh visibility options; added mesh quality histograms; 32078changed default mesh colors; reintegrated the old command-line extrusion mesh 32079generator. 32080 320811.19 (May 07, 2001): fixed seg. fault for scalar simplex post-processing; new 32082Solver menu; interface for GetDP solver through sockets; fixed multiple scale 32083alignment; added some options + full option descriptions. 32084 320851.18 (Apr 26, 2001): fixed many small bugs and incoherences in post-processing; 32086fixed broken background mesh in 1D mesh generation. 32087 320881.17 (Apr 17, 2001): corrected physical points saving; fixed parsing of DOS 32089files (carriage return problems); easier geometrical selections (cursor change); 32090plugin manager; enhanced variable arrays (sublist selection and affectation); 32091line loop check; New arrow display; reduced number of 'fatal' errors + better 32092handling in interactive mode; fixed bug when opening meshes; enhanced File->Open 32093behavior for meshes and post-processing views. 32094 320951.16 (Feb 26, 2001): added single/double buffer selection (only useful for Unix 32096versions of Gmsh run from remote hosts without GLX); fixed a bug for recent 32097versions of the opengl32.dll on Windows, which caused OpenGL fonts not to show 32098up. 32099 321001.15 (Feb 23, 2001): added automatic visibility setting during entity selection; 32101corrected geometrical extrusion bug. 32102 321031.14 (Feb 17, 2001): corrected a few bugs in the GUI (most of them were 32104introduced in 1.13); added interactive color selection; made the option database 32105bidirectional (i.e. scripts now correctly update the GUI); default options can 32106now be saved and automatically reloaded at startup; made some changes to the 32107scripting syntax (PostProcessing.View[n] becomes View[n]; Offset0 becomes 32108OffsetX, etc.); corrected the handling of simple triangular surfaces with large 32109characteristic lengths in the 2D isotropic algorithm; added an ASCII to binary 32110post-processing view converter. 32111 321121.13 (Feb 09, 2001): added support for JPEG output on Windows. 32113 321141.12: corrected vector lines in the post-processing parsed format; corrected 32115animation on Windows; corrected file creation in scripts on Windows; direct 32116affectation of variable arrays. 32117 321181.11 (Feb 07, 2001): corrected included file loading problem. 32119 321201.10 (Feb 04, 2001): switched from Motif to FLTK for the GUI. Many small tweaks. 32121 321221.00 (Jan 15, 2001): added PPM and YUV output; corrected nested If/Endif; 32123Corrected several bugs for pixel output and enhanced GIF output (dithering, 32124transparency); slightly changed the post-processing file format to allow both 32125single and double precision numbers. 32126 321270.999 (Dec 20, 2000): added JPEG output and easy MPEG generation (see t8.geo in 32128the tutorial); clean up of export functions; small fixes; Linux versions are now 32129compiled with gcc 2.95.2, which should fix the problems encountered with 32130Mandrake 7.2. 32131 321320.998 (Dec 19, 2000): corrected bug introduced in 0.997 in the generation of the 32133initial 3D mesh. 32134 321350.997 (Dec 14, 2000): corrected bug in interactive surface/volume selection; 32136Added interactive symmetry; corrected geometrical extrusion with rotation in 32137degenerated or partially degenerated cases; corrected bug in 2D mesh when 32138meshing in the mean plane. 32139 321400.996: arrays of variables; enhanced Printf and Sprintf; Simplified options 32141(suppression of option arrays). 32142 321430.995 (Dec 11, 2000): totally rewritten geometrical database (performance has 32144been drastically improved for all geometrical transformations, and most notably 32145for extrusion). As a consequence, the internal numbering of geometrical entities 32146has changed: this will cause incompatibilities with old .geo files, and will 32147require a partial rewrite of your old .geo files if these files made use of 32148geometrical transformations. The syntax of the .geo file has also been 32149clarified. Many additions for scripting purposes. New extrusion mesh 32150generator. Preliminary version of the coupling between extruded and Delaunay 32151meshes. New option and procedural database. All interactive operations can be 32152scripted in the input files. See the last example in the tutorial for an 32153example. Many stability enhancements in the 2D and 3D mesh 32154algorithms. Performance boost of the 3D algorithm. Gmsh is still slow, but the 32155performance becomes acceptable. An average 1000 tetrahedra/second is obtained on 32156a 600Mhz computer for a mesh of one million tetrahedra. New anisotropic 2D mesh 32157algorithm. New (ASCII and binary) post-processing file format and clarified mesh 32158file format. New handling for interactive rotations (trackball mode). New 32159didactic interactive mesh construction (watch the Delaunay algorithm in real 32160time on complex geometries: that's exciting ;-). And many, many bug fixes and 32161cleanups. 32162 321630.992 (Nov 13, 2000): corrected recombined extrusion; corrected ellipses; added 32164simple automatic animation of post-processing maps; fixed various bugs. 32165 321660.991 (Oct 24, 2000): fixed a serious allocation bug in 2D algorithm, which 32167caused random crashes. All users should upgrade to 0.991. 32168 321690.990: bug fix in non-recombined 3D transfinite meshes. 32170 321710.989 (Sep 01, 2000): added ability to reload previously saved meshes; some new 32172command line options; reorganization of the scale menu; GIF output. 32173 321740.987: fixed bug with smoothing (leading to the possible generation of erroneous 321753d meshes); corrected bug for mixed 3D meshes; moved the 'toggle view link' 32176option to Opt->Postprocessing_Options. 32177 321780.986: fixed overlay problems; SGI version should now also run on 32 bits 32179machines; fixed small 3d mesh bug. 32180 321810.985: corrected colormap bug on HP, SUN, SGI and IBM versions; corrected small 32182initialization bug in postscript output. 32183 321840.984: corrected bug in display lists; added some options in Opt->General. 32185 321860.983: corrected some seg. faults in interactive mode; corrected bug in 32187rotations; changed default window sizes for better match with 1024x768 screens 32188(default X resources can be changed: see ex03.geo). 32189 321900.982: lighting for mesh and post-processing;
32190 corrected 2nd order mesh on non 32191plane surfaces; added example 13. 32192</pre></div> 32193 32194 32195<hr> 32196<span id="Copyright-and-credits"></span><div class="header"> 32197<p> 32198Next: <a href="#License" accesskey="n" rel="next">License</a>, Previous: <a href="#Version-history" accesskey="p" rel="prev">Version history</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 32199</div> 32200<span id="Copyright-and-credits-1"></span><h2 class="appendix">Appendix E Copyright and credits</h2> 32201 32202<span id="index-Copyright-1"></span> 32203<span id="index-Acknowledgments"></span> 32204<span id="index-Contributors_002c-list"></span> 32205<span id="index-Credits"></span> 32206 32207<div class="format"> 32208<pre class="verbatim"> Gmsh is copyright (C) 1997-2025 32209 32210 Christophe Geuzaine 32211 <cgeuzaine at uliege.be> 32212 32213 and 32214 32215 Jean-Francois Remacle 32216 <jean-francois.remacle at uclouvain.be> 32217 32218Code contributions to Gmsh have been provided by David Colignon (colormaps), 32219Emilie Marchandise (old compound geometrical entities), Gaetan Bricteux (Gauss 32220integration and levelsets), Jacques Lechelle (DIFFPACK export), Jonathan
32221Lambrechts (mesh size fields, solver, Python wrappers), Jozef Vesely (old Tetgen 32222integration), Koen Hillewaert (high order elements, generalized periodic 32223meshes), Laurent Stainier (eigenvalue solvers, tensor display and help with 32224macOS port), Marc Ume (original list and tree code), Mark van Doesburg (old 32225OpenCASCADE face connection), Matt Gundry (Plot3d export), Matti Pellikka (cell 32226complex and homology solver), Nicolas Tardieu (help with Netgen integration), 32227Pascale Noyret (MED mesh IO), Pierre Badel (root finding and minimization), Ruth 32228Sabariego (pyramids), Stephen Guzik (old CGNS IO, old partitioning code), 32229Bastien Gorissen (parallel remote post-processing), Eric Bechet (solver), Gilles 32230Marckmann (camera and stero mode, X3D export), Ashish Negi (Netgen CAD healing), 32231Trevor Strickler (hybrid structured mesh coupling with pyramids), Amaury Johnen 32232(Bezier code, high-order element validity), Benjamin Ruard (old Java wrappers), 32233Maxime Graulich (iOS/Android port), Francois Henrotte (ONELAB metamodels), 32234Sebastian Eiser (PGF export), Alexis Salzman (compressed IO), Hang Si (TetGen/BR 32235boundary recovery code), Fernando Lorenzo (Tochnog export), Larry Price (Gambit 32236export), Anthony Royer (new partitioning code, MSH4 IO), Darcy Beurle (code 32237cleanup and performance improvements), Celestin Marot (HXT/tetMesh), 32238Pierre-Alexandre Beaufort (HXT/reparam), Zhidong Han (LSDYNA export), Ismail 32239Badia (hierarchical basis functions), Jeremy Theler (X3D export), Thomas 32240Toulorge (high order mesh optimizer, new CGNS IO), Max Orok (binary PLY), Marek 32241Wojciechowski (PyPi packaging), Maxence Reberol (automatic transfinite, quad 32242meshing tools), Michael Ermakov (Gambit IO, Fortran API, TransfiniteTri, 32243boundary layer fans), Alex Krasner (X3D export), Giannis Nikiteas (Fortran API, 32244OBJ import/export), Paul Sharp (Radioss export), Marco Failla (2D fillet/offset 32245and API additions). See comments in the sources for more information. If we 32246forgot to list your contributions please send us an email! 32247 32248Thanks to the following folks who have contributed by providing fresh ideas on 32249theoretical or programming topics, who have sent patches, requests for changes 32250or improvements, or who gave us access to exotic machines for testing Gmsh: Juan 32251Abanto, Olivier Adam, Guillaume Alleon, Laurent Champaney, Pascal Dupuis, 32252Patrick Dular, Philippe Geuzaine, Johan Gyselinck, Francois Henrotte, Benoit 32253Meys, Nicolas Moes, Osamu Nakamura, Chad Schmutzer, Jean-Luc Fl'ejou, Xavier 32254Dardenne, Christophe Prud'homme, Sebastien Clerc, Jose Miguel Pasini, Philippe 32255Lussou, Jacques Kools, Bayram Yenikaya, Peter Hornby, Krishna Mohan Gundu, 32256Christopher Stott, Timmy Schumacher, Carl Osterwisch, Bruno Frackowiak, Philip 32257Kelleners, Romuald Conty, Renaud Sizaire, Michel Benhamou, Tom De Vuyst, Kris 32258Van den Abeele, Simon Vun, Simon Corbin, Thomas De-Soza, Marcus Drosson, Antoine 32259Dechaume, Jose Paulo Moitinho de Almeida, Thomas Pinchard, Corrado Chisari, Axel 32260Hackbarth, Peter Wainwright, Jiri Hnidek, Thierry Thomas, Konstantinos Poulios, 32261Laurent Van Miegroet, Shahrokh Ghavamian, Geordie McBain, Jose Paulo Moitinho de 32262Almeida, Guillaume Demesy, Wendy Merks-Swolfs, Cosmin Stefan Deaconu, Nigel 32263Nunn, Serban Georgescu, Julien Troufflard, Michele Mocciola, Matthijs Sypkens 32264Smit, Sauli Ruuska, Romain Boman, Fredrik Ekre, Mark Burton, Max Orok, Paul 32265Cristini, Isuru Fernando, Jose Paulo Moitinho de Almeida, Sophie Le Bras, 32266Alberto Escrig, Samy Mukadi, Peter Johnston, Bruno de Sousa Alves, Stefan 32267Bruens, Luca Verzeroli, Tristan Seidlhofer, Ding Jiaming, Joost Gevaert, Marcus 32268Calhoun-Lopez, Michel Zou, Sir Sunsheep, Mariano Forti, Walter Steffe, Nico 32269Schloemer, Simon Tournier, Alexandru Dadalau, Thomas Ulrich, Matthias Diener, 32270Jamie Border, Kenneth Jansen, Steven Masfaraud, Sai Sumanth Moturu, Arie 32271Westland, Andreas Farley, Mahesh Madhav, Zoltan Csati, Thierry Hocquellet, 32272Christophe Bourcier, Mattéo Couplet, Giuseppe Musacchio, Romin Tomasetti, Lin Qi 32273Chen, Tim Furlan, Matthias Lang, Tim Gabriel, Julien Chapelat, Boris Martin, 32274Thomas Pirottin, Kazuyoshi Furutaka, Mariusz Wozniak, Christophe Friebel, 32275Thierry Thomas, Joonas Haapsaari, Jani V"alimaa, Erik Schaubelt, Louis Denis, 32276Francis Franklin, Florian Blachère, Aleksandr Artemyev, Carlos Ballesteros, 32277Theodore Chang, Tom Gillam, Francisco Orlandini, Simon Février, Jules Zaleski, 32278Valentin Boettcher, Lukas Hoghoj, Leo Lahti. 32279 32280Special thanks to Bill Spitzak, Michael Sweet, Matthias Melcher, Greg Ercolano 32281and others for the Fast Light Tool Kit on which Gmsh's GUI is based. See 32282http://www.fltk.org for more info on this excellent object-oriented, 32283cross-platform toolkit. Special thanks also to EDF for funding the original
32284OpenCASCADE and MED integration in 2006-2007. Gmsh development was also 32285financially supported by the PRACE project funded in part by the EU's Horizon 322862020 Research and Innovation programme (2014-2020) under grant agreement 823767. 32287 32288The TetGen/BR code (src/mesh/tetgenBR.{cpp,h}) is copyright (c) 2016 Hang Si, 32289Weierstrass Institute for Applied Analysis and Stochatics. It is relicensed 32290under the terms of LICENSE.txt for use in Gmsh thanks to a Software License 32291Agreement between Weierstrass Institute for Applied Analysis and Stochastics and 32292GMESH SPRL. 32293 32294The AVL tree code (src/common/avl.{cpp,h}) and the YUV image code 32295(src/graphics/gl2yuv.{cpp,h}) are copyright (C) 1988-1993, 1995 The Regents of 32296the University of California. Permission to use, copy, modify, and distribute 32297this software and its documentation for any purpose and without fee is hereby 32298granted, provided that the above copyright notice appear in all copies and that 32299both that copyright notice and this permission notice appear in supporting 32300documentation, and that the name of the University of California not be used in 32301advertising or publicity pertaining to distribution of the software without 32302specific, written prior permission. The University of California makes no 32303representations about the suitability of this software for any purpose. It is 32304provided "as is" without express or implied warranty. 32305 32306The picojson code (src/common/picojson.h) is Copyright 2009-2010 Cybozu Labs, 32307Inc., Copyright 2011-2014 Kazuho Oku, All rights reserved. Redistribution and 32308use in source and binary forms, with or without modification, are permitted 32309provided that the following conditions are met: 1. Redistributions of source 32310code must retain the above copyright notice, this list of conditions and the 32311following disclaimer. 2. Redistributions in binary form must reproduce the above 32312copyright notice, this list of conditions and the following disclaimer in the 32313documentation and/or other materials provided with the distribution. THIS 32314SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 32315EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 32316WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 32317DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR 32318ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 32319(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 32320LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 32321ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 32322(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 32323SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32324 32325The nanoflann code (src/numeric/nanoflann.hpp) is Copyright 2008-2009 Marius 32326Muja, 2008-2009 David G. Lowe, 2011-2016 Jose Luis Blanco. Redistribution and 32327use in source and binary forms, with or without modification, are permitted 32328provided that the following conditions are met: 1. Redistributions of source 32329code must retain the above copyright notice, this list of conditions and the 32330following disclaimer. 2. Redistributions in binary form must reproduce the 32331above copyright notice, this list of conditions and the following disclaimer in 32332the documentation and/or other materials provided with the distribution. THIS 32333SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED 32334WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 32335MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT 32336SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 32337EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 32338OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 32339INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 32340CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 32341IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 32342OF SUCH DAMAGE. 32343
32344The trackball code (src/graphics/Trackball.{cpp.h}) is copyright (C) 1993, 1994, 32345Silicon Graphics, Inc. ALL RIGHTS RESERVED. Permission to use, copy, modify, and 32346distribute this software for any purpose and without fee is hereby granted, 32347provided that the above copyright notice appear in all copies and that both the 32348copyright notice and this permission notice appear in supporting documentation, 32349and that the name of Silicon Graphics, Inc. not be used in advertising or 32350publicity pertaining to distribution of the software without specific, written 32351prior permission. 32352 32353The GIF and PPM routines (src/graphics/gl2gif.cpp) are based on code copyright 32354(C) 1989, 1991, Jef Poskanzer. Permission to use, copy, modify, and distribute 32355this software and its documentation for any purpose and without fee is hereby 32356granted, provided that the above copyright notice appear in all copies and that 32357both that copyright notice and this permission notice appear in supporting 32358documentation. This software is provided "as is" without express or implied 32359warranty. 32360 32361The colorbar widget (src/fltk/colorbarWindow.cpp) was inspired by code from the 32362Vis5d program for visualizing five dimensional gridded data sets, copyright (C) 323631990-1995, Bill Hibbard, Brian Paul, Dave Santek, and Andre Battaiola. 32364 32365The libOL code (src/common/libol1.{c,h}) is Copyright 2012-2018 - by Loïc 32366Maréchal / INRIA. This program is a free software. You can redistribute it 32367and/or modify it under the terms of the MIT License as published by the Open 32368Source Initiative. 32369 32370The Fast & memory efficient hashtable based on robin hood hashing 32371(src/common/robin_hood.h) is Copyright (c) 2018-2020 Martin Ankerl and is 32372licensed under the MIT License. 32373 32374In addition, this version of Gmsh may contain the following contributed, 32375optional codes in the contrib/ directory, each governed by their own license: 32376 32377* contrib/ANN copyright (C) 1997-2010 University of Maryland and Sunil Arya and 32378 David Mount; 32379 32380* contrib/gmm copyright (C) 2002-2008 Yves Renard; 32381 32382* contrib/hxt - Copyright (C) 2017-2020 - Universite catholique de Louvain; 32383 32384* contrib/kbipack copyright (C) 2005 Saku Suuriniemi; 32385 32386* contrib/MathEx based in part on the work of the SSCILIB Library, copyright (C) 32387 2000-2003 Sadao Massago; 32388 32389* contrib/metis written by George Karypis (karypis at cs.umn.edu), copyright (C) 32390 1995-2013 Regents of the University of Minnesota; 32391 32392* contrib/mpeg_encode copyright (c) 1995 The Regents of the University of 32393 California; 32394 32395* contrib/Netgen copyright (C) 1994-2004 Joachim Sch"oberl; 32396 32397* contrib/bamg from Freefem++ copyright (C) Frederic Hecht; 32398 32399* contrib/ALGLIB (C) Sergey Bochkanov (ALGLIB project); 32400 32401* contrib/blossom copyright (C) 1995-1997 Bill Cook et al.; 32402 32403* contrib/bamg from Freefem++ copyright (C) Frederic Hecht; 32404 32405* contrib/tinyxml2 from Lee Thomason; 32406 32407* contrib/voro++ from Voro++ Copyright (c) 2008, The Regents of the University 32408 of California, through Lawrence Berkeley National Laboratory (subject to 32409 receipt of any required approvals from the U.S. Dept. of Energy). All rights 32410 reserved; 32411 32412* contrib/zipper from MiniZip - Copyright (c) 1998-2010 - by Gilles Vollant - 32413 version 1.1 64 bits from Mathias Svensson. 32414 32415Check the configuration options to see which have been enabled. 32416</pre></div> 32417 32418 32419<hr> 32420<span id="License"></span><div class="header"> 32421<p> 32422Next: <a href="#Concept-index" accesskey="n" rel="next">Concept index</a>, Previous: <a href="#Copyright-and-credits" accesskey="p" rel="prev">Copyright and credits</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 32423</div> 32424<span id="License-1"></span><h2 class="appendix">Appendix F License</h2> 32425 32426<span id="index-License-1"></span> 32427 32428<div class="format"> 32429<pre class="verbatim">Gmsh is provided under the terms of the GNU General Public License 32430(GPL), Version 2 or later, with the following exception: 32431 32432 The copyright holders of Gmsh give you permission to combine Gmsh 32433 with code included in the standard release of Netgen (from Joachim 32434 Sch"oberl), METIS (from George Karypis at the University of 32435 Minnesota), OpenCASCADE (from Open CASCADE S.A.S) and ParaView 32436 (from Kitware, Inc.) under their respective licenses. You may copy 32437 and distribute such a system following the terms of the GNU GPL for
32438 Gmsh and the licenses of the other code concerned, provided that 32439 you include the source code of that other code when and as the GNU 32440 GPL requires distribution of source code. 32441 32442 Note that people who make modified versions of Gmsh are not 32443 obligated to grant this special exception for their modified 32444 versions; it is their choice whether to do so. The GNU General 32445 Public License gives permission to release a modified version 32446 without this exception; this exception also makes it possible to 32447 release a modified version which carries forward this exception. 32448 32449End of exception. 32450 32451 GNU GENERAL PUBLIC LICENSE 32452 Version 2, June 1991 32453 32454 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 32455 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 32456 Everyone is permitted to copy and distribute verbatim copies 32457 of this license document, but changing it is not allowed. 32458 32459 Preamble 32460 32461 The licenses for most software are designed to take away your 32462freedom to share and change it. By contrast, the GNU General Public 32463License is intended to guarantee your freedom to share and change free 32464software--to make sure the software is free for all its users. This 32465General Public License applies to most of the Free Software 32466Foundation's software and to any other program whose authors commit to 32467using it. (Some other Free Software Foundation software is covered by 32468the GNU Library General Public License instead.) You can apply it to 32469your programs, too. 32470 32471 When we speak of free software, we are referring to freedom, not 32472price. Our General Public Licenses are designed to make sure that you 32473have the freedom to distribute copies of free software (and charge for 32474this service if you wish), that you receive source code or can get it 32475if you want it, that you can change the software or use pieces of it 32476in new free programs; and that you know you can do these things. 32477 32478 To protect your rights, we need to make restrictions that forbid 32479anyone to deny you these rights or to ask you to surrender the rights. 32480These restrictions translate to certain responsibilities for you if you 32481distribute copies of the software, or if you modify it. 32482 32483 For example, if you distribute copies of such a program, whether 32484gratis or for a fee, you must give the recipients all the rights that 32485you have. You must make sure that they, too, receive or can get the 32486source code. And you must show them these terms so they know their 32487rights. 32488 32489 We protect your rights with two steps: (1) copyright the software, and 32490(2) offer you this license which gives you legal permission to copy, 32491distribute and/or modify the software. 32492 32493 Also, for each author's protection and ours, we want to make certain 32494that everyone understands that there is no warranty for this free 32495software. If the software is modified by someone else and passed on, we 32496want its recipients to know that what they have is not the original, so 32497that any problems introduced by others will not reflect on the original 32498authors' reputations. 32499 32500 Finally, any free program is threatened constantly by software 32501patents. We wish to avoid the danger that redistributors of a free 32502program will individually obtain patent licenses, in effect making the 32503program proprietary. To prevent this, we have made it clear that any 32504patent must be licensed for everyone's free use or not licensed at all. 32505 32506 The precise terms and conditions for copying, distribution and 32507modification follow. 32508 32509 GNU GENERAL PUBLIC LICENSE 32510 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 32511 32512 0. This License applies to any program or other work which contains 32513a notice placed by the copyright holder saying it may be distributed 32514under the terms of this General Public License. The "Program", below, 32515refers to any such program or work, and a "work based on the Program" 32516means either the Program or any derivative work under copyright law: 32517that is to say, a work containing the Program or a portion of it, 32518either verbatim or with modifications and/or translated into another 32519language. (Hereinafter, translation is included without limitation in 32520the term "modification".) Each licensee is addressed as "you". 32521 32522Activities other than copying, distribution and modification are not 32523covered by this License; they are outside its scope. The act of 32524running the Program is not restricted, and the output from the Program 32525is covered only if its contents constitute a work based on the 32526Program (independent of having been made by running the Program). 32527Whether that is true depends on what the Program does. 32528 32529 1. You may copy and distribute verbatim copies of the Program's 32530source code as you receive it, in any medium, provided that you 32531conspicuously and appropriately publish on each copy an appropriate 32532copyright notice and disclaimer of warranty; keep intact all the 32533notices that refer to this License and to the absence of any warranty; 32534and give any other recipients of the Program a copy of this License 32535along with the Program. 32536 32537You may charge a fee for the physical act of transferring a copy, and 32538you may at your option offer warranty protection in exchange for a fee. 32539 32540 2. You may modify your copy or copies of the Program or any portion 32541of it, thus forming a work based on the Program, and copy and 32542distribute such modifications or work under the terms of Section 1 32543above, provided that you also meet all of these conditions: 32544 32545 a) You must cause the modified files to carry prominent notices 32546 stating that you changed the files and the date of any change. 32547 32548 b) You must cause any work that you distribute or publish, that in 32549 whole or in part contains or is derived from the Program or any 32550 part thereof, to be licensed as a whole at no charge to all third 32551 parties under the terms of this License. 32552 32553 c) If the modified program normally reads commands interactively 32554 when run, you must cause it, when started running for such 32555 interactive use in the most ordinary way, to print or display an 32556 announcement including an appropriate copyright notice and a 32557 notice that there is no warranty (or else, saying that you provide 32558 a warranty) and that users may redistribute the program under 32559 these conditions, and telling the user how to view a copy of this 32560 License. (Exception: if the Program itself is interactive but 32561 does not normally print such an announcement, your work based on 32562 the Program is not required to print an announcement.) 32563 32564These requirements apply to the modified work as a whole. If 32565identifiable sections of that work are not derived from the Program, 32566and can be reasonably considered independent and separate works in 32567themselves, then this License, and its terms, do not apply to those 32568sections when you distribute them as separate works. But when you 32569distribute the same sections as part of a whole which is a work based 32570on the Program, the distribution of the whole must be on the terms of 32571this License, whose permissions for other licensees extend to the 32572entire whole, and thus to each and every part regardless of who wrote it. 32573 32574Thus, it is not the intent of this section to claim rights or contest 32575your rights to work written entirely by you; rather, the intent is to 32576exercise the right to control the distribution of derivative or 32577collective works based on the Program. 32578 32579In addition, mere aggregation of another work not based on the Program 32580with the Program (or with a work based on the Program) on a volume of 32581a storage or distribution medium does not bring the other work under 32582the scope of this License. 32583 32584 3. You may copy and distribute the Program (or a work based on it,
32585under Section 2) in object code or executable form under the terms of 32586Sections 1 and 2 above provided that you also do one of the following: 32587 32588 a) Accompany it with the complete corresponding machine-readable 32589 source code, which must be distributed under the terms of Sections 32590 1 and 2 above on a medium customarily used for software interchange; or, 32591 32592 b) Accompany it with a written offer, valid for at least three 32593 years, to give any third party, for a charge no more than your 32594 cost of physically performing source distribution, a complete 32595 machine-readable copy of the corresponding source code, to be 32596 distributed under the terms of Sections 1 and 2 above on a medium 32597 customarily used for software interchange; or, 32598 32599 c) Accompany it with the information you received as to the offer 32600 to distribute corresponding source code. (This alternative is 32601 allowed only for noncommercial distribution and only if you 32602 received the program in object code or executable form with such 32603 an offer, in accord with Subsection b above.) 32604 32605The source code for a work means the preferred form of the work for 32606making modifications to it. For an executable work, complete source 32607code means all the source code for all modules it contains, plus any 32608associated interface definition files, plus the scripts used to 32609control compilation and installation of the executable. However, as a 32610special exception, the source code distributed need not include 32611anything that is normally distributed (in either source or binary 32612form) with the major components (compiler, kernel, and so on) of the 32613operating system on which the executable runs, unless that component 32614itself accompanies the executable. 32615 32616If distribution of executable or object code is made by offering 32617access to copy from a designated place, then offering equivalent 32618access to copy the source code from the same place counts as 32619distribution of the source code, even though third parties are not 32620compelled to copy the source along with the object code. 32621 32622 4. You may not copy, modify, sublicense, or distribute the Program 32623except as expressly provided under this License. Any attempt 32624otherwise to copy, modify, sublicense or distribute the Program is 32625void, and will automatically terminate your rights under this License. 32626However, parties who have received copies, or rights, from you under 32627this License will not have their licenses terminated so long as such 32628parties remain in full compliance. 32629 32630 5. You are not required to accept this License, since you have not 32631signed it. However, nothing else grants you permission to modify or 32632distribute the Program or its derivative works. These actions are 32633prohibited by law if you do not accept this License. Therefore, by 32634modifying or distributing the Program (or any work based on the 32635Program), you indicate your acceptance of this License to do so, and 32636all its terms and conditions for copying, distributing or modifying 32637the Program or works based on it. 32638 32639 6. Each time you redistribute the Program (or any work based on the 32640Program), the recipient automatically receives a license from the 32641original licensor to copy, distribute or modify the Program subject to 32642these terms and conditions. You may not impose any further 32643restrictions on the recipients' exercise of the rights granted herein. 32644You are not responsible for enforcing compliance by third parties to 32645this License. 32646 32647 7. If, as a consequence of a court judgment or allegation of patent 32648infringement or for any other reason (not limited to patent issues), 32649conditions are imposed on you (whether by court order, agreement or 32650otherwise) that contradict the conditions of this License, they do not 32651excuse you from the conditions of this License. If you cannot 32652distribute so as to satisfy simultaneously your obligations under this 32653License and any other pertinent obligations, then as a consequence you 32654may not distribute the Program at all. For example, if a patent 32655license would not permit royalty-free redistribution of the Program by 32656all those who receive copies directly or indirectly through you, then 32657the only way you could satisfy both it and this License would be to 32658refrain entirely from distribution of the Program. 32659
32660If any portion of this section is held invalid or unenforceable under 32661any particular circumstance, the balance of the section is intended to 32662apply and the section as a whole is intended to apply in other 32663circumstances. 32664 32665It is not the purpose of this section to induce you to infringe any 32666patents or other property right claims or to contest validity of any 32667such claims; this section has the sole purpose of protecting the 32668integrity of the free software distribution system, which is 32669implemented by public license practices. Many people have made 32670generous contributions to the wide range of software distributed 32671through that system in reliance on consistent application of that 32672system; it is up to the author/donor to decide if he or she is willing 32673to distribute software through any other system and a licensee cannot 32674impose that choice. 32675 32676This section is intended to make thoroughly clear what is believed to 32677be a consequence of the rest of this License. 32678 32679 8. If the distribution and/or use of the Program is restricted in 32680certain countries either by patents or by copyrighted interfaces, the 32681original copyright holder who places the Program under this License 32682may add an explicit geographical distribution limitation excluding 32683those countries, so that distribution is permitted only in or among 32684countries not thus excluded. In such case, this License incorporates 32685the limitation as if written in the body of this License. 32686 32687 9. The Free Software Foundation may publish revised and/or new versions 32688of the General Public License from time to time. Such new versions will 32689be similar in spirit to the present version, but may differ in detail to 32690address new problems or concerns. 32691 32692Each version is given a distinguishing version number. If the Program 32693specifies a version number of this License which applies to it and "any 32694later version", you have the option of following the terms and conditions 32695either of that version or of any later version published by the Free 32696Software Foundation. If the Program does not specify a version number of 32697this License, you may choose any version ever published by the Free Software 32698Foundation. 32699 32700 10. If you wish to incorporate parts of the Program into other free 32701programs whose distribution conditions are different, write to the author 32702to ask for permission. For software which is copyrighted by the Free 32703Software Foundation, write to the Free Software Foundation; we sometimes 32704make exceptions for this. Our decision will be guided by the two goals 32705of preserving the free status of all derivatives of our free software and 32706of promoting the sharing and reuse of software generally. 32707 32708 NO WARRANTY 32709 32710 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 32711FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 32712OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 32713PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 32714OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 32715MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 32716TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 32717PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 32718REPAIR OR CORRECTION. 32719 32720 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 32721WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 32722REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 32723INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 32724OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 32725TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 32726YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 32727PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 32728POSSIBILITY OF SUCH DAMAGES. 32729 32730 END OF TERMS AND CONDITIONS 32731 32732 How to Apply These Terms to Your New Programs 32733 32734 If you develop a new program, and you want it to be of the greatest 32735possible use to the public, the best way to achieve this is to make it 32736free software which everyone can redistribute and change under these terms. 32737 32738 To do so, attach the following notices to the program. It is safest 32739to attach them to the start of each source file to most effectively 32740convey the exclusion of warranty; and each file should have at least 32741the "copyright" line and a pointer to where the full notice is found. 32742 32743 <one line to give the program's name and a brief idea of what it does.> 32744 Copyright (C) <year> <name of author> 32745 32746 This program is free software; you can redistribute it and/or modify 32747 it under the terms of the GNU General Public License as published by
32748 the Free Software Foundation; either version 2 of the License, or 32749 (at your option) any later version. 32750 32751 This program is distributed in the hope that it will be useful, 32752 but WITHOUT ANY WARRANTY; without even the implied warranty of 32753 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 32754 GNU General Public License for more details. 32755 32756 You should have received a copy of the GNU General Public License 32757 along with this program; if not, write to the Free Software 32758 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 32759 32760 32761Also add information on how to contact you by electronic and paper mail. 32762 32763If the program is interactive, make it output a short notice like this 32764when it starts in an interactive mode: 32765 32766 Gnomovision version 69, Copyright (C) year name of author 32767 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 32768 This is free software, and you are welcome to redistribute it 32769 under certain conditions; type `show c' for details. 32770 32771The hypothetical commands `show w' and `show c' should show the appropriate 32772parts of the General Public License. Of course, the commands you use may 32773be called something other than `show w' and `show c'; they could even be 32774mouse-clicks or menu items--whatever suits your program. 32775 32776You should also get your employer (if you work as a programmer) or your 32777school, if any, to sign a "copyright disclaimer" for the program, if 32778necessary. Here is a sample; alter the names: 32779 32780 Yoyodyne, Inc., hereby disclaims all copyright interest in the program 32781 `Gnomovision' (which makes passes at compilers) written by James Hacker. 32782 32783 <signature of Ty Coon>, 1 April 1989 32784 Ty Coon, President of Vice 32785 32786This General Public License does not permit incorporating your program into 32787proprietary programs. If your program is a subroutine library, you may 32788consider it more useful to permit linking proprietary applications with the 32789library. If this is what you want to do, use the GNU Library General 32790Public License instead of this License. 32791</pre></div> 32792 32793 32794<hr> 32795<span id="Concept-index"></span><div class="header"> 32796<p> 32797Next: <a href="#Syntax-index" accesskey="n" rel="next">Syntax index</a>, Previous: <a href="#License" accesskey="p" rel="prev">License</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 32798</div> 32799<span id="Concept-index-1"></span><h2 class="unnumbered">Concept index</h2> 32800 32801<span id="index-Index_002c-concepts"></span> 32802<span id="index-Concepts_002c-index"></span> 32803 32804<table><tr><th valign="top">Jump to: </th><td><a class="summary-letter" href="#Concept-index_cp_symbol-1"><b>2</b></a> 32805 32806<a class="summary-letter" href="#Concept-index_cp_symbol-2"><b>3</b></a> 32807 32808<br> 32809<a class="summary-letter" href="#Concept-index_cp_letter-A"><b>A</b></a> 32810 32811<a class="summary-letter" href="#Concept-index_cp_letter-B"><b>B</b></a> 32812 32813<a class="summary-letter" href="#Concept-index_cp_letter-C"><b>C</b></a> 32814 32815<a class="summary-letter" href="#Concept-index_cp_letter-D"><b>D</b></a> 32816 32817<a class="summary-letter" href="#Concept-index_cp_letter-E"><b>E</b></a> 32818 32819<a class="summary-letter" href="#Concept-index_cp_letter-F"><b>F</b></a> 32820 32821<a class="summary-letter" href="#Concept-index_cp_letter-G"><b>G</b></a> 32822 32823<a class="summary-letter" href="#Concept-index_cp_letter-H"><b>H</b></a> 32824 32825<a class="summary-letter" href="#Concept-index_cp_letter-I"><b>I</b></a> 32826 32827<a class="summary-letter" href="#Concept-index_cp_letter-K"><b>K</b></a> 32828 32829<a class="summary-letter" href="#Concept-index_cp_letter-L"><b>L</b></a> 32830 32831<a class="summary-letter" href="#Concept-index_cp_letter-M"><b>M</b></a> 32832 32833<a class="summary-letter" href="#Concept-index_cp_letter-N"><b>N</b></a> 32834 32835<a class="summary-letter" href="#Concept-index_cp_letter-O"><b>O</b></a> 32836 32837<a class="summary-letter" href="#Concept-index_cp_letter-P"><b>P</b></a> 32838 32839<a class="summary-letter" href="#Concept-index_cp_letter-Q"><b>Q</b></a> 32840 32841<a class="summary-letter" href="#Concept-index_cp_letter-R"><b>R</b></a> 32842 32843<a class="summary-letter" href="#Concept-index_cp_letter-S"><b>S</b></a> 32844 32845<a class="summary-letter" href="#Concept-index_cp_letter-T"><b>T</b></a> 32846 32847<a class="summary-letter" href="#Concept-index_cp_letter-U"><b>U</b></a> 32848 32849<a class="summary-letter" href="#Concept-index_cp_letter-V"><b>V</b></a> 32850 32851<a class="summary-letter" href="#Concept-index_cp_letter-W"><b>W</b></a> 32852 32853</td></tr></table> 32854<table class="index-cp" border="0"> 32855<tr><td></td><th align="left">Index Entry</th><td> </td><th align="left"> Section</th></tr> 32856<tr><td colspan="4"> <hr></td></tr> 32857<tr><th id="Concept-index_cp_symbol-1">2</th><td></td><td></td></tr> 32858<tr><td></td><td valign="top"><a href="#index-2D-plots">2D plots</a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 32859<tr><td colspan="4"> <hr></td></tr> 32860<tr><th id="Concept-index_cp_symbol-2">3</th><td></td><td></td></tr> 32861<tr><td></td><td valign="top"><a href="#index-3D-plots">3D plots</a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 32862<tr><td colspan="4"> <hr></td></tr> 32863<tr><th id="Concept-index_cp_letter-A">A</th><td></td><td></td></tr> 32864<tr><td></td><td valign="top"><a href="#index-Acknowledgments">Acknowledgments</a>:</td><td> </td><td valign="top"><a href="#Copyright-and-credits">Copyright and credits</a></td></tr> 32865<tr><td></td><td valign="top"><a href="#index-API">API</a>:</td><td> </td><td valign="top"><a href="#Gmsh-application-programming-interface">Gmsh application programming interface</a></td></tr> 32866<tr><td colspan="4"> <hr></td></tr> 32867<tr><th id="Concept-index_cp_letter-B">B</th><td></td><td></td></tr> 32868<tr><td></td><td valign="top">
32868<a href="#index-Background-mesh">Background mesh</a>:</td><td> </td><td valign="top"><a href="#Specifying-mesh-element-sizes">Specifying mesh element sizes</a></td></tr> 32869<tr><td></td><td valign="top"><a href="#index-Binary-operators">Binary operators</a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 32870<tr><td></td><td valign="top"><a href="#index-Bindings_002c-keyboard">Bindings, keyboard</a>:</td><td> </td><td valign="top"><a href="#Keyboard-shortcuts">Keyboard shortcuts</a></td></tr> 32871<tr><td></td><td valign="top"><a href="#index-Bindings_002c-mouse">Bindings, mouse</a>:</td><td> </td><td valign="top"><a href="#Mouse-actions">Mouse actions</a></td></tr> 32872<tr><td></td><td valign="top"><a href="#index-Boolean-operations_002c-geometry">Boolean operations, geometry</a>:</td><td> </td><td valign="top"><a href="#Boolean-operations">Boolean operations</a></td></tr> 32873<tr><td></td><td valign="top"><a href="#index-Bugs_002c-reporting">Bugs, reporting</a>:</td><td> </td><td valign="top"><a href="#Reporting-a-bug">Reporting a bug</a></td></tr> 32874<tr><td colspan="4"> <hr></td></tr> 32875<tr><th id="Concept-index_cp_letter-C">C</th><td></td><td></td></tr> 32876<tr><td></td><td valign="top"><a href="#index-Changelog">Changelog</a>:</td><td> </td><td valign="top"><a href="#Version-history">Version history</a></td></tr> 32877<tr><td></td><td valign="top"><a href="#index-Colors">Colors</a>:</td><td> </td><td valign="top"><a href="#Color-expressions">Color expressions</a></td></tr> 32878<tr><td></td><td valign="top"><a href="#index-Command_002dline-options">Command-line options</a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 32879<tr><td></td><td valign="top"><a href="#index-Commands_002c-general">Commands, general</a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 32880<tr><td></td><td valign="top"><a href="#index-Comments">Comments</a>:</td><td> </td><td valign="top"><a href="#Comments">Comments</a></td></tr> 32881<tr><td></td><td valign="top"><a href="#index-Concepts_002c-index">Concepts, index</a>:</td><td> </td><td valign="top"><a href="#Concept-index">Concept index</a></td></tr> 32882<tr><td></td><td valign="top"><a href="#index-Conditionals">Conditionals</a>:</td><td> </td><td valign="top"><a href="#Loops-and-conditionals">Loops and conditionals</a></td></tr> 32883<tr><td></td><td valign="top"><a href="#index-Constants">Constants</a>:</td><td> </td><td valign="top"><a href="#Floating-point-expressions">Floating point expressions</a></td></tr> 32884<tr><td></td><td valign="top"><a href="#index-Contributors_002c-list">Contributors, list</a>:</td><td> </td><td valign="top"><a href="#Copyright-and-credits">Copyright and credits</a></td></tr> 32885<tr><td></td><td valign="top"><a href="#index-Copyright">Copyright</a>:</td><td> </td><td valign="top"><a href="#Copying-conditions">Copying conditions</a></td></tr> 32886<tr><td></td><td valign="top"><a href="#index-Copyright-1">Copyright</a>:</td><td> </td><td valign="top"><a href="#Copyright-and-credits">Copyright and credits</a></td></tr> 32887<tr><td></td><td valign="top"><a href="#index-Credits">Credits</a>:</td><td> </td><td valign="top"><a href="#Copyright-and-credits">Copyright and credits</a></td></tr> 32888<tr><td></td><td valign="top"><a href="#index-Curves_002c-elementary">Curves, elementary</a>:</td><td> </td><td valign="top"><a href="#Curves">Curves</a></td></tr> 32889<tr><td></td><td valign="top"><a href="#index-Curves_002c-physical">Curves, physical</a>:</td><td> </td><td valign="top"><a href="#Curves">Curves</a></td></tr> 32890<tr><td colspan="4"> <hr></td></tr> 32891<tr><th id="Concept-index_cp_letter-D">D</th><td></td><td></td></tr> 32892<tr><td></td><td valign="top"><a href="#index-Developer_002c-information">Developer, information</a>:</td><td> </td><td valign="top"><a href="#Information-for-developers">Information for developers</a></td></tr> 32893<tr><td></td><td valign="top"><a href="#index-Download">Download</a>:</td><td> </td><td valign="top"><a href="#Obtaining-Gmsh">Obtaining Gmsh</a></td></tr> 32894<tr><td colspan="4"> <hr></td></tr> 32895<tr><th id="Concept-index_cp_letter-E">E</th><td></td><td></td></tr> 32896<tr><td></td><td valign="top"><a href="#index-Elementary-curves">Elementary curves</a>:</td><td> </td><td valign="top"><a href="#Curves">Curves</a></td></tr> 32897<tr><td></td><td valign="top"><a href="#index-Elementary-points">Elementary points</a>:</td><td> </td><td valign="top"><a href="#Points">Points</a></td></tr> 32898<tr><td></td><td valign="top"><a href="#index-Elementary-surfaces">Elementary surfaces</a>:</td><td> </td><td valign="top"><a href="#Surfaces">Surfaces</a></td></tr> 32899<tr><td></td><td valign="top"><a href="#index-Elementary-volumes">Elementary volumes</a>:</td><td> </td><td valign="top"><a href="#Volumes">Volumes</a></td></tr> 32900<tr><td></td><td valign="top"><a href="#index-Evaluation-order">Evaluation order</a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 32901<tr><td></td><td valign="top"><a href="#index-Examples">Examples</a>:</td><td> </td><td valign="top"><a href="#Gmsh-tutorial">
32901Gmsh tutorial</a></td></tr> 32902<tr><td></td><td valign="top"><a href="#index-Expressions_002c-affectation">Expressions, affectation</a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 32903<tr><td></td><td valign="top"><a href="#index-Expressions_002c-color">Expressions, color</a>:</td><td> </td><td valign="top"><a href="#Color-expressions">Color expressions</a></td></tr> 32904<tr><td></td><td valign="top"><a href="#index-Expressions_002c-definition">Expressions, definition</a>:</td><td> </td><td valign="top"><a href="#Floating-point-expressions">Floating point expressions</a></td></tr> 32905<tr><td></td><td valign="top"><a href="#index-Expressions_002c-floating-point">Expressions, floating point</a>:</td><td> </td><td valign="top"><a href="#Floating-point-expressions">Floating point expressions</a></td></tr> 32906<tr><td></td><td valign="top"><a href="#index-Expressions_002c-identifiers">Expressions, identifiers</a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 32907<tr><td></td><td valign="top"><a href="#index-Expressions_002c-lists">Expressions, lists</a>:</td><td> </td><td valign="top"><a href="#Floating-point-expressions">Floating point expressions</a></td></tr> 32908<tr><td></td><td valign="top"><a href="#index-Expressions_002c-string">Expressions, string</a>:</td><td> </td><td valign="top"><a href="#String-expressions">String expressions</a></td></tr> 32909<tr><td></td><td valign="top"><a href="#index-Extrusion_002c-geometry">Extrusion, geometry</a>:</td><td> </td><td valign="top"><a href="#Extrusions">Extrusions</a></td></tr> 32910<tr><td></td><td valign="top"><a href="#index-Extrusion_002c-mesh">Extrusion, mesh</a>:</td><td> </td><td valign="top"><a href="#Structured-grids">Structured grids</a></td></tr> 32911<tr><td colspan="4"> <hr></td></tr> 32912<tr><th id="Concept-index_cp_letter-F">F</th><td></td><td></td></tr> 32913<tr><td></td><td valign="top"><a href="#index-FAQ">FAQ</a>:</td><td> </td><td valign="top"><a href="#Frequently-asked-questions">Frequently asked questions</a></td></tr> 32914<tr><td></td><td valign="top"><a href="#index-File-format_002c-mesh">File format, mesh</a>:</td><td> </td><td valign="top"><a href="#MSH-file-format">MSH file format</a></td></tr> 32915<tr><td></td><td valign="top"><a href="#index-File-formats">File formats</a>:</td><td> </td><td valign="top"><a href="#Gmsh-file-formats">Gmsh file formats</a></td></tr> 32916<tr><td></td><td valign="top"><a href="#index-File_002c-comments">File, comments</a>:</td><td> </td><td valign="top"><a href="#Comments">Comments</a></td></tr> 32917<tr><td></td><td valign="top"><a href="#index-Frequently-asked-questions">Frequently asked questions</a>:</td><td> </td><td valign="top"><a href="#Frequently-asked-questions">Frequently asked questions</a></td></tr> 32918<tr><td></td><td valign="top"><a href="#index-Functions_002c-built_002din">Functions, built-in</a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 32919<tr><td colspan="4"> <hr></td></tr> 32920<tr><th id="Concept-index_cp_letter-G">G</th><td></td><td></td></tr> 32921<tr><td></td><td valign="top"><a href="#index-General-commands">General commands</a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 32922<tr><td></td><td valign="top"><a href="#index-Geometry_002c-boolean-operations">Geometry, boolean operations</a>:</td><td> </td><td valign="top"><a href="#Boolean-operations">Boolean operations</a></td></tr> 32923<tr><td></td><td valign="top"><a href="#index-Geometry_002c-difference">Geometry, difference</a>:</td><td> </td><td valign="top"><a href="#Boolean-operations">Boolean operations</a></td></tr> 32924<tr><td></td><td valign="top"><a href="#index-Geometry_002c-extrusion">Geometry, extrusion</a>:</td><td> </td><td valign="top"><a href="#Extrusions">Extrusions</a></td></tr> 32925<tr><td></td><td valign="top"><a href="#index-Geometry_002c-fragments">Geometry, fragments</a>:</td><td> </td><td valign="top"><a href="#Boolean-operations">Boolean operations</a></td></tr> 32926<tr><td></td><td valign="top"><a href="#index-Geometry_002c-intersection">Geometry, intersection</a>:</td><td> </td><td valign="top"><a href="#Boolean-operations">Boolean operations</a></td></tr> 32927<tr><td></td><td valign="top"><a href="#index-Geometry_002c-scripting-commands">Geometry, scripting commands</a>:</td><td> </td><td valign="top"><a href="#Geometry-scripting-commands">Geometry scripting commands</a></td></tr> 32928<tr><td></td><td valign="top"><a href="#index-Geometry_002c-transformations">Geometry, transformations</a>:</td><td> </td><td valign="top"><a href="#Transformations">Transformations</a></td></tr> 32929<tr><td></td><td valign="top"><a href="#index-Geometry_002c-union">Geometry, union</a>:</td><td> </td><td valign="top"><a href="#Boolean-operations">Boolean operations</a></td></tr> 32930<tr><td></td><td valign="top"><a href="#index-Graphical-user-interface">Graphical user interface</a>:</td><td> </td><td valign="top"><a href="#Gmsh-graphical-user-interface">Gmsh graphical user interface</a></td></tr> 32931<tr><td></td><td valign="top"><a href="#index-Graphs">Graphs</a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 32932<tr><td></td><td valign="top"><a href="#index-GUI">GUI</a>:</td><td> </td><td valign="top"><a href="#Gmsh-graphical-user-interface">Gmsh graphical user interface</a></td></tr> 32933<tr><td colspan="4"> <hr></td></tr> 32934<tr><th id="Concept-index_cp_letter-H">H</th><td></td><td></td></tr> 32935<tr><td></td><td valign="top"><a href="#index-History_002c-versions">History, versions</a>:</td><td> </td><td valign="top"><a href="#Version-history">Version history</a></td></tr> 32936<tr><td colspan="4"> <hr></td></tr> 32937<tr><th id="Concept-index_cp_letter-I">I</th><td></td><td></td></tr> 32938<tr><td></td><td valign="top"><a href="#index-Index_002c-concepts">Index, concepts</a>:</td><td> </td><td valign="top"><a href="#Concept-index">Concept index</a></td></tr> 32939<tr><td></td><td valign="top"><a href="#index-Index_002c-syntax">Index, syntax</a>:</td><td> </td><td valign="top"><a href="#Syntax-index">Syntax index</a></td></tr> 32940<tr><td></td><td valign="top"><a href="#index-Installation">Installation</a>:</td><td> </td><td valign="top"><a href="#Installing-and-running-Gmsh-on-your-computer">Installing and running Gmsh on your computer</a></td></tr> 32941<tr><td></td><td valign="top"><a href="#index-Internet-address">Internet address</a>:</td><td> </td><td valign="top"><a href="#Obtaining-Gmsh">Obtaining Gmsh</a></td></tr> 32942<tr><td></td><td valign="top"><a href="#index-Introduction">Introduction</a>:</td><td> </td><td valign="top"><a href="#Overview-of-Gmsh">Overview of Gmsh</a></td></tr> 32943<tr><td></td><td valign="top"><a href="#index-Issues_002c-reporting">Issues, reporting</a>:</td><td> </td><td valign="top"><a href="#Reporting-a-bug">
32943Reporting a bug</a></td></tr> 32944<tr><td colspan="4"> <hr></td></tr> 32945<tr><th id="Concept-index_cp_letter-K">K</th><td></td><td></td></tr> 32946<tr><td></td><td valign="top"><a href="#index-Keyboard_002c-shortcuts">Keyboard, shortcuts</a>:</td><td> </td><td valign="top"><a href="#Keyboard-shortcuts">Keyboard shortcuts</a></td></tr> 32947<tr><td></td><td valign="top"><a href="#index-Keywords_002c-index">Keywords, index</a>:</td><td> </td><td valign="top"><a href="#Syntax-index">Syntax index</a></td></tr> 32948<tr><td colspan="4"> <hr></td></tr> 32949<tr><th id="Concept-index_cp_letter-L">L</th><td></td><td></td></tr> 32950<tr><td></td><td valign="top"><a href="#index-License">License</a>:</td><td> </td><td valign="top"><a href="#Copying-conditions">Copying conditions</a></td></tr> 32951<tr><td></td><td valign="top"><a href="#index-License-1">License</a>:</td><td> </td><td valign="top"><a href="#License">License</a></td></tr> 32952<tr><td></td><td valign="top"><a href="#index-Lines">Lines</a>:</td><td> </td><td valign="top"><a href="#Curves">Curves</a></td></tr> 32953<tr><td></td><td valign="top"><a href="#index-Loops">Loops</a>:</td><td> </td><td valign="top"><a href="#Loops-and-conditionals">Loops and conditionals</a></td></tr> 32954<tr><td colspan="4"> <hr></td></tr> 32955<tr><th id="Concept-index_cp_letter-M">M</th><td></td><td></td></tr> 32956<tr><td></td><td valign="top"><a href="#index-Macros_002c-user_002ddefined">Macros, user-defined</a>:</td><td> </td><td valign="top"><a href="#User_002ddefined-macros">User-defined macros</a></td></tr> 32957<tr><td></td><td valign="top"><a href="#index-Mesh-size">Mesh size</a>:</td><td> </td><td valign="top"><a href="#Specifying-mesh-element-sizes">Specifying mesh element sizes</a></td></tr> 32958<tr><td></td><td valign="top"><a href="#index-Mesh_002c-background">Mesh, background</a>:</td><td> </td><td valign="top"><a href="#Specifying-mesh-element-sizes">Specifying mesh element sizes</a></td></tr> 32959<tr><td></td><td valign="top"><a href="#index-Mesh_002c-element-size">Mesh, element size</a>:</td><td> </td><td valign="top"><a href="#Specifying-mesh-element-sizes">Specifying mesh element sizes</a></td></tr> 32960<tr><td></td><td valign="top"><a href="#index-Mesh_002c-extrusion">Mesh, extrusion</a>:</td><td> </td><td valign="top"><a href="#Structured-grids">Structured grids</a></td></tr> 32961<tr><td></td><td valign="top"><a href="#index-Mesh_002c-file-format">Mesh, file format</a>:</td><td> </td><td valign="top"><a href="#MSH-file-format">MSH file format</a></td></tr> 32962<tr><td></td><td valign="top"><a href="#index-Mesh_002c-scripting-commands">Mesh, scripting commands</a>:</td><td> </td><td valign="top"><a href="#Mesh-scripting-commands">Mesh scripting commands</a></td></tr> 32963<tr><td></td><td valign="top"><a href="#index-Mesh_002c-transfinite">Mesh, transfinite</a>:</td><td> </td><td valign="top"><a href="#Structured-grids">Structured grids</a></td></tr> 32964<tr><td></td><td valign="top"><a href="#index-Mouse_002c-actions">Mouse, actions</a>:</td><td> </td><td valign="top"><a href="#Mouse-actions">Mouse actions</a></td></tr> 32965<tr><td></td><td valign="top"><a href="#index-MSH4-file">MSH4 file</a>:</td><td> </td><td valign="top"><a href="#MSH-file-format">MSH file format</a></td></tr> 32966<tr><td colspan="4"> <hr></td></tr> 32967<tr><th id="Concept-index_cp_letter-N">N</th><td></td><td></td></tr> 32968<tr><td></td><td valign="top"><a href="#index-Nodes_002c-ordering">Nodes, ordering</a>:</td><td> </td><td valign="top"><a href="#Node-ordering">Node ordering</a></td></tr> 32969<tr><td></td><td valign="top"><a href="#index-Numbers_002c-real">Numbers, real</a>:</td><td> </td><td valign="top"><a href="#Floating-point-expressions">Floating point expressions</a></td></tr> 32970<tr><td colspan="4"> <hr></td></tr> 32971<tr><th id="Concept-index_cp_letter-O">O</th><td></td><td></td></tr> 32972<tr><td></td><td valign="top"><a href="#index-Operator-precedence">Operator precedence</a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 32973<tr><td></td><td valign="top">
32973<a href="#index-Operators_002c-definition">Operators, definition</a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 32974<tr><td></td><td valign="top"><a href="#index-Options_002c-command-line">Options, command line</a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 32975<tr><td></td><td valign="top"><a href="#index-Options_002c-post_002dprocessing">Options, post-processing</a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 32976<tr><td></td><td valign="top"><a href="#index-Order_002c-evaluation">Order, evaluation</a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 32977<tr><td></td><td valign="top"><a href="#index-Overview">Overview</a>:</td><td> </td><td valign="top"><a href="#Overview-of-Gmsh">Overview of Gmsh</a></td></tr> 32978<tr><td colspan="4"> <hr></td></tr> 32979<tr><th id="Concept-index_cp_letter-P">P</th><td></td><td></td></tr> 32980<tr><td></td><td valign="top"><a href="#index-Physical-curves">Physical curves</a>:</td><td> </td><td valign="top"><a href="#Curves">Curves</a></td></tr> 32981<tr><td></td><td valign="top"><a href="#index-Physical-points">Physical points</a>:</td><td> </td><td valign="top"><a href="#Points">Points</a></td></tr> 32982<tr><td></td><td valign="top"><a href="#index-Physical-surfaces">Physical surfaces</a>:</td><td> </td><td valign="top"><a href="#Surfaces">Surfaces</a></td></tr> 32983<tr><td></td><td valign="top"><a href="#index-Physical-volumes">Physical volumes</a>:</td><td> </td><td valign="top"><a href="#Volumes">Volumes</a></td></tr> 32984<tr><td></td><td valign="top"><a href="#index-Plots">Plots</a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 32985<tr><td></td><td valign="top"><a href="#index-Plugins_002c-post_002dprocessing">Plugins, post-processing</a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 32986<tr><td></td><td valign="top"><a href="#index-Points_002c-elementary">Points, elementary</a>:</td><td> </td><td valign="top"><a href="#Points">Points</a></td></tr> 32987<tr><td></td><td valign="top"><a href="#index-Points_002c-physical">Points, physical</a>:</td><td> </td><td valign="top"><a href="#Points">Points</a></td></tr> 32988<tr><td></td><td valign="top"><a href="#index-Post_002dprocessing-plugins">Post-processing plugins</a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 32989<tr><td></td><td valign="top"><a href="#index-Post_002dprocessing_002c-options">Post-processing, options</a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 32990<tr><td></td><td valign="top"><a href="#index-Post_002dprocessing_002c-scripting-commands">Post-processing, scripting commands</a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 32991<tr><td></td><td valign="top"><a href="#index-Precedence_002c-operators">Precedence, operators</a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 32992<tr><td></td><td valign="top"><a href="#index-Programming_002c-API">Programming, API</a>:</td><td> </td><td valign="top"><a href="#Gmsh-application-programming-interface">Gmsh application programming interface</a></td></tr> 32993<tr><td></td><td valign="top"><a href="#index-Programming_002c-notes">Programming, notes</a>:</td><td> </td><td valign="top"><a href="#Information-for-developers">Information for developers</a></td></tr> 32994<tr><td colspan="4"> <hr></td></tr> 32995<tr><th id="Concept-index_cp_letter-Q">Q</th><td></td><td></td></tr> 32996<tr><td></td><td valign="top"><a href="#index-Questions_002c-frequently-asked">Questions, frequently asked</a>:</td><td> </td><td valign="top"><a href="#Frequently-asked-questions">Frequently asked questions</a></td></tr> 32997<tr><td colspan="4"> <hr></td></tr> 32998<tr><th id="Concept-index_cp_letter-R">R</th><td></td><td></td></tr> 32999<tr><td></td><td valign="top"><a href="#index-Real-numbers">Real numbers</a>:</td><td> </td><td valign="top"><a href="#Floating-point-expressions">Floating point expressions</a></td></tr> 33000<tr><td></td><td valign="top"><a href="#index-Reporting-bugs">Reporting bugs</a>:</td><td> </td><td valign="top"><a href="#Reporting-a-bug">
33000Reporting a bug</a></td></tr> 33001<tr><td></td><td valign="top"><a href="#index-Rotation">Rotation</a>:</td><td> </td><td valign="top"><a href="#Transformations">Transformations</a></td></tr> 33002<tr><td></td><td valign="top"><a href="#index-Running-Gmsh">Running Gmsh</a>:</td><td> </td><td valign="top"><a href="#Installing-and-running-Gmsh-on-your-computer">Installing and running Gmsh on your computer</a></td></tr> 33003<tr><td colspan="4"> <hr></td></tr> 33004<tr><th id="Concept-index_cp_letter-S">S</th><td></td><td></td></tr> 33005<tr><td></td><td valign="top"><a href="#index-Scale">Scale</a>:</td><td> </td><td valign="top"><a href="#Transformations">Transformations</a></td></tr> 33006<tr><td></td><td valign="top"><a href="#index-Scripting-commands_002c-geometry">Scripting commands, geometry</a>:</td><td> </td><td valign="top"><a href="#Geometry-scripting-commands">Geometry scripting commands</a></td></tr> 33007<tr><td></td><td valign="top"><a href="#index-Scripting-commands_002c-Mesh">Scripting commands, Mesh</a>:</td><td> </td><td valign="top"><a href="#Mesh-scripting-commands">Mesh scripting commands</a></td></tr> 33008<tr><td></td><td valign="top"><a href="#index-Scripting-commands_002c-Post_002dprocessing">Scripting commands, Post-processing</a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 33009<tr><td></td><td valign="top"><a href="#index-Shortcuts_002c-keyboard">Shortcuts, keyboard</a>:</td><td> </td><td valign="top"><a href="#Keyboard-shortcuts">Keyboard shortcuts</a></td></tr> 33010<tr><td></td><td valign="top"><a href="#index-Size_002c-elements">Size, elements</a>:</td><td> </td><td valign="top"><a href="#Specifying-mesh-element-sizes">Specifying mesh element sizes</a></td></tr> 33011<tr><td></td><td valign="top"><a href="#index-Strings">Strings</a>:</td><td> </td><td valign="top"><a href="#String-expressions">String expressions</a></td></tr> 33012<tr><td></td><td valign="top"><a href="#index-Surfaces_002c-elementary">Surfaces, elementary</a>:</td><td> </td><td valign="top"><a href="#Surfaces">Surfaces</a></td></tr> 33013<tr><td></td><td valign="top"><a href="#index-Surfaces_002c-physical">Surfaces, physical</a>:</td><td> </td><td valign="top"><a href="#Surfaces">Surfaces</a></td></tr> 33014<tr><td></td><td valign="top"><a href="#index-Symmetry">Symmetry</a>:</td><td> </td><td valign="top"><a href="#Transformations">Transformations</a></td></tr> 33015<tr><td></td><td valign="top"><a href="#index-Syntax_002c-index">Syntax, index</a>:</td><td> </td><td valign="top"><a href="#Syntax-index">Syntax index</a></td></tr> 33016<tr><td colspan="4"> <hr></td></tr> 33017<tr><th id="Concept-index_cp_letter-T">T</th><td></td><td></td></tr> 33018<tr><td></td><td valign="top"><a href="#index-Ternary-operators">Ternary operators</a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 33019<tr><td></td><td valign="top"><a href="#index-Transfinite_002c-mesh">Transfinite, mesh</a>:</td><td> </td><td valign="top"><a href="#Structured-grids">Structured grids</a></td></tr> 33020<tr><td></td><td valign="top"><a href="#index-Transformations_002c-geometry">Transformations, geometry</a>:</td><td> </td><td valign="top"><a href="#Transformations">Transformations</a></td></tr> 33021<tr><td></td><td valign="top"><a href="#index-Translation">Translation</a>:</td><td> </td><td valign="top"><a href="#Transformations">Transformations</a></td></tr> 33022<tr><td></td><td valign="top"><a href="#index-Tutorial">Tutorial</a>:</td><td> </td><td valign="top"><a href="#Gmsh-tutorial">Gmsh tutorial</a></td></tr> 33023<tr><td colspan="4"> <hr></td></tr> 33024<tr><th id="Concept-index_cp_letter-U">U</th><td></td><td></td></tr> 33025<tr><td></td><td valign="top"><a href="#index-Unary-operators">Unary operators</a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 33026<tr><td colspan="4"> <hr></td></tr> 33027<tr><th id="Concept-index_cp_letter-V">V</th><td></td><td></td></tr> 33028<tr><td></td><td valign="top"><a href="#index-Versions">Versions</a>:</td><td> </td><td valign="top"><a href="#Version-history">Version history</a></td></tr> 33029<tr><td></td><td valign="top"><a href="#index-Views">Views</a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 33030<tr><td></td><td valign="top"><a href="#index-Volumes_002c-elementary">Volumes, elementary</a>:</td><td> </td><td valign="top"><a href="#Volumes">Volumes</a></td></tr> 33031<tr><td></td><td valign="top"><a href="#index-Volumes_002c-physical">Volumes, physical</a>:</td><td> </td><td valign="top"><a href="#Volumes">Volumes</a></td></tr> 33032<tr><td colspan="4"> <hr></td></tr> 33033<tr><th id="Concept-index_cp_letter-W">W</th><td></td><td></td></tr> 33034<tr><td></td><td valign="top"><a href="#index-Web-site">Web site</a>:</td><td> </td><td valign="top"><a href="#Obtaining-Gmsh">Obtaining Gmsh</a></td></tr> 33035<tr><td colspan="4"> <hr></td></tr> 33036</table> 33037<table><tr><th valign="top">Jump to: </th><td><a class="summary-letter" href="#Concept-index_cp_symbol-1"><b>2</b></a> 33038 33039<a class="summary-letter" href="#Concept-index_cp_symbol-2"><b>3</b></a> 33040 33041<br> 33042<a class="summary-letter" href="#Concept-index_cp_letter-A"><b>A</b></a> 33043 33044<a class="summary-letter" href="#Concept-index_cp_letter-B"><b>B</b></a> 33045 33046<a class="summary-letter" href="#Concept-index_cp_letter-C"><b>C</b></a> 33047 33048<a class="summary-letter" href="#Concept-index_cp_letter-D"><b>D</b></a> 33049 33050<a class="summary-letter" href="#Concept-index_cp_letter-E"><b>E</b></a> 33051 33052<a class="summary-letter" href="#Concept-index_cp_letter-F"><b>F</b></a> 33053 33054<a class="summary-letter" href="#Concept-index_cp_letter-G"><b>G</b></a> 33055 33056<a class="summary-letter" href="#Concept-index_cp_letter-H"><b>H</b></a> 33057 33058<a class="summary-letter" href="#Concept-index_cp_letter-I"><b>I</b></a> 33059 33060<a class="summary-letter" href="#Concept-index_cp_letter-K"><b>K</b></a> 33061 33062<a class="summary-letter" href="#Concept-index_cp_letter-L"><b>L</b></a> 33063 33064<a class="summary-letter" href="#Concept-index_cp_letter-M"><b>M</b></a> 33065 33066<a class="summary-letter" href="#Concept-index_cp_letter-N"><b>N</b></a> 33067 33068<a class="summary-letter" href="#Concept-index_cp_letter-O"><b>O</b></a> 33069 33070<a class="summary-letter" href="#Concept-index_cp_letter-P"><b>P</b></a> 33071 33072<a class="summary-letter" href="#Concept-index_cp_letter-Q"><b>Q</b></a> 33073 33074<a class="summary-letter" href="#Concept-index_cp_letter-R"><b>R</b></a> 33075 33076<a class="summary-letter" href="#Concept-index_cp_letter-S"><b>S</b></a> 33077 33078<a class="summary-letter" href="#Concept-index_cp_letter-T"><b>T</b></a> 33079 33080<a class="summary-letter" href="#Concept-index_cp_letter-U"><b>U</b></a> 33081 33082<a class="summary-letter" href="#Concept-index_cp_letter-V"><b>V</b></a> 33083 33084<a class="summary-letter" href="#Concept-index_cp_letter-W"><b>W</b></a> 33085 33086</td></tr></table> 33087 33088 33089<hr> 33090<span id="Syntax-index"></span><div class="header"> 33091<p> 33092Previous: <a href="#Concept-index" accesskey="p" rel="prev">Concept index</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 33093</div> 33094<span id="Syntax-index-1"></span><h2 class="unnumbered">Syntax index</h2> 33095 33096<span id="index-Index_002c-syntax"></span> 33097<span id="index-Syntax_002c-index"></span> 33098<span id="index-Keywords_002c-index"></span> 33099 33100<table><tr><th valign="top">Jump to: </th><td><a class="summary-letter" href="#Syntax-index_tp_symbol-1"><b>!</b></a> 33101 33102<a class="summary-letter" href="#Syntax-index_tp_symbol-2"><b>%</b></a> 33103 33104<a class="summary-letter" href="#Syntax-index_tp_symbol-3"><b>&</b></a> 33105 33106<a class="summary-letter" href="#Syntax-index_tp_symbol-4"><b>(</b></a> 33107 33108<a class="summary-letter" href="#Syntax-index_tp_symbol-5"><b>*</b></a> 33109 33110<a class="summary-letter" href="#Syntax-index_tp_symbol-6"><b>+</b></a> 33111 33112<a class="summary-letter" href="#Syntax-index_tp_symbol-7"><b>-</b></a> 33113 33114<a class="summary-letter" href="#Syntax-index_tp_symbol-8"><b>/</b></a> 33115 33116<a class="summary-letter" href="#Syntax-index_tp_symbol-9"><b>:</b></a> 33117 33118<a class="summary-letter" href="#Syntax-index_tp_symbol-10"><b><</b></a> 33119 33120<a class="summary-letter" href="#Syntax-index_tp_symbol-11"><b>=</b></a> 33121 33122<a class="summary-letter" href="#Syntax-index_tp_symbol-12"><b>></b></a> 33123 33124<a class="summary-letter" href="#Syntax-index_tp_symbol-13"><b>?</b></a> 33125 33126<a class="summary-letter" href="#Syntax-index_tp_symbol-14"><b>^</b></a> 33127 33128<a class="summary-letter" href="#Syntax-index_tp_symbol-15"><b>|</b></a> 33129 33130<br> 33131<a class="summary-letter" href="#Syntax-index_tp_letter-A"><b>A</b></a> 33132 33133<a class="summary-letter" href="#Syntax-index_tp_letter-B"><b>B</b></a> 33134 33135<a class="summary-letter" href="#Syntax-index_tp_letter-C"><b>C</b></a> 33136 33137<a class="summary-letter" href="#Syntax-index_tp_letter-D"><b>D</b></a> 33138 33139<a class="summary-letter" href="#Syntax-index_tp_letter-E"><b>E</b></a> 33140 33141<a class="summary-letter" href="#Syntax-index_tp_letter-F"><b>F</b></a> 33142 33143<a class="summary-letter" href="#Syntax-index_tp_letter-G"><b>G</b></a> 33144 33145<a class="summary-letter" href="#Syntax-index_tp_letter-H"><b>H</b></a> 33146 33147<a class="summary-letter" href="#Syntax-index_tp_letter-I"><b>I</b></a> 33148 33149<a class="summary-letter" href="#Syntax-index_tp_letter-L"><b>L</b></a> 33150 33151<a class="summary-letter" href="#Syntax-index_tp_letter-M"><b>M</b></a> 33152 33153<a class="summary-letter" href="#Syntax-index_tp_letter-N"><b>N</b></a> 33154 33155<a class="summary-letter" href="#Syntax-index_tp_letter-O"><b>O</b></a> 33156 33157<a class="summary-letter" href="#Syntax-index_tp_letter-P"><b>P</b></a> 33158 33159<a class="summary-letter" href="#Syntax-index_tp_letter-R"><b>R</b></a> 33160 33161<a class="summary-letter" href="#Syntax-index_tp_letter-S"><b>S</b></a> 33162 33163<a class="summary-letter" href="#Syntax-index_tp_letter-T"><b>T</b></a> 33164 33165<a class="summary-letter" href="#Syntax-index_tp_letter-U"><b>U</b></a> 33166 33167<a class="summary-letter" href="#Syntax-index_tp_letter-V"><b>V</b></a> 33168 33169<a class="summary-letter" href="#Syntax-index_tp_letter-W"><b>W</b></a> 33170 33171</td></tr></table> 33172<table class="index-tp" border="0"> 33173<tr><td></td><th align="left">Index Entry</th><td> </td><th align="left"> Section</th></tr> 33174<tr><td colspan="4"> <hr></td></tr> 33175<tr><th id="Syntax-index_tp_symbol-1">!</th><td></td><td></td></tr> 33176<tr><td></td><td valign="top"><a href="#index-_0021"><code>!</code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 33177<tr><td></td><td valign="top"><a href="#index-_0021_003d"><code>!=</code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 33178<tr><td colspan="4"> <hr></td></tr> 33179<tr><th id="Syntax-index_tp_symbol-2">%</th><td></td><td></td></tr> 33180<tr><td></td><td valign="top"><a href="#index-_0025"><code>%</code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 33181<tr><td colspan="4"> <hr></td></tr> 33182<tr><th id="Syntax-index_tp_symbol-3">&</th><td></td><td></td></tr> 33183<tr><td></td><td valign="top"><a href="#index-_0026_0026"><code>&&</code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 33184<tr><td colspan="4"> <hr></td></tr> 33185<tr><th id="Syntax-index_tp_symbol-4">(</th><td></td><td></td></tr> 33186<tr><td></td><td valign="top"><a href="#index-_0028_0029"><code>()</code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 33187<tr><td colspan="4"> <hr></td></tr> 33188<tr><th id="Syntax-index_tp_symbol-5">*</th><td></td><td></td></tr> 33189<tr><td></td><td valign="top"><a href="#index-_002a"><code>*</code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 33190<tr><td></td><td valign="top"><a href="#index-_002a_003d"><code>*=</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 33191<tr><td colspan="4"> <hr></td></tr> 33192<tr><th id="Syntax-index_tp_symbol-6">+</th><td></td><td></td></tr> 33193<tr><td></td><td valign="top"><a href="#index-_002b"><code>+</code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 33194<tr><td></td><td valign="top"><a href="#index-_002b_002b"><code>++</code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 33195<tr><td></td><td valign="top"><a href="#index-_002b_003d"><code>+=</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 33196<tr><td colspan="4"> <hr></td></tr> 33197<tr><th id="Syntax-index_tp_symbol-7">-</th><td></td><td></td></tr> 33198<tr><td></td><td valign="top"><a href="#index-_002d"><code>-</code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 33199<tr><td></td><td valign="top"><a href="#index-_002d-1"><code>-</code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 33200<tr><td></td><td valign="top"><a href="#index-_002d_002c-_002dparse_005fand_005fexit"><code>-, -parse_and_exit</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33201<tr><td></td><td valign="top"><a href="#index-_002d_002d"><code>--</code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 33202<tr><td></td><td valign="top"><a href="#index-_002d0"><code>-0</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33203<tr><td></td><td valign="top"><a href="#index-_002d1_002c-_002d2_002c-_002d3"><code>-1, -2, -3</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33204<tr><td></td><td valign="top"><a href="#index-_002d_003d"><code>-=</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 33205<tr><td></td><td valign="top"><a href="#index-_002da_002c-_002dg_002c-_002dm_002c-_002ds_002c-_002dp"><code>-a, -g, -m, -s, -p</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33206<tr><td></td><td valign="top"><a href="#index-_002dalgo-string"><code>-algo string</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33207<tr><td></td><td valign="top"><a href="#index-_002daniso_005fmax-value"><code>-aniso_max value</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33208<tr><td></td><td valign="top"><a href="#index-_002dbarycentric_005frefine"><code>-barycentric_refine</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33209<tr><td></td><td valign="top"><a href="#index-_002dbg-file"><code>-bg file</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33210<tr><td></td><td valign="top"><a href="#index-_002dbgm-file"><code>-bgm file</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33211<tr><td></td><td valign="top"><a href="#index-_002dbin"><code>-bin</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33212<tr><td></td><td valign="top"><a href="#index-_002dcamera"><code>-camera</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33213<tr><td></td><td valign="top"><a href="#index-_002dcheck"><code>-check</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33214<tr><td></td><td valign="top"><
33214a href="#index-_002dclcurv-value"><code>-clcurv value</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33215<tr><td></td><td valign="top"><a href="#index-_002dclextend-value"><code>-clextend value</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33216<tr><td></td><td valign="top"><a href="#index-_002dclmax-value"><code>-clmax value</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33217<tr><td></td><td valign="top"><a href="#index-_002dclmin-value"><code>-clmin value</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33218<tr><td></td><td valign="top"><a href="#index-_002dclscale-value"><code>-clscale value</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33219<tr><td></td><td valign="top"><a href="#index-_002dcombine"><code>-combine</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33220<tr><td></td><td valign="top"><a href="#index-_002dconvert-files"><code>-convert files</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33221<tr><td></td><td valign="top"><a href="#index-_002dcpu"><code>-cpu</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33222<tr><td></td><td valign="top"><a href="#index-_002ddisplay-string"><code>-display string</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33223<tr><td></td><td valign="top"><a href="#index-_002depslc1d-value"><code>-epslc1d value</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33224<tr><td></td><td valign="top"><a href="#index-_002dfontsize-int"><code>-fontsize int</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33225<tr><td></td><td valign="top"><a href="#index-_002dformat-string"><code>-format string</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33226<tr><td></td><td valign="top"><a href="#index-_002dgamepad"><code>-gamepad</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33227<tr><td></td><td valign="top"><a href="#index-_002dhelp"><code>-help</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33228<tr><td></td><td valign="top"><a href="#index-_002dhelp_005foptions"><code>-help_options</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33229<tr><td></td><td valign="top"><a href="#index-_002dho_005f_005bmin_002cmax_002cnlayers_005d"><code>-ho_[min,max,nlayers]</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33230<tr><td></td><td valign="top"><a href="#index-_002dhybrid"><code>-hybrid</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33231<tr><td></td><td valign="top"><a href="#index-_002dignore_005fperiocity"><code>-ignore_periocity</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33232<tr><td></td><td valign="top"><a href="#index-_002dinfo"><code>-info</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33233<tr><td></td><td valign="top"><a href="#index-_002dlink-int"><code>-link int</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33234<tr><td></td><td valign="top"><a href="#index-_002dlisten-string"><code>-listen string</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33235<tr><td></td><td valign="top"><a href="#index-_002dlog-filename"><code>-log filename</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33236<tr><td></td><td valign="top"><a href="#index-_002dmatch"><code>-match</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33237<tr><td></td><td valign="top"><a href="#index-_002dmerge"><code>-merge</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33238<tr><td></td><td valign="top"><a href="#index-_002dminterpreter-string"><code>-minterpreter string</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33239<tr><td></td><td valign="top"><a href="#index-_002dn"><code>-n</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33240<tr><td></td><td valign="top"><a href="#index-_002dnew"><code>-new</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33241<tr><td></td><td valign="top"><a href="#index-_002dnodb"><code>-nodb</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33242<tr><td></td><td valign="top"><a href="#index-_002dnoenv"><code>-noenv</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33243<tr><td></td><td valign="top"><a href="#index-_002dnolocale"><code>-nolocale</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33244<tr><td></td><td valign="top"><a href="#index-_002dnopopup"><code>-nopopup</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33245<tr><td></td><td valign="top"><a href="#index-_002dnt-int"><code>-nt int</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33246<tr><td></td><td valign="top"><a href="#index-_002dnumsubedges"><code>-numsubedges</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33247<tr><td></td><td valign="top"><a href="#index-_002do-file"><code>-o file</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33248<tr><td></td><td valign="top"><a href="#index-_002dopen"><code>-open</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33249<tr><td></td><td valign="top"><a href="#index-_002doptimize_005b_005fnetgen_005d"><code>-optimize[_netgen]</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33250<tr><td></td><td valign="top"><a href="#index-_002doptimize_005fho"><code>-optimize_ho</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33251<tr><td></td><td valign="top"><a href="#index-_002doptimize_005fthreshold"><code>-optimize_threshold</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33252<tr><td></td><td valign="top"><a href="#index-_002doption-file"><code>-option file</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33253<tr><td></td><td valign="top"><a href="#index-_002dorder-int"><code>-order int</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33254<tr><td></td><td valign="top"><a href="#index-_002dpart-int"><code>-part int</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33255<tr><td></td><td valign="top"><a href="#index-_002dpart_005fsplit"><code>-part_split</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33256<tr><td></td><td valign="top"><a href="#index-_002dpart_005ftopo_005fpro"><code>-part_topo_pro</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33257<tr><td></td><td valign="top"><a href="#index-_002dpart_005fweight-_005btri_002cquad_002ctet_002chex_002cpri_002cpyr_002ctrih_005d-int"><code>-part_weight [tri,quad,tet,hex,pri,pyr,trih] int</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33258<tr><td></td><td valign="top"><a href="#index-_002dpart_005f_005bno_005f_005dghosts"><code>-part_[no_]ghosts</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33259<tr><td></td><td valign="top"><a href="#index-_002dpart_005f_005bno_005f_005dphysicals"><code>-part_[no_]physicals</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33260<tr><td></td><td valign="top"><a href="#index-_002dpart_005f_005bno_005f_005dtopo"><code>-part_[no_]topo</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33261<tr><td></td><td valign="top"><a href="#index-_002dpid"><code>-pid</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33262<tr><td></td><td valign="top"><a href="#index-_002dpreserve_005fnumbering_005fmsh2"><code>-preserve_numbering_msh2</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33263<tr><td></td><td valign="top"><a href="#index-_002dpyinterpreter-string"><code>-pyinterpreter string</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33264<tr><td></td><td valign="top"><a href="#index-_002drand-value"><code>-rand value</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33265<tr><td></td><td valign="top"><a href="#index-_002dreclassify-angle"><code>-reclassify angle</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33266<tr><td></td><td valign="top"><a href="#index-_002drefine"><code>-refine</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33267<tr><td></td><td valign="top"><a href="#index-_002dreparam-angle"><code>-reparam angle</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33268<tr><td></td><td valign="top"><a href="#index-_002drun"><code>-run</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33269<tr><td></td><td valign="top"><a href="#index-_002dsave"><code>-save</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33270<tr><td></td><td valign="top"><a href="#index-_002dsave_005fall"><code>-save_all</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33271<tr><td></td><td valign="top"><a href="#index-_002dsave_005fparametric"><code>-save_parametric</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33272<tr><td></td><td valign="top"><a href="#index-_002dsave_005ftopology"><code>-save_topology</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33273<tr><td></td><td valign="top"><a href="#index-_002dsetnumber-name-value"><code>-setnumber name value</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33274<tr><td></td><td valign="top"><a href="#index-_002dsetstring-name-value"><code>-setstring name value</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33275<tr><td></td><td valign="top"><a href="#index-_002dsmooth-int"><code>-smooth int</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33276<tr><td></td><td valign="top"><a href="#index-_002dsmooth_005fratio-value"><code>-smooth_ratio value</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33277<tr><td></td><td valign="top"><a href="#index-_002dstereo"><code>-stereo</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33278<tr><td></td><td valign="top"><a href="#index-_002dstring-_0022string_0022"><code>-string "
33278string"</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33279<tr><td></td><td valign="top"><a href="#index-_002dswapangle-value"><code>-swapangle value</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33280<tr><td></td><td valign="top"><a href="#index-_002dtheme-string"><code>-theme string</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33281<tr><td></td><td valign="top"><a href="#index-_002dtol-value"><code>-tol value</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33282<tr><td></td><td valign="top"><a href="#index-_002dv-int"><code>-v int</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33283<tr><td></td><td valign="top"><a href="#index-_002dversion"><code>-version</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33284<tr><td></td><td valign="top"><a href="#index-_002dwatch-pattern"><code>-watch pattern</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-command_002dline-interface">Gmsh command-line interface</a></td></tr> 33285<tr><td colspan="4"> <hr></td></tr> 33286<tr><th id="Syntax-index_tp_symbol-8">/</th><td></td><td></td></tr> 33287<tr><td></td><td valign="top"><a href="#index-_002f"><code>/</code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 33288<tr><td></td><td valign="top"><a href="#index-_002f_002a_002c-_002a_002f"><code>/*, */</code></a>:</td><td> </td><td valign="top"><a href="#Comments">Comments</a></td></tr> 33289<tr><td></td><td valign="top"><a href="#index-_002f_002f"><code>//</code></a>:</td><td> </td><td valign="top"><a href="#Comments">Comments</a></td></tr> 33290<tr><td></td><td valign="top"><a href="#index-_002f_003d"><code>/=</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 33291<tr><td colspan="4"> <hr></td></tr> 33292<tr><th id="Syntax-index_tp_symbol-9">:</th><td></td><td></td></tr> 33293<tr><td></td><td valign="top"><a href="#index-_003a"><code>:</code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 33294<tr><td colspan="4"> <hr></td></tr> 33295<tr><th id="Syntax-index_tp_symbol-10"><</th><td></td><td></td></tr> 33296<tr><td></td><td valign="top"><a href="#index-_003c"><code><</code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 33297<tr><td></td><td valign="top"><a href="#index-_003c-Recursive-_003e-Color-color_002dexpression-_007b-_003cPhysical_003e-Point-_007c-Curve-_007c-Surface-_007c-Volume-_007b-expression_002dlist_002dor_002dall-_007d_003b-_2026-_007d"><code>< Recursive > Color <var>color-expression</var> { <Physical> Point | Curve | Surface | Volume { <var>expression-list-or-all</var> }; … }</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 33298<tr><td></td><td valign="top"><a href="#index-_003c-Recursive-_003e-Delete-_007b-_003cPhysical_003e-Point-_007c-Curve-_007c-Surface-_007c-Volume-_007b-expression_002dlist_002dor_002dall-_007d_003b-_2026-_007d"><code>< Recursive > Delete { <Physical> Point | Curve | Surface | Volume { <var>expression-list-or-all</var> }; … }</code></a>:</td><td> </td><td valign="top"><a href="#Other-geometry-commands">Other geometry commands</a></td></tr> 33299<tr><td></td><td valign="top"><a href="#index-_003c-Recursive-_003e-Hide-_007b-_003cPhysical_003e-Point-_007c-Curve-_007c-Surface-_007c-Volume-_007b-expression_002dlist_002dor_002dall-_007d_003b-_2026-_007d"><code>< Recursive > Hide { <Physical> Point | Curve | Surface | Volume { <var>expression-list-or-all</var> }; … }</code></a>:</td><td> </td><td valign="top"><a href="#Other-geometry-commands">Other geometry commands</a></td></tr> 33300<tr><td></td><td valign="top"><a href="#index-_003c-Recursive-_003e-Show-_007b-_003cPhysical_003e-Point-_007c-Curve-_007c-Surface-_007c-Volume-_007b-expression_002dlist_002dor_002dall-_007d_003b-_2026-_007d"><code>< Recursive > Show { <Physical> Point | Curve | Surface | Volume { <var>expression-list-or-all</var> }; … }</code></a>:</td><td> </td><td valign="top"><a href="#Other-geometry-commands">Other geometry commands</a></td></tr> 33301<tr><td></td><td valign="top"><a href="#index-_003c_003d"><code><=</code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 33302<tr><td colspan="4"> <hr></td></tr> 33303<tr><th id="Syntax-index_tp_symbol-11">=</th><td></td><td></td></tr> 33304<tr><td></td><td valign="top"><a href="#index-_003d"><code>=</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 33305<tr><td></td><td valign="top"><a href="#index-_003d_003d"><code>==</code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 33306<tr><td colspan="4"> <hr></td></tr> 33307<tr><th id="Syntax-index_tp_symbol-12">></th><td></td><td></td></tr> 33308<tr><td></td><td valign="top"><a href="#index-_003e"><code>></code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 33309<tr><td></td><td valign="top"><a href="#index-_003e_003d"><code>>=</code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 33310<tr><td colspan="4"> <hr></td></tr> 33311<tr><th id="Syntax-index_tp_symbol-13">?</th><td></td><td></td></tr> 33312<tr><td></td><td valign="top"><a href="#index-_003f"><code>?</code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 33313<tr><td colspan="4"> <hr></td></tr> 33314<tr><th id="Syntax-index_tp_symbol-14">^</th><td></td><td></td></tr> 33315<tr><td></td><td valign="top"><a href="#index-_005e"><code>^</code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 33316<tr><td colspan="4"> <hr></td></tr> 33317<tr><th id="Syntax-index_tp_symbol-15">|</th><td></td><td></td></tr> 33318<tr><td></td><td valign="top"><a href="#index-_007c_007c"><code>||</code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 33319<tr><td colspan="4"> <hr></td></tr> 33320<tr><th id="Syntax-index_tp_letter-A">A</th><td></td><td></td></tr> 33321<tr><td></td><td valign="top"><a href="#index-Abort_003b"><code>Abort;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 33322<tr><td></td><td valign="top"><a href="#index-Acos-_0028-expression-_0029"><code>Acos ( <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 33323<tr><td></td><td valign="top"><a href="#index-AdaptMesh-_007b-expression_002dlist-_007d-_007b-expression_002dlist-_007d-_007b-_007b-expression_002dlist-_003c-_002c-_2026-_003e-_007d-_007d_003b"><code>AdaptMesh { <var>expression-list</var> } { <var>expression-list</var> } { { <var>expression-list</var> < , … > } };</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 33324<tr><td></td><td valign="top"><a href="#index-Affine-_007b-expression_002dlist-_007d-_007b-transform_002dlist-_007d"><code>Affine { <var>expression-list</var> } { <var>transform-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Transformations">Transformations</a></td></tr> 33325<tr><td></td><td valign="top"><a href="#index-Alias-View_005bexpression_005d_003b"><code>Alias View[<var>expression</var>];</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 33326<tr><td></td><td valign="top"><a href="#index-AliasWithOptions-View_005bexpression_005d_003b"><code>AliasWithOptions View[<var>expression</var>];</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 33327<tr><td></td><td valign="top"><a href="#index-Asin-_0028-expression-_0029"><code>Asin ( <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 33328<tr><td></td><td valign="top"><a href="#index-Atan-_0028-expression-_0029"><code>Atan ( <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 33329<tr><td></td><td valign="top"><a href="#index-Atan2-_0028-expression_002c-expression-_0029"><code>Atan2 ( <var>expression</var>, <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 33330<tr><td></td><td valign="top"><a href="#index-AttractorAnisoCurve"><code>AttractorAnisoCurve</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 33331<tr><td></td><td valign="top"><a href="#index-AutomaticMeshSizeField"><code>AutomaticMeshSizeField</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 33332<tr><td colspan="4"> <hr></td></tr> 33333<tr><th id="Syntax-index_tp_letter-B">B</th><td></td><td></td></tr> 33334<tr><td></td><td valign="top">
33334<a href="#index-Background-Field-_003d-expression_003b"><code>Background Field = <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-element-sizes">Mesh element sizes</a></td></tr> 33335<tr><td></td><td valign="top"><a href="#index-Background-Mesh-View_005bexpression_005d_003b"><code>Background Mesh View[<var>expression</var>];</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 33336<tr><td></td><td valign="top"><a href="#index-Ball"><code>Ball</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 33337<tr><td></td><td valign="top"><a href="#index-Bezier-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"><code>Bezier ( <var>expression</var> ) = { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Curves">Curves</a></td></tr> 33338<tr><td></td><td valign="top"><a href="#index-Bezier-Surface-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"><code>Bezier Surface ( <var>expression</var> ) = { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Surfaces">Surfaces</a></td></tr> 33339<tr><td></td><td valign="top"><a href="#index-boolean"><code><var>boolean</var></code></a>:</td><td> </td><td valign="top"><a href="#Boolean-operations">Boolean operations</a></td></tr> 33340<tr><td></td><td valign="top"><a href="#index-BooleanDifference-_0028-expression-_0029-_003d-_007b-boolean_002dlist-_007d-_007b-boolean_002dlist-_007d_003b"><code>BooleanDifference ( <var>expression</var> ) = { <var>boolean-list</var> } { <var>boolean-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Boolean-operations">Boolean operations</a></td></tr> 33341<tr><td></td><td valign="top"><a href="#index-BooleanDifference-_007b-boolean_002dlist-_007d-_007b-boolean_002dlist-_007d"><code>BooleanDifference { <var>boolean-list</var> } { <var>boolean-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Boolean-operations">Boolean operations</a></td></tr> 33342<tr><td></td><td valign="top"><a href="#index-BooleanFragments-_007b-boolean_002dlist-_007d-_007b-boolean_002dlist-_007d"><code>BooleanFragments { <var>boolean-list</var> } { <var>boolean-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Boolean-operations">Boolean operations</a></td></tr> 33343<tr><td></td><td valign="top"><a href="#index-BooleanIntersection-_0028-expression-_0029-_003d-_007b-boolean_002dlist-_007d-_007b-boolean_002dlist-_007d_003b"><code>BooleanIntersection ( <var>expression</var> ) = { <var>boolean-list</var> } { <var>boolean-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Boolean-operations">Boolean operations</a></td></tr> 33344<tr><td></td><td valign="top"><a href="#index-BooleanIntersection-_007b-boolean_002dlist-_007d-_007b-boolean_002dlist-_007d"><code>BooleanIntersection { <var>boolean-list</var> } { <var>boolean-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Boolean-operations">Boolean operations</a></td></tr> 33345<tr><td></td><td valign="top"><a href="#index-BooleanUnion-_0028-expression-_0029-_003d-_007b-boolean_002dlist-_007d-_007b-boolean_002dlist-_007d_003b"><code>BooleanUnion ( <var>expression</var> ) = { <var>boolean-list</var> } { <var>boolean-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Boolean-operations">Boolean operations</a></td></tr> 33346<tr><td></td><td valign="top"><a href="#index-BooleanUnion-_007b-boolean_002dlist-_007d-_007b-boolean_002dlist-_007d"><code>BooleanUnion { <var>boolean-list</var> } { <var>boolean-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Boolean-operations">Boolean operations</a></td></tr> 33347<tr><td></td><td valign="top"><a href="#index-Boundary-_007b-transform_002dlist-_007d"><code>Boundary { <var>transform-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Transformations">Transformations</a></td></tr> 33348<tr><td></td><td valign="top"><a href="#index-BoundaryLayer"><code>BoundaryLayer</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 33349<tr><td></td><td valign="top"><a href="#index-BoundingBox-_007b-expression_002c-expression_002c-expression_002c-expression_002c-expression_002c-expression-_007d_003b"><code>BoundingBox { <var>expression</var>, <var>expression</var>, <var>expression</var>, <var>expression</var>, <var>expression</var>, <var>expression</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 33350<tr><td></td><td valign="top"><a href="#index-BoundingBox_003b"><code>BoundingBox;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 33351<tr><td></td><td valign="top"><a href="#index-Box"><code>Box</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 33352<tr><td></td><td valign="top"><a href="#index-Box-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"><code>Box ( <var>expression</var> ) = { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Volumes">Volumes</a></td></tr> 33353<tr><td></td><td valign="top"><a href="#index-BSpline-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"><code>BSpline ( <var>expression</var> ) = { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Curves">Curves</a></td></tr> 33354<tr><td></td><td valign="top"><a href="#index-BSpline-Surface-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"><code>BSpline Surface ( <var>expression</var> ) = { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Surfaces">Surfaces</a></td></tr> 33355<tr><td></td><td valign="top"><a href="#index-build_002din_002dfunction"><code><var>build-in-function</var></code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 33356<tr><td colspan="4"> <hr></td></tr> 33357<tr><th id="Syntax-index_tp_letter-C">C</th><td></td><td></td></tr> 33358<tr><td></td><td valign="top"><a href="#index-Call-string-_007c-string_002dexpression-_003b"><code>Call <var>string</var> | <var>string-expression</var> ;</code></a>:</td><td> </td><td valign="top">
33358<a href="#User_002ddefined-macros">User-defined macros</a></td></tr> 33359<tr><td></td><td valign="top"><a href="#index-Ceil-_0028-expression-_0029"><code>Ceil ( <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 33360<tr><td></td><td valign="top"><a href="#index-Chamfer-_007b-expression_002dlist-_007d-_007b-expression_002dlist-_007d-_007b-expression_002dlist-_007d-_007b-expression_002dlist-_007d"><code>Chamfer { <var>expression-list</var> } { <var>expression-list</var> } { <var>expression-list</var> } { <var>expression-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Extrusions">Extrusions</a></td></tr> 33361<tr><td></td><td valign="top"><a href="#index-Circle-_0028-expression-_0029-_003d-_007b-expression_002c-expression_002c-expression-_003c_002c-_002e_002e_002e_003e-_007d_003b"><code>Circle ( <var>expression</var> ) = { <var>expression</var>, <var>expression</var>, <var>expression</var> <, ...> };</code></a>:</td><td> </td><td valign="top"><a href="#Curves">Curves</a></td></tr> 33362<tr><td></td><td valign="top"><a href="#index-ClassifySurfaces-_007b-expression-_002c-expression-_002c-expression-_003c-_002c-expression-_003e-_007d_003b"><code>ClassifySurfaces { <var>expression</var> , <var>expression</var> , <var>expression</var> < , <var>expression</var> > };</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 33363<tr><td></td><td valign="top"><a href="#index-Closest-_007b-expression_002dlist-_007d-_007b-transform_002dlist-_007d"><code>Closest { <var>expression-list</var> } { <var>transform-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Transformations">Transformations</a></td></tr> 33364<tr><td></td><td valign="top"><a href="#index-Coherence-Mesh_003b"><code>Coherence Mesh;</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 33365<tr><td></td><td valign="top"><a href="#index-Coherence_003b"><code>Coherence;</code></a>:</td><td> </td><td valign="top"><a href="#Other-geometry-commands">Other geometry commands</a></td></tr> 33366<tr><td></td><td valign="top"><a href="#index-Cohomology-_0028-_007b-expression_002dlist-_007d-_0029-_007b-_007b-expression_002dlist-_007d-_002c-_007b-expression_002dlist-_007d-_007d_003b"><code>Cohomology ( { <var>expression-list</var> } ) { { <var>expression-list</var> } , { <var>expression-list</var> } };</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 33367<tr><td></td><td valign="top"><a href="#index-color_002doption-_003d-color_002dexpression_003b"><code><var>color-option</var> = <var>color-expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 33368<tr><td></td><td valign="top"><a href="#index-Combine-ElementsByViewName_003b"><code>Combine ElementsByViewName;</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 33369<tr><td></td><td valign="top"><a href="#index-Combine-ElementsFromAllViews-_007c-Combine-Views_003b"><code>Combine ElementsFromAllViews | Combine Views;</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 33370<tr><td></td><td valign="top"><a href="#index-Combine-ElementsFromVisibleViews_003b"><code>Combine ElementsFromVisibleViews;</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 33371<tr><td></td><td valign="top"><a href="#index-Combine-TimeStepsByViewName-_007c-Combine-TimeSteps_003b"><code>Combine TimeStepsByViewName | Combine TimeSteps;</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 33372<tr><td></td><td valign="top"><a href="#index-Combine-TimeStepsFromAllViews_003b"><code>Combine TimeStepsFromAllViews;</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 33373<tr><td></td><td valign="top"><a href="#index-Combine-TimeStepsFromVisibleViews_003b"><code>Combine TimeStepsFromVisibleViews;</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 33374<tr><td></td><td valign="top"><a href="#index-CombinedBoundary-_007b-transform_002dlist-_007d"><code>CombinedBoundary { <var>transform-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Transformations">Transformations</a></td></tr> 33375<tr><td></td><td valign="top"><a href="#index-Compound-Curve-_007c-Surface-_007b-expression_002dlist_002dor_002dall-_007d-_003b"><code>Compound Curve | Surface { <var>expression-list-or-all</var> } ;</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 33376<tr><td></td><td valign="top">
33376<a href="#index-Compound-Spline-_007c-BSpline-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d-Using-expression_003b"><code>Compound Spline | BSpline ( <var>expression</var> ) = { <var>expression-list</var> } Using <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Curves">Curves</a></td></tr> 33377<tr><td></td><td valign="top"><a href="#index-Cone-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"><code>Cone ( <var>expression</var> ) = { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Volumes">Volumes</a></td></tr> 33378<tr><td></td><td valign="top"><a href="#index-Constant"><code>Constant</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 33379<tr><td></td><td valign="top"><a href="#index-Coordinates-Surface-expression_003b"><code>Coordinates Surface <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-geometry-commands">Other geometry commands</a></td></tr> 33380<tr><td></td><td valign="top"><a href="#index-CopyOptions-View_005bexpression_002c-expression_005d_003b"><code>CopyOptions View[<var>expression</var>, <var>expression</var>];</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 33381<tr><td></td><td valign="top"><a href="#index-Cos-_0028-expression-_0029"><code>Cos ( <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 33382<tr><td></td><td valign="top"><a href="#index-Cosh-_0028-expression-_0029"><code>Cosh ( <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 33383<tr><td></td><td valign="top"><a href="#index-Cpu"><code>Cpu</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 33384<tr><td></td><td valign="top"><a href="#index-CreateDir-string_002dexpression_003b"><code>CreateDir <var>string-expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 33385<tr><td></td><td valign="top"><a href="#index-CreateGeometry-_003c-_007b-_003cPhysical_003e-Point-_007c-Curve-_007c-Surface-_007c-Volume-_007b-expression_002dlist_002dor_002dall-_007d_003b-_2026-_007d-_003e-_003b"><code>CreateGeometry < { <Physical> Point | Curve | Surface | Volume { <var>expression-list-or-all</var> }; … } > ;</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 33386<tr><td></td><td valign="top"><a href="#index-CreateTopology-_003c-_007b-expression-_002c-expression-_007d-_003e-_003b"><code>CreateTopology < { <var>expression</var> , <var>expression</var> } > ;</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 33387<tr><td></td><td valign="top"><a href="#index-Curvature"><code>Curvature</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 33388<tr><td></td><td valign="top"><a href="#index-Curve-Loop-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"><code>Curve Loop ( <var>expression</var> ) = { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Curves">Curves</a></td></tr> 33389<tr><td></td><td valign="top"><a href="#index-Cylinder"><code>Cylinder</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 33390<tr><td></td><td valign="top"><a href="#index-Cylinder-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"><code>Cylinder ( <var>expression</var> ) = { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Volumes">Volumes</a></td></tr> 33391<tr><td colspan="4"> <hr></td></tr> 33392<tr><th id="Syntax-index_tp_letter-D">D</th><td></td><td></td></tr> 33393<tr><td></td><td valign="top"><a href="#index-DefineConstant_005b-string-_003d-expression_007cstring_002dexpression-_003c_002c-_002e_002e_002e_003e_005d_003b"><code>DefineConstant[ <var>string</var> = <var>expression</var>|<var>string-expression</var> <, ...>];</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 33394<tr><td></td><td valign="top"><a href="#index-DefineConstant_005b-string-_003d-_007b-expression_007cstring_002dexpression_002c-onelab_002doptions-_007
33394d-_003c_002c-_002e_002e_002e_003e_005d_003b"><code>DefineConstant[ <var>string</var> = { <var>expression</var>|<var>string-expression</var>, <var>onelab-options</var> } <, ...>];</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 33395<tr><td></td><td valign="top"><a href="#index-Delete-Embedded-_007b-_003cPhysical_003e-Point-_007c-Curve-_007c-Surface-_007c-Volume-_007b-expression_002dlist_002dor_002dall-_007d_003b-_2026-_007d"><code>Delete Embedded { <Physical> Point | Curve | Surface | Volume { <var>expression-list-or-all</var> }; … }</code></a>:</td><td> </td><td valign="top"><a href="#Other-geometry-commands">Other geometry commands</a></td></tr> 33396<tr><td></td><td valign="top"><a href="#index-Delete-Empty-Views_003b"><code>Delete Empty Views;</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 33397<tr><td></td><td valign="top"><a href="#index-Delete-Meshes_003b"><code>Delete Meshes;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 33398<tr><td></td><td valign="top"><a href="#index-Delete-Model_003b"><code>Delete Model;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 33399<tr><td></td><td valign="top"><a href="#index-Delete-Options_003b"><code>Delete Options;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 33400<tr><td></td><td valign="top"><a href="#index-Delete-Physicals_003b"><code>Delete Physicals;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 33401<tr><td></td><td valign="top"><a href="#index-Delete-string_003b"><code>Delete <var>string</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 33402<tr><td></td><td valign="top"><a href="#index-Delete-Variables_003b"><code>Delete Variables;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 33403<tr><td></td><td valign="top"><a href="#index-Delete-View_005bexpression_005d_003b"><code>Delete View[<var>expression</var>];</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 33404<tr><td></td><td valign="top"><a href="#index-Dilate-_007b-_007b-expression_002dlist-_007d_002c-expression-_007d-_007b-transform_002dlist-_007d"><code>Dilate { { <var>expression-list</var> }, <var>expression</var> } { <var>transform-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Transformations">Transformations</a></td></tr> 33405<tr><td></td><td valign="top"><a href="#index-Dilate-_007b-_007b-expression_002dlist-_007d_002c-_007b-expression_002c-expression_002c-expression-_007d-_007d-_007b-transform_002dlist-_007d"><code>Dilate { { <var>expression-list</var> }, { <var>expression</var>, <var>expression</var>, <var>expression</var> } } { <var>transform-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Transformations">Transformations</a></td></tr> 33406<tr><td></td><td valign="top"><a href="#index-Disk-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"><code>Disk ( <var>expression</var> ) = { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Surfaces">Surfaces</a></td></tr> 33407<tr><td></td><td valign="top"><a href="#index-Distance"><code>Distance</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 33408<tr><td></td><td valign="top"><a href="#index-Draw_003b"><code>Draw;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 33409<tr><td colspan="4"> <hr></td></tr> 33410<tr><th id="Syntax-index_tp_letter-E">E</th><td></td><td></td></tr> 33411<tr><td></td><td valign="top"><a href="#index-Ellipse-_0028-expression-_0029-_003d-_007b-expression_002c-expression_002c-expression-_003c_002c-_002e_002e_002e_003e-_007d_003b"><code>Ellipse ( <var>expression</var> ) = { <var>expression</var>, <var>expression</var>, <var>expression</var> <, ...> };</code></a>:</td><td> </td><td valign="top"><a href="#Curves">Curves</a></td></tr> 33412<tr><td></td><td valign="top"><a href="#index-Else"><code>Else</code></a>:</td><td> </td><td valign="top"><a href="#Loops-and-conditionals">Loops and conditionals</a></td></tr> 33413<tr><td></td><td valign="top"><a href="#index-ElseIf-_0028-expression-_0029"><code>ElseIf ( <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Loops-and-conditionals">Loops and conditionals</a></td></tr> 33414<tr><td></td><td valign="top"><a href="#index-EndFor"><code>EndFor</code></a>:</td><td> </td><td valign="top"><a href="#Loops-and-conditionals">Loops and conditionals</a></td></tr> 33415<tr><td></td><td valign="top"><a href="#index-EndIf"><code>EndIf</code></a>:</td><td> </td><td valign="top"><a href="#Loops-and-conditionals">Loops and conditionals</a></td></tr> 33416<tr><td></td><td valign="top"><a href="#index-Euclidian-Coordinates-_003b"><code>Euclidian Coordinates ;</code></a>:</td><td> </td><td valign="top"><a href="#Other-geometry-commands">Other geometry commands</a></td></tr> 33417<tr><td></td><td valign="top"><a href="#index-Exit-_003c-expression-_003e_003b"><code>Exit < <var>expression</var> >;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 33418<tr><td></td><td valign="top"><a href="#index-Exp-_0028-expression-_0029"><code>Exp ( <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 33419<tr><td></td><td valign="top"><a href="#index-Extend"><code>Extend</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 33420<tr><td></td><td valign="top"><a href="#index-ExternalProcess"><code>ExternalProcess</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 33421<tr><td></td><td valign="top"><a href="#index-extrude"><code><var>extrude</var></code></a>:</td><td> </td><td valign="top"><a href="#Extrusions">Extrusions</a></td></tr> 33422<tr><td></td><td valign="top"><a href="#index-Extrude-_007b-expression_002dlist-_007d-_007b-extrude_002dl
33422ist-_007d"><code>Extrude { <var>expression-list</var> } { <var>extrude-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Extrusions">Extrusions</a></td></tr> 33423<tr><td></td><td valign="top"><a href="#index-Extrude-_007b-expression_002dlist-_007d-_007b-extrude_002dlist-layers-_007d"><code>Extrude { <var>expression-list</var> } { <var>extrude-list</var> <var>layers</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Structured-grids">Structured grids</a></td></tr> 33424<tr><td></td><td valign="top"><a href="#index-Extrude-_007b-extrude_002dlist-_007d"><code>Extrude { <var>extrude-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Extrusions">Extrusions</a></td></tr> 33425<tr><td></td><td valign="top"><a href="#index-Extrude-_007b-extrude_002dlist-_007d-Using-Wire-_007b-expression_002dlist-_007d"><code>Extrude { <var>extrude-list</var> } Using Wire { <var>expression-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Extrusions">Extrusions</a></td></tr> 33426<tr><td></td><td valign="top"><a href="#index-Extrude-_007b-Surface-_007b-expression_002dlist-_007d_003b-layers-_003c-Using-Index_005bexpr_005d_003b-_003e-_003c-Using-View_005bexpr_005d_003b-_003e-_003c-ScaleLastLayer_003b-_003e-_007d"><code>Extrude { Surface { <var>expression-list</var> }; <var>layers</var> < Using Index[<var>expr</var>]; > < Using View[<var>expr</var>]; > < ScaleLastLayer; > }</code></a>:</td><td> </td><td valign="top"><a href="#Structured-grids">Structured grids</a></td></tr> 33427<tr><td></td><td valign="top"><a href="#index-Extrude-_007b-_007b-expression_002dlist-_007d_002c-_007b-expression_002dlist-_007d_002c-expression-_007d-_007b-extrude_002dlist-layers-_007d"><code>Extrude { { <var>expression-list</var> }, { <var>expression-list</var> }, <var>expression</var> } { <var>extrude-list</var> <var>layers</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Structured-grids">Structured grids</a></td></tr> 33428<tr><td></td><td valign="top"><a href="#index-Extrude-_007b-_007b-expression_002dlist-_007d_002c-_007b-expression_002dlist-_007d_002c-expression-_007d-_007b-extrude_002dlist-_007d"><code>Extrude { { <var>expression-list</var> }, { <var>expression-list</var> }, <var>expression</var> } { <var>extrude-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Extrusions">Extrusions</a></td></tr> 33429<tr><td></td><td valign="top"><a href="#index-Extrude-_007b-_007b-expression_002dlist-_007d_002c-_007b-expression_002dlist-_007d_002c-_007b-expression_002dlist-_007d_002c-expression-_007d-_007b-extrude_002dlist-layers-_007d"><code>Extrude { { <var>expression-list</var> }, { <var>expression-list</var> }, { <var>expression-list</var> }, <var>expression</var> } { <var>extrude-list</var> <var>layers</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Structured-grids">Structured grids</a></td></tr> 33430<tr><td></td><td valign="top"><a href="#index-Extrude-_007b-_007b-expression_002dlist-_007d_002c-_007b-expression_002dlist-_007d_002c-_007b-expression_002dlist-_007d_002c-expression-_007d-_007b-extrude_002dlist-_007d"><code>Extrude { { <var>expression-list</var> }, { <var>expression-list</var> }, { <var>expression-list</var> }, <var>expression</var> } { <var>extrude-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Extrusions">Extrusions</a></td></tr> 33431<tr><td colspan="4"> <hr></td></tr> 33432<tr><th id="Syntax-index_tp_letter-F">F</th><td></td><td></td></tr> 33433<tr><td></td><td valign="top"><a href="#index-Fabs-_0028-expression-_0029"><code>Fabs ( <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 33434<tr><td></td><td valign="top"><a href="#index-Field_005bexpression_005d-_003d-string_003b"><code>Field[<var>expression</var>] = <var>string</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-element-sizes">Mesh element sizes</a></td></tr> 33435<tr><td></td><td valign="top"><a href="#index-Field_005bexpression_005d_002estring-_003d-string_002dexpression-_007c-expression-_007c-expression_002dlist_003b"><code>Field[<var>expression</var>].<var>string</var> = <var>string-expression</var> | <var>expression</var> | <var>expression-list</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-element-sizes">Mesh element sizes</a></td></tr> 33436<tr><td></td><td valign="top"><a href="#index-Fillet-_007b-expression_002dlist-_007d-_007b-expression_002dlist-_007d-_007b-expression_002dlist-_007d"><code>Fillet { <var>expression-list</var> } { <var>expression-list</var> } { <var>expression-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Extrusions">Extrusions</a></td></tr> 33437<tr><td></td><td valign="top"><a href="#index-Floor-_0028-expression-_0029"><code>Floor ( <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 33438<tr><td></td><td valign="top"><a href="#index-Fmod-_0028-expression_002c-expression-_0029"><code>Fmod ( <var>expression</var>, <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 33439<tr><td></td><td valign="top"><a href="#index-For-_0028-expression-_003a-expression-_0029"><code>For ( <var>expression</var> : <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Loops-and-conditionals">Loops and conditionals</a></td></tr> 33440<tr><td></td><td valign="top"><a href="#index-For-_0028-expression-_003a-expression-_003a-expression-_0029"><code>For ( <var>expression</var> : <var>expression</var> : <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Loops-and-conditionals">Loops and conditionals</a></td></tr> 33441<tr><td></td><td valign="top"><a href="#index-For-string-In-_007b-expression-_003a-expression-_003a-expression-_007d"><code>For <var>string</var> In { <var>expression</var> : <var>expression</var> : <var>expression</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Loops-and-conditionals">Loops and conditionals</a></td></tr> 33442<tr><td></td><td valign="top"><a href="#index-For-string-In-_007b-expression-_003a-expression-_007d"><code>For <var>string</var> In { <var>expression</var> : <var>expression</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Loops-and-conditionals">Loops and conditionals</a></td></tr> 33443<tr><td></td><td valign="top"><a href="#index-Frustum"><code>Frustum</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 33444<tr><td colspan="4"> <hr></td></tr> 33445<tr><th id="Syntax-index_tp_letter-G">G</th><td></td><td></td></tr> 33446<tr><td></td><td valign="top"><a href="#index-General_002eAbortOnError"><code>General.AbortOnError</code></a>:</td><td> </td><td valign="top">
33446<a href="#General-options">General options</a></td></tr> 33447<tr><td></td><td valign="top"><a href="#index-General_002eAlphaBlending"><code>General.AlphaBlending</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33448<tr><td></td><td valign="top"><a href="#index-General_002eAntialiasing"><code>General.Antialiasing</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33449<tr><td></td><td valign="top"><a href="#index-General_002eArrowHeadRadius"><code>General.ArrowHeadRadius</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33450<tr><td></td><td valign="top"><a href="#index-General_002eArrowStemLength"><code>General.ArrowStemLength</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33451<tr><td></td><td valign="top"><a href="#index-General_002eArrowStemRadius"><code>General.ArrowStemRadius</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33452<tr><td></td><td valign="top"><a href="#index-General_002eAxes"><code>General.Axes</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33453<tr><td></td><td valign="top"><a href="#index-General_002eAxesAutoPosition"><code>General.AxesAutoPosition</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33454<tr><td></td><td valign="top"><a href="#index-General_002eAxesForceValue"><code>General.AxesForceValue</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33455<tr><td></td><td valign="top"><a href="#index-General_002eAxesFormatX"><code>General.AxesFormatX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33456<tr><td></td><td valign="top"><a href="#index-General_002eAxesFormatY"><code>General.AxesFormatY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33457<tr><td></td><td valign="top"><a href="#index-General_002eAxesFormatZ"><code>General.AxesFormatZ</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33458<tr><td></td><td valign="top"><a href="#index-General_002eAxesLabelX"><code>General.AxesLabelX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33459<tr><td></td><td valign="top"><a href="#index-General_002eAxesLabelY"><code>General.AxesLabelY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33460<tr><td></td><td valign="top"><a href="#index-General_002eAxesLabelZ"><code>General.AxesLabelZ</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33461<tr><td></td><td valign="top"><a href="#index-General_002eAxesMaxX"><code>General.AxesMaxX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33462<tr><td></td><td valign="top"><a href="#index-General_002eAxesMaxY"><code>General.AxesMaxY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33463<tr><td></td><td valign="top"><a href="#index-General_002eAxesMaxZ"><code>General.AxesMaxZ</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33464<tr><td></td><td valign="top"><a href="#index-General_002eAxesMikado"><code>General.AxesMikado</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33465<tr><td></td><td valign="top"><a href="#index-General_002eAxesMinX"><code>General.AxesMinX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33466<tr><td></td><td valign="top"><a href="#index-General_002eAxesMinY"><code>General.AxesMinY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33467<tr><td></td><td valign="top"><a href="#index-General_002eAxesMinZ"><code>General.AxesMinZ</code></a>:</td><td> </td><td valign="top">
33467<a href="#General-options">General options</a></td></tr> 33468<tr><td></td><td valign="top"><a href="#index-General_002eAxesTicsX"><code>General.AxesTicsX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33469<tr><td></td><td valign="top"><a href="#index-General_002eAxesTicsY"><code>General.AxesTicsY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33470<tr><td></td><td valign="top"><a href="#index-General_002eAxesTicsZ"><code>General.AxesTicsZ</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33471<tr><td></td><td valign="top"><a href="#index-General_002eAxesValueMaxX"><code>General.AxesValueMaxX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33472<tr><td></td><td valign="top"><a href="#index-General_002eAxesValueMaxY"><code>General.AxesValueMaxY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33473<tr><td></td><td valign="top"><a href="#index-General_002eAxesValueMaxZ"><code>General.AxesValueMaxZ</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33474<tr><td></td><td valign="top"><a href="#index-General_002eAxesValueMinX"><code>General.AxesValueMinX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33475<tr><td></td><td valign="top"><a href="#index-General_002eAxesValueMinY"><code>General.AxesValueMinY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33476<tr><td></td><td valign="top"><a href="#index-General_002eAxesValueMinZ"><code>General.AxesValueMinZ</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33477<tr><td></td><td valign="top"><a href="#index-General_002eBackgroundGradient"><code>General.BackgroundGradient</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33478<tr><td></td><td valign="top"><a href="#index-General_002eBackgroundImage3D"><code>General.BackgroundImage3D</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33479<tr><td></td><td valign="top"><a href="#index-General_002eBackgroundImageFileName"><code>General.BackgroundImageFileName</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33480<tr><td></td><td valign="top"><a href="#index-General_002eBackgroundImageHeight"><code>General.BackgroundImageHeight</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33481<tr><td></td><td valign="top"><a href="#index-General_002eBackgroundImagePage"><code>General.BackgroundImagePage</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33482<tr><td></td><td valign="top"><a href="#index-General_002eBackgroundImagePositionX"><code>General.BackgroundImagePositionX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33483<tr><td></td><td valign="top"><a href="#index-General_002eBackgroundImagePositionY"><code>General.BackgroundImagePositionY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33484<tr><td></td><td valign="top"><a href="#index-General_002eBackgroundImageWidth"><code>General.BackgroundImageWidth</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33485<tr><td></td><td valign="top"><a href="#index-General_002eBoundingBoxSize"><code>General.BoundingBoxSize</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33486<tr><td></td><td valign="top"><a href="#index-General_002eBuildInfo"><code>General.BuildInfo</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33487<tr><td></td><td valign="top"><a href="#index-General_002eBuildOptions"><code>General.BuildOptions</code></a>:</td><td> </td><td valign="top">
33487<a href="#General-options">General options</a></td></tr> 33488<tr><td></td><td valign="top"><a href="#index-General_002eCamera"><code>General.Camera</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33489<tr><td></td><td valign="top"><a href="#index-General_002eCameraAperture"><code>General.CameraAperture</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33490<tr><td></td><td valign="top"><a href="#index-General_002eCameraEyeSeparationRatio"><code>General.CameraEyeSeparationRatio</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33491<tr><td></td><td valign="top"><a href="#index-General_002eCameraFocalLengthRatio"><code>General.CameraFocalLengthRatio</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33492<tr><td></td><td valign="top"><a href="#index-General_002eClip0A"><code>General.Clip0A</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33493<tr><td></td><td valign="top"><a href="#index-General_002eClip0B"><code>General.Clip0B</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33494<tr><td></td><td valign="top"><a href="#index-General_002eClip0C"><code>General.Clip0C</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33495<tr><td></td><td valign="top"><a href="#index-General_002eClip0D"><code>General.Clip0D</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33496<tr><td></td><td valign="top"><a href="#index-General_002eClip1A"><code>General.Clip1A</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33497<tr><td></td><td valign="top"><a href="#index-General_002eClip1B"><code>General.Clip1B</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33498<tr><td></td><td valign="top"><a href="#index-General_002eClip1C"><code>General.Clip1C</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33499<tr><td></td><td valign="top"><a href="#index-General_002eClip1D"><code>General.Clip1D</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33500<tr><td></td><td valign="top"><a href="#index-General_002eClip2A"><code>General.Clip2A</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33501<tr><td></td><td valign="top"><a href="#index-General_002eClip2B"><code>General.Clip2B</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33502<tr><td></td><td valign="top"><a href="#index-General_002eClip2C"><code>General.Clip2C</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33503<tr><td></td><td valign="top"><a href="#index-General_002eClip2D"><code>General.Clip2D</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33504<tr><td></td><td valign="top"><a href="#index-General_002eClip3A"><code>General.Clip3A</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33505<tr><td></td><td valign="top"><a href="#index-General_002eClip3B"><code>General.Clip3B</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33506<tr><td></td><td valign="top"><a href="#index-General_002eClip3C"><code>General.Clip3C</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33507<tr><td></td><td valign="top"><a href="#index-General_002eClip3D"><code>General.Clip3D</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33508<tr><td></td><td valign="top"><a href="#index-General_002eClip4A"><code>General.Clip4A</code></a>:</td><td> </td><td valign="top">
33508<a href="#General-options">General options</a></td></tr> 33509<tr><td></td><td valign="top"><a href="#index-General_002eClip4B"><code>General.Clip4B</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33510<tr><td></td><td valign="top"><a href="#index-General_002eClip4C"><code>General.Clip4C</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33511<tr><td></td><td valign="top"><a href="#index-General_002eClip4D"><code>General.Clip4D</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33512<tr><td></td><td valign="top"><a href="#index-General_002eClip5A"><code>General.Clip5A</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33513<tr><td></td><td valign="top"><a href="#index-General_002eClip5B"><code>General.Clip5B</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33514<tr><td></td><td valign="top"><a href="#index-General_002eClip5C"><code>General.Clip5C</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33515<tr><td></td><td valign="top"><a href="#index-General_002eClip5D"><code>General.Clip5D</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33516<tr><td></td><td valign="top"><a href="#index-General_002eClipFactor"><code>General.ClipFactor</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33517<tr><td></td><td valign="top"><a href="#index-General_002eClipOnlyDrawIntersectingVolume"><code>General.ClipOnlyDrawIntersectingVolume</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33518<tr><td></td><td valign="top"><a href="#index-General_002eClipOnlyVolume"><code>General.ClipOnlyVolume</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33519<tr><td></td><td valign="top"><a href="#index-General_002eClipPositionX"><code>General.ClipPositionX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33520<tr><td></td><td valign="top"><a href="#index-General_002eClipPositionY"><code>General.ClipPositionY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33521<tr><td></td><td valign="top"><a href="#index-General_002eClipWholeElements"><code>General.ClipWholeElements</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33522<tr><td></td><td valign="top"><a href="#index-General_002eColor_002eAmbientLight"><code>General.Color.AmbientLight</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33523<tr><td></td><td valign="top"><a href="#index-General_002eColor_002eAxes"><code>General.Color.Axes</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33524<tr><td></td><td valign="top"><a href="#index-General_002eColor_002eBackground"><code>General.Color.Background</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33525<tr><td></td><td valign="top"><a href="#index-General_002eColor_002eBackgroundGradient"><code>General.Color.BackgroundGradient</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33526<tr><td></td><td valign="top"><a href="#index-General_002eColor_002eDiffuseLight"><code>General.Color.DiffuseLight</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33527<tr><td></td><td valign="top"><a href="#index-General_002eColor_002eForeground"><code>General.Color.Foreground</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33528<tr><td></td><td valign="top"><a href="#index-General_002eColor_002eSmallAxes"><code>General.Color.SmallAxes</code></a>:</td><td> </td><td valign="top">
33528<a href="#General-options">General options</a></td></tr> 33529<tr><td></td><td valign="top"><a href="#index-General_002eColor_002eSpecularLight"><code>General.Color.SpecularLight</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33530<tr><td></td><td valign="top"><a href="#index-General_002eColor_002eText"><code>General.Color.Text</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33531<tr><td></td><td valign="top"><a href="#index-General_002eColorScheme"><code>General.ColorScheme</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33532<tr><td></td><td valign="top"><a href="#index-General_002eConfirmOverwrite"><code>General.ConfirmOverwrite</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33533<tr><td></td><td valign="top"><a href="#index-General_002eContextPositionX"><code>General.ContextPositionX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33534<tr><td></td><td valign="top"><a href="#index-General_002eContextPositionY"><code>General.ContextPositionY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33535<tr><td></td><td valign="top"><a href="#index-General_002eDefaultFileName"><code>General.DefaultFileName</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33536<tr><td></td><td valign="top"><a href="#index-General_002eDetachedMenu"><code>General.DetachedMenu</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33537<tr><td></td><td valign="top"><a href="#index-General_002eDetachedProcess"><code>General.DetachedProcess</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33538<tr><td></td><td valign="top"><a href="#index-General_002eDisplay"><code>General.Display</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33539<tr><td></td><td valign="top"><a href="#index-General_002eDisplayBorderFactor"><code>General.DisplayBorderFactor</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33540<tr><td></td><td valign="top"><a href="#index-General_002eDoubleBuffer"><code>General.DoubleBuffer</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33541<tr><td></td><td valign="top"><a href="#index-General_002eDrawBoundingBoxes"><code>General.DrawBoundingBoxes</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33542<tr><td></td><td valign="top"><a href="#index-General_002eErrorFileName"><code>General.ErrorFileName</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33543<tr><td></td><td valign="top"><a href="#index-General_002eExecutableFileName"><code>General.ExecutableFileName</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33544<tr><td></td><td valign="top"><a href="#index-General_002eExpertMode"><code>General.ExpertMode</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33545<tr><td></td><td valign="top"><a href="#index-General_002eExtraHeight"><code>General.ExtraHeight</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33546<tr><td></td><td valign="top"><a href="#index-General_002eExtraPositionX"><code>General.ExtraPositionX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33547<tr><td></td><td valign="top"><a href="#index-General_002eExtraPositionY"><code>General.ExtraPositionY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33548<tr><td></td><td valign="top"><a href="#index-General_002eExtraWidth"><code>General.ExtraWidth</code></a>:</td><td> </td><td valign="top">
33548<a href="#General-options">General options</a></td></tr> 33549<tr><td></td><td valign="top"><a href="#index-General_002eFastRedraw"><code>General.FastRedraw</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33550<tr><td></td><td valign="top"><a href="#index-General_002eFieldHeight"><code>General.FieldHeight</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33551<tr><td></td><td valign="top"><a href="#index-General_002eFieldPositionX"><code>General.FieldPositionX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33552<tr><td></td><td valign="top"><a href="#index-General_002eFieldPositionY"><code>General.FieldPositionY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33553<tr><td></td><td valign="top"><a href="#index-General_002eFieldWidth"><code>General.FieldWidth</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33554<tr><td></td><td valign="top"><a href="#index-General_002eFileChooserPositionX"><code>General.FileChooserPositionX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33555<tr><td></td><td valign="top"><a href="#index-General_002eFileChooserPositionY"><code>General.FileChooserPositionY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33556<tr><td></td><td valign="top"><a href="#index-General_002eFileName"><code>General.FileName</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33557<tr><td></td><td valign="top"><a href="#index-General_002eFltkColorScheme"><code>General.FltkColorScheme</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33558<tr><td></td><td valign="top"><a href="#index-General_002eFltkRefreshRate"><code>General.FltkRefreshRate</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33559<tr><td></td><td valign="top"><a href="#index-General_002eFltkTheme"><code>General.FltkTheme</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33560<tr><td></td><td valign="top"><a href="#index-General_002eFontSize"><code>General.FontSize</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33561<tr><td></td><td valign="top"><a href="#index-General_002eGraphicsFont"><code>General.GraphicsFont</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33562<tr><td></td><td valign="top"><a href="#index-General_002eGraphicsFontEngine"><code>General.GraphicsFontEngine</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33563<tr><td></td><td valign="top"><a href="#index-General_002eGraphicsFontSize"><code>General.GraphicsFontSize</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33564<tr><td></td><td valign="top"><a href="#index-General_002eGraphicsFontSizeTitle"><code>General.GraphicsFontSizeTitle</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33565<tr><td></td><td valign="top"><a href="#index-General_002eGraphicsFontTitle"><code>General.GraphicsFontTitle</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33566<tr><td></td><td valign="top"><a href="#index-General_002eGraphicsHeight"><code>General.GraphicsHeight</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33567<tr><td></td><td valign="top"><a href="#index-General_002eGraphicsPositionX"><code>General.GraphicsPositionX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33568<tr><td></td><td valign="top"><a href="#index-General_002eGraphicsPositionY"><code>General.GraphicsPositionY</code></a>:</td><td> </td><td valign="top">
33568<a href="#General-options">General options</a></td></tr> 33569<tr><td></td><td valign="top"><a href="#index-General_002eGraphicsWidth"><code>General.GraphicsWidth</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33570<tr><td></td><td valign="top"><a href="#index-General_002eHighOrderToolsPositionX"><code>General.HighOrderToolsPositionX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33571<tr><td></td><td valign="top"><a href="#index-General_002eHighOrderToolsPositionY"><code>General.HighOrderToolsPositionY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33572<tr><td></td><td valign="top"><a href="#index-General_002eHighResolutionGraphics"><code>General.HighResolutionGraphics</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33573<tr><td></td><td valign="top"><a href="#index-General_002eInitialModule"><code>General.InitialModule</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33574<tr><td></td><td valign="top"><a href="#index-General_002eInputScrolling"><code>General.InputScrolling</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33575<tr><td></td><td valign="top"><a href="#index-General_002eLight0"><code>General.Light0</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33576<tr><td></td><td valign="top"><a href="#index-General_002eLight0W"><code>General.Light0W</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33577<tr><td></td><td valign="top"><a href="#index-General_002eLight0X"><code>General.Light0X</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33578<tr><td></td><td valign="top"><a href="#index-General_002eLight0Y"><code>General.Light0Y</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33579<tr><td></td><td valign="top"><a href="#index-General_002eLight0Z"><code>General.Light0Z</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33580<tr><td></td><td valign="top"><a href="#index-General_002eLight1"><code>General.Light1</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33581<tr><td></td><td valign="top"><a href="#index-General_002eLight1W"><code>General.Light1W</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33582<tr><td></td><td valign="top"><a href="#index-General_002eLight1X"><code>General.Light1X</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33583<tr><td></td><td valign="top"><a href="#index-General_002eLight1Y"><code>General.Light1Y</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33584<tr><td></td><td valign="top"><a href="#index-General_002eLight1Z"><code>General.Light1Z</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33585<tr><td></td><td valign="top"><a href="#index-General_002eLight2"><code>General.Light2</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33586<tr><td></td><td valign="top"><a href="#index-General_002eLight2W"><code>General.Light2W</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33587<tr><td></td><td valign="top"><a href="#index-General_002eLight2X"><code>General.Light2X</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33588<tr><td></td><td valign="top"><a href="#index-General_002eLight2Y"><code>General.Light2Y</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33589<tr><td></td><td valign="top"><a href="#index-General_002eLight2Z"><code>General.Light2Z</code></a>:</td><td> </td><td valign="top">
33589<a href="#General-options">General options</a></td></tr> 33590<tr><td></td><td valign="top"><a href="#index-General_002eLight3"><code>General.Light3</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33591<tr><td></td><td valign="top"><a href="#index-General_002eLight3W"><code>General.Light3W</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33592<tr><td></td><td valign="top"><a href="#index-General_002eLight3X"><code>General.Light3X</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33593<tr><td></td><td valign="top"><a href="#index-General_002eLight3Y"><code>General.Light3Y</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33594<tr><td></td><td valign="top"><a href="#index-General_002eLight3Z"><code>General.Light3Z</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33595<tr><td></td><td valign="top"><a href="#index-General_002eLight4"><code>General.Light4</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33596<tr><td></td><td valign="top"><a href="#index-General_002eLight4W"><code>General.Light4W</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33597<tr><td></td><td valign="top"><a href="#index-General_002eLight4X"><code>General.Light4X</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33598<tr><td></td><td valign="top"><a href="#index-General_002eLight4Y"><code>General.Light4Y</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33599<tr><td></td><td valign="top"><a href="#index-General_002eLight4Z"><code>General.Light4Z</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33600<tr><td></td><td valign="top"><a href="#index-General_002eLight5"><code>General.Light5</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33601<tr><td></td><td valign="top"><a href="#index-General_002eLight5W"><code>General.Light5W</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33602<tr><td></td><td valign="top"><a href="#index-General_002eLight5X"><code>General.Light5X</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33603<tr><td></td><td valign="top"><a href="#index-General_002eLight5Y"><code>General.Light5Y</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33604<tr><td></td><td valign="top"><a href="#index-General_002eLight5Z"><code>General.Light5Z</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33605<tr><td></td><td valign="top"><a href="#index-General_002eLineWidth"><code>General.LineWidth</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33606<tr><td></td><td valign="top"><a href="#index-General_002eLogFileName"><code>General.LogFileName</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33607<tr><td></td><td valign="top"><a href="#index-General_002eManipulatorPositionX"><code>General.ManipulatorPositionX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33608<tr><td></td><td valign="top"><a href="#index-General_002eManipulatorPositionY"><code>General.ManipulatorPositionY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33609<tr><td></td><td valign="top"><a href="#index-General_002eMaxX"><code>General.MaxX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33610<tr><td></td><td valign="top"><a href="#index-General_002eMaxY"><code>General.MaxY</code></a>:</td><td> </td><td valign="top">
33610<a href="#General-options">General options</a></td></tr> 33611<tr><td></td><td valign="top"><a href="#index-General_002eMaxZ"><code>General.MaxZ</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33612<tr><td></td><td valign="top"><a href="#index-General_002eMenuHeight"><code>General.MenuHeight</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33613<tr><td></td><td valign="top"><a href="#index-General_002eMenuPositionX"><code>General.MenuPositionX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33614<tr><td></td><td valign="top"><a href="#index-General_002eMenuPositionY"><code>General.MenuPositionY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33615<tr><td></td><td valign="top"><a href="#index-General_002eMenuWidth"><code>General.MenuWidth</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33616<tr><td></td><td valign="top"><a href="#index-General_002eMessageFontSize"><code>General.MessageFontSize</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33617<tr><td></td><td valign="top"><a href="#index-General_002eMessageHeight"><code>General.MessageHeight</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33618<tr><td></td><td valign="top"><a href="#index-General_002eMinX"><code>General.MinX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33619<tr><td></td><td valign="top"><a href="#index-General_002eMinY"><code>General.MinY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33620<tr><td></td><td valign="top"><a href="#index-General_002eMinZ"><code>General.MinZ</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33621<tr><td></td><td valign="top"><a href="#index-General_002eMouseHoverMeshes"><code>General.MouseHoverMeshes</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33622<tr><td></td><td valign="top"><a href="#index-General_002eMouseInvertZoom"><code>General.MouseInvertZoom</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33623<tr><td></td><td valign="top"><a href="#index-General_002eMouseSelection"><code>General.MouseSelection</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33624<tr><td></td><td valign="top"><a href="#index-General_002eNativeFileChooser"><code>General.NativeFileChooser</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33625<tr><td></td><td valign="top"><a href="#index-General_002eNonModalWindows"><code>General.NonModalWindows</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33626<tr><td></td><td valign="top"><a href="#index-General_002eNoPopup"><code>General.NoPopup</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33627<tr><td></td><td valign="top"><a href="#index-General_002eNumberFormat"><code>General.NumberFormat</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33628<tr><td></td><td valign="top"><a href="#index-General_002eNumThreads"><code>General.NumThreads</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33629<tr><td></td><td valign="top"><a href="#index-General_002eOptionsFileName"><code>General.OptionsFileName</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33630<tr><td></td><td valign="top"><a href="#index-General_002eOptionsPositionX"><code>General.OptionsPositionX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33631<tr><td></td><td valign="top"><a href="#index-General_002eOptionsPositionY"><code>General.OptionsPositionY</code></a>:</td><td> </td><td valign="top">
33631<a href="#General-options">General options</a></td></tr> 33632<tr><td></td><td valign="top"><a href="#index-General_002eOrthographic"><code>General.Orthographic</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33633<tr><td></td><td valign="top"><a href="#index-General_002ePluginHeight"><code>General.PluginHeight</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33634<tr><td></td><td valign="top"><a href="#index-General_002ePluginPositionX"><code>General.PluginPositionX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33635<tr><td></td><td valign="top"><a href="#index-General_002ePluginPositionY"><code>General.PluginPositionY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33636<tr><td></td><td valign="top"><a href="#index-General_002ePluginWidth"><code>General.PluginWidth</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33637<tr><td></td><td valign="top"><a href="#index-General_002ePointSize"><code>General.PointSize</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33638<tr><td></td><td valign="top"><a href="#index-General_002ePolygonOffsetAlwaysOn"><code>General.PolygonOffsetAlwaysOn</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33639<tr><td></td><td valign="top"><a href="#index-General_002ePolygonOffsetFactor"><code>General.PolygonOffsetFactor</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33640<tr><td></td><td valign="top"><a href="#index-General_002ePolygonOffsetUnits"><code>General.PolygonOffsetUnits</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33641<tr><td></td><td valign="top"><a href="#index-General_002eProgressMeterStep"><code>General.ProgressMeterStep</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33642<tr><td></td><td valign="top"><a href="#index-General_002eQuadricSubdivisions"><code>General.QuadricSubdivisions</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33643<tr><td></td><td valign="top"><a href="#index-General_002eRecentFile0"><code>General.RecentFile0</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33644<tr><td></td><td valign="top"><a href="#index-General_002eRecentFile1"><code>General.RecentFile1</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33645<tr><td></td><td valign="top"><a href="#index-General_002eRecentFile2"><code>General.RecentFile2</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33646<tr><td></td><td valign="top"><a href="#index-General_002eRecentFile3"><code>General.RecentFile3</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33647<tr><td></td><td valign="top"><a href="#index-General_002eRecentFile4"><code>General.RecentFile4</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33648<tr><td></td><td valign="top"><a href="#index-General_002eRecentFile5"><code>General.RecentFile5</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33649<tr><td></td><td valign="top"><a href="#index-General_002eRecentFile6"><code>General.RecentFile6</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33650<tr><td></td><td valign="top"><a href="#index-General_002eRecentFile7"><code>General.RecentFile7</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33651<tr><td></td><td valign="top"><a href="#index-General_002eRecentFile8"><code>General.RecentFile8</code></a>:</td><td> </td><td valign="top">
33651<a href="#General-options">General options</a></td></tr> 33652<tr><td></td><td valign="top"><a href="#index-General_002eRecentFile9"><code>General.RecentFile9</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33653<tr><td></td><td valign="top"><a href="#index-General_002eRotationCenterGravity"><code>General.RotationCenterGravity</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33654<tr><td></td><td valign="top"><a href="#index-General_002eRotationCenterX"><code>General.RotationCenterX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33655<tr><td></td><td valign="top"><a href="#index-General_002eRotationCenterY"><code>General.RotationCenterY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33656<tr><td></td><td valign="top"><a href="#index-General_002eRotationCenterZ"><code>General.RotationCenterZ</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33657<tr><td></td><td valign="top"><a href="#index-General_002eRotationX"><code>General.RotationX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33658<tr><td></td><td valign="top"><a href="#index-General_002eRotationY"><code>General.RotationY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33659<tr><td></td><td valign="top"><a href="#index-General_002eRotationZ"><code>General.RotationZ</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33660<tr><td></td><td valign="top"><a href="#index-General_002eSaveOptions"><code>General.SaveOptions</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33661<tr><td></td><td valign="top"><a href="#index-General_002eSaveSession"><code>General.SaveSession</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33662<tr><td></td><td valign="top"><a href="#index-General_002eScaleX"><code>General.ScaleX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33663<tr><td></td><td valign="top"><a href="#index-General_002eScaleY"><code>General.ScaleY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33664<tr><td></td><td valign="top"><a href="#index-General_002eScaleZ"><code>General.ScaleZ</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33665<tr><td></td><td valign="top"><a href="#index-General_002eScriptingLanguages"><code>General.ScriptingLanguages</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33666<tr><td></td><td valign="top"><a href="#index-General_002eScriptingLanguages-1"><code>General.ScriptingLanguages</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33667<tr><td></td><td valign="top"><a href="#index-General_002eSessionFileName"><code>General.SessionFileName</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33668<tr><td></td><td valign="top"><a href="#index-General_002eShininess"><code>General.Shininess</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33669<tr><td></td><td valign="top"><a href="#index-General_002eShininessExponent"><code>General.ShininessExponent</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33670<tr><td></td><td valign="top"><a href="#index-General_002eShowMessagesOnStartup"><code>General.ShowMessagesOnStartup</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33671<tr><td></td><td valign="top"><a href="#index-General_002eShowModuleMenu"><code>General.ShowModuleMenu</code></a>:</td><td> </td><td valign="top">
33671<a href="#General-options">General options</a></td></tr> 33672<tr><td></td><td valign="top"><a href="#index-General_002eShowOptionsOnStartup"><code>General.ShowOptionsOnStartup</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33673<tr><td></td><td valign="top"><a href="#index-General_002eSmallAxes"><code>General.SmallAxes</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33674<tr><td></td><td valign="top"><a href="#index-General_002eSmallAxesPositionX"><code>General.SmallAxesPositionX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33675<tr><td></td><td valign="top"><a href="#index-General_002eSmallAxesPositionY"><code>General.SmallAxesPositionY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33676<tr><td></td><td valign="top"><a href="#index-General_002eSmallAxesSize"><code>General.SmallAxesSize</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33677<tr><td></td><td valign="top"><a href="#index-General_002eStatisticsPositionX"><code>General.StatisticsPositionX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33678<tr><td></td><td valign="top"><a href="#index-General_002eStatisticsPositionY"><code>General.StatisticsPositionY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33679<tr><td></td><td valign="top"><a href="#index-General_002eStereo"><code>General.Stereo</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33680<tr><td></td><td valign="top"><a href="#index-General_002eSystemMenuBar"><code>General.SystemMenuBar</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33681<tr><td></td><td valign="top"><a href="#index-General_002eTerminal"><code>General.Terminal</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33682<tr><td></td><td valign="top"><a href="#index-General_002eTextEditor"><code>General.TextEditor</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33683<tr><td></td><td valign="top"><a href="#index-General_002eTmpFileName"><code>General.TmpFileName</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33684<tr><td></td><td valign="top"><a href="#index-General_002eTooltips"><code>General.Tooltips</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33685<tr><td></td><td valign="top"><a href="#index-General_002eTrackball"><code>General.Trackball</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33686<tr><td></td><td valign="top"><a href="#index-General_002eTrackballHyperbolicSheet"><code>General.TrackballHyperbolicSheet</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33687<tr><td></td><td valign="top"><a href="#index-General_002eTrackballQuaternion0"><code>General.TrackballQuaternion0</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33688<tr><td></td><td valign="top"><a href="#index-General_002eTrackballQuaternion1"><code>General.TrackballQuaternion1</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33689<tr><td></td><td valign="top"><a href="#index-General_002eTrackballQuaternion2"><code>General.TrackballQuaternion2</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33690<tr><td></td><td valign="top"><a href="#index-General_002eTrackballQuaternion3"><code>General.TrackballQuaternion3</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33691<tr><td></td><td valign="top"><a href="#index-General_002eTranslationX"><code>General.TranslationX</code></a>:</td><td> </td><td valign="top">
33691<a href="#General-options">General options</a></td></tr> 33692<tr><td></td><td valign="top"><a href="#index-General_002eTranslationY"><code>General.TranslationY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33693<tr><td></td><td valign="top"><a href="#index-General_002eTranslationZ"><code>General.TranslationZ</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33694<tr><td></td><td valign="top"><a href="#index-General_002eVectorType"><code>General.VectorType</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33695<tr><td></td><td valign="top"><a href="#index-General_002eVerbosity"><code>General.Verbosity</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33696<tr><td></td><td valign="top"><a href="#index-General_002eVersion"><code>General.Version</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33697<tr><td></td><td valign="top"><a href="#index-General_002eVisibilityPositionX"><code>General.VisibilityPositionX</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33698<tr><td></td><td valign="top"><a href="#index-General_002eVisibilityPositionY"><code>General.VisibilityPositionY</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33699<tr><td></td><td valign="top"><a href="#index-General_002eWatchFilePattern"><code>General.WatchFilePattern</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33700<tr><td></td><td valign="top"><a href="#index-General_002eZoomFactor"><code>General.ZoomFactor</code></a>:</td><td> </td><td valign="top"><a href="#General-options">General options</a></td></tr> 33701<tr><td></td><td valign="top"><a href="#index-GeoEntity-_007b-expression-_007d"><code>GeoEntity { <var>expression</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-scripting-language">Gmsh scripting language</a></td></tr> 33702<tr><td></td><td valign="top"><a href="#index-Geometry_002eAutoCoherence"><code>Geometry.AutoCoherence</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33703<tr><td></td><td valign="top"><a href="#index-Geometry_002eClip"><code>Geometry.Clip</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33704<tr><td></td><td valign="top"><a href="#index-Geometry_002eColor_002eCurves"><code>Geometry.Color.Curves</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33705<tr><td></td><td valign="top"><a href="#index-Geometry_002eColor_002eHighlightOne"><code>Geometry.Color.HighlightOne</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33706<tr><td></td><td valign="top"><a href="#index-Geometry_002eColor_002eHighlightTwo"><code>Geometry.Color.HighlightTwo</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33707<tr><td></td><td valign="top"><a href="#index-Geometry_002eColor_002eHighlightZero"><code>Geometry.Color.HighlightZero</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33708<tr><td></td><td valign="top"><a href="#index-Geometry_002eColor_002eNormals"><code>Geometry.Color.Normals</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33709<tr><td></td><td valign="top"><a href="#index-Geometry_002eColor_002ePoints"><code>Geometry.Color.Points</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33710<tr><td></td><td valign="top"><a href="#index-Geometry_002eColor_002eProjection"><code>Geometry.Color.Projection</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33711<tr><td></td><td valign="top"><a href="#index-Geometry_002eColor_002eSelection"><code>Geometry.Color.Selection</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33712<tr><td></td><td valign="top"><a href="#index-Geometry_002eColor_002eSurfaces"><code>Geometry.Color.Surfaces</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33713<tr><td></td><td valign="top"><a href="#index-Geometry_002eColor_002eTangents"><code>Geometry.Color.Tangents</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33714<tr><td></td><td valign="top"><a href="#index-Geometry_002eColor_002eVolumes"><code>Geometry.Color.Volumes</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33715<tr><td></td><td valign="top"><a href="#index-Geometry_002eCopyMeshingMethod"><code>Geometry.CopyMeshingMethod</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33716<tr><td></td><td valign="top"><a href="#index-Geometry_002eCurveLabels"><code>Geometry.CurveLabels</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33717<tr><td></td><td valign="top"><a href="#index-Geometry_002eCurves"><code>Geometry.Curves</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33718<tr><td></td><td valign="top"><a href="#index-Geometry_002eCurveSelectWidth"><code>Geometry.CurveSelectWidth</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33719<tr><td></td><td valign="top"><a href="#index-Geometry_002eCurveType"><code>Geometry.CurveType</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33720<tr><td></td><td valign="top"><a href="#index-Geometry_002eCurveWidth"><code>Geometry.CurveWidth</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33721<tr><td></td><td valign="top"><a href="#index-Geometry_002eDoubleClickedCurveCommand"><code>Geometry.DoubleClickedCurveCommand</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33722<tr><td></td><td valign="top"><a href="#index-Geometry_002eDoubleClickedEntityTag"><code>Geometry.DoubleClickedEntityTag</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33723<tr><td></td><td valign="top"><a href="#index-Geometry_002eDoubleClickedPointCommand"><code>Geometry.DoubleClickedPointCommand</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33724<tr><td></td><td valign="top"><a href="#index-Geometry_002eDoubleClickedSurfaceCommand"><code>Geometry.DoubleClickedSurfaceCommand</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33725<tr><td></td><td valign="top"><a href="#index-Geometry_002eDoubleClickedVolumeCommand"><code>Geometry.DoubleClickedVolumeCommand</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33726<tr><td></td><td valign="top"><a href="#index-Geometry_002eExactExtrusion"><code>Geometry.ExactExtrusion</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33727<tr><td></td><td valign="top"><a href="#index-Geometry_002eExtrudeReturnLateralEntities"><code>Geometry.ExtrudeReturnLateralEntities</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33728<tr><td></td><td valign="top"><a href="#index-Geometry_002eExtrudeSplinePoints"><code>Geometry.ExtrudeSplinePoints</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33729<tr><td></td><td valign="top"><a href="#index-Geometry_002eFirstEntityTag"><code>Geometry.FirstEntityTag</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33730<tr><td></td><td valign="top"><a href="#index-Geometry_002eFirstPhysicalTag"><code>Geometry.FirstPhysicalTag</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33731<tr><td></td><td valign="top"><a href="#index-Geometry_002eHighlightOrphans"><code>Geometry.HighlightOrphans</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33732<tr><td></td><td valign="top"><a href="#index-Geometry_002eLabelType"><code>Geometry.LabelType</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33733<tr><td></td><td valign="top"><a href="#index-Geometry_002eLight"><code>Geometry.Light</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33734<tr><td></td><td valign="top"><a href="#index-Geometry_002eLightTwoSide"><code>Geometry.LightTwoSide</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33735<tr><td></td><td valign="top"><a href="#index-Geometry_002eMatchGeomAndMesh"><code>Geometry.MatchGeomAndMesh</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33736<tr><td></td><td valign="top"><a href="#index-Geometry_002eMatchMeshScaleFactor"><code>Geometry.MatchMeshScaleFactor</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33737<tr><td></td><td valign="top"><a href="#index-Geometry_002eMatchMeshTolerance"><code>Geometry.MatchMeshTolerance</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33738<tr><td></td><td valign="top"><a href="#index-Geometry_002eNormals"><code>Geometry.Normals</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33739<tr><td></td><td valign="top"><a href="#index-Geometry_002eNumSubEdges"><code>Geometry.NumSubEdges</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33740<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCAutoEmbed"><code>Geometry.OCCAutoEmbed</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33741<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCAutoFix"><code>Geometry.OCCAutoFix</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33742<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCBooleanCheckInverted"><code>Geometry.OCCBooleanCheckInverted</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33743<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCBooleanGlue"><code>Geometry.OCCBooleanGlue</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33744<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCBooleanNonDestructive"><code>Geometry.OCCBooleanNonDestructive</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33745<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCBooleanPreserveNumbering"><code>Geometry.OCCBooleanPreserveNumbering</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33746<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCBooleanSimplify"><code>Geometry.OCCBooleanSimplify</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33747<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCBoundsUseStl"><code>Geometry.OCCBoundsUseStl</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33748<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCBrepFormatVersion"><code>Geometry.OCCBrepFormatVersion</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33749<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCDisableStl"><code>Geometry.OCCDisableStl</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33750<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCExportOnlyVisible"><code>Geometry.OCCExportOnlyVisible</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33751<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCFastUnbind"><code>Geometry.OCCFastUnbind</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33752<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCFixDegenerated"><code>Geometry.OCCFixDegenerated</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33753<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCFixSmallEdges"><code>Geometry.OCCFixSmallEdges</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33754<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCFixSmallFaces"><code>Geometry.OCCFixSmallFaces</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33755<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCImportLabels"><code>Geometry.OCCImportLabels</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33756<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCMakeSolids"><code>Geometry.OCCMakeSolids</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33757<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCParallel"><code>Geometry.OCCParallel</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33758<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCScaling"><code>Geometry.OCCScaling</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33759<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCSewFaces"><code>Geometry.OCCSewFaces</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33760<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCSTEPAuthor"><code>Geometry.OCCSTEPAuthor</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33761<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCSTEPAuthorization"><code>Geometry.OCCSTEPAuthorization</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33762<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCSTEPDescription"><code>Geometry.OCCSTEPDescription</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33763<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCSTEPImplementationLevel"><code>Geometry.OCCSTEPImplementationLevel</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33764<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCSTEPModelName"><code>Geometry.OCCSTEPModelName</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33765<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCSTEPOrganization"><code>Geometry.OCCSTEPOrganization</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33766<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCSTEPOriginatingSystem"><code>Geometry.OCCSTEPOriginatingSystem</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33767<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCSTEPPreprocessorVersion"><code>Geometry.OCCSTEPPreprocessorVersion</code></a>:</td><td> </td><td
33767valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33768<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCSTEPSchemaIdentifier"><code>Geometry.OCCSTEPSchemaIdentifier</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33769<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCSTEPTimeStamp"><code>Geometry.OCCSTEPTimeStamp</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33770<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCTargetUnit"><code>Geometry.OCCTargetUnit</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33771<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCThruSectionsDegree"><code>Geometry.OCCThruSectionsDegree</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33772<tr><td></td><td valign="top"><a href="#index-Geometry_002eOCCUseGenericClosestPoint"><code>Geometry.OCCUseGenericClosestPoint</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33773<tr><td></td><td valign="top"><a href="#index-Geometry_002eOffsetX"><code>Geometry.OffsetX</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33774<tr><td></td><td valign="top"><a href="#index-Geometry_002eOffsetY"><code>Geometry.OffsetY</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33775<tr><td></td><td valign="top"><a href="#index-Geometry_002eOffsetZ"><code>Geometry.OffsetZ</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33776<tr><td></td><td valign="top"><a href="#index-Geometry_002eOldCircle"><code>Geometry.OldCircle</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33777<tr><td></td><td valign="top"><a href="#index-Geometry_002eOldNewReg"><code>Geometry.OldNewReg</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33778<tr><td></td><td valign="top"><a href="#index-Geometry_002eOldRuledSurface"><code>Geometry.OldRuledSurface</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33779<tr><td></td><td valign="top"><a href="#index-Geometry_002eOrientedPhysicals"><code>Geometry.OrientedPhysicals</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33780<tr><td></td><td valign="top"><a href="#index-Geometry_002ePipeDefaultTrihedron"><code>Geometry.PipeDefaultTrihedron</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33781<tr><td></td><td valign="top"><a href="#index-Geometry_002ePointLabels"><code>Geometry.PointLabels</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33782<tr><td></td><td valign="top"><a href="#index-Geometry_002ePoints"><code>Geometry.Points</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33783<tr><td></td><td valign="top"><a href="#index-Geometry_002ePointSelectSize"><code>Geometry.PointSelectSize</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33784<tr><td></td><td valign="top"><a href="#index-Geometry_002ePointSize"><code>Geometry.PointSize</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33785<tr><td></td><td valign="top"><a href="#index-Geometry_002ePointType"><code>Geometry.PointType</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33786<tr><td></td><td valign="top"><a href="#index-Geometry_002eReparamOnFaceRobust"><code>Geometry.ReparamOnFaceRobust</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33787<tr><td></td><td valign="top"><a href="#index-Geometry_002eScalingFactor"><code>Geometry.ScalingFactor</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33788<tr><td></td><td valign="top"><a href="#index-Geometry_002eSnapPoints"><code>Geometry.SnapPoints</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33789<tr><td></td><td valign="top"><a href="#index-Geometry_002eSnapX"><code>Geometry.SnapX</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33790<tr><td></td><td valign="top"><a href="#index-Geometry_002eSnapY"><code>Geometry.SnapY</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33791<tr><td></td><td valign="top"><a href="#index-Geometry_002eSnapZ"><code>Geometry.SnapZ</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33792<tr><td></td><td valign="top"><a href="#index-Geometry_002eSurfaceLabels"><code>Geometry.SurfaceLabels</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33793<tr><td></td><td valign="top"><a href="#index-Geometry_002eSurfaces"><code>Geometry.Surfaces</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33794<tr><td></td><td valign="top"><a href="#index-Geometry_002eSurfaceType"><code>Geometry.SurfaceType</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33795<tr><td></td><td valign="top"><a href="#index-Geometry_002eTangents"><code>Geometry.Tangents</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33796<tr><td></td><td valign="top"><a href="#index-Geometry_002eTolerance"><code>Geometry.Tolerance</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33797<tr><td></td><td valign="top"><a href="#index-Geometry_002eToleranceBoolean"><code>Geometry.ToleranceBoolean</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33798<tr><td></td><td valign="top"><a href="#index-Geometry_002eTransform"><code>Geometry.Transform</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33799<tr><td></td><td valign="top"><a href="#index-Geometry_002eTransformXX"><code>Geometry.TransformXX</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33800<tr><td></td><td valign="top"><a href="#index-Geometry_002eTransformXY"><code>Geometry.TransformXY</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33801<tr><td></td><td valign="top"><a href="#index-Geometry_002eTransformXZ"><code>Geometry.TransformXZ</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33802<tr><td></td><td valign="top"><a href="#index-Geometry_002eTransformYX"><code>Geometry.TransformYX</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33803<tr><td></td><td valign="top"><a href="#index-Geometry_002eTransformYY"><code>Geometry.TransformYY</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33804<tr><td></td><td valign="top"><a href="#index-Geometry_002eTransformYZ"><code>Geometry.TransformYZ</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33805<tr><td></td><td valign="top"><a href="#index-Geometry_002eTransformZX"><code>Geometry.TransformZX</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33806<tr><td></td><td valign="top"><a href="#index-Geometry_002eTransformZY"><code>Geometry.TransformZY</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33807<tr><td></td><td valign="top"><a href="#index-Geometry_002eTransformZZ"><code>Geometry.TransformZZ</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33808<tr><td></td><td valign="top"><a href="#index-Geometry_002eVolumeLabels"><code>Geometry.VolumeLabels</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33809<tr><td></td><td valign="top"><a href="#index-Geometry_002eVolumes"><code>Geometry.Volumes</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33810<tr><td></td><td valign="top"><a href="#index-Geometry_002eVolumeType"><code>Geometry.VolumeType</code></a>:</td><td> </td><td valign="top"><a href="#Geometry-options">Geometry options</a></td></tr> 33811<tr><td></td><td valign="top"><a href="#index-gmsh_002falgorithm_002ftetrahedralize"><code>gmsh/algorithm/tetrahedralize</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002falgorithm">Namespace gmsh/algorithm</a></td></tr> 33812<tr><td></td><td valign="top"><a href="#index-gmsh_002falgorithm_002ftriangulate"><code>gmsh/algorithm/triangulate</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002falgorithm">Namespace gmsh/algorithm</a></td></tr> 33813<tr><td></td><td valign="top"><a href="#index-gmsh_002fclear"><code>gmsh/clear</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh">Namespace gmsh</a></td></tr> 33814<tr><td></td><td valign="top">
33814<a href="#index-gmsh_002ffinalize"><code>gmsh/finalize</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh">Namespace gmsh</a></td></tr> 33815<tr><td></td><td valign="top"><a href="#index-gmsh_002ffltk_002fawake"><code>gmsh/fltk/awake</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002ffltk">Namespace gmsh/fltk</a></td></tr> 33816<tr><td></td><td valign="top"><a href="#index-gmsh_002ffltk_002fcloseTreeItem"><code>gmsh/fltk/closeTreeItem</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002ffltk">Namespace gmsh/fltk</a></td></tr> 33817<tr><td></td><td valign="top"><a href="#index-gmsh_002ffltk_002ffinalize"><code>gmsh/fltk/finalize</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002ffltk">Namespace gmsh/fltk</a></td></tr> 33818<tr><td></td><td valign="top"><a href="#index-gmsh_002ffltk_002finitialize"><code>gmsh/fltk/initialize</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002ffltk">Namespace gmsh/fltk</a></td></tr> 33819<tr><td></td><td valign="top"><a href="#index-gmsh_002ffltk_002fisAvailable"><code>gmsh/fltk/isAvailable</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002ffltk">Namespace gmsh/fltk</a></td></tr> 33820<tr><td></td><td valign="top"><a href="#index-gmsh_002ffltk_002flock"><code>gmsh/fltk/lock</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002ffltk">Namespace gmsh/fltk</a></td></tr> 33821<tr><td></td><td valign="top"><a href="#index-gmsh_002ffltk_002fopenTreeItem"><code>gmsh/fltk/openTreeItem</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002ffltk">Namespace gmsh/fltk</a></td></tr> 33822<tr><td></td><td valign="top"><a href="#index-gmsh_002ffltk_002frun"><code>gmsh/fltk/run</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002ffltk">Namespace gmsh/fltk</a></td></tr> 33823<tr><td></td><td valign="top"><a href="#index-gmsh_002ffltk_002fselectElements"><code>gmsh/fltk/selectElements</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002ffltk">Namespace gmsh/fltk</a></td></tr> 33824<tr><td></td><td valign="top"><a href="#index-gmsh_002ffltk_002fselectEntities"><code>gmsh/fltk/selectEntities</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002ffltk">Namespace gmsh/fltk</a></td></tr> 33825<tr><td></td><td valign="top"><a href="#index-gmsh_002ffltk_002fselectViews"><code>gmsh/fltk/selectViews</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002ffltk">Namespace gmsh/fltk</a></td></tr> 33826<tr><td></td><td valign="top"><a href="#index-gmsh_002ffltk_002fsetCurrentWindow"><code>gmsh/fltk/setCurrentWindow</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002ffltk">Namespace gmsh/fltk</a></td></tr> 33827<tr><td></td><td valign="top"><a href="#index-gmsh_002ffltk_002fsetStatusMessage"><code>gmsh/fltk/setStatusMessage</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002ffltk">Namespace gmsh/fltk</a></td></tr> 33828<tr><td></td><td valign="top"><a href="#index-gmsh_002ffltk_002fshowContextWindow"><code>gmsh/fltk/showContextWindow</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002ffltk">Namespace gmsh/fltk</a></td></tr> 33829<tr><td></td><td valign="top"><a href="#index-gmsh_002ffltk_002fsplitCurrentWindow"><code>gmsh/fltk/splitCurrentWindow</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002ffltk">Namespace gmsh/fltk</a></td></tr> 33830<tr><td></td><td valign="top"><a href="#index-gmsh_002ffltk_002funlock"><code>gmsh/fltk/unlock</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002ffltk">Namespace gmsh/fltk</a></td></tr> 33831<tr><td></td><td valign="top"><a href="#index-gmsh_002ffltk_002fupdate"><code>gmsh/fltk/update</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002ffltk">Namespace gmsh/fltk</a></td></tr> 33832<tr><td></td><td valign="top"><a href="#index-gmsh_002ffltk_002fwait"><code>gmsh/fltk/wait</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002ffltk">Namespace gmsh/fltk</a></td></tr> 33833<tr><td></td><td valign="top"><a href="#index-gmsh_002fgraphics_002fdraw"><code>gmsh/graphics/draw</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fgraphics">Namespace gmsh/graphics</a></td></tr> 33834<tr><td></td><td valign="top"><a href="#index-gmsh_002finitialize"><code>gmsh/initialize</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh">Namespace gmsh</a></td></tr> 33835<tr><td></td><td valign="top"><a href="#index-gmsh_002fisInitialized"><code>gmsh/isInitialized</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh">Namespace gmsh</a></td></tr> 33836<tr><td></td><td valign="top"><a href="#index-gmsh_002flogger_002fget"><code>gmsh/logger/get</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002flogger">Namespace gmsh/logger</a></td></tr> 33837<tr><td></td><td valign="top"><a href="#index-gmsh_002flogger_002fgetCpuTime"><code>gmsh/logger/getCpuTime</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002flogger">Namespace gmsh/logger</a></td></tr> 33838<tr><td></td><td valign="top"><a href="#index-gmsh_002flogger_002fgetLastError"><code>gmsh/logger/getLastError</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002flogger">Namespace gmsh/logger</a></td></tr> 33839<tr><td></td><td valign="top"><a href="#index-gmsh_002flogger_002fgetMemory"><code>gmsh/logger/getMemory</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002flogger">Namespace gmsh/logger</a></td></tr> 33840<tr><td></td><td valign="top"><a href="#index-gmsh_002flogger_002fgetTotalMemory"><code>gmsh/logger/getTotalMemory</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002flogger">Namespace gmsh/logger</a></td></tr> 33841<tr><td></td><td valign="top"><a href="#index-gmsh_002flogger_002fgetWallTime"><code>gmsh/logger/getWallTime</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002flogger">Namespace gmsh/logger</a></td></tr> 33842<tr><td></td><td valign="top"><a href="#index-gmsh_002flogger_002fstart"><code>gmsh/logger/start</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002flogger">Namespace gmsh/logger</a></td></tr> 33843<tr><td></td><td valign="top"><a href="#index-gmsh_002flogger_002fstop"><code>gmsh/logger/stop</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002flogger">Namespace gmsh/logger</a></td></tr> 33844<tr><td></td><td valign="top"><a href="#index-gmsh_002flogger_002fwrite"><code>gmsh/logger/write</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002flogger">Namespace gmsh/logger</a></td></tr> 33845<tr><td></td><td valign="top"><a href="#index-gmsh_002fmerge"><code>gmsh/merge</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh">Namespace gmsh</a></td></tr> 33846<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fadd"><code>gmsh/model/add</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33847<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002faddDiscreteEntity"><code>gmsh/model/addDiscreteEntity</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33848<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002faddPhysicalGroup"><code>gmsh/model/addPhysicalGroup</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33849<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002faddBezier"><code>gmsh/model/geo/addBezier</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33850<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002faddBSpline"><code>gmsh/model/geo/addBSpline</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33851<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002faddCircleArc"><code>gmsh/model/geo/addCircleArc</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33852<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002faddCompoundBSpline"><code>gmsh/model/geo/addCompoundBSpline</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33853<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002faddCompoundSpline"><code>gmsh/model/geo/addCompoundSpline</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33854<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002faddCurveLoop"><code>gmsh/model/geo/addCurveLoop</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33855<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002faddCurveLoops"><code>gmsh/model/geo/addCurveLoops</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33856<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002faddEllipseArc"><code>gmsh/model/geo/addEllipseArc</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33857<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002faddGeometry"><code>gmsh/model/geo/addGeometry</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33858<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002faddLine"><code>gmsh/model/geo/addLine</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33859<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002faddPhysicalGroup"><code>gmsh/model/geo/addPhysicalGroup</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33860<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002faddPlaneSurface"><code>gmsh/model/geo/addPlaneSurface</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33861<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002faddPoint"><code>gmsh/model/geo/addPoint</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33862<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002faddPointOnGeometry"><code>gmsh/model/geo/addPointOnGeometry</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33863<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002faddPolyline"><code>gmsh/model/geo/addPolyline</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33864<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002faddSpline"><code>gmsh/model/geo/addSpline</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33865<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002faddSurfaceFilling"><code>gmsh/model/geo/addSurfaceFilling</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33866<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002faddSurfaceLoop"><code>gmsh/model/geo/addSurfaceLoop</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33867<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002faddVolume"><code>gmsh/model/geo/addVolume</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33868<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002fcopy"><code>gmsh/model/geo/copy</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33869<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002fdilate"><code>gmsh/model/geo/dilate</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33870<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002fextrude"><code>gmsh/model/geo/extrude</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33871<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002fextrudeBoundaryLayer"><code>gmsh/model/geo/extrudeBoundaryLayer</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33872<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002fgetMaxTag"><code>gmsh/model/geo/getMaxTag</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33873<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002fmesh_002fsetAlgorithm"><code>gmsh/model/geo/mesh/setAlgorithm</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo_002fmesh">Namespace gmsh/model/geo/mesh</a></td></tr> 33874<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002fmesh_002fsetRecombine"><code>gmsh/model/geo/mesh/setRecombine</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo_002fmesh">Namespace gmsh/model/geo/mesh</a></td></tr> 33875<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002fmesh_002fsetReverse"><code>gmsh/model/geo/mesh/setReverse</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo_002fmesh">Namespace gmsh/model/geo/mesh</a></td></tr> 33876<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002fmesh_002fsetSize"><code>gmsh/model/geo/mesh/setSize</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo_002fmesh">Namespace gmsh/model/geo/mesh</a></td></tr> 33877<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002fmesh_002fsetSizeFromBoundary"><code>gmsh/model/geo/mesh/setSizeFromBoundary</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo_002fmesh">Namespace gmsh/model/geo/mesh</a></td></tr> 33878<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002fmesh_002fsetSmoothing"><code>gmsh/model/geo/mesh/setSmoothing</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo_002fmesh">Namespace gmsh/model/geo/mesh</a></td></tr> 33879<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002fmesh_002fsetTransfiniteCurve"><code>gmsh/model/geo/mesh/setTransfiniteCurve</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo_002fmesh">Namespace gmsh/model/geo/mesh</a></td></tr> 33880<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002fmesh_002fsetTransfiniteSurface"><code>gmsh/model/geo/mesh/setTransfiniteSurface</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo_002fmesh">Namespace gmsh/model/geo/mesh</a></td></tr> 33881<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002fmesh_002fsetTransfiniteVolume"><code>gmsh/model/geo/mesh/setTransfiniteVolume</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo_002fmesh">Namespace gmsh/model/geo/mesh</a></td></tr> 33882<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002fmirror"><code>gmsh/model/geo/mirror</code></a>:</td><td> </td><t
33882d valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33883<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002fremove"><code>gmsh/model/geo/remove</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33884<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002fremoveAllDuplicates"><code>gmsh/model/geo/removeAllDuplicates</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33885<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002fremovePhysicalGroups"><code>gmsh/model/geo/removePhysicalGroups</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33886<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002frevolve"><code>gmsh/model/geo/revolve</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33887<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002frotate"><code>gmsh/model/geo/rotate</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33888<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002fsetMaxTag"><code>gmsh/model/geo/setMaxTag</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33889<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002fsplitCurve"><code>gmsh/model/geo/splitCurve</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33890<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002fsymmetrize"><code>gmsh/model/geo/symmetrize</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33891<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002fsynchronize"><code>gmsh/model/geo/synchronize</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33892<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002ftranslate"><code>gmsh/model/geo/translate</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33893<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgeo_002ftwist"><code>gmsh/model/geo/twist</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fgeo">Namespace gmsh/model/geo</a></td></tr> 33894<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetAdjacencies"><code>gmsh/model/getAdjacencies</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33895<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetAttribute"><code>gmsh/model/getAttribute</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33896<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetAttributeNames"><code>gmsh/model/getAttributeNames</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33897<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetBoundary"><code>gmsh/model/getBoundary</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33898<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetBoundingBox"><code>gmsh/model/getBoundingBox</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33899<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetClosestPoint"><code>gmsh/model/getClosestPoint</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33900<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetColor"><code>gmsh/model/getColor</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33901<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetCurrent"><code>gmsh/model/getCurrent</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33902<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetCurvature"><code>gmsh/model/getCurvature</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33903<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetDerivative"><code>gmsh/model/getDerivative</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33904<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetDimension"><code>gmsh/model/getDimension</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33905<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetEntities"><code>gmsh/model/getEntities</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33906<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetEntitiesForPhysicalGroup"><code>gmsh/model/getEntitiesForPhysicalGroup</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33907<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetEntitiesForPhysicalName"><code>gmsh/model/getEntitiesForPhysicalName</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33908<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetEntitiesInBoundingBox"><code>gmsh/model/getEntitiesInBoundingBox</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33909<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetEntityName"><code>gmsh/model/getEntityName</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33910<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetEntityProperties"><code>gmsh/model/getEntityProperties</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33911<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetEntityType"><code>gmsh/model/getEntityType</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33912<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetFileName"><code>gmsh/model/getFileName</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33913<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetNormal"><code>gmsh/model/getNormal</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33914<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetNumberOfPartitions"><code>gmsh/model/getNumberOfPartitions</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33915<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetParametrization"><code>gmsh/model/getParametrization</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33916<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetParametrizationBounds"><code>gmsh/model/getParametrizationBounds</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33917<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetParent"><code>gmsh/model/getParent</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33918<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetPartitions"><code>gmsh/model/getPartitions</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33919<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetPhysicalGroups"><code>gmsh/model/getPhysicalGroups</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33920<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetPhysicalGroupsEntities"><code>gmsh/model/getPhysicalGroupsEntities</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33921<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetPhysicalGroupsForEntity"><code>gmsh/model/getPhysicalGroupsForEntity</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33922<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetPhysicalName"><code>gmsh/model/getPhysicalName</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33923<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetPrincipalCurvatures"><code>gmsh/model/getPrincipalCurvatures</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33924<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetSecondDerivative"><code>gmsh/model/getSecondDerivative</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33925<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetType"><code>gmsh/model/getType</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33926<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetValue"><code>gmsh/model/getValue</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33927<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fgetVisibility"><code>gmsh/model/getVisibility</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33928<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fisEntityOrphan"><code>gmsh/model/isEntityOrphan</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33929<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fisInside"><code>gmsh/model/isInside</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33930<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002flist"><code>gmsh/model/list</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 33931<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002faddEdges"><code>gmsh/model/mesh/addEdges</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33932<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002faddElements"><code>gmsh/model/mesh/addElements</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33933<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002faddElementsByType"><code>gmsh/model/mesh/addElementsByType</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33934<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002faddFaces"><code>
33934gmsh/model/mesh/addFaces</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33935<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002faddHomologyRequest"><code>gmsh/model/mesh/addHomologyRequest</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33936<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002faddNodes"><code>gmsh/model/mesh/addNodes</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33937<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002faffineTransform"><code>gmsh/model/mesh/affineTransform</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33938<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fclassifySurfaces"><code>gmsh/model/mesh/classifySurfaces</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33939<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fclear"><code>gmsh/model/mesh/clear</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33940<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fclearHomologyRequests"><code>gmsh/model/mesh/clearHomologyRequests</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33941<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fcomputeCrossField"><code>gmsh/model/mesh/computeCrossField</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33942<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fcomputeHomology"><code>gmsh/model/mesh/computeHomology</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33943<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fcomputeRenumbering"><code>gmsh/model/mesh/computeRenumbering</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33944<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fcreateEdges"><code>gmsh/model/mesh/createEdges</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33945<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fcreateFaces"><code>gmsh/model/mesh/createFaces</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33946<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fcreateGeometry"><code>gmsh/model/mesh/createGeometry</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33947<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fcreateTopology"><code>gmsh/model/mesh/createTopology</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33948<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fembed"><code>gmsh/model/mesh/embed</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33949<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002ffield_002fadd"><code>gmsh/model/mesh/field/add</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh_002ffield">Namespace gmsh/model/mesh/field</a></td></tr> 33950<tr><td></td><td valign="top">
33950<a href="#index-gmsh_002fmodel_002fmesh_002ffield_002fgetNumber"><code>gmsh/model/mesh/field/getNumber</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh_002ffield">Namespace gmsh/model/mesh/field</a></td></tr> 33951<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002ffield_002fgetNumbers"><code>gmsh/model/mesh/field/getNumbers</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh_002ffield">Namespace gmsh/model/mesh/field</a></td></tr> 33952<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002ffield_002fgetString"><code>gmsh/model/mesh/field/getString</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh_002ffield">Namespace gmsh/model/mesh/field</a></td></tr> 33953<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002ffield_002fgetType"><code>gmsh/model/mesh/field/getType</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh_002ffield">Namespace gmsh/model/mesh/field</a></td></tr> 33954<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002ffield_002flist"><code>gmsh/model/mesh/field/list</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh_002ffield">Namespace gmsh/model/mesh/field</a></td></tr> 33955<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002ffield_002fremove"><code>gmsh/model/mesh/field/remove</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh_002ffield">Namespace gmsh/model/mesh/field</a></td></tr> 33956<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002ffield_002fsetAsBackgroundMesh"><code>gmsh/model/mesh/field/setAsBackgroundMesh</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh_002ffield">Namespace gmsh/model/mesh/field</a></td></tr> 33957<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002ffield_002fsetAsBoundaryLayer"><code>gmsh/model/mesh/field/setAsBoundaryLayer</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh_002ffield">Namespace gmsh/model/mesh/field</a></td></tr> 33958<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002ffield_002fsetNumber"><code>gmsh/model/mesh/field/setNumber</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh_002ffield">Namespace gmsh/model/mesh/field</a></td></tr> 33959<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002ffield_002fsetNumbers"><code>gmsh/model/mesh/field/setNumbers</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh_002ffield">Namespace gmsh/model/mesh/field</a></td></tr> 33960<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002ffield_002fsetString"><code>gmsh/model/mesh/field/setString</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh_002ffield">Namespace gmsh/model/mesh/field</a></td></tr> 33961<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgenerate"><code>gmsh/model/mesh/generate</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33962<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetAllEdges"><code>gmsh/model/mesh/getAllEdges</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33963<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetAllFaces"><code>gmsh/model/mesh/getAllFaces</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33964<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetBarycenters"><code>gmsh/model/mesh/getBarycenters</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33965<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetBasisFunctions"><code>gmsh/model/mesh/getBasisFunctions</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33966<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetBasisFunctionsOrientation"><code>gmsh/model/mesh/getBasisFunctionsOrientation</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33967<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetBasisFunctionsOrientationForElement"><code>gmsh/model/mesh/getBasisFunctionsOrientationForElement</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33968<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetDuplicateNodes"><code>gmsh/model/mesh/getDuplicateNodes</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33969<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetEdges"><code>gmsh/model/mesh/getEdges</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33970<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetElement"><code>gmsh/model/mesh/getElement</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33971<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetElementByCoordinates"><code>gmsh/model/mesh/getElementByCoordinates</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33972<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetElementEdgeNodes"><code>gmsh/model/mesh/getElementEdgeNodes</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33973<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetElementFaceNodes"><code>gmsh/model/mesh/getElementFaceNodes</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33974<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetElementProperties"><code>gmsh/model/mesh/getElementProperties</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33975<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetElementQualities"><code>gmsh/model/mesh/getElementQualities</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33976<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetElements"><code>gmsh/model/mesh/getElements</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33977<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetElementsByCoordinates"><code>gmsh/model/mesh/getElementsByCoordinates</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33978<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetElementsByType"><code>gmsh/model/mesh/getElementsByType</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33979<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetElementType"><code>gmsh/model/mesh/getElementType</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33980<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetElementTypes"><code>gmsh/model/mesh/getElementTypes</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33981<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetEmbedded"><code>gmsh/model/mesh/getEmbedded</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33982<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetFaces"><code>gmsh/model/mesh/getFaces</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33983<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetGhostElements"><code>gmsh/model/mesh/getGhostElements</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33984<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetIntegrationPoints"><code>gmsh/model/mesh/getIntegrationPoints</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33985<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetJacobian"><code>gmsh/model/mesh/getJacobian</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33986<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetJacobians"><code>gmsh/model/mesh/getJacobians</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33987<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetKeys"><code>gmsh/model/mesh/getKeys</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33988<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetKeysForElement"><code>gmsh/model/mesh/getKeysForElement</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33989<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetKeysInformation"><code>gmsh/model/mesh/getKeysInformation</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33990<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetLastEntityError"><code>gmsh/model/mesh/getLastEntityError</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33991<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetLastNodeError"><code>gmsh/model/mesh/getLastNodeError</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33992<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetLocalCoordinatesInElement"><code>gmsh/model/mesh/getLocalCoordinatesInElement</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33993<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetMaxElementTag"><code>gmsh/model/mesh/getMaxElementTag</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33994<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetMaxNodeTag"><code>gmsh/model/mesh/getMaxNodeTag</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33995<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetNode"><code>gmsh/model/mesh/getNode</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33996<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetNodes"><code>gmsh/model/mesh/getNodes</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33997<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetNodesByElementType"><code>gmsh/model/mesh/getNodesByElementType</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33998<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetNodesForPhysicalGroup"><code>gmsh/model/mesh/getNodesForPhysicalGroup</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 33999<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetNumberOfKeys"><code>gmsh/model/mesh/getNumberOfKeys</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34000<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetNumberOfOrientations"><code>gmsh/model/mesh/getNumberOfOrientations</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34001<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetPeriodic"><code>
34001gmsh/model/mesh/getPeriodic</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34002<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetPeriodicKeys"><code>gmsh/model/mesh/getPeriodicKeys</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34003<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetPeriodicNodes"><code>gmsh/model/mesh/getPeriodicNodes</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34004<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetSizes"><code>gmsh/model/mesh/getSizes</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34005<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fgetVisibility"><code>gmsh/model/mesh/getVisibility</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34006<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fimportStl"><code>gmsh/model/mesh/importStl</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34007<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002foptimize"><code>gmsh/model/mesh/optimize</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34008<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fpartition"><code>gmsh/model/mesh/partition</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34009<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fpreallocateBarycenters"><code>gmsh/model/mesh/preallocateBarycenters</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34010<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fpreallocateBasisFunctionsOrientation"><code>gmsh/model/mesh/preallocateBasisFunctionsOrientation</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34011<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fpreallocateElementsByType"><code>gmsh/model/mesh/preallocateElementsByType</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34012<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fpreallocateJacobians"><code>gmsh/model/mesh/preallocateJacobians</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34013<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002frebuildElementCache"><code>gmsh/model/mesh/rebuildElementCache</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34014<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002frebuildNodeCache"><code>gmsh/model/mesh/rebuildNodeCache</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34015<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002freclassifyNodes"><code>gmsh/model/mesh/reclassifyNodes</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34016<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002frecombine"><code>gmsh/model/mesh/recombine</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34017<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002frefine"><code>gmsh/model/mesh/refine</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34018<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002frelocateNodes"><code>gmsh/model/mesh/relocateNodes</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34019<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fremoveConstraints"><code>
34019gmsh/model/mesh/removeConstraints</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34020<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fremoveDuplicateElements"><code>gmsh/model/mesh/removeDuplicateElements</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34021<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fremoveDuplicateNodes"><code>gmsh/model/mesh/removeDuplicateNodes</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34022<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fremoveElements"><code>gmsh/model/mesh/removeElements</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34023<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fremoveEmbedded"><code>gmsh/model/mesh/removeEmbedded</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34024<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fremoveSizeCallback"><code>gmsh/model/mesh/removeSizeCallback</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34025<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002frenumberElements"><code>gmsh/model/mesh/renumberElements</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34026<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002frenumberNodes"><code>gmsh/model/mesh/renumberNodes</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34027<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002freorderElements"><code>gmsh/model/mesh/reorderElements</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34028<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002freverse"><code>gmsh/model/mesh/reverse</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34029<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002freverseElements"><code>gmsh/model/mesh/reverseElements</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34030<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fsetAlgorithm"><code>gmsh/model/mesh/setAlgorithm</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34031<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fsetCompound"><code>gmsh/model/mesh/setCompound</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34032<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fsetNode"><code>gmsh/model/mesh/setNode</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34033<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fsetOrder"><code>gmsh/model/mesh/setOrder</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34034<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fsetOutwardOrientation"><code>gmsh/model/mesh/setOutwardOrientation</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34035<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fsetPeriodic"><code>gmsh/model/mesh/setPeriodic</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34036<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fsetRecombine"><code>gmsh/model/mesh/setRecombine</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34037<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fsetReverse"><code>gmsh/model/mesh/setReverse</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34038<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fsetSize"><code>gmsh/model/mesh/setSize</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34039<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fsetSizeAtParametricPoints"><code>gmsh/model/mesh/setSizeAtParametricPoints</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34040<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fsetSizeCallback"><code>gmsh/model/mesh/setSizeCallback</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34041<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fsetSizeFromBoundary"><code>gmsh/model/mesh/setSizeFromBoundary</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34042<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fsetSmoothing"><code>gmsh/model/mesh/setSmoothing</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34043<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fsetTransfiniteAutomatic"><code>gmsh/model/mesh/setTransfiniteAutomatic</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34044<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fsetTransfiniteCurve"><code>gmsh/model/mesh/setTransfiniteCurve</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34045<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fsetTransfiniteSurface"><code>gmsh/model/mesh/setTransfiniteSurface</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34046<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fsetTransfiniteVolume"><code>gmsh/model/mesh/setTransfiniteVolume</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34047<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fsetVisibility"><code>gmsh/model/mesh/setVisibility</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34048<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002fsplitQuadrangles"><code>gmsh/model/mesh/splitQuadrangles</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34049<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fmesh_002funpartition"><code>gmsh/model/mesh/unpartition</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002fmesh">Namespace gmsh/model/mesh</a></td></tr> 34050<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddBezier"><code>gmsh/model/occ/addBezier</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34051<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddBezierFilling"><code>gmsh/model/occ/addBezierFilling</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34052<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddBezierSurface"><code>gmsh/model/occ/addBezierSurface</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34053<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddBox"><code>gmsh/model/occ/addBox</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34054<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddBSpline"><code>gmsh/model/occ/addBSpline</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34055<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddBSplineFilling"><code>gmsh/model/occ/addBSplineFilling</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34056<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddBSplineSurface"><code>gmsh/model/occ/addBSplineSurface</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34057<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddCircle"><code>gmsh/model/occ/addCircle</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34058<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddCircleArc"><code>gmsh/model/occ/addCircleArc</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34059<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddCone"><code>gmsh/model/occ/addCone</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34060<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddCurveLoop"><code>gmsh/model/occ/addCurveLoop</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34061<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddCylinder"><code>gmsh/model/occ/addCylinder</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34062<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddDisk"><code>gmsh/model/occ/addDisk</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34063<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddEllipse"><code>gmsh/model/occ/addEllipse</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34064<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddEllipseArc"><code>gmsh/model/occ/addEllipseArc</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34065<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddLine"><code>gmsh/model/occ/addLine</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34066<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddPipe"><code>gmsh/model/occ/addPipe</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34067<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddPlaneSurface"><code>gmsh/model/occ/addPlaneSurface</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34068<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddPoint"><code>gmsh/model/occ/addPoint</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34069<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddRectangle"><code>gmsh/model/occ/addRectangle</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34070<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddSphere"><code>gmsh/model/occ/addSphere</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34071<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddSpline"><code>gmsh/model/occ/addSpline</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34072<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddSurfaceFilling"><code>gmsh/model/occ/addSurfaceFilling</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34073<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddSurfaceLoop"><code>gmsh/model/occ/addSurfaceLoop</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34074<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddThickSolid"><code>gmsh/model/occ/addThickSolid</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34075<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddThruSections"><code>gmsh/model/occ/addThruSections</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34076<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddTorus"><code>gmsh/model/occ/addTorus</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34077<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddTrimmedSurface"><code>gmsh/model/occ/addTrimmedSurface</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34078<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddVolume"><code>gmsh/model/occ/addVolume</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34079<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddWedge"><code>gmsh/model/occ/addWedge</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34080<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faddWire"><code>gmsh/model/occ/addWire</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34081<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002faffineTransform"><code>gmsh/model/occ/affineTransform</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34082<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fchamfer"><code>gmsh/model/occ/chamfer</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34083<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fchamfer2D"><code>gmsh/mode
34083l/occ/chamfer2D</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34084<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fconvertToNURBS"><code>gmsh/model/occ/convertToNURBS</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34085<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fcopy"><code>gmsh/model/occ/copy</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34086<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fcut"><code>gmsh/model/occ/cut</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34087<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fdefeature"><code>gmsh/model/occ/defeature</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34088<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fdilate"><code>gmsh/model/occ/dilate</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34089<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fextrude"><code>gmsh/model/occ/extrude</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34090<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002ffillet"><code>gmsh/model/occ/fillet</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34091<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002ffillet2D"><code>gmsh/model/occ/fillet2D</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34092<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002ffragment"><code>gmsh/model/occ/fragment</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34093<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002ffuse"><code>gmsh/model/occ/fuse</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34094<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fgetBoundingBox"><code>gmsh/model/occ/getBoundingBox</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34095<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fgetCenterOfMass"><code>gmsh/model/occ/getCenterOfMass</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34096<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fgetClosestEntities"><code>gmsh/model/occ/getClosestEntities</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34097<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fgetCurveLoops"><code>gmsh/model/occ/getCurveLoops</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34098<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fgetDistance"><code>gmsh/model/occ/getDistance</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34099<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fgetEntities"><code>gmsh/model/occ/getEntities</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34100<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fgetEntitiesInBoundingBox"><code>gmsh/model/occ/getEntitiesInBoundingBox</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34101<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fgetMass"><code>gmsh/model/occ/getMass</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34102<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fgetMatrixOfInertia"><code>gmsh/model/occ/getMatrixOfInertia</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34103<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fgetMaxTag"><code>gmsh/model/occ/getMaxTag</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34104<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fgetSurfaceLoops"><code>gmsh/model/occ/getSurfaceLoops</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34105<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fhealShapes"><code>gmsh/model/occ/healShapes</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34106<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fimportShapes"><code>gmsh/model/occ/importShapes</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34107<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fimportShapesNativePointer"><code>gmsh/model/occ/importShapesNativePointer</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34108<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fintersect"><code>gmsh/model/occ/intersect</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34109<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fmesh_002fsetSize"><code>gmsh/model/occ/mesh/setSize</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc_002fmesh">Namespace gmsh/model/occ/mesh</a></td></tr> 34110<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fmirror"><code>gmsh/model/occ/mirror</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34111<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002foffsetCurve"><code>gmsh/model/occ/offsetCurve</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34112<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fremove"><code>gmsh/model/occ/remove</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34113<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fremoveAllDuplicates"><code>gmsh/model/occ/removeAllDuplicates</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34114<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002frevolve"><code>gmsh/model/occ/revolve</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34115<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002frotate"><code>gmsh/model/occ/rotate</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34116<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fsetMaxTag"><code>gmsh/model/occ/setMaxTag</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34117<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fsymmetrize"><code>gmsh/model/occ/symmetrize</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34118<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002fsynchronize"><code>gmsh/model/occ/synchronize</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34119<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002focc_002ftranslate"><code>gmsh/model/occ/translate</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel_002focc">Namespace gmsh/model/occ</a></td></tr> 34120<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fremove"><code>gmsh/model/remove</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 34121<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fremoveAttribute"><code>gmsh/model/removeAttribute</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 34122<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fremoveEntities"><code>gmsh/model/removeEntities</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 34123<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fremoveEntityName"><code>gmsh/model/removeEntityName</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 34124<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fremovePhysicalGroups"><code>gmsh/model/removePhysicalGroups</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 34125<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fremovePhysicalName"><code>gmsh/model/removePhysicalName</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 34126<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002freparametrizeOnSurface"><code>gmsh/model/reparametrizeOnSurface</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 34127<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fsetAttribute"><code>gmsh/model/setAttribute</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 34128<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fsetColor"><code>gmsh/model/setColor</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 34129<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fsetCoordinates"><code>gmsh/model/setCoordinates</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 34130<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fsetCurrent"><code>gmsh/model/setCurrent</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 34131<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fsetEntityName"><code>gmsh/model/setEntityName</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 34132<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fsetFileName"><code>gmsh/model/setFileName</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 34133<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fsetPhysicalName"><code>gmsh/model/setPhysicalName</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 34134<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fsetTag"><code>gmsh/model/setTag</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 34135<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fsetVisibility"><code>gmsh/model/setVisibility</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 34136<tr><td></td><td valign="top"><a href="#index-gmsh_002fmodel_002fsetVisibilityPerWindow"><code>gmsh/model/setVisibilityPerWindow</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fmodel">Namespace gmsh/model</a></td></tr> 34137<tr><td></td><td valign="top"><a href="#index-gmsh_002fonelab_002fclear"><code>
34137gmsh/onelab/clear</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fonelab">Namespace gmsh/onelab</a></td></tr> 34138<tr><td></td><td valign="top"><a href="#index-gmsh_002fonelab_002fget"><code>gmsh/onelab/get</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fonelab">Namespace gmsh/onelab</a></td></tr> 34139<tr><td></td><td valign="top"><a href="#index-gmsh_002fonelab_002fgetChanged"><code>gmsh/onelab/getChanged</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fonelab">Namespace gmsh/onelab</a></td></tr> 34140<tr><td></td><td valign="top"><a href="#index-gmsh_002fonelab_002fgetNames"><code>gmsh/onelab/getNames</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fonelab">Namespace gmsh/onelab</a></td></tr> 34141<tr><td></td><td valign="top"><a href="#index-gmsh_002fonelab_002fgetNumber"><code>gmsh/onelab/getNumber</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fonelab">Namespace gmsh/onelab</a></td></tr> 34142<tr><td></td><td valign="top"><a href="#index-gmsh_002fonelab_002fgetString"><code>gmsh/onelab/getString</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fonelab">Namespace gmsh/onelab</a></td></tr> 34143<tr><td></td><td valign="top"><a href="#index-gmsh_002fonelab_002frun"><code>gmsh/onelab/run</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fonelab">Namespace gmsh/onelab</a></td></tr> 34144<tr><td></td><td valign="top"><a href="#index-gmsh_002fonelab_002fset"><code>gmsh/onelab/set</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fonelab">Namespace gmsh/onelab</a></td></tr> 34145<tr><td></td><td valign="top"><a href="#index-gmsh_002fonelab_002fsetChanged"><code>gmsh/onelab/setChanged</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fonelab">Namespace gmsh/onelab</a></td></tr> 34146<tr><td></td><td valign="top"><a href="#index-gmsh_002fonelab_002fsetNumber"><code>gmsh/onelab/setNumber</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fonelab">Namespace gmsh/onelab</a></td></tr> 34147<tr><td></td><td valign="top"><a href="#index-gmsh_002fonelab_002fsetString"><code>gmsh/onelab/setString</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fonelab">Namespace gmsh/onelab</a></td></tr> 34148<tr><td></td><td valign="top"><a href="#index-gmsh_002fopen"><code>gmsh/open</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh">Namespace gmsh</a></td></tr> 34149<tr><td></td><td valign="top"><a href="#index-gmsh_002foption_002fgetColor"><code>gmsh/option/getColor</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002foption">Namespace gmsh/option</a></td></tr> 34150<tr><td></td><td valign="top"><a href="#index-gmsh_002foption_002fgetNumber"><code>gmsh/option/getNumber</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002foption">Namespace gmsh/option</a></td></tr> 34151<tr><td></td><td valign="top"><a href="#index-gmsh_002foption_002fgetString"><code>gmsh/option/getString</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002foption">Namespace gmsh/option</a></td></tr> 34152<tr><td></td><td valign="top"><a href="#index-gmsh_002foption_002frestoreDefaults"><code>gmsh/option/restoreDefaults</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002foption">Namespace gmsh/option</a></td></tr> 34153<tr><td></td><td valign="top"><a href="#index-gmsh_002foption_002fsetColor"><code>gmsh/option/setColor</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002foption">Namespace gmsh/option</a></td></tr> 34154<tr><td></td><td valign="top"><a href="#index-gmsh_002foption_002fsetNumber"><code>gmsh/option/setNumber</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002foption">Namespace gmsh/option</a></td></tr> 34155<tr><td></td><td valign="top"><a href="#index-gmsh_002foption_002fsetString"><code>gmsh/option/setString</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002foption">Namespace gmsh/option</a></td></tr> 34156<tr><td></td><td valign="top"><a href="#index-gmsh_002fparser_002fclear"><code>gmsh/parser/clear</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fparser">Namespace gmsh/parser</a></td></tr> 34157<tr><td></td><td valign="top"><a href="#index-gmsh_002fparser_002fgetNames"><code>gmsh/parser/getNames</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fparser">Namespace gmsh/parser</a></td></tr> 34158<tr><td></td><td valign="top"><a href="#index-gmsh_002fparser_002fgetNumber"><code>gmsh/parser/getNumber</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fparser">Namespace gmsh/parser</a></td></tr> 34159<tr><td></td><td valign="top"><a href="#index-gmsh_002fparser_002fgetString"><code>gmsh/parser/getString</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fparser">Namespace gmsh/parser</a></td></tr> 34160<tr><td></td><td valign="top"><a href="#index-gmsh_002fparser_002fparse"><code>gmsh/parser/parse</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fparser">Namespace gmsh/parser</a></td></tr> 34161<tr><td></td><td valign="top"><a href="#index-gmsh_002fparser_002fsetNumber"><code>gmsh/parser/setNumber</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fparser">Namespace gmsh/parser</a></td></tr> 34162<tr><td></td><td valign="top"><a href="#index-gmsh_002fparser_002fsetString"><code>gmsh/parser/setString</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fparser">Namespace gmsh/parser</a></td></tr> 34163<tr><td></td><td valign="top"><a href="#index-gmsh_002fplugin_002frun"><code>gmsh/plugin/run</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fplugin">Namespace gmsh/plugin</a></td></tr> 34164<tr><td></td><td valign="top"><a href="#index-gmsh_002fplugin_002fsetNumber"><code>gmsh/plugin/setNumber</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fplugin">Namespace gmsh/plugin</a></td></tr> 34165<tr><td></td><td valign="top"><a href="#index-gmsh_002fplugin_002fsetString"><code>gmsh/plugin/setString</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fplugin">Namespace gmsh/plugin</a></td></tr> 34166<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002fadd"><code>gmsh/view/add</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview">Namespace gmsh/view</a></td></tr> 34167<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002faddAlias"><code>gmsh/view/addAlias</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview">Namespace gmsh/view</a></td></tr> 34168<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002faddHomogeneousModelData"><code>gmsh/view/addHomogeneousModelData</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview">Namespace gmsh/view</a></td></tr> 34169<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002faddListData"><code>gmsh/view/addListData</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview">Namespace gmsh/view</a></td></tr> 34170<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002faddListDataString"><code>gmsh/view/addListDataString</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview">Namespace gmsh/view</a></td></tr> 34171<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002faddModelData"><code>gmsh/view/addModelData</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview">Namespace gmsh/view</a></td></tr> 34172<tr><td></td><td valign="top">
34172<a href="#index-gmsh_002fview_002fcombine"><code>gmsh/view/combine</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview">Namespace gmsh/view</a></td></tr> 34173<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002fgetHomogeneousModelData"><code>gmsh/view/getHomogeneousModelData</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview">Namespace gmsh/view</a></td></tr> 34174<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002fgetIndex"><code>gmsh/view/getIndex</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview">Namespace gmsh/view</a></td></tr> 34175<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002fgetListData"><code>gmsh/view/getListData</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview">Namespace gmsh/view</a></td></tr> 34176<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002fgetListDataStrings"><code>gmsh/view/getListDataStrings</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview">Namespace gmsh/view</a></td></tr> 34177<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002fgetModelData"><code>gmsh/view/getModelData</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview">Namespace gmsh/view</a></td></tr> 34178<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002fgetTags"><code>gmsh/view/getTags</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview">Namespace gmsh/view</a></td></tr> 34179<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002foption_002fcopy"><code>gmsh/view/option/copy</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview_002foption">Namespace gmsh/view/option</a></td></tr> 34180<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002foption_002fgetColor"><code>gmsh/view/option/getColor</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview_002foption">Namespace gmsh/view/option</a></td></tr> 34181<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002foption_002fgetNumber"><code>gmsh/view/option/getNumber</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview_002foption">Namespace gmsh/view/option</a></td></tr> 34182<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002foption_002fgetString"><code>gmsh/view/option/getString</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview_002foption">Namespace gmsh/view/option</a></td></tr> 34183<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002foption_002fsetColor"><code>gmsh/view/option/setColor</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview_002foption">Namespace gmsh/view/option</a></td></tr> 34184<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002foption_002fsetNumber"><code>gmsh/view/option/setNumber</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview_002foption">Namespace gmsh/view/option</a></td></tr> 34185<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002foption_002fsetString"><code>gmsh/view/option/setString</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview_002foption">Namespace gmsh/view/option</a></td></tr> 34186<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002fprobe"><code>gmsh/view/probe</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview">Namespace gmsh/view</a></td></tr> 34187<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002fremove"><code>gmsh/view/remove</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview">Namespace gmsh/view</a></td></tr> 34188<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002fsetInterpolationMatrices"><code>gmsh/view/setInterpolationMatrices</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview">Namespace gmsh/view</a></td></tr> 34189<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002fsetVisibilityPerWindow"><code>gmsh/view/setVisibilityPerWindow</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview">Namespace gmsh/view</a></td></tr> 34190<tr><td></td><td valign="top"><a href="#index-gmsh_002fview_002fwrite"><code>gmsh/view/write</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh_002fview">Namespace gmsh/view</a></td></tr> 34191<tr><td></td><td valign="top"><a href="#index-gmsh_002fwrite"><code>gmsh/write</code></a>:</td><td> </td><td valign="top"><a href="#Namespace-gmsh">Namespace gmsh</a></td></tr> 34192<tr><td></td><td valign="top"><a href="#index-GMSH_005fMAJOR_005fVERSION"><code>GMSH_MAJOR_VERSION</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34193<tr><td></td><td valign="top"><a href="#index-GMSH_005fMINOR_005fVERSION"><code>GMSH_MINOR_VERSION</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34194<tr><td></td><td valign="top"><a href="#index-GMSH_005fPATCH_005fVERSION"><code>GMSH_PATCH_VERSION</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34195<tr><td></td><td valign="top"><a href="#index-Gradient"><code>Gradient</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 34196<tr><td colspan="4"> <hr></td></tr> 34197<tr><th id="Syntax-index_tp_letter-H">H</th><td></td><td></td></tr> 34198<tr><td></td><td valign="top"><a href="#index-HealShapes_003b"><code>HealShapes;</code></a>:</td><td> </td><td valign="top"><a href="#Other-geometry-commands">Other geometry commands</a></td></tr> 34199<tr><td></td><td valign="top"><a href="#index-Hide-_007b-_003a-_007d"><code>Hide { : }</code></a>:</td><td> </td><td valign="top"><a href="#Other-geometry-commands">Other geometry commands</a></td></tr> 34200<tr><td></td><td valign="top"><a href="#index-Homology-_0028-_007b-expression_002dlist-_007d-_0029-_007b-_007b-expression_002dlist-_007d-_002c-_007b-expression_002dlist-_007d-_007d_003b"><code>Homology ( { <var>expression-list</var> } ) { { <var>expression-list</var> } , { <var>expression-list</var> } };</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34201<tr><td></td><td valign="top"><a href="#index-Hypot-_0028-expression_002c-expression-_0029"><code>Hypot ( <var>expression</var>, <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 34202<tr><td colspan="4"> <hr></td></tr> 34203<tr><th id="Syntax-index_tp_letter-I">I</th><td></td><td></td></tr> 34204<tr><td></td><td valign="top"><a href="#index-If-_0028-expression-_0029"><code>If ( <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Loops-and-conditionals">Loops and conditionals</a></td></tr> 34205<tr><td></td><td valign="top"><a href="#index-Include-string_002dexpression_003b"><code>Include <var>string-expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34206<tr><td></td><td valign="top"><a href="#index-Intersect-Curve-_007b-expression_002dlist-_007d-Surface-_007b-expression-_007d"><code>Intersect Curve { <var>expression-list</var> } Surface { <var>expression</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Transformations">Transformations</a></td></tr> 34207<tr><td></td><td valign="top"><a href="#index-IntersectAniso"><code>IntersectAniso</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 34208<tr><td colspan="4"> <hr></td></tr> 34209<tr><th id="Syntax-index_tp_letter-L">L</th><td></td><td></td></tr> 34210<tr><td></td><td valign="top"><a href="#index-Laplacian"><code>Laplacian</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 34211<tr><td></td><td valign="top"><a href="#index-Line-_0028-expression-_0029-_003d-_007b-expression_002c-expression-_007d_003b"><code>Line ( <var>expression</var> ) = { <var>expression</var>, <var>expression</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Curves">Curves</a></td></tr> 34212<tr><td></td><td valign="top"><a href="#index-Log-_0028-expression-_0029"><code>Log ( <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 34213<tr><td></td><td valign="top"><a href="#index-Log10-_0028-expression-_0029"><code>Log10 ( <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 34214<tr><td></td><td valign="top"><a href="#index-LonLat"><code>LonLat</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 34215<tr><td colspan="4"> <hr></td></tr> 34216<tr><th id="Syntax-index_tp_letter-M">M</th><td></td><td></td></tr> 34217<tr><td></td><td valign="top"><a href="#index-Macro-string-_007c-string_002dexpression"><code>Macro <var>string</var> | <var>string-expression</var></code></a>:</td><td> </td><td valign="top">
34217<a href="#User_002ddefined-macros">User-defined macros</a></td></tr> 34218<tr><td></td><td valign="top"><a href="#index-MathEval"><code>MathEval</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 34219<tr><td></td><td valign="top"><a href="#index-MathEvalAniso"><code>MathEvalAniso</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 34220<tr><td></td><td valign="top"><a href="#index-Max"><code>Max</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 34221<tr><td></td><td valign="top"><a href="#index-Max-_0028-expression_002c-expression-_0029"><code>Max ( <var>expression</var>, <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 34222<tr><td></td><td valign="top"><a href="#index-MaxEigenHessian"><code>MaxEigenHessian</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 34223<tr><td></td><td valign="top"><a href="#index-Mean"><code>Mean</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 34224<tr><td></td><td valign="top"><a href="#index-Memory"><code>Memory</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34225<tr><td></td><td valign="top"><a href="#index-Merge-string_002dexpression_003b"><code>Merge <var>string-expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34226<tr><td></td><td valign="top"><a href="#index-Mesh-expression_003b"><code>Mesh <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34227<tr><td></td><td valign="top"><a href="#index-Mesh_002eAlgorithm"><code>Mesh.Algorithm</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34228<tr><td></td><td valign="top"><a href="#index-Mesh_002eAlgorithm3D"><code>Mesh.Algorithm3D</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34229<tr><td></td><td valign="top"><a href="#index-Mesh_002eAlgorithmSwitchOnFailure"><code>Mesh.AlgorithmSwitchOnFailure</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34230<tr><td></td><td valign="top"><a href="#index-Mesh_002eAllowSwapAngle"><code>Mesh.AllowSwapAngle</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34231<tr><td></td><td valign="top"><a href="#index-Mesh_002eAngleSmoothNormals"><code>Mesh.AngleSmoothNormals</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34232<tr><td></td><td valign="top"><a href="#index-Mesh_002eAngleToleranceFacetOverlap"><code>Mesh.AngleToleranceFacetOverlap</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34233<tr><td></td><td valign="top"><a href="#index-Mesh_002eAnisoMax"><code>Mesh.AnisoMax</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34234<tr><td></td><td valign="top"><a href="#index-Mesh_002eAvgQuality"><code>Mesh.AvgQuality</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34235<tr><td></td><td valign="top"><a href="#index-Mesh_002eBdfFieldFormat"><code>Mesh.BdfFieldFormat</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34236<tr><td></td><td valign="top"><a href="#index-Mesh_002eBinary"><code>Mesh.Binary</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34237<tr><td></td><td valign="top"><a href="#index-Mesh_002eBoundaryLayerFanElements"><code>Mesh.BoundaryLayerFanElements</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34238<tr><td></td><td valign="top"><a href="#index-Mesh_002eCgnsConstructTopology"><code>Mesh.CgnsConstructTopology</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34239<tr><td></td><td valign="top"><a href="#index-Mesh_002eCgnsExportCPEX0045"><code>Mesh.CgnsExportCPEX0045</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34240<tr><td></td><td valign="top"><a href="#index-Mesh_002eCgnsExportStructured"><code>Mesh.CgnsExportStructured</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34241<tr><td></td><td valign="top"><a href="#index-Mesh_002eCgnsImportIgnoreBC"><code>Mesh.CgnsImportIgnoreBC</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34242<tr><td></td><td valign="top"><a href="#index-Mesh_002eCgnsImportIgnoreSolution"><code>Mesh.CgnsImportIgnoreSolution</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34243<tr><td></td><td valign="top"><a href="#index-Mesh_002eCgnsImportOrder"><code>Mesh.CgnsImportOrder</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34244<tr><td></td><td valign="top"><a href="#index-Mesh_002eCheckSurfaceNormalValidity"><code>Mesh.CheckSurfaceNormalValidity</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34245<tr><td></td><td valign="top"><a href="#index-Mesh_002eClip"><code>Mesh.Clip</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34246<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eEight"><code>Mesh.Color.Eight</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34247<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eEighteen"><code>Mesh.Color.Eighteen</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34248<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eEleven"><code>Mesh.Color.Eleven</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34249<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eFifteen"><code>Mesh.Color.Fifteen</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34250<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eFive"><code>Mesh.Color.Five</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34251<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eFour"><code>Mesh.Color.Four</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34252<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eFourteen"><code>Mesh.Color.Fourteen</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34253<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eHexahedra"><code>Mesh.Color.Hexahedra</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34254<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eLines"><code>Mesh.Color.Lines</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34255<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eNine"><code>Mesh.Color.Nine</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34256<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eNineteen"><code>Mesh.Color.Nineteen</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34257<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eNodes"><code>Mesh.Color.Nodes</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34258<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eNodesSup"><code>Mesh.Color.NodesSup</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34259<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eNormals"><code>Mesh.Color.Normals</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34260<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eOne"><code>Mesh.Color.One</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34261<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002ePrisms"><code>
34261Mesh.Color.Prisms</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34262<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002ePyramids"><code>Mesh.Color.Pyramids</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34263<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eQuadrangles"><code>Mesh.Color.Quadrangles</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34264<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eSeven"><code>Mesh.Color.Seven</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34265<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eSeventeen"><code>Mesh.Color.Seventeen</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34266<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eSix"><code>Mesh.Color.Six</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34267<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eSixteen"><code>Mesh.Color.Sixteen</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34268<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eTangents"><code>Mesh.Color.Tangents</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34269<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eTen"><code>Mesh.Color.Ten</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34270<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eTetrahedra"><code>Mesh.Color.Tetrahedra</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34271<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eThirteen"><code>Mesh.Color.Thirteen</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34272<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eThree"><code>Mesh.Color.Three</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34273<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eTriangles"><code>Mesh.Color.Triangles</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34274<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eTrihedra"><code>Mesh.Color.Trihedra</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34275<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eTwelve"><code>Mesh.Color.Twelve</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34276<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eTwo"><code>Mesh.Color.Two</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34277<tr><td></td><td valign="top"><a href="#index-Mesh_002eColor_002eZero"><code>Mesh.Color.Zero</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34278<tr><td></td><td valign="top"><a href="#index-Mesh_002eColorCarousel"><code>Mesh.ColorCarousel</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34279<tr><td></td><td valign="top"><a href="#index-Mesh_002eCompoundClassify"><code>Mesh.CompoundClassify</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34280<tr><td></td><td valign="top"><a href="#index-Mesh_002eCompoundMeshSizeFactor"><code>Mesh.CompoundMeshSizeFactor</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34281<tr><td></td><td valign="top"><a href="#index-Mesh_002eCpuTime"><code>Mesh.CpuTime</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34282<tr><td></td><td valign="top"><a href="#index-Mesh_002eCreateTopologyMsh2"><code>Mesh.CreateTopologyMsh2</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34283<tr><td></td><td valign="top"><a href="#index-Mesh_002eCrossFieldClosestPoint"><code>Mesh.CrossFieldClosestPoint</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34284<tr><td></td><td valign="top"><a href="#index-Mesh_002eDrawSkinOnly"><code>Mesh.DrawSkinOnly</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34285<tr><td></td><td valign="top"><a href="#index-Mesh_002eDual"><code>Mesh.Dual</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34286<tr><td></td><td valign="top"><a href="#index-Mesh_002eElementOrder"><code>Mesh.ElementOrder</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34287<tr><td></td><td valign="top"><a href="#index-Mesh_002eExplode"><code>Mesh.Explode</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34288<tr><td></td><td valign="top"><a href="#index-Mesh_002eFirstElementTag"><code>Mesh.FirstElementTag</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34289<tr><td></td><td valign="top"><a href="#index-Mesh_002eFirstNodeTag"><code>Mesh.FirstNodeTag</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34290<tr><td></td><td valign="top"><a href="#index-Mesh_002eFlexibleTransfinite"><code>Mesh.FlexibleTransfinite</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34291<tr><td></td><td valign="top"><a href="#index-Mesh_002eFormat"><code>Mesh.Format</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34292<tr><td></td><td valign="top"><a href="#index-Mesh_002eHexahedra"><code>Mesh.Hexahedra</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34293<tr><td></td><td valign="top"><a href="#index-Mesh_002eHighOrderCurveOuterBL"><code>Mesh.HighOrderCurveOuterBL</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34294<tr><td></td><td valign="top"><a href="#index-Mesh_002eHighOrderDistCAD"><code>Mesh.HighOrderDistCAD</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34295<tr><td></td><td valign="top"><a href="#index-Mesh_002eHighOrderFastCurvingNewAlgo"><code>Mesh.HighOrderFastCurvingNewAlgo</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34296<tr><td></td><td valign="top"><a href="#index-Mesh_002eHighOrderFixBoundaryNodes"><code>Mesh.HighOrderFixBoundaryNodes</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34297<tr><td></td><td valign="top"><a href="#index-Mesh_002eHighOrderIterMax"><code>Mesh.HighOrderIterMax</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34298<tr><td></td><td valign="top"><a href="#index-Mesh_002eHighOrderMaxAngle"><code>Mesh.HighOrderMaxAngle</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34299<tr><td></td><td valign="top"><a href="#index-Mesh_002eHighOrderMaxInnerAngle"><code>Mesh.HighOrderMaxInnerAngle</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34300<tr><td></td><td valign="top"><a href="#index-Mesh_002eHighOrderMaxRho"><code>Mesh.HighOrderMaxRho</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34301<tr><td></td><td valign="top"><a href="#index-Mesh_002eHighOrderNumLayers"><code>Mesh.HighOrderNumLayers</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34302<tr><td></td><td valign="top"><a href="#index-Mesh_002eHighOrderOptimize"><code>Mesh.HighOrderOptimize</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34303<tr><td></td><td valign="top"><a href="#index-Mesh_002eHighOrderPassMax"><code>Mesh.HighOrderPassMax</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34304<tr><td></td><td valign="top"><a href="#index-Mesh_002eHighOrderPeriodic"><code>Mesh.HighOrderPeriodic</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34305<tr><td></td><td valign="top"><a href="#index-Mesh_002eHighOrderPoissonRatio"><code>Mesh.HighOrderPoissonRatio</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34306<tr><td></td><td valign="top"><a href="#index-Mesh_002eHighOrderPrimSurfMesh"><code>Mesh.HighOrderPrimSurfMesh</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34307<tr><td></td><td valign="top"><a href="#index-Mesh_002eHighOrderSavePeriodic"><code>Mesh.HighOrderSavePeriodic</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34308<tr><td></td><td valign="top"><a href="#index-Mesh_002eHighOrderSkipQualityCheck"><code>Mesh.HighOrderSkipQualityCheck</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34309<tr><td></td><td valign="top"><a href="#index-Mesh_002eHighOrderThresholdMax"><code>Mesh.HighOrderThresholdMax</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34310<tr><td></td><td valign="top"><a href="#index-Mesh_002eHighOrderThresholdMin"><code>Mesh.HighOrderThresholdMin</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34311<tr><td></td><td valign="top"><a href="#index-Mesh_002eIgnoreParametrization"><code>Mesh.IgnoreParametrization</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34312<tr><td></td><td valign="top">
34312<a href="#index-Mesh_002eIgnorePeriodicity"><code>Mesh.IgnorePeriodicity</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34313<tr><td></td><td valign="top"><a href="#index-Mesh_002eIgnoreUnknownSections"><code>Mesh.IgnoreUnknownSections</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34314<tr><td></td><td valign="top"><a href="#index-Mesh_002eLabelSampling"><code>Mesh.LabelSampling</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34315<tr><td></td><td valign="top"><a href="#index-Mesh_002eLabelType"><code>Mesh.LabelType</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34316<tr><td></td><td valign="top"><a href="#index-Mesh_002eLcIntegrationPrecision"><code>Mesh.LcIntegrationPrecision</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34317<tr><td></td><td valign="top"><a href="#index-Mesh_002eLight"><code>Mesh.Light</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34318<tr><td></td><td valign="top"><a href="#index-Mesh_002eLightLines"><code>Mesh.LightLines</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34319<tr><td></td><td valign="top"><a href="#index-Mesh_002eLightTwoSide"><code>Mesh.LightTwoSide</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34320<tr><td></td><td valign="top"><a href="#index-Mesh_002eLineLabels"><code>Mesh.LineLabels</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34321<tr><td></td><td valign="top"><a href="#index-Mesh_002eLines"><code>Mesh.Lines</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34322<tr><td></td><td valign="top"><a href="#index-Mesh_002eLineWidth"><code>Mesh.LineWidth</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34323<tr><td></td><td valign="top"><a href="#index-Mesh_002eMaxIterDelaunay3D"><code>Mesh.MaxIterDelaunay3D</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34324<tr><td></td><td valign="top"><a href="#index-Mesh_002eMaxNumThreads1D"><code>Mesh.MaxNumThreads1D</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34325<tr><td></td><td valign="top"><a href="#index-Mesh_002eMaxNumThreads2D"><code>Mesh.MaxNumThreads2D</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34326<tr><td></td><td valign="top"><a href="#index-Mesh_002eMaxNumThreads3D"><code>Mesh.MaxNumThreads3D</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34327<tr><td></td><td valign="top"><a href="#index-Mesh_002eMaxRetries"><code>Mesh.MaxRetries</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34328<tr><td></td><td valign="top"><a href="#index-Mesh_002eMedFileMinorVersion"><code>Mesh.MedFileMinorVersion</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34329<tr><td></td><td valign="top"><a href="#index-Mesh_002eMedImportGroupsOfNodes"><code>Mesh.MedImportGroupsOfNodes</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34330<tr><td></td><td valign="top"><a href="#index-Mesh_002eMedSingleModel"><code>Mesh.MedSingleModel</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34331<tr><td></td><td valign="top"><a href="#index-Mesh_002eMeshOnlyEmpty"><code>Mesh.MeshOnlyEmpty</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34332<tr><td></td><td valign="top"><a href="#index-Mesh_002eMeshOnlyVisible"><code>Mesh.MeshOnlyVisible</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34333<tr><td></td><td valign="top"><a href="#index-Mesh_002eMeshSizeExtendFromBoundary"><code>Mesh.MeshSizeExtendFromBoundary</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34334<tr><td></td><td valign="top"><a href="#index-Mesh_002eMeshSizeFactor"><code>Mesh.MeshSizeFactor</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34335<tr><td></td><td valign="top"><a href="#index-Mesh_002eMeshSizeFromCurvature"><code>Mesh.MeshSizeFromCurvature</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34336<tr><td></td><td valign="top"><a href="#index-Mesh_002eMeshSizeFromCurvatureIsotropic"><code>Mesh.MeshSizeFromCurvatureIsotropic</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34337<tr><td></td><td valign="top"><a href="#index-Mesh_002eMeshSizeFromParametricPoints"><code>Mesh.MeshSizeFromParametricPoints</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34338<tr><td></td><td valign="top"><a href="#index-Mesh_002eMeshSizeFromPoints"><code>Mesh.MeshSizeFromPoints</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34339<tr><td></td><td valign="top"><a href="#index-Mesh_002eMeshSizeMax"><code>Mesh.MeshSizeMax</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34340<tr><td></td><td valign="top"><a href="#index-Mesh_002eMeshSizeMin"><code>Mesh.MeshSizeMin</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34341<tr><td></td><td valign="top"><a href="#index-Mesh_002eMetisAlgorithm"><code>Mesh.MetisAlgorithm</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34342<tr><td></td><td valign="top"><a href="#index-Mesh_002eMetisEdgeMatching"><code>Mesh.MetisEdgeMatching</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34343<tr><td></td><td valign="top"><a href="#index-Mesh_002eMetisMaxLoadImbalance"><code>Mesh.MetisMaxLoadImbalance</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34344<tr><td></td><td valign="top"><a href="#index-Mesh_002eMetisMinConn"><code>Mesh.MetisMinConn</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34345<tr><td></td><td valign="top"><a href="#index-Mesh_002eMetisObjective"><code>Mesh.MetisObjective</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34346<tr><td></td><td valign="top"><a href="#index-Mesh_002eMetisRefinementAlgorithm"><code>Mesh.MetisRefinementAlgorithm</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34347<tr><td></td><td valign="top"><a href="#index-Mesh_002eMinCircleNodes"><code>Mesh.MinCircleNodes</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34348<tr><td></td><td valign="top"><a href="#index-Mesh_002eMinCurveNodes"><code>Mesh.MinCurveNodes</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34349<tr><td></td><td valign="top"><a href="#index-Mesh_002eMinLineNodes"><code>Mesh.MinLineNodes</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34350<tr><td></td><td valign="top"><a href="#index-Mesh_002eMinQuality"><code>Mesh.MinQuality</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34351<tr><td></td><td valign="top"><a href="#index-Mesh_002eMshFileVersion"><code>Mesh.MshFileVersion</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34352<tr><td></td><td valign="top"><a href="#index-Mesh_002eNbHexahedra"><code>Mesh.NbHexahedra</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34353<tr><td></td><td valign="top"><a href="#index-Mesh_002eNbNodes"><code>Mesh.NbNodes</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34354<tr><td></td><td valign="top"><a href="#index-Mesh_002eNbPartitions"><code>Mesh.NbPartitions</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34355<tr><td></td><td valign="top"><a href="#index-Mesh_002eNbPrisms"><code>Mesh.NbPrisms</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34356<tr><td></td><td valign="top"><a href="#index-Mesh_002eNbPyramids"><code>Mesh.NbPyramids</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34357<tr><td></td><td valign="top"><a href="#index-Mesh_002eNbQuadrangles"><code>Mesh.NbQuadrangles</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34358<tr><td></td><td valign="top"><a href="#index-Mesh_002eNbTetrahedra"><code>Mesh.NbTetrahedra</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34359<tr><td></td><td valign="top"><a href="#index-Mesh_002eNbTriangles"><code>Mesh.NbTriangles</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34360<tr><td></td><td valign="top"><a href="#index-Mesh_002eNbTrihedra"><code>Mesh.NbTrihedra</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34361<tr><td></td><td valign="top"><a href="#index-Mesh_002eNewtonConvergenceTestXYZ"><code>Mesh.NewtonConvergenceTestXYZ</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34362<tr><td></td><td valign="top"><a href="#index-Mesh_002eNodeLabels"><code>Mesh.NodeLabels</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34363<tr><td></td><td valign="top"><a href="#index-Mesh_002eNodes"><code>Mesh.Nodes</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34364<tr><td></td><td valign="top"><a href="#index-Mesh_002eNodeSize"><code>Mesh.NodeSize</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34365<tr><td></td><td valign="top"><a href="#index-Mesh_002eNodeType"><code>Mesh.NodeType</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34366<tr><td></td><td valign="top"><a href="#index-Mesh_002eNormals"><code>Mesh.Normals</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34367<tr><td></td><td valign="top"><a href="#index-Mesh_002eNumSubEdges"><code>Mesh.NumSubEdges</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34368<tr><td></td><td valign="top"><a href="#index-Mesh_002eOldInitialDelaunay2D"><code>Mesh.OldInitialDelaunay2D</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34369<tr><td></td><td valign="top"><a href="#index-Mesh_002eOptimize"><code>Mesh.Optimize</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34370<tr><td></td><td valign="top"><a href="#index-Mesh_002eOptimizeNetgen"><code>Mesh.OptimizeNetgen</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34371<tr><td></td><td valign="top"><a href="#index-Mesh_002eOptimizePyramids"><code>Mesh.OptimizePyramids</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34372<tr><td></td><td valign="top"><a href="#index-Mesh_002eOptimizeThreshold"><code>Mesh.OptimizeThreshold</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34373<tr><td></td><td valign="top"><a href="#index-Mesh_002ePartitionConvertMsh2"><code>Mesh.PartitionConvertMsh2</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34374<tr><td></td><td valign="top"><a href="#index-Mesh_002ePartitionCreateGhostCells"><code>Mesh.PartitionCreateGhostCells</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34375<tr><td></td><td valign="top"><a href="#index-Mesh_002ePartitionCreatePhysicals"><code>Mesh.PartitionCreatePhysicals</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34376<tr><td></td><td valign="top"><a href="#index-Mesh_002ePartitionCreateTopology"><code>Mesh.PartitionCreateTopology</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34377<tr><td></td><td valign="top"><a href="#index-Mesh_002ePartitionHexWeight"><code>Mesh.PartitionHexWeight</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34378<tr><td></td><td valign="top"><a href="#index-Mesh_002ePartitionLineWeight"><code>Mesh.PartitionLineWeight</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34379<tr><td></td><td valign="top"><a href="#index-Mesh_002ePartitionOldStyleMsh2"><code>Mesh.PartitionOldStyleMsh2</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34380<tr><td></td><td valign="top"><a href="#index-Mesh_002ePartitionPrismWeight"><code>Mesh.PartitionPrismWeight</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34381<tr><td></td><td valign="top"><a href="#index-Mesh_002ePartitionPyramidWeight"><code>Mesh.PartitionPyramidWeight</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34382<tr><td></td><td valign="top"><a href="#index-Mesh_002ePartitionQuadWeight"><code>Mesh.PartitionQuadWeight</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34383<tr><td></td><td valign="top"><a href="#index-Mesh_002ePartitionSplitMeshFiles"><code>Mesh.PartitionSplitMeshFiles</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34384<tr><td></td><td valign="top"><a href="#index-Mesh_002ePartitionTetWeight"><code>Mesh.PartitionTetWeight</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34385<tr><td></td><td valign="top"><a href="#index-Mesh_002ePartitionTopologyFile"><code>Mesh.PartitionTopologyFile</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34386<tr><td></td><td valign="top"><a href="#index-Mesh_002ePartitionTrihedronWeight"><code>Mesh.PartitionTrihedronWeight</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34387<tr><td></td><td valign="top"><a href="#index-Mesh_002ePartitionTriWeight"><code>Mesh.PartitionTriWeight</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34388<tr><td></td><td valign="top"><a href="#index-Mesh_002ePreserveNumberingMsh2"><code>Mesh.PreserveNumberingMsh2</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34389<tr><td></td><td valign="top"><a href="#index-Mesh_002ePrisms"><code>Mesh.Prisms</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34390<tr><td></td><td valign="top"><a href="#index-Mesh_002ePyramids"><code>Mesh.Pyramids</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34391<tr><td></td><td valign="top"><a href="#index-Mesh_002eQuadqsRemeshingBoldness"><code>Mesh.QuadqsRemeshingBoldness</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34392<tr><td></td><td valign="top"><a href="#index-Mesh_002eQuadqsScalingOnTriangulation"><code>Mesh.QuadqsScalingOnTriangulation</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34393<tr><td></td><td valign="top"><a href="#index-Mesh_002eQuadqsSizemapMethod"><code>Mesh.QuadqsSizemapMethod</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34394<tr><td></td><td valign="top"><a href="#index-Mesh_002eQuadqsTopologyOptimizationMethods">
34394<code>Mesh.QuadqsTopologyOptimizationMethods</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34395<tr><td></td><td valign="top"><a href="#index-Mesh_002eQuadrangles"><code>Mesh.Quadrangles</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34396<tr><td></td><td valign="top"><a href="#index-Mesh_002eQualityInf"><code>Mesh.QualityInf</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34397<tr><td></td><td valign="top"><a href="#index-Mesh_002eQualitySup"><code>Mesh.QualitySup</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34398<tr><td></td><td valign="top"><a href="#index-Mesh_002eQualityType"><code>Mesh.QualityType</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34399<tr><td></td><td valign="top"><a href="#index-Mesh_002eQuasiTransfinite"><code>Mesh.QuasiTransfinite</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34400<tr><td></td><td valign="top"><a href="#index-Mesh_002eRadiusInf"><code>Mesh.RadiusInf</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34401<tr><td></td><td valign="top"><a href="#index-Mesh_002eRadiusSup"><code>Mesh.RadiusSup</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34402<tr><td></td><td valign="top"><a href="#index-Mesh_002eRandomFactor"><code>Mesh.RandomFactor</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34403<tr><td></td><td valign="top"><a href="#index-Mesh_002eRandomFactor3D"><code>Mesh.RandomFactor3D</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34404<tr><td></td><td valign="top"><a href="#index-Mesh_002eRandomSeed"><code>Mesh.RandomSeed</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34405<tr><td></td><td valign="top"><a href="#index-Mesh_002eReadGroupsOfElements"><code>Mesh.ReadGroupsOfElements</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34406<tr><td></td><td valign="top"><a href="#index-Mesh_002eRecombinationAlgorithm"><code>Mesh.RecombinationAlgorithm</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34407<tr><td></td><td valign="top"><a href="#index-Mesh_002eRecombine3DAll"><code>Mesh.Recombine3DAll</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34408<tr><td></td><td valign="top"><a href="#index-Mesh_002eRecombine3DConformity"><code>Mesh.Recombine3DConformity</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34409<tr><td></td><td valign="top"><a href="#index-Mesh_002eRecombine3DLevel"><code>Mesh.Recombine3DLevel</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34410<tr><td></td><td valign="top"><a href="#index-Mesh_002eRecombineAll"><code>Mesh.RecombineAll</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34411<tr><td></td><td valign="top"><a href="#index-Mesh_002eRecombineMinimumQuality"><code>Mesh.RecombineMinimumQuality</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34412<tr><td></td><td valign="top"><a href="#index-Mesh_002eRecombineNodeRepositioning"><code>Mesh.RecombineNodeRepositioning</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34413<tr><td></td><td valign="top"><a href="#index-Mesh_002eRecombineOptimizeTopology"><code>Mesh.RecombineOptimizeTopology</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34414<tr><td></td><td valign="top"><a href="#index-Mesh_002eRefineSteps"><code>Mesh.RefineSteps</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34415<tr><td></td><td valign="top"><a href="#index-Mesh_002eRenumber"><code>Mesh.Renumber</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34416<tr><td></td><td valign="top"><a href="#index-Mesh_002eReparamMaxTriangles"><code>Mesh.ReparamMaxTriangles</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34417<tr><td></td><td valign="top"><a href="#index-Mesh_002eReproducible"><code>Mesh.Reproducible</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34418<tr><td></td><td valign="top"><a href="#index-Mesh_002eSaveAll"><code>Mesh.SaveAll</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34419<tr><td></td><td valign="top"><a href="#index-Mesh_002eSaveElementTagType"><code>Mesh.SaveElementTagType</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34420<tr><td></td><td valign="top"><a href="#index-Mesh_002eSaveGroupsOfElements"><code>Mesh.SaveGroupsOfElements</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34421<tr><td></td><td valign="top"><a href="#index-Mesh_002eSaveGroupsOfNodes"><code>Mesh.SaveGroupsOfNodes</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34422<tr><td></td><td valign="top"><a href="#index-Mesh_002eSaveParametric"><code>Mesh.SaveParametric</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34423<tr><td></td><td valign="top"><a href="#index-Mesh_002eSaveTopology"><code>Mesh.SaveTopology</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34424<tr><td></td><td valign="top"><a href="#index-Mesh_002eSaveWithoutOrphans"><code>Mesh.SaveWithoutOrphans</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34425<tr><td></td><td valign="top"><a href="#index-Mesh_002eScalingFactor"><code>Mesh.ScalingFactor</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34426<tr><td></td><td valign="top"><a href="#index-Mesh_002eSecondOrderIncomplete"><code>Mesh.SecondOrderIncomplete</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34427<tr><td></td><td valign="top"><a href="#index-Mesh_002eSecondOrderLinear"><code>Mesh.SecondOrderLinear</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34428<tr><td></td><td valign="top"><a href="#index-Mesh_002eSmoothCrossField"><code>Mesh.SmoothCrossField</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34429<tr><td></td><td valign="top"><a href="#index-Mesh_002eSmoothing"><code>Mesh.Smoothing</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34430<tr><td></td><td valign="top"><a href="#index-Mesh_002eSmoothNormals"><code>Mesh.SmoothNormals</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34431<tr><td></td><td valign="top"><a href="#index-Mesh_002eSmoothRatio"><code>Mesh.SmoothRatio</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34432<tr><td></td><td valign="top"><a href="#index-Mesh_002eStlAngularDeflection"><code>Mesh.StlAngularDeflection</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34433<tr><td></td><td valign="top"><a href="#index-Mesh_002eStlLinearDeflection"><code>Mesh.StlLinearDeflection</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34434<tr><td></td><td valign="top"><a href="#index-Mesh_002eStlLinearDeflectionRelative"><code>Mesh.StlLinearDeflectionRelative</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34435<tr><td></td><td valign="top"><a href="#index-Mesh_002eStlOneSolidPerSurface"><code>Mesh.StlOneSolidPerSurface</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34436<tr><td></td><td valign="top"><a href="#index-Mesh_002eStlRemoveBadTriangles"><code>Mesh.StlRemoveBadTriangles</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34437<tr><td></td><td valign="top"><a href="#index-Mesh_002eSubdivisionAlgorithm"><code>Mesh.SubdivisionAlgorithm</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34438<tr><td></td><td valign="top"><a href="#index-Mesh_002eSurfaceEdges"><code>Mesh.SurfaceEdges</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34439<tr><td></td><td valign="top"><a href="#index-Mesh_002eSurfaceFaces"><code>Mesh.SurfaceFaces</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34440<tr><td></td><td valign="top"><a href="#index-Mesh_002eSurfaceLabels"><code>Mesh.SurfaceLabels</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34441<tr><td></td><td valign="top"><a href="#index-Mesh_002eSwitchElementTags"><code>Mesh.SwitchElementTags</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34442<tr><td></td><td valign="top"><a href="#index-Mesh_002eTangents"><code>Mesh.Tangents</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34443<tr><td></td><td valign="top"><a href="#index-Mesh_002eTetrahedra"><code>Mesh.Tetrahedra</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34444<tr><td></td><td valign="top"><a href="#index-Mesh_002eToleranceEdgeLength"><code>Mesh.ToleranceEdgeLength</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34445<tr><td></td><td valign="top"><a href="#index-Mesh_002eToleranceInitialDelaunay"><code>Mesh.ToleranceInitialDelaunay</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34446<tr><td></td><td valign="top"><a href="#index-Mesh_002eToleranceReferenceElement"><code>Mesh.ToleranceReferenceElement</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34447<tr><td></td><td valign="top"><a href="#index-Mesh_002eTransfiniteTri"><code>Mesh.TransfiniteTri</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34448<tr><td></td><td valign="top"><a href="#index-Mesh_002eTriangles"><code>Mesh.Triangles</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34449<tr><td></td><td valign="top"><a href="#index-Mesh_002eTrihedra"><code>Mesh.Trihedra</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34450<tr><td></td><td valign="top"><a href="#index-Mesh_002eUnvStrictFormat"><code>Mesh.UnvStrictFormat</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34451<tr><td></td><td valign="top"><a href="#index-Mesh_002eVolumeEdges"><code>Mesh.VolumeEdges</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34452<tr><td></td><td valign="top"><a href="#index-Mesh_002eVolumeFaces"><code>Mesh.VolumeFaces</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34453<tr><td></td><td valign="top"><a href="#index-Mesh_002eVolumeLabels"><code>Mesh.VolumeLabels</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34454<tr><td></td><td valign="top"><a href="#index-Mesh_002eVoronoi"><code>Mesh.Voronoi</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34455<tr><td></td><td valign="top"><a href="#index-Mesh_002eZoneDefinition"><code>Mesh.ZoneDefinition</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-options">Mesh options</a></td></tr> 34456<tr><td></td><td valign="top"><a href="#index-MeshAlgorithm-Surface-_007b-expression_002dlist-_007d-_003d-expression_003b"><code>MeshAlgorithm Surface { <var>expression-list</var> } = <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34457<tr><td></td><td valign="top"><a href="#index-MeshSize-_007b-expression_002dlist-_007d-_003d-expression_003b"><code>MeshSize { <var>expression-list</var> } = <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Mesh-element-sizes">Mesh element sizes</a></td></tr> 34458<tr><td></td><td valign="top"><a href="#index-MeshSizeFromBoundary-Surface-_007b-expression_002dlist-_007d-_003d-expression_003b"><code>MeshSizeFromBoundary Surface { <var>expression-list</var> } = <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34459<tr><td></td><td valign="top"><a href="#index-Min"><code>Min</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 34460<tr><td></td><td valign="top"><a href="#index-Min-_0028-expression_002c-expression-_0029"><code>Min ( <var>expression</var>, <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 34461<tr><td></td><td valign="top"><a href="#index-MinAniso"><code>MinAniso</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 34462<tr><td></td><td valign="top"><a href="#index-Modulo-_0028-expression_002c-expression-_0029"><code>Modulo ( <var>expression</var>, <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 34463<tr><td></td><td valign="top"><a href="#index-MPI_005fRank"><code>MPI_Rank</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34464<tr><td></td><td valign="top"><a href="#index-MPI_005fSize"><code>MPI_Size</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34465<tr><td colspan="4"> <hr></td></tr> 34466<tr><th id="Syntax-index_tp_letter-N">N</th><td></td><td></td></tr> 34467<tr><td></td><td valign="top"><a href="#index-newc"><code>newc</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34468<tr><td></td><td valign="top"><a href="#index-newcl"><code>newcl</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34469<tr><td></td><td valign="top"><a href="#index-NewModel_003b"><code>NewModel;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34470<tr><td></td><td valign="top"><a href="#index-newp"><code>newp</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34471<tr><td></td><td valign="top"><a href="#index-newreg"><code>newreg</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34472<tr><td></td><td valign="top"><a href="#index-news"><code>news</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34473<tr><td></td><td valign="top"><a href="#index-newsl"><code>newsl</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34474<tr><td></td><td valign="top"><a href="#index-newv"><code>newv</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34475<tr><td></td><td valign="top"><a href="#index-NonBlockingSystemCall-string_002dexpression_003b"><code>NonBlockingSystemCall <var>string-expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34476<tr><td></td><td valign="top"><a href="#index-number_002doption-_002a_0
3447603d-expression_003b"><code><var>number-option</var> *= <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34477<tr><td></td><td valign="top"><a href="#index-number_002doption-_002b_003d-expression_003b"><code><var>number-option</var> += <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34478<tr><td></td><td valign="top"><a href="#index-number_002doption-_002d_003d-expression_003b"><code><var>number-option</var> -= <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34479<tr><td></td><td valign="top"><a href="#index-number_002doption-_002f_003d-expression_003b"><code><var>number-option</var> /= <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34480<tr><td></td><td valign="top"><a href="#index-number_002doption-_003d-expression_003b"><code><var>number-option</var> = <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34481<tr><td colspan="4"> <hr></td></tr> 34482<tr><th id="Syntax-index_tp_letter-O">O</th><td></td><td></td></tr> 34483<tr><td></td><td valign="top"><a href="#index-Octree"><code>Octree</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 34484<tr><td></td><td valign="top"><a href="#index-OnelabRun-_0028-string_002dexpression-_003c_002c-string_002dexpression-_003e-_0029"><code>OnelabRun ( <var>string-expression</var> <, <var>string-expression</var> > )</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34485<tr><td></td><td valign="top"><a href="#index-operator_002dbinary"><code><var>operator-binary</var></code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 34486<tr><td></td><td valign="top"><a href="#index-operator_002dternary_002dleft"><code><var>operator-ternary-left</var></code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 34487<tr><td></td><td valign="top"><a href="#index-operator_002dternary_002dright"><code><var>operator-ternary-right</var></code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 34488<tr><td></td><td valign="top"><a href="#index-operator_002dunary_002dleft"><code><var>operator-unary-left</var></code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 34489<tr><td></td><td valign="top"><a href="#index-operator_002dunary_002dleft-1"><code><var>operator-unary-left</var></code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 34490<tr><td></td><td valign="top"><a href="#index-operator_002dunary_002dright"><code><var>operator-unary-right</var></code></a>:</td><td> </td><td valign="top"><a href="#Operators">Operators</a></td></tr> 34491<tr><td></td><td valign="top"><a href="#index-OptimizeMesh-string_002dexpression_003b"><code>OptimizeMesh <var>string-expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34492<tr><td></td><td valign="top"><a href="#index-OrientedBoundary-_007b-transform_002dlist-_007d"><code>OrientedBoundary { <var>transform-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Transformations">Transformations</a></td></tr> 34493<tr><td></td><td valign="top"><a href="#index-OrientedCombinedBoundary-_007b-transform_002dlist-_007d"><code>OrientedCombinedBoundary { <var>transform-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Transformations">Transformations</a></td></tr> 34494<tr><td colspan="4"> <hr></td></tr> 34495<tr><th id="Syntax-index_tp_letter-P">P</th><td></td><td></td></tr> 34496<tr><td></td><td valign="top"><a href="#index-Param"><code>Param</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 34497<tr><td></td><td valign="top"><a href="#index-Parametric-Surface-_0028-expression-_0029-_003d-_0022string_0022-_0022string_0022-_0022string_0022_003b"><code>Parametric Surface ( <var>expression</var> ) = "<var>string</var>" "<var>string</var>" "<var>string</var>";</code></a>:</td><td> </td><td valign="top"><a href="#Other-geometry-commands">Other geometry commands</a></td></tr> 34498<tr><td></td><td valign="top"><a href="#index-PartitionMesh-expression_003b"><code>PartitionMesh <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34499<tr><td></td><td valign="top"><a href="#index-Periodic-Curve-_007b-expression_002dlist-_007d-_003d-_007b-expression_002dlist-_007d-_003b"><code>Periodic Curve { <var>expression-list</var> } = { <var>expression-list</var> } ;</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34500<tr><td></td><td valign="top"><a href="#index-Periodic-Curve-_007c-Surface-_007b-expression_002dlist-_007d-_003d-_007b-expression_002dlist-_007d-Affine-_007c-Translate-_007b-expression_002dlist-_007d-_003b"><code>Periodic Curve | Surface { <var>expression-list</var> } = { <var>expression-list</var> } Affine | Translate { <var>expression-list</var> } ;</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34501<tr><td></td><td valign="top"><a href="#index-Periodic-Curve-_007c-Surface-_007b-expression_002dlist-_007d-_003d-_007b-expression_002dlist-_007d-Rotate-_007b-expression_002dlist-_007d_002c-_007b-expression_002dlist-_007d_002c-expression-_007d-_003b"><code>Periodic Curve | Surface { <var>expression-list</var> } = { <var>expression-list</var> } Rotate { <var>expression-list</var> }, { <var>expression-list</var> }, <var>expression</var> } ;</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34502<tr><td></td><td valign="top"><a href="#index-Periodic-Surface-expression-_007b-expression_002dlist-_007d-_003d-expression-_007b-expression_002dlist-_007d-_003b"><code>Periodic Surface <var>expression</var> { <var>expression-list</var> } = <var>expression</var> { <var>expression-list</var> } ;</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34503<tr><td></td><td valign="top"><a href="#index-Physical-Curve-_0028-expression-_007c-string_002dexpression-_003c_002c-expression_003e-_0029-_003c_002b_007c_002d_003e_003d-_007b-expression_002dlist-_007d_003b"><code>Physical Curve ( <var>expression</var> | <var>string-expression</var> <, <var>expression</var>> ) <+|->= { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Curves">Curves</a></td></tr> 34504<tr><td></td><td valign="top"><a href="#index-Physical-Point-_0028-expression-_007c-string_002dexpression-_003c_002c-expression_003e-_0029-_003c_002b_007c_002d_003e_003d-_007b-expression_002dlist-_007d_003b"><code>Physical Point ( <var>expression</var> | <var>string-expression</var> <, <var>expression</var>> ) <+|->= { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Points">Points</a></td></tr> 34505<tr><td></td><td valign="top"><a href="#index-Physical-Surface-_0028-expression-_007c-string_002dexpression-_003c_002c-expression_003e-_0029-_003c_002b_007c_002d_003e_003d-_007b-expression_002dlist-_007d_003b"><code>Physical Surface ( <var>expression</var> | <var>string-expression</var> <, <var>expression</var>> ) <+|->= { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Surfaces">Surfaces</a></td></tr> 34506<tr><td></td><td valign="top"><a href="#index-Physical-Volume-_0028-expression-_007c-string_002dexpression-_003c_002c-expression_003e-_0029-_003c_002b_007c_002d_003e_003d-_007b-expression_002dlist-_007d_003b"><code>Physical Volume ( <var>expression</var> | <var>string-expression</var> <, <var>expression</var>> ) <+|->= { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Volumes">Volumes</a></td></tr> 34507<tr><td></td><td valign="top"><a href="#index-Pi"><code>Pi</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34508<tr><td></td><td valign="top"><a href="#index-Plane-Surface-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"><code>Plane Surface ( <var>expression</var> ) = { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Surfaces">Surfaces</a></td></tr> 34509<tr><td></td><td valign="top"><a href="#index-Plugin-_0028string_0029-_002e-Run_003b"><code>Plugin (<var>string</var>) . Run;</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 34510<tr><td></td><td valign="top"><a href="#index-Plugin-_0028string_0029-_002e-string-_003d-expression-_007c-string_002dexpression_003b"><code>Plugin (<var>string</var>) . <var>string</var> = <var>expression</var> | <var>string-expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 34511<tr><td></td><td valign="top"><a href="#index-Plugin_0028AnalyseMeshQuality_0029"><code>Plugin(AnalyseMeshQuality)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34512<tr><td></td><td valign="top"><a href="#index-Plugin_0028Annotate_0029"><code>Plugin(Annotate)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34513<tr><td></td><td valign="top"><a href="#index-Plugin_0028BoundaryAngles_0029"><code>Plugin(BoundaryAngles)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34514<tr><td></td><td valign="top"><a href="#index-Plugin_0028BoundaryLayer_0029"><code>Plugin(BoundaryLayer)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34515<tr><td></td><td valign="top"><a href="#index-Plugin_0028Bubbles_0029"><code>Plugin(Bubbles)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34516<tr><td></td><td valign="top"><a href="#index-Plugin_0028Crack_0029"><code>Plugin(Crack)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34517<tr><td></td><td valign="top"><a href="#index-Plugin_0028Curl_0029"><code>Plugin(Curl)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34518<tr><td></td><td valign="top">
34518<a href="#index-Plugin_0028CurvedBndDist_0029"><code>Plugin(CurvedBndDist)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34519<tr><td></td><td valign="top"><a href="#index-Plugin_0028CutBox_0029"><code>Plugin(CutBox)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34520<tr><td></td><td valign="top"><a href="#index-Plugin_0028CutGrid_0029"><code>Plugin(CutGrid)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34521<tr><td></td><td valign="top"><a href="#index-Plugin_0028CutMesh_0029"><code>Plugin(CutMesh)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34522<tr><td></td><td valign="top"><a href="#index-Plugin_0028CutParametric_0029"><code>Plugin(CutParametric)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34523<tr><td></td><td valign="top"><a href="#index-Plugin_0028CutPlane_0029"><code>Plugin(CutPlane)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34524<tr><td></td><td valign="top"><a href="#index-Plugin_0028CutSphere_0029"><code>Plugin(CutSphere)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34525<tr><td></td><td valign="top"><a href="#index-Plugin_0028DiscretizationError_0029"><code>Plugin(DiscretizationError)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34526<tr><td></td><td valign="top"><a href="#index-Plugin_0028Distance_0029"><code>Plugin(Distance)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34527<tr><td></td><td valign="top"><a href="#index-Plugin_0028Divergence_0029"><code>Plugin(Divergence)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34528<tr><td></td><td valign="top"><a href="#index-Plugin_0028Eigenvalues_0029"><code>Plugin(Eigenvalues)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34529<tr><td></td><td valign="top"><a href="#index-Plugin_0028Eigenvectors_0029"><code>Plugin(Eigenvectors)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34530<tr><td></td><td valign="top"><a href="#index-Plugin_0028ExtractEdges_0029"><code>Plugin(ExtractEdges)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34531<tr><td></td><td valign="top"><a href="#index-Plugin_0028ExtractElements_0029"><code>Plugin(ExtractElements)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34532<tr><td></td><td valign="top"><a href="#index-Plugin_0028FieldFromAmplitudePhase_0029"><code>Plugin(FieldFromAmplitudePhase)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34533<tr><td></td><td valign="top"><a href="#index-Plugin_0028GaussPoints_0029"><code>Plugin(GaussPoints)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34534<tr><td></td><td valign="top"><a href="#index-Plugin_0028Gradient_0029"><code>Plugin(Gradient)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34535<tr><td></td><td valign="top"><a href="#index-Plugin_0028HarmonicToTime_0029"><code>Plugin(HarmonicToTime)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34536<tr><td></td><td valign="top"><a href="#index-Plugin_0028HomologyComputation_0029"><code>Plugin(HomologyComputation)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34537<tr><td></td><td valign="top"><a href="#index-Plugin_0028HomologyPostProcessing_0029"><code>Plugin(HomologyPostProcessing)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34538<tr><td></td><td valign="top"><a href="#index-Plugin_0028Integrate_0029"><code>Plugin(Integrate)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34539<tr><td></td><td valign="top"><a href="#index-Plugin_0028Invisible_0029"><code>Plugin(Invisible)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34540<tr><td></td><td valign="top"><a href="#index-Plugin_0028Isosurface_0029"><code>Plugin(Isosurface)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34541<tr><td></td><td valign="top"><a href="#index-Plugin_0028Lambda2_0029"><code>Plugin(Lambda2)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34542<tr><td></td><td valign="top"><a href="#index-Plugin_0028LongitudeLatitude_0029"><code>Plugin(LongitudeLatitude)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34543<tr><td></td><td valign="top"><a href="#index-Plugin_0028MakeSimplex_0029"><code>Plugin(MakeSimplex)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34544<tr><td></td><td valign="top"><a href="#index-Plugin_0028MathEval_0029"><code>Plugin(MathEval)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34545<tr><td></td><td valign="top"><a href="#index-Plugin_0028MeshSizeFieldView_0029"><code>Plugin(MeshSizeFieldView)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34546<tr><td></td><td valign="top"><a href="#index-Plugin_0028MeshSubEntities_0029"><code>Plugin(MeshSubEntities)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34547<tr><td></td><td valign="top"><a href="#index-Plugin_0028MeshVolume_0029"><code>Plugin(MeshVolume)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34548<tr><td></td><td valign="top"><a href="#index-Plugin_0028MinMax_0029"><code>Plugin(MinMax)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34549<tr><td></td><td valign="top"><a href="#index-Plugin_0028ModifyComponents_0029"><code>Plugin(ModifyComponents)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34550<tr><td></td><td valign="top"><a href="#index-Plugin_0028ModulusPhase_0029"><code>Plugin(ModulusPhase)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34551<tr><td></td><td valign="top"><a href="#index-Plugin_0028NearestNeighbor_0029"><code>Plugin(NearestNeighbor)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34552<tr><td></td><td valign="top"><a href="#index-Plugin_0028NearToFarField_0029"><code>Plugin(NearToFarField)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34553<tr><td></td><td valign="top"><a href="#index-Plugin_0028NewView_0029"><code>Plugin(NewView)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34554<tr><td></td><td valign="top"><a href="#index-Plugin_0028Particles_0029"><code>Plugin(Particles)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34555<tr><td></td><td valign="top"><a href="#index-Plugin_0028Probe_0029"><code>Plugin(Probe)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34556<tr><td></td><td valign="top"><a href="#index-Plugin_0028Remove_0029"><code>Plugin(Remove)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34557<tr><td></td><td valign="top"><a href="#index-Plugin_0028Scal2Tens_0029"><code>Plugin(Scal2Tens)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34558<tr><td></td><td valign="top"><a href="#index-Plugin_0028Scal2Vec_0029"><code>Plugin(Scal2Vec)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34559<tr><td></td><td valign="top"><a href="#index-Plugin_0028ShowNeighborElements_0029"><code>Plugin(ShowNeighborElements)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34560<tr><td></td><td valign="top"><a href="#index-Plugin_0028SimplePartition_0029"><code>Plugin(SimplePartition)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34561<tr><td></td><td valign="top"><a href="#index-Plugin_0028Skin_0029"><code>Plugin(Skin)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34562<tr><td></td><td valign="top"><a href="#index-Plugin_0028Smooth_0029"><code>Plugin(Smooth)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34563<tr><td></td><td valign="top"><a href="#index-Plugin_0028SpanningTree_0029"><code>Plugin(SpanningTree)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34564<tr><td></td><td valign="top"><a href="#index-Plugin_0028SphericalRaise_0029"><code>Plugin(SphericalRaise)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34565<tr><td></td><td valign="top"><a href="#index-Plugin_0028StreamLines_0029"><code>Plugin(StreamLines)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34566<tr><td></td><td valign="top"><a href="#index-Plugin_0028Summation_0029"><code>Plugin(Summation)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34567<tr><td></td><td valign="top"><a href="#index-Plugin_0028Tetrahedralize_0029"><code>Plugin(Tetrahedralize)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34568<tr><td></td><td valign="top"><a href="#index-Plugin_0028Transform_0029"><code>Plugin(Transform)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34569<tr><td></td><td valign="top"><a href="#index-Plugin_0028Triangulate_0029"><code>Plugin(Triangulate)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34570<tr><td></td><td valign="top"><a href="#index-Plugin_0028VoroMetal_0029"><code>Plugin(VoroMetal)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34571<tr><td></td><td valign="top"><a href="#index-Plugin_0028Warp_0029"><code>Plugin(Warp)</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-plugins">Gmsh plugins</a></td></tr> 34572<tr><td></td><td valign="top"><a href="#index-Point-_0028-expression-_0029-_003d-_007b-expression_002c-expression_002c-expression-_003c_002c-expression-_003e-_007d_003b"><code>Point ( <var>expression</var> ) = { <var>expression</var>, <var>expression</var>, <var>expression</var> <, <var>expression</var> > };</code></a>:</td><td> </td><td valign="top"><a href="#Points">Points</a></td></tr> 34573<tr><td></td><td valign="top"><a href="#index-Point-_007c-Curve-_007b-expression_002dlist-_007d-In-Surface-_007b-expression-_007d_003b"><code>Point | Curve { <var>expression-list</var> } In Surface { <var>expression</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34574<tr><td></td><td valign="top"><a href="#index-Point-_007c-Curve-_007c-Surface-_007b-expression_002dlist-_007d-In-Volume-_007b-expression-_007d_003b"><code>Point | Curve | Surface { <var>expression-list</var> } In Volume { <var>expression</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34575<tr><td></td><td valign="top"><a href="#index-PointsOf-_007b-transform_002dlist-_007d"><code>PointsOf { <var>transform-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Transformations">Transformations</a></td></tr> 34576<tr><td></td><td valign="top"><a href="#index-PostProcessing_002eAnimationCycle"><code>PostProcessing.AnimationCycle</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 34577<tr><td></td><td valign="top"><a href="#index-PostProcessing_002eAnimationDelay"><code>PostProcessing.AnimationDelay</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 34578<tr><td></td><td valign="top"><a href="#index-PostProcessing_002eAnimationStep"><code>PostProcessing.AnimationStep</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 34579<tr><td></td><td valign="top"><a href="#index-PostProcessing_002eBinary"><code>PostProcessing.Binary</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 34580<tr><td></td><td valign="top"><a href="#index-PostProcessing_002eCombineCopyOptions"><code>
34580PostProcessing.CombineCopyOptions</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 34581<tr><td></td><td valign="top"><a href="#index-PostProcessing_002eCombineRemoveOriginal"><code>PostProcessing.CombineRemoveOriginal</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 34582<tr><td></td><td valign="top"><a href="#index-PostProcessing_002eDoubleClickedGraphPointCommand"><code>PostProcessing.DoubleClickedGraphPointCommand</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 34583<tr><td></td><td valign="top"><a href="#index-PostProcessing_002eDoubleClickedGraphPointX"><code>PostProcessing.DoubleClickedGraphPointX</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 34584<tr><td></td><td valign="top"><a href="#index-PostProcessing_002eDoubleClickedGraphPointY"><code>PostProcessing.DoubleClickedGraphPointY</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 34585<tr><td></td><td valign="top"><a href="#index-PostProcessing_002eDoubleClickedView"><code>PostProcessing.DoubleClickedView</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 34586<tr><td></td><td valign="top"><a href="#index-PostProcessing_002eForceElementData"><code>PostProcessing.ForceElementData</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 34587<tr><td></td><td valign="top"><a href="#index-PostProcessing_002eForceNodeData"><code>PostProcessing.ForceNodeData</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 34588<tr><td></td><td valign="top"><a href="#index-PostProcessing_002eFormat"><code>PostProcessing.Format</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 34589<tr><td></td><td valign="top"><a href="#index-PostProcessing_002eGraphPointCommand"><code>PostProcessing.GraphPointCommand</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 34590<tr><td></td><td valign="top"><a href="#index-PostProcessing_002eGraphPointX"><code>PostProcessing.GraphPointX</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 34591<tr><td></td><td valign="top"><a href="#index-PostProcessing_002eGraphPointY"><code>PostProcessing.GraphPointY</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 34592<tr><td></td><td valign="top"><a href="#index-PostProcessing_002eHorizontalScales"><code>PostProcessing.HorizontalScales</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 34593<tr><td></td><td valign="top"><a href="#index-PostProcessing_002eLink"><code>PostProcessing.Link</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 34594<tr><td></td><td valign="top"><a href="#index-PostProcessing_002eNbViews"><code>PostProcessing.NbViews</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 34595<tr><td></td><td valign="top"><a href="#index-PostProcessing_002ePlugins"><code>PostProcessing.Plugins</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 34596<tr><td></td><td valign="top"><a href="#index-PostProcessing_002eSaveInterpolationMatrices"><code>PostProcessing.SaveInterpolationMatrices</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 34597<tr><td></td><td valign="top"><a href="#index-PostProcessing_002eSaveMesh"><code>PostProcessing.SaveMesh</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 34598<tr><td></td><td valign="top"><a href="#index-PostProcessing_002eSmoothing"><code>PostProcessing.Smoothing</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-options">Post-processing options</a></td></tr> 34599<tr><td></td><td valign="top"><a href="#index-PostView"><code>PostView</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 34600<tr><td></td><td valign="top"><a href="#index-Print-string_002dexpression_003b"><code>Print <var>string-expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34601<tr><td></td><td valign="top">
34601<a href="#index-Print_002eBackground"><code>Print.Background</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34602<tr><td></td><td valign="top"><a href="#index-Print_002eCompositeWindows"><code>Print.CompositeWindows</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34603<tr><td></td><td valign="top"><a href="#index-Print_002eDeleteTemporaryFiles"><code>Print.DeleteTemporaryFiles</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34604<tr><td></td><td valign="top"><a href="#index-Print_002eEpsBestRoot"><code>Print.EpsBestRoot</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34605<tr><td></td><td valign="top"><a href="#index-Print_002eEpsCompress"><code>Print.EpsCompress</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34606<tr><td></td><td valign="top"><a href="#index-Print_002eEpsLineWidthFactor"><code>Print.EpsLineWidthFactor</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34607<tr><td></td><td valign="top"><a href="#index-Print_002eEpsOcclusionCulling"><code>Print.EpsOcclusionCulling</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34608<tr><td></td><td valign="top"><a href="#index-Print_002eEpsPointSizeFactor"><code>Print.EpsPointSizeFactor</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34609<tr><td></td><td valign="top"><a href="#index-Print_002eEpsPS3Shading"><code>Print.EpsPS3Shading</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34610<tr><td></td><td valign="top"><a href="#index-Print_002eEpsQuality"><code>Print.EpsQuality</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34611<tr><td></td><td valign="top"><a href="#index-Print_002eFormat"><code>Print.Format</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34612<tr><td></td><td valign="top"><a href="#index-Print_002eGeoLabels"><code>Print.GeoLabels</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34613<tr><td></td><td valign="top"><a href="#index-Print_002eGeoOnlyPhysicals"><code>Print.GeoOnlyPhysicals</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34614<tr><td></td><td valign="top"><a href="#index-Print_002eGifDither"><code>Print.GifDither</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34615<tr><td></td><td valign="top"><a href="#index-Print_002eGifInterlace"><code>Print.GifInterlace</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34616<tr><td></td><td valign="top"><a href="#index-Print_002eGifSort"><code>Print.GifSort</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34617<tr><td></td><td valign="top"><a href="#index-Print_002eGifTransparent"><code>Print.GifTransparent</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34618<tr><td></td><td valign="top"><a href="#index-Print_002eHeight"><code>Print.Height</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34619<tr><td></td><td valign="top"><a href="#index-Print_002eJpegQuality"><code>Print.JpegQuality</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34620<tr><td></td><td valign="top"><a href="#index-Print_002eJpegSmoothing"><code>Print.JpegSmoothing</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34621<tr><td></td><td valign="top"><a href="#index-Print_002eParameter"><code>Print.Parameter</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34622<tr><td></td><td valign="top"><a href="#index-Print_002eParameterCommand"><code>Print.ParameterCommand</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34623<tr><td></td><td valign="top"><a href="#index-Print_002eParameterFirst"><code>Print.ParameterFirst</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34624<tr><td></td><td valign="top"><a href="#index-Print_002eParameterLast"><code>Print.ParameterLast</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34625<tr><td></td><td valign="top"><a href="#index-Print_002eParameterSteps"><code>Print.ParameterSteps</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34626<tr><td></td><td valign="top"><a href="#index-Print_002ePgfExportAxis"><code>Print.PgfExportAxis</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34627<tr><td></td><td valign="top"><a href="#index-Print_002ePgfHorizontalBar"><code>Print.PgfHorizontalBar</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34628<tr><td></td><td valign="top"><a href="#index-Print_002ePgfTwoDim"><code>Print.PgfTwoDim</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34629<tr><td></td><td valign="top"><a href="#index-Print_002ePostDisto"><code>Print.PostDisto</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34630<tr><td></td><td valign="top"><a href="#index-Print_002ePostElement"><code>Print.PostElement</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34631<tr><td></td><td valign="top"><a href="#index-Print_002ePostElementary"><code>Print.PostElementary</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34632<tr><td></td><td valign="top"><a href="#index-Print_002ePostEta"><code>Print.PostEta</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34633<tr><td></td><td valign="top"><a href="#index-Print_002ePostGamma"><code>Print.PostGamma</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34634<tr><td></td><td valign="top"><a href="#index-Print_002ePostSICN"><code>Print.PostSICN</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34635<tr><td></td><td valign="top"><a href="#index-Print_002ePostSIGE"><code>Print.PostSIGE</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34636<tr><td></td><td valign="top"><a href="#index-Print_002eTexAsEquation"><code>Print.TexAsEquation</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34637<tr><td></td><td valign="top"><a href="#index-Print_002eTexForceFontSize"><code>Print.TexForceFontSize</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34638<tr><td></td><td valign="top"><a href="#index-Print_002eText"><code>Print.Text</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34639<tr><td></td><td valign="top"><a href="#index-Print_002eTexWidthInMm"><code>Print.TexWidthInMm</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34640<tr><td></td><td valign="top"><a href="#index-Print_002eWidth"><code>Print.Width</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34641<tr><td></td><td valign="top"><a href="#index-Print_002eX3dColorize"><code>Print.X3dColorize</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34642<tr><td></td><td valign="top"><a href="#index-Print_002eX3dCompatibility"><code>Print.X3dCompatibility</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34643<tr><td></td><td valign="top"><a href="#index-Print_002eX3dEdges"><code>Print.X3dEdges</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34644<tr><td></td><td valign="top"><a href="#index-Print_002eX3dPrecision"><code>Print.X3dPrecision</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34645<tr><td></td><td valign="top"><a href="#index-Print_002eX3dRemoveInnerBorders"><code>Print.X3dRemoveInnerBorders</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34646<tr><td></td><td valign="top"><a href="#index-Print_002eX3dSurfaces"><code>Print.X3dSurfaces</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34647<tr><td></td><td valign="top"><a href="#index-Print_002eX3dTransparency"><code>Print.X3dTransparency</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34648<tr><td></td><td valign="top"><a href="#index-Print_002eX3dVertices"><code>Print.X3dVertices</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34649<tr><td></td><td valign="top"><a href="#index-Print_002eX3dVolumes"><code>Print.X3dVolumes</code></a>:</td><td> </td><td valign="top"><a href="#Print-options">Print options</a></td></tr> 34650<tr><td></td><td valign="top"><a href="#index-Printf-_0028-string_002dexpression-_002c-expression_002dlist-_0029-_003e-string_002dexpression_003b"><code>Printf ( <var>string-expression</var> , <var>expression-list</var> ) > <var>string-expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34651<tr><td></td><td valign="top"><a href="#index-Printf-_0028-string_002dexpression-_002c-expression_002dlist-_0029-_003e_003e-string_002dexpression_003b"><code>Printf ( <var>string-expression</var> , <var>expression-list</var> ) >> <var>string-expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34652<tr><td></td><td valign="top"><a href="#index-Printf-_0028-string_002dexpression-_003c_002c-expression_002dlist_003e-_0029_003b"><code>Printf ( <var>string-expression</var> <, <var>expression-list</var>> );</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34653<tr><td colspan="4"> <hr></td></tr> 34654<tr><th id="Syntax-index_tp_letter-R">R</th><td></td><td></td></tr> 34655<tr><td></td><td valign="top"><a href="#index-Rand-_0028-expression-_0029"><code>Rand ( <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 34656<tr><td></td><td valign="top"><a href="#index-Recombine-Surface-_007b-expression_002dlist_002dor_002dall-_007d-_003c-_003d-expression-_003e_003b"><code>
34656Recombine Surface { <var>expression-list-or-all</var> } < = <var>expression</var> >;</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34657<tr><td></td><td valign="top"><a href="#index-RecombineMesh_003b"><code>RecombineMesh;</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34658<tr><td></td><td valign="top"><a href="#index-Rectangle-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"><code>Rectangle ( <var>expression</var> ) = { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Surfaces">Surfaces</a></td></tr> 34659<tr><td></td><td valign="top"><a href="#index-RefineMesh_003b"><code>RefineMesh;</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34660<tr><td></td><td valign="top"><a href="#index-RelocateMesh-Point-_007c-Curve-_007c-Surface-_007b-expression_002dlist_002dor_002dall-_007d_003b"><code>RelocateMesh Point | Curve | Surface { <var>expression-list-or-all</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34661<tr><td></td><td valign="top"><a href="#index-RenumberMeshElements_003b"><code>RenumberMeshElements;</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34662<tr><td></td><td valign="top"><a href="#index-RenumberMeshNodes_003b"><code>RenumberMeshNodes;</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34663<tr><td></td><td valign="top"><a href="#index-ReorientMesh-Volume-_007b-expression_002dlist-_007d-_003b"><code>ReorientMesh Volume { <var>expression-list</var> } ;</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34664<tr><td></td><td valign="top"><a href="#index-Restrict"><code>Restrict</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 34665<tr><td></td><td valign="top"><a href="#index-Return"><code>Return</code></a>:</td><td> </td><td valign="top"><a href="#User_002ddefined-macros">User-defined macros</a></td></tr> 34666<tr><td></td><td valign="top"><a href="#index-ReverseMesh-Curve-_007c-Surface-_007b-expression_002dlist_002dor_002dall-_007d-_003b"><code>ReverseMesh Curve | Surface { <var>expression-list-or-all</var> } ;</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34667<tr><td></td><td valign="top"><a href="#index-Rotate-_007b-_007b-expression_002dlist-_007d_002c-_007b-expression_002dlist-_007d_002c-expression-_007d-_007b-transform_002dlist-_007d"><code>Rotate { { <var>expression-list</var> }, { <var>expression-list</var> }, <var>expression</var> } { <var>transform-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Transformations">Transformations</a></td></tr> 34668<tr><td></td><td valign="top"><a href="#index-Round-_0028-expression-_0029"><code>Round ( <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 34669<tr><td></td><td valign="top"><a href="#index-Ruled-ThruSections-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"><code>Ruled ThruSections ( <var>expression</var> ) = { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Volumes">Volumes</a></td></tr> 34670<tr><td></td><td valign="top"><a href="#index-Ruled-ThruSections-_007b-expression_002dlist-_007d"><code>Ruled ThruSections { <var>expression-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Extrusions">Extrusions</a></td></tr> 34671<tr><td colspan="4"> <hr></td></tr> 34672<tr><th id="Syntax-index_tp_letter-S">S</th><td></td><td></td></tr> 34673<tr><td></td><td valign="top"><a href="#index-Save-string_002dexpression_003b"><code>Save <var>string-expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34674<tr><td></td><td valign="top"><a href="#index-Save-View_005bexpression_005d-string_002dexpression_003b"><code>Save View[<var>expression</var>] <var>string-expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 34675<tr><td></td><td valign="top"><a href="#index-SendToServer-View_005bexpression_005d-string_002dexpression_003b"><code>SendToServer View[<var>expression</var>] <var>string-expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 34676<tr><td></td><td valign="top"><a href="#index-SetChanged_003b"><code>SetChanged;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34677<tr><td></td><td valign="top"><a href="#index-SetCurrentWindow-expression_003b"><code>SetCurrentWindow <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34678<tr><td></td><td valign="top"><a href="#index-SetFactory_0028string_002dexpression_0029_003b"><code>SetFactory(<var>string-expression</var>);</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34679<tr><td></td><td valign="top"><a href="#index-SetMaxTag-Point-_007c-Curve-_007c-Surface-_007c-Volume-_0028-expression-_0029"><code>SetMaxTag Point | Curve | Surface | Volume ( <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Other-geometry-commands">Other geometry commands</a></td></tr> 34680<tr><td></td><td valign="top"><a href="#index-SetName-string_002dexpression_003b"><code>SetName <var>string-expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34681<tr><td></td><td valign="top"><a href="#index-SetNumber_0028-string_002dexpression-_002c-expression-_0029_003b"><code>SetNumber( <var>string-expression</var> , <var>expression</var> );</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34682<tr><td></td><td valign="top"><a href="#index-SetOrder-expression_003b"><code>SetOrder <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34683<tr><td></td><td valign="top"><a href="#index-SetString_0028-string_002dexpression-_002c-string_002dexpression-_0029_003b"><code>SetString( <var>string-expression</var> , <var>string-expression</var> );</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34684<tr><td></td><td valign="top"><a href="#index-ShapeFromFile_0028-string_002dexpression-_0029_003b"><code>ShapeFromFile( <var>string-expression</var> );</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34685<tr><td></td><td valign="top"><a href="#index-Show-_007b-_003a-_007d"><code>Show { : }</code></a>:</td><td> </td><td valign="top"><a href="#Other-geometry-commands">Other geometry commands</a></td></tr> 34686<tr><td></td><td valign="top"><a href="#index-Sin-_0028-expression-_0029"><code>Sin ( <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 34687<tr><td></td><td valign="top"><a href="#index-Sinh-_0028-expression-_0029"><code>
34687Sinh ( <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 34688<tr><td></td><td valign="top"><a href="#index-Sleep-expression_003b"><code>Sleep <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34689<tr><td></td><td valign="top"><a href="#index-Smoother-Surface-_007b-expression_002dlist-_007d-_003d-expression_003b"><code>Smoother Surface { <var>expression-list</var> } = <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34690<tr><td></td><td valign="top"><a href="#index-Solver_002eAlwaysListen"><code>Solver.AlwaysListen</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34691<tr><td></td><td valign="top"><a href="#index-Solver_002eAutoArchiveOutputFiles"><code>Solver.AutoArchiveOutputFiles</code></a>:</td><td> </td><td valign="top">
34691<a href="#Solver-options">Solver options</a></td></tr> 34692<tr><td></td><td valign="top"><a href="#index-Solver_002eAutoCheck"><code>Solver.AutoCheck</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34693<tr><td></td><td valign="top"><a href="#index-Solver_002eAutoLoadDatabase"><code>Solver.AutoLoadDatabase</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34694<tr><td></td><td valign="top"><a href="#index-Solver_002eAutoMergeFile"><code>Solver.AutoMergeFile</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34695<tr><td></td><td valign="top"><a href="#index-Solver_002eAutoMesh"><code>Solver.AutoMesh</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34696<tr><td></td><td valign="top"><a href="#index-Solver_002eAutoSaveDatabase"><code>Solver.AutoSaveDatabase</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34697<tr><td></td><td valign="top"><a href="#index-Solver_002eAutoShowLastStep"><code>Solver.AutoShowLastStep</code></a>:</td><td> </td><td valign="top">
34697<a href="#Solver-options">Solver options</a></td></tr> 34698<tr><td></td><td valign="top"><a href="#index-Solver_002eAutoShowViews"><code>Solver.AutoShowViews</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34699<tr><td></td><td valign="top"><a href="#index-Solver_002eExecutable0"><code>Solver.Executable0</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34700<tr><td></td><td valign="top"><a href="#index-Solver_002eExecutable1"><code>Solver.Executable1</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34701<tr><td></td><td valign="top"><a href="#index-Solver_002eExecutable2"><code>Solver.Executable2</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34702<tr><td></td><td valign="top"><a href="#index-Solver_002eExecutable3"><code>Solver.Executable3</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34703<tr><td></td><td valign="top"><a href="#index-Solver_002eExecutable4"><code>Solver.Executable4</code></a>:</td><td> </td><td valign="top">
34703<a href="#Solver-options">Solver options</a></td></tr> 34704<tr><td></td><td valign="top"><a href="#index-Solver_002eExecutable5"><code>Solver.Executable5</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34705<tr><td></td><td valign="top"><a href="#index-Solver_002eExecutable6"><code>Solver.Executable6</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34706<tr><td></td><td valign="top"><a href="#index-Solver_002eExecutable7"><code>Solver.Executable7</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34707<tr><td></td><td valign="top"><a href="#index-Solver_002eExecutable8"><code>Solver.Executable8</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34708<tr><td></td><td valign="top"><a href="#index-Solver_002eExecutable9"><code>Solver.Executable9</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34709<tr><td></td><td valign="top"><a href="#index-Solver_002eExtension0"><code>Solver.Extension0</code></a>:</td><td> </td><td valign="top">
34709<a href="#Solver-options">Solver options</a></td></tr> 34710<tr><td></td><td valign="top"><a href="#index-Solver_002eExtension1"><code>Solver.Extension1</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34711<tr><td></td><td valign="top"><a href="#index-Solver_002eExtension2"><code>Solver.Extension2</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34712<tr><td></td><td valign="top"><a href="#index-Solver_002eExtension3"><code>Solver.Extension3</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34713<tr><td></td><td valign="top"><a href="#index-Solver_002eExtension4"><code>Solver.Extension4</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34714<tr><td></td><td valign="top"><a href="#index-Solver_002eExtension5"><code>Solver.Extension5</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34715<tr><td></td><td valign="top"><a href="#index-Solver_002eExtension6"><code>Solver.Extension6</code></a>:</td><td> </td><td valign="top">
34715<a href="#Solver-options">Solver options</a></td></tr> 34716<tr><td></td><td valign="top"><a href="#index-Solver_002eExtension7"><code>Solver.Extension7</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34717<tr><td></td><td valign="top"><a href="#index-Solver_002eExtension8"><code>Solver.Extension8</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34718<tr><td></td><td valign="top"><a href="#index-Solver_002eExtension9"><code>Solver.Extension9</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34719<tr><td></td><td valign="top"><a href="#index-Solver_002eName0"><code>Solver.Name0</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34720<tr><td></td><td valign="top"><a href="#index-Solver_002eName1"><code>Solver.Name1</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34721<tr><td></td><td valign="top"><a href="#index-Solver_002eName2"><code>Solver.Name2</code></a>:</td><td> </td><td valign="top">
34721<a href="#Solver-options">Solver options</a></td></tr> 34722<tr><td></td><td valign="top"><a href="#index-Solver_002eName3"><code>Solver.Name3</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34723<tr><td></td><td valign="top"><a href="#index-Solver_002eName4"><code>Solver.Name4</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34724<tr><td></td><td valign="top"><a href="#index-Solver_002eName5"><code>Solver.Name5</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34725<tr><td></td><td valign="top"><a href="#index-Solver_002eName6"><code>Solver.Name6</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34726<tr><td></td><td valign="top"><a href="#index-Solver_002eName7"><code>Solver.Name7</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34727<tr><td></td><td valign="top"><a href="#index-Solver_002eName8"><code>Solver.Name8</code></a>:</td><td> </td><td valign="top">
34727<a href="#Solver-options">Solver options</a></td></tr> 34728<tr><td></td><td valign="top"><a href="#index-Solver_002eName9"><code>Solver.Name9</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34729<tr><td></td><td valign="top"><a href="#index-Solver_002eOctaveInterpreter"><code>Solver.OctaveInterpreter</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34730<tr><td></td><td valign="top"><a href="#index-Solver_002ePlugins"><code>Solver.Plugins</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34731<tr><td></td><td valign="top"><a href="#index-Solver_002ePythonInterpreter"><code>Solver.PythonInterpreter</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34732<tr><td></td><td valign="top"><a href="#index-Solver_002eRemoteLogin0"><code>Solver.RemoteLogin0</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34733<tr><td></td><td valign="top"><a href="#index-Solver_002eRemoteLogin1"><code>Solver.RemoteLogin1</code></a>:</td><td> </td><td valign="top">
34733<a href="#Solver-options">Solver options</a></td></tr> 34734<tr><td></td><td valign="top"><a href="#index-Solver_002eRemoteLogin2"><code>Solver.RemoteLogin2</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34735<tr><td></td><td valign="top"><a href="#index-Solver_002eRemoteLogin3"><code>Solver.RemoteLogin3</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34736<tr><td></td><td valign="top"><a href="#index-Solver_002eRemoteLogin4"><code>Solver.RemoteLogin4</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34737<tr><td></td><td valign="top"><a href="#index-Solver_002eRemoteLogin5"><code>Solver.RemoteLogin5</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34738<tr><td></td><td valign="top"><a href="#index-Solver_002eRemoteLogin6"><code>Solver.RemoteLogin6</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34739<tr><td></td><td valign="top"><a href="#index-Solver_002eRemoteLogin7"><code>Solver.RemoteLogin7</code></a>:</td><td> </td><td valign="top">
34739<a href="#Solver-options">Solver options</a></td></tr> 34740<tr><td></td><td valign="top"><a href="#index-Solver_002eRemoteLogin8"><code>Solver.RemoteLogin8</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34741<tr><td></td><td valign="top"><a href="#index-Solver_002eRemoteLogin9"><code>Solver.RemoteLogin9</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34742<tr><td></td><td valign="top"><a href="#index-Solver_002eShowInvisibleParameters"><code>Solver.ShowInvisibleParameters</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34743<tr><td></td><td valign="top"><a href="#index-Solver_002eSocketName"><code>Solver.SocketName</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34744<tr><td></td><td valign="top"><a href="#index-Solver_002eTimeout"><code>Solver.Timeout</code></a>:</td><td> </td><td valign="top"><a href="#Solver-options">Solver options</a></td></tr> 34745<tr><td></td><td valign="top"><a href="#index-Sphere-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"><code>Sphere ( <var>expression</var> ) = { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Volumes">Volumes</a></td></tr> 34746<tr><td></td><td valign="top"><a href="#index-Sphere-_007c-PolarSphere-_0028-expression-_0029-_003d-_007bexpression_002c-expression_007d_003b"><code>Sphere | PolarSphere ( <var>expression</var> ) = {<var>expression</var>, <var>expression</var>};</code></a>:</td><td> </td><td valign="top"><a href="#Other-geometry-commands">Other geometry commands</a></td></tr> 34747<tr><td></td><td valign="top"><a href="#index-Spline-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"><code>Spline ( <var>expression</var> ) = { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Curves">Curves</a></td></tr> 34748<tr><td></td><td valign="top"><a href="#index-Split-Curve-_007b-expression-_007d-Point-_007b-expression_002dlist-_007d"><code>Split Curve { <var>expression</var> } Point { <var>expression-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Transformations">Transformations</a></td></tr> 34749<tr><td></td><td valign="top"><a href="#index-SplitCurrentWindowHorizontal-expression_003b"><code>SplitCurrentWindowHorizontal <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34750<tr><td></td><td valign="top"><a href="#index-SplitCurrentWindowVertical-expression_003b"><code>SplitCurrentWindowVertical <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34751<tr><td></td><td valign="top"><a href="#index-Sqrt-_0028-expression-_0029"><code>Sqrt ( <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 34752<tr><td></td><td valign="top"><a href="#index-Step-_0028-expression-_0029"><code>Step ( <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 34753<tr><td></td><td valign="top"><a href="#index-string-_002a_003d-expression_003b"><code><var>string</var> *= <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34754<tr><td></td><td valign="top"><a href="#index-string-_002b_003d-expression_003b"><code><var>string</var> += <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34755<tr><td></td><td valign="top"><a href="#index-string-_002b_003d-_007b-expression_002dlist-_007d_003b"><code><var>string</var> += { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34756<tr><td></td><td valign="top"><a href="#index-string-_002d_003d-expression_003b"><code><var>string</var> -= <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34757<tr><td></td><td valign="top"><a href="#index-string-_002d_003d-_007b-expression_002dlist-_007d_003b"><code><var>string</var> -= { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34758<tr><td></td><td valign="top"><a href="#index-string-_002f_003d-expression_003b"><code><var>string</var> /= <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34759<tr><td></td><td valign="top"><a href="#index-string-_003d-expression_003b"><code><var>string</var> = <var>expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34760<tr><td></td><td valign="top"><a href="#index-string-_003d-string_002dexpression_003b"><code><var>string</var> = <var>string-expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34761<tr><td></td><td valign="top"><a href="#index-string-_003d-_007b-_007d_003b"><code><var>string</var> = { };</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34762<tr><td></td><td valign="top"><a href="#index-string-_005b-_007b-expression_002dlist-_007d-_005d-_002a_003d-_007b-expression_002dlist-_007d_003b"><code><var>string</var> [ { <var>expression-list</var> } ] *= { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34763<tr><td></td><td valign="top"><a href="#index-string-_005b-_007b-expression_002dlist-_007d-_005d-_002b_003d-_007b-expression_002dlist-_007d_003b"><code><var>string</var> [ { <var>expression-list</var> } ] += { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34764<tr><td></td><td valign="top"><a href="#index-string-_005b-_007b-expression_002dlist-_007d-_005d-_002d_003d-_007b-expression_002dlist-_007d_003b"><code><var>string</var> [ { <var>expression-list</var> } ] -= { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34765<tr><td></td><td valign="top"><a href="#index-string-_005b-_007b-expression_002dlist-_007d-_005d-_002f_003d-_007b-expression_002dlist-_007d_003b"><code><var>string</var> [ { <var>expression-list</var> } ] /= { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34766<tr><td></td><td valign="top"><a href="#index-string-_005b-_007b-expression_002dlist-_007d-_005d-_003d-_007b-expression_002dlist-_007d_003b"><code><var>string</var> [ { <var>expression-list</var> } ] = { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34767<tr><td></td><td valign="top"><a href="#index-string_002doption-_003d-string_002dexpression_003b"><code><var>string-option</var> = <var>string-expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34768<tr><td></td><td valign="top"><a href="#index-string_005b_005d-_002b_003d-Str_0028-string_002dexpression_002dlist-_0029-_003b"><code><var>string</var>[] += Str( <var>string-expression-list</var> ) ;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34769<tr><td></td><td valign="top"><a href="#index-string_005b_005d-_003d-Str_0028-string_002dexpression_002dlist-_0029-_003b"><code><var>string</var>[] = Str( <var>string-expression-list</var> ) ;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34770<tr><td></td><td valign="top"><a href="#index-string_005b_005d-_003d-_007b-expression_002dlist-_007d_003b"><code><var>string</var>[] = { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34771<tr><td></td><td valign="top"><a href="#index-Structured"><code>
34771Structured</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 34772<tr><td></td><td valign="top"><a href="#index-Surface-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d-_003c-In-Sphere-_007b-expression-_007d_002c-Using-Point-_007b-expression_002dlist-_007d-_003e_003b"><code>Surface ( <var>expression</var> ) = { <var>expression-list</var> } < In Sphere { <var>expression</var> }, Using Point { <var>expression-list</var> } >;</code></a>:</td><td> </td><td valign="top"><a href="#Surfaces">Surfaces</a></td></tr> 34773<tr><td></td><td valign="top"><a href="#index-Surface-Loop-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d-_003c-Using-Sewing-_003e_003b"><code>Surface Loop ( <var>expression</var> ) = { <var>expression-list</var> } < Using Sewing >;</code></a>:</td><td> </td><td valign="top"><a href="#Surfaces">Surfaces</a></td></tr> 34774<tr><td></td><td valign="top"><a href="#index-Symmetry-_007b-expression_002dlist-_007d-_007b-transform_002dlist-_007d"><code>Symmetry { <var>expression-list</var> } { <var>transform-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Transformations">Transformations</a></td></tr> 34775<tr><td></td><td valign="top"><a href="#index-SyncModel_003b"><code>SyncModel;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34776<tr><td></td><td valign="top"><a href="#index-SystemCall-string_002dexpression_003b"><code>SystemCall <var>string-expression</var>;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34777<tr><td colspan="4"> <hr></td></tr> 34778<tr><th id="Syntax-index_tp_letter-T">T</th><td></td><td></td></tr> 34779<tr><td></td><td valign="top"><a href="#index-Tan-_0028-expression-_0029"><code>Tan ( <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 34780<tr><td></td><td valign="top"><a href="#index-Tanh-_0028-expression-_0029"><code>Tanh ( <var>expression</var> )</code></a>:</td><td> </td><td valign="top"><a href="#Built_002din-functions">Built-in functions</a></td></tr> 34781<tr><td></td><td valign="top"><a href="#index-Threshold"><code>Threshold</code></a>:</td><td> </td><td valign="top"><a href="#Gmsh-mesh-size-fields">Gmsh mesh size fields</a></td></tr> 34782<tr><td></td><td valign="top"><a href="#index-ThruSections-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"><code>ThruSections ( <var>expression</var> ) = { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Volumes">Volumes</a></td></tr> 34783<tr><td></td><td valign="top"><a href="#index-ThruSections-_007b-expression_002dlist-_007d"><code>ThruSections { <var>expression-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Extrusions">Extrusions</a></td></tr> 34784<tr><td></td><td valign="top"><a href="#index-Torus-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"><code>Torus ( <var>expression</var> ) = { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Volumes">Volumes</a></td></tr> 34785<tr><td></td><td valign="top"><a href="#index-TotalMemory"><code>TotalMemory</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34786<tr><td></td><td valign="top"><a href="#index-Transfinite-Curve-_007b-expression_002dlist_002dor_002dall-_007d-_003d-expression-_003c-Using-Progression-_007c-Bump-expression-_003e_003b"><code>Transfinite Curve { <var>expression-list-or-all</var> } = <var>expression</var> < Using Progression | Bump <var>expression</var> >;</code></a>:</td><td> </td><td valign="top"><a href="#Structured-grids">Structured grids</a></td></tr> 34787<tr><td></td><td valign="top"><a href="#index-Transfinite-Surface-_007b-expression_002dlist_002dor_002dall-_007d-_003c-_003d-_007b-expression_002dlist-_007d-_003e-_003c-Left-_007c-Right-_007c-Alternate-_007c-AlternateRight-_007c-AlternateLeft-_003e-_003b"><code>Transfinite Surface { <var>expression-list-or-all</var> } < = { <var>expression-list</var> } > < Left | Right | Alternate | AlternateRight | AlternateLeft > ;</code></a>:</td><td> </td><td valign="top"><a href="#Structured-grids">Structured grids</a></td></tr> 34788<tr><td></td><td valign="top"><a href="#index-Transfinite-Volume-_007b-expression_002dlist-_007d-_003c-_003d-_007b-expression_002dlist-_007d-_003e-_003b"><code>Transfinite Volume { <var>expression-list</var> } < = { <var>expression-list</var> } > ;</code></a>:</td><td> </td><td valign="top"><a href="#Structured-grids">Structured grids</a></td></tr> 34789<tr><td></td><td valign="top"><a href="#index-transform"><code><var>transform</var></code></a>:</td><td> </td><td valign="top"><a href="#Transformations">Transformations</a></td></tr> 34790<tr><td></td><td valign="top"><a href="#index-TransformMesh-_007b-expression_002dlist-_007d-_007b-transform_002dlist-_007d_003b"><code>TransformMesh { <var>expression-list</var> } { <var>transform-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34791<tr><td></td><td valign="top"><a href="#index-TransformMesh-_007b-expression_002dlist-_007d_003b"><code>TransformMesh { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Other-mesh-commands">Other mesh commands</a></td></tr> 34792<tr><td></td><td valign="top"><a href="#index-TransfQuadTri-_007b-expression_002dlist-_007d-_003b"><code>TransfQuadTri { <var>expression-list</var> } ;</code></a>:</td><td> </td><td valign="top"><a href="#Structured-grids">Structured grids</a></td></tr> 34793<tr><td></td><td valign="top"><a href="#index-Translate-_007b-expression_002dlist-_007d-_007b-transform_002dlist-_007d"><code>Translate { <var>expression-list</var> } { <var>transform-list</var> }</code></a>:</td><td> </td><td valign="top"><a href="#Transformations">Transformations</a></td></tr> 34794<tr><td colspan="4"> <hr></td></tr> 34795<tr><th id="Syntax-index_tp_letter-U">U</th><td></td><td></td></tr> 34796<tr><td></td><td valign="top"><a href="#index-UnsplitWindow_003b"><code>
34796UnsplitWindow;</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34797<tr><td colspan="4"> <hr></td></tr> 34798<tr><th id="Syntax-index_tp_letter-V">V</th><td></td><td></td></tr> 34799<tr><td></td><td valign="top"><a href="#index-View-_0022string_0022-_007b-string-_003c-_0028-expression_002dlist-_0029-_003e-_007b-expression_002dlist-_007d_003b-_2026-_007d_003b"><code>View "<var>string</var>" { <var>string</var> < ( <var>expression-list</var> ) > { <var>expression-list</var> }; … };</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-scripting-commands">Post-processing scripting commands</a></td></tr> 34800<tr><td></td><td valign="top"><a href="#index-View_002eAbscissaRangeType"><code>View.AbscissaRangeType</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34801<tr><td></td><td valign="top"><a href="#index-View_002eAdaptVisualizationGrid"><code>View.AdaptVisualizationGrid</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34802<tr><td></td><td valign="top"><a href="#index-View_002eAngleSmoothNormals"><code>View.AngleSmoothNormals</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34803<tr><td></td><td valign="top"><a href="#index-View_002eArrowSizeMax"><code>View.ArrowSizeMax</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34804<tr><td></td><td valign="top"><a href="#index-View_002eArrowSizeMin"><code>View.ArrowSizeMin</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34805<tr><td></td><td valign="top"><a href="#index-View_002eAttributes"><code>View.Attributes</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34806<tr><td></td><td valign="top"><a href="#index-View_002eAutoPosition"><code>View.AutoPosition</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34807<tr><td></td><td valign="top"><a href="#index-View_002eAxes"><code>View.Axes</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34808<tr><td></td><td valign="top"><a href="#index-View_002eAxesAutoPosition"><code>View.AxesAutoPosition</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34809<tr><td></td><td valign="top"><a href="#index-View_002eAxesFormatX"><code>View.AxesFormatX</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34810<tr><td></td><td valign="top"><a href="#index-View_002eAxesFormatY"><code>View.AxesFormatY</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34811<tr><td></td><td valign="top"><a href="#index-View_002eAxesFormatZ"><code>View.AxesFormatZ</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34812<tr><td></td><td valign="top"><a href="#index-View_002eAxesLabelX"><code>View.AxesLabelX</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34813<tr><td></td><td valign="top"><a href="#index-View_002eAxesLabelY"><code>View.AxesLabelY</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34814<tr><td></td><td valign="top"><a href="#index-View_002eAxesLabelZ"><code>View.AxesLabelZ</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34815<tr><td></td><td valign="top"><a href="#index-View_002eAxesMaxX"><code>View.AxesMaxX</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34816<tr><td></td><td valign="top"><a href="#index-View_002eAxesMaxY"><code>View.AxesMaxY</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34817<tr><td></td><td valign="top"><a href="#index-View_002eAxesMaxZ"><code>View.AxesMaxZ</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34818<tr><td></td><td valign="top"><a href="#index-View_002eAxesMikado"><code>View.AxesMikado</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34819<tr><td></td><td valign="top"><a href="#index-View_002eAxesMinX"><code>View.AxesMinX</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34820<tr><td></td><td valign="top"><a href="#index-View_002eAxesMinY"><code>View.AxesMinY</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34821<tr><td></td><td valign="top"><a href="#index-View_002eAxesMinZ"><code>View.AxesMinZ</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34822<tr><td></td><td valign="top"><a href="#index-View_002eAxesTicsX"><code>View.AxesTicsX</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34823<tr><td></td><td valign="top"><a href="#index-View_002eAxesTicsY"><code>View.AxesTicsY</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34824<tr><td></td><td valign="top"><a href="#index-View_002eAxesTicsZ"><code>View.AxesTicsZ</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34825<tr><td></td><td valign="top"><a href="#index-View_002eBoundary"><code>View.Boundary</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34826<tr><td></td><td valign="top"><a href="#index-View_002eCenterGlyphs"><code>View.CenterGlyphs</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34827<tr><td></td><td valign="top"><a href="#index-View_002eClip"><code>View.Clip</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34828<tr><td></td><td valign="top"><a href="#index-View_002eClosed"><code>View.Closed</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34829<tr><td></td><td valign="top"><a href="#index-View_002eColor_002eAxes"><code>View.Color.Axes</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34830<tr><td></td><td valign="top">
34830<a href="#index-View_002eColor_002eBackground2D"><code>View.Color.Background2D</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34831<tr><td></td><td valign="top"><a href="#index-View_002eColor_002eHexahedra"><code>View.Color.Hexahedra</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34832<tr><td></td><td valign="top"><a href="#index-View_002eColor_002eLines"><code>View.Color.Lines</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34833<tr><td></td><td valign="top"><a href="#index-View_002eColor_002eNormals"><code>View.Color.Normals</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34834<tr><td></td><td valign="top"><a href="#index-View_002eColor_002ePoints"><code>View.Color.Points</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34835<tr><td></td><td valign="top"><a href="#index-View_002eColor_002ePrisms"><code>View.Color.Prisms</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34836<tr><td></td><td valign="top"><a href="#index-View_002eColor_002ePyramids"><code>View.Color.Pyramids</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34837<tr><td></td><td valign="top"><a href="#index-View_002eColor_002eQuadrangles"><code>View.Color.Quadrangles</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34838<tr><td></td><td valign="top"><a href="#index-View_002eColor_002eTangents"><code>View.Color.Tangents</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34839<tr><td></td><td valign="top"><a href="#index-View_002eColor_002eTetrahedra"><code>View.Color.Tetrahedra</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34840<tr><td></td><td valign="top"><a href="#index-View_002eColor_002eText2D"><code>View.Color.Text2D</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34841<tr><td></td><td valign="top"><a href="#index-View_002eColor_002eText3D"><code>View.Color.Text3D</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34842<tr><td></td><td valign="top"><a href="#index-View_002eColor_002eTriangles"><code>View.Color.Triangles</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34843<tr><td></td><td valign="top"><a href="#index-View_002eColor_002eTrihedra"><code>View.Color.Trihedra</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34844<tr><td></td><td valign="top"><a href="#index-View_002eColormapAlpha"><code>View.ColormapAlpha</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34845<tr><td></td><td valign="top"><a href="#index-View_002eColormapAlphaPower"><code>View.ColormapAlphaPower</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34846<tr><td></td><td valign="top"><a href="#index-View_002eColormapBeta"><code>View.ColormapBeta</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34847<tr><td></td><td valign="top"><a href="#index-View_002eColormapBias"><code>View.ColormapBias</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34848<tr><td></td><td valign="top"><a href="#index-View_002eColormapCurvature"><code>View.ColormapCurvature</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34849<tr><td></td><td valign="top"><a href="#index-View_002eColormapInvert"><code>View.ColormapInvert</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34850<tr><td></td><td valign="top"><a href="#index-View_002eColormapNumber"><code>View.ColormapNumber</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34851<tr><td></td><td valign="top"><a href="#index-View_002eColormapRotation"><code>View.ColormapRotation</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34852<tr><td></td><td valign="top"><a href="#index-View_002eColormapSwap"><code>View.ColormapSwap</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34853<tr><td></td><td valign="top"><a href="#index-View_002eColorTable"><code>View.ColorTable</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34854<tr><td></td><td valign="top"><a href="#index-View_002eComponentMap0"><code>View.ComponentMap0</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34855<tr><td></td><td valign="top"><a href="#index-View_002eComponentMap1"><code>View.ComponentMap1</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34856<tr><td></td><td valign="top"><a href="#index-View_002eComponentMap2"><code>View.ComponentMap2</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34857<tr><td></td><td valign="top"><a href="#index-View_002eComponentMap3"><code>View.ComponentMap3</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34858<tr><td></td><td valign="top"><a href="#index-View_002eComponentMap4"><code>View.ComponentMap4</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34859<tr><td></td><td valign="top"><a href="#index-View_002eComponentMap5"><code>View.ComponentMap5</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34860<tr><td></td><td valign="top"><a href="#index-View_002eComponentMap6"><code>View.ComponentMap6</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34861<tr><td></td><td valign="top"><a href="#index-View_002eComponentMap7"><code>View.ComponentMap7</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34862<tr><td></td><td valign="top"><a href="#index-View_002eComponentMap8"><code>View.ComponentMap8</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34863<tr><td></td><td valign="top"><a href="#index-View_002eCustomAbscissaMax"><code>View.CustomAbscissaMax</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34864<tr><td></td><td valign="top"><a href="#index-View_002eCustomAbscissaMin"><code>View.CustomAbscissaMin</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34865<tr><td></td><td valign="top"><a href="#index-View_002eCustomMax"><code>View.CustomMax</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34866<tr><td></td><td valign="top"><a href="#index-View_002eCustomMin"><code>View.CustomMin</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34867<tr><td></td><td valign="top"><a href="#index-View_002eDisplacementFactor"><code>View.DisplacementFactor</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34868<tr><td></td><td valign="top"><a href="#index-View_002eDoubleClickedCommand"><code>View.DoubleClickedCommand</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34869<tr><td></td><td valign="top"><a href="#index-View_002eDrawHexahedra"><code>View.DrawHexahedra</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34870<tr><td></td><td valign="top"><a href="#index-View_002eDrawLines"><code>View.DrawLines</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34871<tr><td></td><td valign="top"><a href="#index-View_002eDrawPoints"><code>View.DrawPoints</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34872<tr><td></td><td valign="top"><a href="#index-View_002eDrawPrisms"><code>View.DrawPrisms</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34873<tr><td></td><td valign="top"><a href="#index-View_002eDrawPyramids"><code>View.DrawPyramids</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34874<tr><td></td><td valign="top"><a href="#index-View_002eDrawQuadrangles"><code>View.DrawQuadrangles</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34875<tr><td></td><td valign="top"><a href="#index-View_002eDrawScalars"><code>View.DrawScalars</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34876<tr><td></td><td valign="top"><a href="#index-View_002eDrawSkinOnly"><code>View.DrawSkinOnly</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34877<tr><td></td><td valign="top"><a href="#index-View_002eDrawStrings"><code>View.DrawStrings</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34878<tr><td></td><td valign="top"><a href="#index-View_002eDrawTensors"><code>View.DrawTensors</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34879<tr><td></td><td valign="top"><a href="#index-View_002eDrawTetrahedra"><code>View.DrawTetrahedra</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34880<tr><td></td><td valign="top"><a href="#index-View_002eDrawTriangles"><code>View.DrawTriangles</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34881<tr><td></td><td valign="top"><a href="#index-View_002eDrawTrihedra"><code>View.DrawTrihedra</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34882<tr><td></td><td valign="top"><a href="#index-View_002eDrawVectors"><code>View.DrawVectors</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34883<tr><td></td><td valign="top"><a href="#index-View_002eExplode"><code>View.Explode</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34884<tr><td></td><td valign="top"><a href="#index-View_002eExternalView"><code>View.ExternalView</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34885<tr><td></td><td valign="top"><a href="#index-View_002eFakeTransparency"><code>View.FakeTransparency</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34886<tr><td></td><td valign="top"><a href="#index-View_002eFileName"><code>View.FileName</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34887<tr><td></td><td valign="top">
34887<a href="#index-View_002eForceNumComponents"><code>View.ForceNumComponents</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34888<tr><td></td><td valign="top"><a href="#index-View_002eGeneralizedRaiseFactor"><code>View.GeneralizedRaiseFactor</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34889<tr><td></td><td valign="top"><a href="#index-View_002eGeneralizedRaiseView"><code>View.GeneralizedRaiseView</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34890<tr><td></td><td valign="top"><a href="#index-View_002eGeneralizedRaiseX"><code>View.GeneralizedRaiseX</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34891<tr><td></td><td valign="top"><a href="#index-View_002eGeneralizedRaiseY"><code>View.GeneralizedRaiseY</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34892<tr><td></td><td valign="top"><a href="#index-View_002eGeneralizedRaiseZ"><code>View.GeneralizedRaiseZ</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34893<tr><td></td><td valign="top"><a href="#index-View_002eGlyphLocation"><code>View.GlyphLocation</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34894<tr><td></td><td valign="top"><a href="#index-View_002eGroup"><code>View.Group</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34895<tr><td></td><td valign="top"><a href="#index-View_002eHeight"><code>View.Height</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34896<tr><td></td><td valign="top"><a href="#index-View_002eIntervalsType"><code>View.IntervalsType</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34897<tr><td></td><td valign="top"><a href="#index-View_002eLight"><code>View.Light</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34898<tr><td></td><td valign="top"><a href="#index-View_002eLightLines"><code>View.LightLines</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34899<tr><td></td><td valign="top"><a href="#index-View_002eLightTwoSide"><code>View.LightTwoSide</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34900<tr><td></td><td valign="top"><a href="#index-View_002eLineType"><code>View.LineType</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34901<tr><td></td><td valign="top"><a href="#index-View_002eLineWidth"><code>View.LineWidth</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34902<tr><td></td><td valign="top"><a href="#index-View_002eMax"><code>View.Max</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34903<tr><td></td><td valign="top"><a href="#index-View_002eMaxRecursionLevel"><code>View.MaxRecursionLevel</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34904<tr><td></td><td valign="top"><a href="#index-View_002eMaxVisible"><code>View.MaxVisible</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34905<tr><td></td><td valign="top"><a href="#index-View_002eMaxX"><code>View.MaxX</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34906<tr><td></td><td valign="top"><a href="#index-View_002eMaxY"><code>View.MaxY</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34907<tr><td></td><td valign="top"><a href="#index-View_002eMaxZ"><code>View.MaxZ</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34908<tr><td></td><td valign="top"><a href="#index-View_002eMin"><code>View.Min</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34909<tr><td></td><td valign="top"><a href="#index-View_002eMinVisible"><code>View.MinVisible</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34910<tr><td></td><td valign="top"><a href="#index-View_002eMinX"><code>View.MinX</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34911<tr><td></td><td valign="top"><a href="#index-View_002eMinY"><code>View.MinY</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34912<tr><td></td><td valign="top"><a href="#index-View_002eMinZ"><code>View.MinZ</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34913<tr><td></td><td valign="top"><a href="#index-View_002eName"><code>View.Name</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34914<tr><td></td><td valign="top"><a href="#index-View_002eNbIso"><code>View.NbIso</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34915<tr><td></td><td valign="top"><a href="#index-View_002eNbTimeStep"><code>View.NbTimeStep</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34916<tr><td></td><td valign="top"><a href="#index-View_002eNormalRaise"><code>View.NormalRaise</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34917<tr><td></td><td valign="top"><a href="#index-View_002eNormals"><code>View.Normals</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34918<tr><td></td><td valign="top"><a href="#index-View_002eNumberFormat"><code>View.NumberFormat</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34919<tr><td></td><td valign="top"><a href="#index-View_002eOffsetX"><code>View.OffsetX</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34920<tr><td></td><td valign="top"><a href="#index-View_002eOffsetY"><code>View.OffsetY</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34921<tr><td></td><td valign="top"><a href="#index-View_002eOffsetZ"><code>View.OffsetZ</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34922<tr><td></td><td valign="top"><a href="#index-View_002ePointSize"><code>View.PointSize</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34923<tr><td></td><td valign="top"><a href="#index-View_002ePointType"><code>View.PointType</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34924<tr><td></td><td valign="top"><a href="#index-View_002ePositionX"><code>View.PositionX</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34925<tr><td></td><td valign="top"><a href="#index-View_002ePositionY"><code>View.PositionY</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34926<tr><td></td><td valign="top"><a href="#index-View_002eRaiseX"><code>View.RaiseX</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34927<tr><td></td><td valign="top"><a href="#index-View_002eRaiseY"><code>View.RaiseY</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34928<tr><td></td><td valign="top"><a href="#index-View_002eRaiseZ"><code>View.RaiseZ</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34929<tr><td></td><td valign="top"><a href="#index-View_002eRangeType"><code>View.RangeType</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34930<tr><td></td><td valign="top"><a href="#index-View_002eSampling"><code>View.Sampling</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34931<tr><td></td><td valign="top"><a href="#index-View_002eSaturateValues"><code>View.SaturateValues</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34932<tr><td></td><td valign="top"><a href="#index-View_002eScaleType"><code>View.ScaleType</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34933<tr><td></td><td valign="top"><a href="#index-View_002eShowElement"><code>View.ShowElement</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34934<tr><td></td><td valign="top"><a href="#index-View_002eShowScale"><code>View.ShowScale</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34935<tr><td></td><td valign="top"><a href="#index-View_002eShowTime"><code>View.ShowTime</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34936<tr><td></td><td valign="top"><a href="#index-View_002eSmoothNormals"><code>View.SmoothNormals</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34937<tr><td></td><td valign="top"><a href="#index-View_002eStipple"><code>View.Stipple</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34938<tr><td></td><td valign="top"><a href="#index-View_002eStipple0"><code>View.Stipple0</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34939<tr><td></td><td valign="top"><a href="#index-View_002eStipple1"><code>View.Stipple1</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34940<tr><td></td><td valign="top"><a href="#index-View_002eStipple2"><code>View.Stipple2</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34941<tr><td></td><td valign="top"><a href="#index-View_002eStipple3"><code>View.Stipple3</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34942<tr><td></td><td valign="top"><a href="#index-View_002eStipple4"><code>View.Stipple4</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34943<tr><td></td><td valign="top"><a href="#index-View_002eStipple5"><code>View.Stipple5</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34944<tr><td></td><td valign="top"><a href="#index-View_002eStipple6"><code>View.Stipple6</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34945<tr><td></td><td valign="top"><a href="#index-View_002eStipple7"><code>View.Stipple7</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34946<tr><td></td><td valign="top"><a href="#index-View_002eStipple8"><code>View.Stipple8</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34947<tr><td></td><td valign="top"><a href="#index-View_002eStipple9"><code>View.Stipple9</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34948<tr><td></td><td valign="top"><a href="#index-View_002eTangents"><code>View.Tangents</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34949<tr><td></td><td valign="top"><a href="#index-View_002eTargetError"><code>View.TargetError</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34950<tr><td></td><td valign="top"><a href="#index-View_002eTensorType"><code>View.TensorType</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34951<tr><td></td><td valign="top"><a href="#index-View_002eTime"><code>View.Time</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34952<tr><td></td><td valign="top"><a href="#index-View_002eTimeStep"><code>View.TimeStep</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34953<tr><td></td><td valign="top"><a href="#index-View_002eTransformXX"><code>View.TransformXX</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34954<tr><td></td><td valign="top"><a href="#index-View_002eTransformXY"><code>View.TransformXY</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34955<tr><td></td><td valign="top"><a href="#index-View_002eTransformXZ"><code>View.TransformXZ</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34956<tr><td></td><td valign="top"><a href="#index-View_002eTransformYX"><code>View.TransformYX</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34957<tr><td></td><td valign="top"><a href="#index-View_002eTransformYY"><code>View.TransformYY</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34958<tr><td></td><td valign="top"><a href="#index-View_002eTransformYZ"><code>View.TransformYZ</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34959<tr><td></td><td valign="top"><a href="#index-View_002eTransformZX"><code>View.TransformZX</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34960<tr><td></td><td valign="top"><a href="#index-View_002eTransformZY"><code>View.TransformZY</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">P
34960ost-processing view options</a></td></tr> 34961<tr><td></td><td valign="top"><a href="#index-View_002eTransformZZ"><code>View.TransformZZ</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34962<tr><td></td><td valign="top"><a href="#index-View_002eType"><code>View.Type</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34963<tr><td></td><td valign="top"><a href="#index-View_002eUseGeneralizedRaise"><code>View.UseGeneralizedRaise</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34964<tr><td></td><td valign="top"><a href="#index-View_002eVectorType"><code>View.VectorType</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34965<tr><td></td><td valign="top"><a href="#index-View_002eVisible"><code>View.Visible</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34966<tr><td></td><td valign="top"><a href="#index-View_002eWidth"><code>View.Width</code></a>:</td><td> </td><td valign="top"><a href="#Post_002dprocessing-view-options">Post-processing view options</a></td></tr> 34967<tr><td></td><td valign="top"><a href="#index-Volume-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"><code>Volume ( <var>expression</var> ) = { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Volumes">Volumes</a></td></tr> 34968<tr><td colspan="4"> <hr></td></tr> 34969<tr><th id="Syntax-index_tp_letter-W">W</th><td></td><td></td></tr> 34970<tr><td></td><td valign="top"><a href="#index-Warning_007cError-_0028-string_002dexpression-_003c_002c-expression_002dlist_003e-_0029_003b"><code>Warning|Error ( <var>string-expression</var> <, <var>expression-list</var>> );</code></a>:</td><td> </td><td valign="top"><a href="#Other-general-commands">Other general commands</a></td></tr> 34971<tr><td></td><td valign="top"><a href="#index-Wedge-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"><code>Wedge ( <var>expression</var> ) = { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Volumes">Volumes</a></td></tr> 34972<tr><td></td><td valign="top"><a href="#index-Wire-_0028-expression-_0029-_003d-_007b-expression_002dlist-_007d_003b"><code>Wire ( <var>expression</var> ) = { <var>expression-list</var> };</code></a>:</td><td> </td><td valign="top"><a href="#Curves">Curves</a></td></tr> 34973<tr><td colspan="4"> <hr></td></tr> 34974</table> 34975<table><tr><th valign="top">Jump to: </th><td><a class="summary-letter" href="#Syntax-index_tp_symbol-1"><b>!</b></a> 34976 34977<a class="summary-letter" href="#Syntax-index_tp_symbol-2"><b>%</b></a> 34978 34979<a class="summary-letter" href="#Syntax-index_tp_symbol-3"><b>&</b></a> 34980 34981<a class="summary-letter" href="#Syntax-index_tp_symbol-4"><b>(</b></a> 34982 34983<a class="summary-letter" href="#Syntax-index_tp_symbol-5"><b>*</b></a> 34984 34985<a class="summary-letter" href="#Syntax-index_tp_symbol-6"><b>+</b></a> 34986 34987<a class="summary-letter" href="#Syntax-index_tp_symbol-7"><b>-</b></a> 34988 34989<a class="summary-letter" href="#Syntax-index_tp_symbol-8"><b>/</b></a> 34990 34991<a class="summary-letter" href="#Syntax-index_tp_symbol-9"><b>:</b></a> 34992 34993<a class="summary-letter" href="#Syntax-index_tp_symbol-10"><b><</b></a> 34994 34995<a class="summary-letter" href="#Syntax-index_tp_symbol-11"><b>=</b></a> 34996 34997<a class="summary-letter" href="#Syntax-index_tp_symbol-12"><b>></b></a> 34998 34999<a class="summary-letter" href="#Syntax-index_tp_symbol-13"><b>?</b></a> 35000 35001<a class="summary-letter" href="#Syntax-index_tp_symbol-14"><b>^</b></a> 35002 35003<a class="summary-letter" href="#Syntax-index_tp_symbol-15"><b>|</b></a> 35004 35005<br> 35006<a class="summary-letter" href="#Syntax-index_tp_letter-A"><b>A</b></a> 35007 35008<a class="summary-letter" href="#Syntax-index_tp_letter-B"><b>B</b></a> 35009 35010<a class="summary-letter" href="#Syntax-index_tp_letter-C"><b>C</b></a> 35011 35012<a class="summary-letter" href="#Syntax-index_tp_letter-D"><b>D</b></a> 35013 35014<a class="summary-letter" href="#Syntax-index_tp_letter-E"><b>E</b></a> 35015 35016<a class="summary-letter" href="#Syntax-index_tp_letter-F"><b>F</b></a> 35017 35018<a class="summary-letter" href="#Syntax-index_tp_letter-G"><b>G</b></a> 35019 35020<a class="summary-letter" href="#Syntax-index_tp_letter-H"><b>H</b></a> 35021 35022<a class="summary-letter" href="#Syntax-index_tp_letter-I"><b>I</b></a> 35023 35024<a class="summary-letter" href="#Syntax-index_tp_letter-L"><b>L</b></a> 35025 35026<a class="summary-letter" href="#Syntax-index_tp_letter-M"><b>M</b></a> 35027 35028<a class="summary-letter" href="#Syntax-index_tp_letter-N"><b>N</b></a> 35029 35030<a class="summary-letter" href="#Syntax-index_tp_letter-O"><b>O</b></a> 35031 35032<a class="summary-letter" href="#Syntax-index_tp_letter-P"><b>P</b></a> 35033 35034<a class="summary-letter" href="#Syntax-index_tp_letter-R"><b>R</b></a> 35035 35036<a class="summary-letter" href="#Syntax-index_tp_letter-S"><b>S</b></a> 35037 35038<a class="summary-letter" href="#Syntax-index_tp_letter-T"><b>T</b></a> 35039 35040<a class="summary-letter" href="#Syntax-index_tp_letter-U"><b>U</b></a> 35041 35042<a class="summary-letter" href="#Syntax-index_tp_letter-V"><b>V</b></a> 35043 35044<a class="summary-letter" href="#Syntax-index_tp_letter-W"><b>W</b></a> 35045 35046</td></tr></table> 35047 35048<hr> 35049<span id="SEC_Foot"></span> 35050<div class="header"> 35051<p> 35052 [<a href="#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="#Concept-index" title="Index" rel="index">Index</a>]</p> 35053</div> 35054<h4 class="footnotes-heading">Footnotes</h4> 35055 35056<h5><a id="FOOT1" href="#DOCF1">(1)</a></h3> 35057<p>P. A. Beaufort, C. Geuzaine, J.-F. Remacle 35058<em>Automatic surface mesh generation for discrete modelsâA complete 35059and automatic pipeline based on reparametrization</em>. Journal of 35060Computational Physics, 417, 109575, 2020.</p> 35061<h5><a id="FOOT2" href="#DOCF2">(2)</a></h3> 35062<p>R. A. Dwyer, <em>A simple 35063divide-and-conquer algorithm for computing Delaunay triangulations in 35064O(n log n) expected time</em>, In Proceedings of the second annual symposium
35065on computational geometry, Yorktown Heights, 2–4 June 1986.</p> 35066<h5><a id="FOOT3" href="#DOCF3">(3)</a></h3> 35067<p>N. P. Weatherill, 35068<em>The integrity of geometrical boundaries in the two-dimensional 35069Delaunay triangulation</em>, Commun. Appl. Numer. Methods 6(2), 35070pp. 101–109, 1990.</p> 35071<h5><a id="FOOT4" href="#DOCF4">(4)</a></h3> 35072<p>C. Geuzaine and J.-F. Remacle, 35073<em>Gmsh: a three-dimensional finite element mesh generator with 35074built-in pre- and post-processing facilities</em>, International Journal for 35075Numerical Methods in Engineering 79(11), pp. 1309–1331, 2009.</p> 35076<h5><a id="FOOT5" href="#DOCF5">(5)</a></h3> 35077<p>P.-L. George and P. Frey, <em>Mesh generation</em>, Hermes, 35078Lyon, 2000.</p> 35079<h5><a id="FOOT6" href="#DOCF6">(6)</a></h3> 35080<p>S. Rebay, <em>Efficient unstructured mesh generation 35081by means of Delaunay triangulation and Bowyer-Watson algorithm</em>, 35082J. Comput. Phys. 106, pp. 25–138, 1993.</p> 35083<h5><a id="FOOT7" href="#DOCF7">(7)</a></h3> 35084<p>J.-F. Remacle, F. Henrotte, T. Carrier-Baudouin, 35085E. Béchet, E. Marchandise, C. Geuzaine and T. Mouton, <em>A frontal 35086Delaunay quad mesh generator using the Linf norm</em>, International Journal 35087for Numerical Methods in Engineering, 94(5), pp. 494-512, 2013.</p> 35088<h5><a id="FOOT8" href="#DOCF8">(8)</a></h3> 35089<p>F. Hecht, <em>BAMG: bidimensional anisotropic mesh 35090generator</em>, User Guide, INRIA, Rocquencourt, 1998.</p> 35091<h5><a id="FOOT9" href="#DOCF9">(9)</a></h3> 35092<p>J. Schoeberl, <em>Netgen, an advancing front 2d/3d-mesh 35093generator based on abstract rules</em>, Comput. Visual. Sci., 1, pp. 41–52, 350941997.</p> 35095<h5><a id="FOOT10" href="#DOCF10">(10)</a></h3> 35096<p>C. Marot, J. Pellerin and J.âF. Remacle, 35097<em>One machine, one minute, three billion tetrahedra</em>, International 35098Journal for Numerical Methods in Engineering 117.9, pp 967-990, 2019.</p> 35099<h5><a id="FOOT11" href="#DOCF11">(11)</a></h3> 35100<p>C. Dobrzynski, <em>MMG3D: user 35101guide</em>, INRIA, 2012.</p> 35102<h5><a id="FOOT12" href="#DOCF12">(12)</a></h3> 35103<p>The affectation 35104operators are introduced in <a href="#Other-general-commands">Other general commands</a>.</p> 35105<h5><a id="FOOT13" href="#DOCF13">(13)</a></h3> 35106<p>For 35107compatibility purposes, the behavior of <code>newl</code>, <code>news</code>, 35108<code>newv</code> and <code>newreg</code> can be modified with the 35109<code>Geometry.OldNewReg</code> option (see <a href="#Geometry-options">Geometry options</a>).</p> 35110<h5><a id="FOOT14" href="#DOCF14">(14)</a></h3> 35111<p>Each step can be linked to 35112a different model, which allows to have a single time series based on 35113multiple (e.g. deforming or moving) meshes.</p> 35114<h5><a id="FOOT15" href="#DOCF15">(15)</a></h3> 35115<p>If the numbering is not too sparse, 35116Gmsh will still use a vector.</p> 35117<hr> 35118 35119 35120 35121</body> 35122</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.