From d04703d5f874617a41456d0f9cb3f1657dfec59a Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@uliege.be>
Date: Sun, 29 Mar 2020 22:23:37 +0200
Subject: [PATCH] pp

---
 tutorial/c++/t1.cpp     | 16 ++++++++--------
 tutorial/c++/t10.cpp    | 14 +++++++-------
 tutorial/c++/t11.cpp    | 14 +++++++-------
 tutorial/c++/t12.cpp    | 14 +++++++-------
 tutorial/c++/t13.cpp    | 14 +++++++-------
 tutorial/c++/t14.cpp    | 14 +++++++-------
 tutorial/c++/t15.cpp    | 14 +++++++-------
 tutorial/c++/t16.cpp    | 14 +++++++-------
 tutorial/c++/t17.cpp    | 14 +++++++-------
 tutorial/c++/t18.cpp    | 14 +++++++-------
 tutorial/c++/t19.cpp    | 14 +++++++-------
 tutorial/c++/t2.cpp     | 16 ++++++++--------
 tutorial/c++/t3.cpp     | 14 +++++++-------
 tutorial/c++/t4.cpp     | 14 +++++++-------
 tutorial/c++/t5.cpp     | 14 +++++++-------
 tutorial/c++/t6.cpp     | 14 +++++++-------
 tutorial/c++/t7.cpp     | 14 +++++++-------
 tutorial/c++/t8.cpp     | 14 +++++++-------
 tutorial/c++/t9.cpp     | 14 +++++++-------
 tutorial/c++/x1.cpp     | 14 +++++++-------
 tutorial/c/t1.c         | 16 ++++++++--------
 tutorial/t1.geo         | 16 ++++++++--------
 tutorial/t10.geo        | 14 +++++++-------
 tutorial/t11.geo        | 14 +++++++-------
 tutorial/t12.geo        | 14 +++++++-------
 tutorial/t13.geo        | 14 +++++++-------
 tutorial/t14.geo        | 14 +++++++-------
 tutorial/t15.geo        | 14 +++++++-------
 tutorial/t16.geo        | 14 +++++++-------
 tutorial/t17.geo        | 14 +++++++-------
 tutorial/t17_bgmesh.pos | 14 +++++++-------
 tutorial/t18.geo        | 14 +++++++-------
 tutorial/t19.geo        | 14 +++++++-------
 tutorial/t2.geo         | 16 ++++++++--------
 tutorial/t3.geo         | 14 +++++++-------
 tutorial/t4.geo         | 14 +++++++-------
 tutorial/t5.geo         | 14 +++++++-------
 tutorial/t6.geo         | 14 +++++++-------
 tutorial/t7.geo         | 14 +++++++-------
 tutorial/t7_bgmesh.pos  | 14 +++++++-------
 tutorial/t8.geo         | 14 +++++++-------
 tutorial/t9.geo         | 14 +++++++-------
 tutorial/view1.pos      | 14 +++++++-------
 tutorial/view2.pos      | 14 +++++++-------
 tutorial/view3.pos      | 14 +++++++-------
 tutorial/view4.pos      | 14 +++++++-------
 46 files changed, 327 insertions(+), 327 deletions(-)

diff --git a/tutorial/c++/t1.cpp b/tutorial/c++/t1.cpp
index 823c3b3232..20fe92dd21 100644
--- a/tutorial/c++/t1.cpp
+++ b/tutorial/c++/t1.cpp
@@ -1,11 +1,11 @@
-/*******************************************************************************
- *
- *  Gmsh C++ tutorial 1
- *
- *  Elementary entities (points, curves, surfaces), physical groups (points,
- *  curves, surfaces)
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh C++ tutorial 1
+//
+//  Elementary entities (points, curves, surfaces), physical groups (points,
+//  curves, surfaces)
+//
+// -----------------------------------------------------------------------------
 
 // The Gmsh C++ API is entirely defined in the `gmsh.h' header (which contains
 // the full documentation of all the functions in the API):
diff --git a/tutorial/c++/t10.cpp b/tutorial/c++/t10.cpp
index bebefee5c5..5a0829bda4 100644
--- a/tutorial/c++/t10.cpp
+++ b/tutorial/c++/t10.cpp
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh C++ tutorial 10
- *
- *  General mesh size fields
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh C++ tutorial 10
+//
+//  General mesh size fields
+//
+// -----------------------------------------------------------------------------
 
 // In addition to specifying target mesh sizes at the points of the geometry
 // (see `t1.cpp') or using a background mesh (see `t7.cppq'), you can use
diff --git a/tutorial/c++/t11.cpp b/tutorial/c++/t11.cpp
index 18889509e5..3a723f35c9 100644
--- a/tutorial/c++/t11.cpp
+++ b/tutorial/c++/t11.cpp
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh C++ tutorial 11
- *
- *  Unstructured quadrangular meshes
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh C++ tutorial 11
+//
+//  Unstructured quadrangular meshes
+//
+// -----------------------------------------------------------------------------
 
 #include <gmsh.h>
 
diff --git a/tutorial/c++/t12.cpp b/tutorial/c++/t12.cpp
index 9ce5596deb..6a50a3378a 100644
--- a/tutorial/c++/t12.cpp
+++ b/tutorial/c++/t12.cpp
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh C++ tutorial 12
- *
- *  Cross-patch meshing with compounds
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh C++ tutorial 12
+//
+//  Cross-patch meshing with compounds
+//
+// -----------------------------------------------------------------------------
 
 // "Compound" meshing constraints allow to generate meshes across surface
 // boundaries, which can be useful e.g. for imported CAD models (e.g. STEP) with
diff --git a/tutorial/c++/t13.cpp b/tutorial/c++/t13.cpp
index 2a9d78623d..859d5faa2b 100644
--- a/tutorial/c++/t13.cpp
+++ b/tutorial/c++/t13.cpp
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh C++ tutorial 13
- *
- *  Remeshing without an underlying CAD model
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh C++ tutorial 13
+//
+//  Remeshing without an underlying CAD model
+//
+// -----------------------------------------------------------------------------
 
 #include <gmsh.h>
 #include <math.h>
diff --git a/tutorial/c++/t14.cpp b/tutorial/c++/t14.cpp
index c051fac582..2bbad4f70d 100644
--- a/tutorial/c++/t14.cpp
+++ b/tutorial/c++/t14.cpp
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh C++ tutorial 14
- *
- *  Homology and cohomology computation
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh C++ tutorial 14
+//
+//  Homology and cohomology computation
+//
+// -----------------------------------------------------------------------------
 
 // Homology computation in Gmsh finds representative chains of (relative)
 // (co)homology space bases using a mesh of a model.  The representative basis
diff --git a/tutorial/c++/t15.cpp b/tutorial/c++/t15.cpp
index 300d103b25..e753519f92 100644
--- a/tutorial/c++/t15.cpp
+++ b/tutorial/c++/t15.cpp
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh C++ tutorial 15
- *
- *  Embedded points, lines and surfaces
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh C++ tutorial 15
+//
+//  Embedded points, lines and surfaces
+//
+// -----------------------------------------------------------------------------
 
 // By default, across geometrical dimensions meshes generated by Gmsh are only
 // conformal if lower dimensional entities are on the boundary of higher
diff --git a/tutorial/c++/t16.cpp b/tutorial/c++/t16.cpp
index b249fc2095..176108759b 100644
--- a/tutorial/c++/t16.cpp
+++ b/tutorial/c++/t16.cpp
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh C++ tutorial 16
- *
- *  Constructive Solid Geometry, OpenCASCADE geometry kernel
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh C++ tutorial 16
+//
+//  Constructive Solid Geometry, OpenCASCADE geometry kernel
+//
+// -----------------------------------------------------------------------------
 
 // Instead of constructing a model in a bottom-up fashion with Gmsh's built-in
 // geometry kernel, starting with version 3 Gmsh allows you to directly use
diff --git a/tutorial/c++/t17.cpp b/tutorial/c++/t17.cpp
index 5bcd7c4ea7..80ab1217dd 100644
--- a/tutorial/c++/t17.cpp
+++ b/tutorial/c++/t17.cpp
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh C++ tutorial 17
- *
- *  Anisotropic background mesh
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh C++ tutorial 17
+//
+//  Anisotropic background mesh
+//
+// -----------------------------------------------------------------------------
 
 // Characteristic lengths can be specified very accurately by providing a
 // background mesh, i.e., a post-processing view that contains the target mesh
diff --git a/tutorial/c++/t18.cpp b/tutorial/c++/t18.cpp
index b95f1194e5..5792725675 100644
--- a/tutorial/c++/t18.cpp
+++ b/tutorial/c++/t18.cpp
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh GEO tutorial 18
- *
- *  Periodic meshes
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh C++ tutorial 18
+//
+//  Periodic meshes
+//
+// -----------------------------------------------------------------------------
 
 // Periodic meshing constraints can be imposed on surfaces and curves.
 
diff --git a/tutorial/c++/t19.cpp b/tutorial/c++/t19.cpp
index 8bce0ce45d..6de926daef 100644
--- a/tutorial/c++/t19.cpp
+++ b/tutorial/c++/t19.cpp
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh GEO tutorial 19
- *
- *  Thrusections, fillets, pipes, mesh size from curvature
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh C++ tutorial 19
+//
+//  Thrusections, fillets, pipes, mesh size from curvature
+//
+// -----------------------------------------------------------------------------
 
 // The OpenCASCADE geometry kernel supports several useful features for solid
 // modelling.
diff --git a/tutorial/c++/t2.cpp b/tutorial/c++/t2.cpp
index eccaa7ce2c..07e9256c6f 100644
--- a/tutorial/c++/t2.cpp
+++ b/tutorial/c++/t2.cpp
@@ -1,11 +1,11 @@
-/*******************************************************************************
- *
- *  Gmsh C++ tutorial 2
- *
- *  Geometrical transformations, extruded geometries, elementary entities
- *  (volumes), physical groups (volumes)
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh C++ tutorial 2
+//
+//  Geometrical transformations, extruded geometries, elementary entities
+//  (volumes), physical groups (volumes)
+//
+// -----------------------------------------------------------------------------
 
 #include <gmsh.h>
 
diff --git a/tutorial/c++/t3.cpp b/tutorial/c++/t3.cpp
index 5fb4e9ed67..97aace0c7d 100644
--- a/tutorial/c++/t3.cpp
+++ b/tutorial/c++/t3.cpp
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh C++ tutorial 3
- *
- *  Extruded meshes, options
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh C++ tutorial 3
+//
+//  Extruded meshes, options
+//
+// -----------------------------------------------------------------------------
 
 #include <cmath>
 #include <gmsh.h>
diff --git a/tutorial/c++/t4.cpp b/tutorial/c++/t4.cpp
index 26412f5a12..2bc86f762a 100644
--- a/tutorial/c++/t4.cpp
+++ b/tutorial/c++/t4.cpp
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh C++ tutorial 4
- *
- *  Holes in surfaces, annotations, entity colors
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh C++ tutorial 4
+//
+//  Holes in surfaces, annotations, entity colors
+//
+// -----------------------------------------------------------------------------
 
 #include <math.h>
 #include <gmsh.h>
diff --git a/tutorial/c++/t5.cpp b/tutorial/c++/t5.cpp
index 2cede4f98b..79b25d6ab1 100644
--- a/tutorial/c++/t5.cpp
+++ b/tutorial/c++/t5.cpp
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh C++ tutorial 5
- *
- *  Characteristic lengths, holes in volumes
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh C++ tutorial 5
+//
+//  Characteristic lengths, holes in volumes
+//
+// -----------------------------------------------------------------------------
 
 #include <gmsh.h>
 #include <cstdio>
diff --git a/tutorial/c++/t6.cpp b/tutorial/c++/t6.cpp
index 9461debb77..3e8d27392b 100644
--- a/tutorial/c++/t6.cpp
+++ b/tutorial/c++/t6.cpp
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh C++ tutorial 6
- *
- *  Transfinite meshes
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh C++ tutorial 6
+//
+//  Transfinite meshes
+//
+// -----------------------------------------------------------------------------
 
 #include <gmsh.h>
 
diff --git a/tutorial/c++/t7.cpp b/tutorial/c++/t7.cpp
index 43914abd9f..ff5abf7b4d 100644
--- a/tutorial/c++/t7.cpp
+++ b/tutorial/c++/t7.cpp
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh C++ tutorial 7
- *
- *  Background mesh
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh C++ tutorial 7
+//
+//  Background mesh
+//
+// -----------------------------------------------------------------------------
 
 #include <gmsh.h>
 
diff --git a/tutorial/c++/t8.cpp b/tutorial/c++/t8.cpp
index 96944b5fae..2d7fe5efe2 100644
--- a/tutorial/c++/t8.cpp
+++ b/tutorial/c++/t8.cpp
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh C++ tutorial 8
- *
- *  Post-processing, animations, options
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh C++ tutorial 8
+//
+//  Post-processing, animations, options
+//
+// -----------------------------------------------------------------------------
 
 #include <gmsh.h>
 
diff --git a/tutorial/c++/t9.cpp b/tutorial/c++/t9.cpp
index a2071b8670..52514a1734 100644
--- a/tutorial/c++/t9.cpp
+++ b/tutorial/c++/t9.cpp
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh C++ tutorial 9
- *
- *  Post-processing plugins (levelsets, sections, annotations)
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh C++ tutorial 9
+//
+//  Post-processing plugins (levelsets, sections, annotations)
+//
+// -----------------------------------------------------------------------------
 
 // Plugins can be added to Gmsh in order to extend its capabilities. For
 // example, post-processing plugins can modify views, or create new views based
diff --git a/tutorial/c++/x1.cpp b/tutorial/c++/x1.cpp
index c44ffe4486..b6a5a0f790 100644
--- a/tutorial/c++/x1.cpp
+++ b/tutorial/c++/x1.cpp
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh C++ extended tutorial 1
- *
- *  Accessing geometrical and mesh data
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh C++ extended tutorial 1
+//
+//  Accessing geometrical and mesh data
+//
+// -----------------------------------------------------------------------------
 
 // The C++ API allows to do much more than what can be done in .geo files. These
 // additional features are introduced gradually in the extended tutorials,
diff --git a/tutorial/c/t1.c b/tutorial/c/t1.c
index 4be9ce9d13..8435c419ff 100644
--- a/tutorial/c/t1.c
+++ b/tutorial/c/t1.c
@@ -1,11 +1,11 @@
-/*******************************************************************************
- *
- *  Gmsh C++ tutorial 1
- *
- *  Elementary entities (points, curves, surfaces), physical groups (points,
- *  curves, surfaces)
- *
- *******************************************************************************/
+/* ---------------------------------------------------------------------------
+
+   Gmsh C tutorial 1
+
+   Elementary entities (points, curves, surfaces), physical groups (points,
+   curves, surfaces)
+
+   --------------------------------------------------------------------------- */
 
 /* The Gmsh C API is entirely defined in the `gmshc.h' header (which contains
    the full documentation of all the functions in the API): */
diff --git a/tutorial/t1.geo b/tutorial/t1.geo
index 69061da7a0..777ddddd6c 100644
--- a/tutorial/t1.geo
+++ b/tutorial/t1.geo
@@ -1,11 +1,11 @@
-/*******************************************************************************
- *
- *  Gmsh GEO tutorial 1
- *
- *  Variables, elementary entities (points, curves, surfaces), physical groups
- *  (points, curves, surfaces)
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh GEO tutorial 1
+//
+//  Variables, elementary entities (points, curves, surfaces), physical groups
+//  (points, curves, surfaces)
+//
+// -----------------------------------------------------------------------------
 
 // The simplest construction in Gmsh's scripting language is the
 // `affectation'. The following command defines a new variable `lc':
diff --git a/tutorial/t10.geo b/tutorial/t10.geo
index d241c4ca2b..cd699f0f0e 100644
--- a/tutorial/t10.geo
+++ b/tutorial/t10.geo
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh GEO tutorial 10
- *
- *  General mesh size fields
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh GEO tutorial 10
+//
+//  General mesh size fields
+//
+// -----------------------------------------------------------------------------
 
 // In addition to specifying target mesh sizes at the points of the geometry
 // (see `t1.geo') or using a background mesh (see `t7.geo'), you can use general
diff --git a/tutorial/t11.geo b/tutorial/t11.geo
index 73f05f6db5..55eb82f099 100644
--- a/tutorial/t11.geo
+++ b/tutorial/t11.geo
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh GEO tutorial 11
- *
- *  Unstructured quadrangular meshes
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh GEO tutorial 11
+//
+//  Unstructured quadrangular meshes
+//
+// -----------------------------------------------------------------------------
 
 // We have seen in tutorials `t3.geo' and `t6.geo' that extruded and transfinite
 // meshes can be "recombined" into quads/prisms/hexahedra by using the
diff --git a/tutorial/t12.geo b/tutorial/t12.geo
index ff2e727e41..c285dd788c 100644
--- a/tutorial/t12.geo
+++ b/tutorial/t12.geo
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh GEO tutorial 12
- *
- *  Cross-patch meshing with compounds
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh GEO tutorial 12
+//
+//  Cross-patch meshing with compounds
+//
+// -----------------------------------------------------------------------------
 
 // "Compound" meshing constraints allow to generate meshes across surface
 // boundaries, which can be useful e.g. for imported CAD models (e.g. STEP) with
diff --git a/tutorial/t13.geo b/tutorial/t13.geo
index 4745184426..68f1bfa49f 100644
--- a/tutorial/t13.geo
+++ b/tutorial/t13.geo
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh GEO tutorial 13
- *
- *  Remeshing without an underlying CAD model
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh GEO tutorial 13
+//
+//  Remeshing without an underlying CAD model
+//
+// -----------------------------------------------------------------------------
 
 // Let's merge an STL mesh that we would like to remesh.
 Merge "t13_data.stl";
diff --git a/tutorial/t14.geo b/tutorial/t14.geo
index dbc203d401..8b05e83f6c 100644
--- a/tutorial/t14.geo
+++ b/tutorial/t14.geo
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh GEO tutorial 14
- *
- *  Homology and cohomology computation
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh GEO tutorial 14
+//
+//  Homology and cohomology computation
+//
+// -----------------------------------------------------------------------------
 
 // Homology computation in Gmsh finds representative chains of (relative)
 // (co)homology space bases using a mesh of a model.  The representative basis
diff --git a/tutorial/t15.geo b/tutorial/t15.geo
index 4112adba08..6c04979ee5 100644
--- a/tutorial/t15.geo
+++ b/tutorial/t15.geo
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh GEO tutorial 15
- *
- *  Embedded points, lines and surfaces
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh GEO tutorial 15
+//
+//  Embedded points, lines and surfaces
+//
+// -----------------------------------------------------------------------------
 
 // By default, across geometrical dimensions meshes generated by Gmsh are only
 // conformal if lower dimensional entities are on the boundary of higher
diff --git a/tutorial/t16.geo b/tutorial/t16.geo
index 596667cf92..16663c8f7c 100644
--- a/tutorial/t16.geo
+++ b/tutorial/t16.geo
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh GEO tutorial 16
- *
- *  Constructive Solid Geometry, OpenCASCADE geometry kernel
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh GEO tutorial 16
+//
+//  Constructive Solid Geometry, OpenCASCADE geometry kernel
+//
+// -----------------------------------------------------------------------------
 
 // Instead of constructing a model in a bottom-up fashion with Gmsh's built-in
 // geometry kernel, starting with version 3 Gmsh allows you to directly use
diff --git a/tutorial/t17.geo b/tutorial/t17.geo
index c892dc9501..6ff9e6acbc 100644
--- a/tutorial/t17.geo
+++ b/tutorial/t17.geo
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh GEO tutorial 17
- *
- *  Anisotropic background mesh
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh GEO tutorial 17
+//
+//  Anisotropic background mesh
+//
+// -----------------------------------------------------------------------------
 
 // Characteristic lengths can be specified very accurately by providing a
 // background mesh, i.e., a post-processing view that contains the target mesh
diff --git a/tutorial/t17_bgmesh.pos b/tutorial/t17_bgmesh.pos
index 2a9389208b..0db0bf0a3a 100644
--- a/tutorial/t17_bgmesh.pos
+++ b/tutorial/t17_bgmesh.pos
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh tutorial 17 - appendix
- *
- *  2D tensorial background mesh (in parsed format)
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh tutorial 17 - appendix
+//
+//  2D tensorial background mesh (in parsed format)
+//
+// -----------------------------------------------------------------------------
 
 View "nodalMetric" {
 TT(0.980881,0.6673,0,0.95919,0.664142,0,0.969955,0.647382,0){846.074,423.287,0, 423.287,545.094,0, 0,0,1.0,1077.66,582.948,0, 582.948,636.635,0, 0,0,1.0,1138.83,577.146,0, 577.146,646.44,0, 0,0,1.0};
diff --git a/tutorial/t18.geo b/tutorial/t18.geo
index 02a454fc6e..d9e316eb98 100644
--- a/tutorial/t18.geo
+++ b/tutorial/t18.geo
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh GEO tutorial 18
- *
- *  Periodic meshes
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh GEO tutorial 18
+//
+//  Periodic meshes
+//
+// -----------------------------------------------------------------------------
 
 // Periodic meshing constraints can be imposed on surfaces and curves.
 
diff --git a/tutorial/t19.geo b/tutorial/t19.geo
index 86ec2e70fe..838ace22c9 100644
--- a/tutorial/t19.geo
+++ b/tutorial/t19.geo
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh GEO tutorial 19
- *
- *  Thrusections, fillets, pipes, mesh size from curvature
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh GEO tutorial 19
+//
+//  Thrusections, fillets, pipes, mesh size from curvature
+//
+// -----------------------------------------------------------------------------
 
 // The OpenCASCADE geometry kernel supports several useful features for solid
 // modelling.
diff --git a/tutorial/t2.geo b/tutorial/t2.geo
index 4347084199..39863e799e 100644
--- a/tutorial/t2.geo
+++ b/tutorial/t2.geo
@@ -1,11 +1,11 @@
-/*******************************************************************************
- *
- *  Gmsh GEO tutorial 2
- *
- *  Includes, geometrical transformations, extruded geometries, elementary
- *  entities (volumes), physical groups (volumes)
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh GEO tutorial 2
+//
+//  Includes, geometrical transformations, extruded geometries, elementary
+//  entities (volumes), physical groups (volumes)
+//
+// -----------------------------------------------------------------------------
 
 // We first include the previous tutorial file, in order to use it as a basis
 // for this one. Including a file is equivalent to copy-pasting its contents:
diff --git a/tutorial/t3.geo b/tutorial/t3.geo
index baaac2b54f..aff0d5cccb 100644
--- a/tutorial/t3.geo
+++ b/tutorial/t3.geo
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh GEO tutorial 3
- *
- *  Extruded meshes, parameters, options
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh GEO tutorial 3
+//
+//  Extruded meshes, parameters, options
+//
+// -----------------------------------------------------------------------------
 
 // Again, we start by including the first tutorial:
 
diff --git a/tutorial/t4.geo b/tutorial/t4.geo
index 595e88c439..d1822712ef 100644
--- a/tutorial/t4.geo
+++ b/tutorial/t4.geo
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh GEO tutorial 4
- *
- *  Built-in functions, holes in surfaces, annotations, entity colors
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh GEO tutorial 4
+//
+//  Built-in functions, holes in surfaces, annotations, entity colors
+//
+// -----------------------------------------------------------------------------
 
 // As usual, we start by defining some variables:
 
diff --git a/tutorial/t5.geo b/tutorial/t5.geo
index afb839969a..23efcceb17 100644
--- a/tutorial/t5.geo
+++ b/tutorial/t5.geo
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh GEO tutorial 5
- *
- *  Characteristic lengths, macros, loops, holes in volumes
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh GEO tutorial 5
+//
+//  Characteristic lengths, macros, loops, holes in volumes
+//
+// -----------------------------------------------------------------------------
 
 // We start by defining some target mesh sizes:
 
diff --git a/tutorial/t6.geo b/tutorial/t6.geo
index 9accfee7ed..1b95f47add 100644
--- a/tutorial/t6.geo
+++ b/tutorial/t6.geo
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh GEO tutorial 6
- *
- *  Transfinite meshes
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh GEO tutorial 6
+//
+//  Transfinite meshes
+//
+// -----------------------------------------------------------------------------
 
 // Let's use the geometry from the first tutorial as a basis for this one:
 Include "t1.geo";
diff --git a/tutorial/t7.geo b/tutorial/t7.geo
index 3d6d4d53ff..2d38addcfc 100644
--- a/tutorial/t7.geo
+++ b/tutorial/t7.geo
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh GEO tutorial 7
- *
- *  Background mesh
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh GEO tutorial 7
+//
+//  Background mesh
+//
+// -----------------------------------------------------------------------------
 
 // Mesh sizes can be specified very accurately by providing a background mesh,
 // i.e., a post-processing view that contains the target characteristic lengths.
diff --git a/tutorial/t7_bgmesh.pos b/tutorial/t7_bgmesh.pos
index 07df46f3b1..764074f825 100644
--- a/tutorial/t7_bgmesh.pos
+++ b/tutorial/t7_bgmesh.pos
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh tutorial 7 - appendix
- *
- *  2D scalar background mesh (in parsed format)
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh tutorial 7 - appendix
+//
+//  2D scalar background mesh (in parsed format)
+//
+// -----------------------------------------------------------------------------
 
 // This post-processing view contains scalar triangles. The values represent the
 // target characteristic mesh element sizes to be applied to the first tutorial,
diff --git a/tutorial/t8.geo b/tutorial/t8.geo
index 7ce8df980d..995e34cb76 100644
--- a/tutorial/t8.geo
+++ b/tutorial/t8.geo
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh GEO tutorial 8
- *
- *  Post-processing, scripting, animations, options
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh GEO tutorial 8
+//
+//  Post-processing, scripting, animations, options
+//
+// -----------------------------------------------------------------------------
 
 // In addition to creating geometries and meshes, GEO scripts can also be used
 // to manipulate post-processing datasets (called "views" in Gmsh).
diff --git a/tutorial/t9.geo b/tutorial/t9.geo
index 6bfb71e3fc..e5dd81aea6 100644
--- a/tutorial/t9.geo
+++ b/tutorial/t9.geo
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh GEO tutorial 9
- *
- *  Post-processing plugins (levelsets, sections, annotations)
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh GEO tutorial 9
+//
+//  Post-processing plugins (levelsets, sections, annotations)
+//
+// -----------------------------------------------------------------------------
 
 // Plugins can be added to Gmsh in order to extend its capabilities. For
 // example, post-processing plugins can modify views, or create new views based
diff --git a/tutorial/view1.pos b/tutorial/view1.pos
index 670936914b..39dc65b3f6 100644
--- a/tutorial/view1.pos
+++ b/tutorial/view1.pos
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh tutorial 1 - appendix 1
- *
- *  Scalar post-processing view (in parsed format)
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh tutorial 1 - appendix 1
+//
+//  Scalar post-processing view (in parsed format)
+//
+// -----------------------------------------------------------------------------
 
 // This view contains a scalar field defined on triangles. There are 5 time
 // steps, i.e. 3*5 = 15 values for each triangle.
diff --git a/tutorial/view2.pos b/tutorial/view2.pos
index 43639ea695..b8f28f4d46 100644
--- a/tutorial/view2.pos
+++ b/tutorial/view2.pos
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh tutorial 1 - appendix 2
- *
- *  Vector post-processing view (in parsed format)
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh tutorial 1 - appendix 2
+//
+//  Vector post-processing view (in parsed format)
+//
+// -----------------------------------------------------------------------------
 
 // This view contains a vector field defined on points, with 5 time steps.
 
diff --git a/tutorial/view3.pos b/tutorial/view3.pos
index 3ea4b8cf41..aaf2b7ead2 100644
--- a/tutorial/view3.pos
+++ b/tutorial/view3.pos
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh tutorial 1 - appendix 3
- *
- *  Scalar 3D post-processing view (in parsed format)
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh tutorial 1 - appendix 3
+//
+//  Scalar 3D post-processing view (in parsed format)
+//
+// -----------------------------------------------------------------------------
 
 // This view contains a scalar field defined on tetrahedra.
 
diff --git a/tutorial/view4.pos b/tutorial/view4.pos
index 3ab9ac3aa4..2723dbac96 100644
--- a/tutorial/view4.pos
+++ b/tutorial/view4.pos
@@ -1,10 +1,10 @@
-/*******************************************************************************
- *
- *  Gmsh tutorial 1 - appendix 4
- *
- *  2D graphs, text annotations (in parsed format)
- *
- *******************************************************************************/
+// -----------------------------------------------------------------------------
+//
+//  Gmsh tutorial 1 - appendix 4
+//
+//  2D graphs, text annotations (in parsed format)
+//
+// -----------------------------------------------------------------------------
 
 View "e" {
 SP(0.05,0,0){3878262,3878766.4,3880412.5,3882811.2,3885521.1};
-- 
GitLab