From def4f1a4d0714bb24dd81219dbcc8201e23bc2d6 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@uliege.be> Date: Thu, 27 Oct 2022 10:31:54 +0200 Subject: [PATCH] pp --- tutorials/c++/t10.cpp | 6 +++--- tutorials/fortran/t10.f90 | 4 ++-- tutorials/python/t10.py | 6 +++--- tutorials/t10.geo | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tutorials/c++/t10.cpp b/tutorials/c++/t10.cpp index 29b4bce563..c90020d4f7 100644 --- a/tutorials/c++/t10.cpp +++ b/tutorials/c++/t10.cpp @@ -102,7 +102,7 @@ int main(int argc, char **argv) // complete list. You can also create fields directly in the graphical user // interface by selecting `Define->Size fields' in the `Mesh' module. - // Let's use the minimum of all the fields as the background mesh field: + // Let's use the minimum of all the fields as the background mesh size field: gmsh::model::mesh::field::add("Min", 7); gmsh::model::mesh::field::setNumbers(7, "FieldsList", {2, 3, 5, 6}); @@ -124,7 +124,7 @@ int main(int argc, char **argv) // geometrical points; // 3) if `Mesh.MeshSizeFromCurvature' is positive, the mesh size based on // curvature (the value specifying the number of elements per 2 * pi rad); - // 4) the background mesh field; + // 4) the background mesh size field; // 5) any per-entity mesh size constraint; // // The value can then be further modified by the mesh size callback, if any, @@ -134,7 +134,7 @@ int main(int argc, char **argv) // depending on the value of `Mesh.MeshSizeExtendFromBoundary' (which is set // by default). // - // When the element size is fully specified by a background mesh (as it is in + // When the element size is fully specified by a mesh size field (as it is in // this example), it is thus often desirable to set gmsh::option::setNumber("Mesh.MeshSizeExtendFromBoundary", 0); diff --git a/tutorials/fortran/t10.f90 b/tutorials/fortran/t10.f90 index 960a87fbe8..7c687a616b 100644 --- a/tutorials/fortran/t10.f90 +++ b/tutorials/fortran/t10.f90 @@ -102,7 +102,7 @@ call gmsh%model%mesh%field%setNumber(6, "Thickness", 0.3d0) ! complete list. You can also create fields directly in the graphical user ! interface by selecting `Define->Size fields' in the `Mesh' module. -! Let's use the minimum of all the fields as the background mesh field: +! Let's use the minimum of all the fields as the background mesh size field: ret = gmsh%model%mesh%field%add("Min", 7) call gmsh%model%mesh%field%setNumbers(7, "FieldsList", [2d0, 3d0, 5d0, 6d0]) @@ -128,7 +128,7 @@ call gmsh%model%mesh%setSizeCallback(c_funloc(meshSizeCallback)) ! boundary mesh sizes are interpolated inside surfaces and/or volumes depending ! on the value of `Mesh.MeshSizeExtendFromBoundary' (which is set by default). ! -! When the element size is fully specified by a background mesh (as it is in +! When the element size is fully specified by a mesh size field (as it is in ! this example), it is thus often desirable to set call gmsh%option%setNumber("Mesh.MeshSizeExtendFromBoundary", 0d0) diff --git a/tutorials/python/t10.py b/tutorials/python/t10.py index c92b277565..d8344f5936 100644 --- a/tutorials/python/t10.py +++ b/tutorials/python/t10.py @@ -95,7 +95,7 @@ gmsh.model.mesh.field.setNumber(6, "Thickness", 0.3) # complete list. You can also create fields directly in the graphical user # interface by selecting `Define->Size fields' in the `Mesh' module. -# Let's use the minimum of all the fields as the background mesh field: +# Let's use the minimum of all the fields as the mesh size field: gmsh.model.mesh.field.add("Min", 7) gmsh.model.mesh.field.setNumbers(7, "FieldsList", [2, 3, 5, 6]) @@ -115,7 +115,7 @@ gmsh.model.mesh.setSizeCallback(meshSizeCallback) # points; # 3) if `Mesh.MeshSizeFromCurvature' is positive, the mesh size based on # curvature (the value specifying the number of elements per 2 * pi rad); -# 4) the background mesh field; +# 4) the background mesh size field; # 5) any per-entity mesh size constraint; # # The value can then be further modified by the mesh size callback, if any, @@ -124,7 +124,7 @@ gmsh.model.mesh.setSizeCallback(meshSizeCallback) # boundary mesh sizes are interpolated inside surfaces and/or volumes depending # on the value of `Mesh.MeshSizeExtendFromBoundary' (which is set by default). # -# When the element size is fully specified by a background mesh (as it is in +# When the element size is fully specified by a mesh size field (as it is in # this example), it is thus often desirable to set gmsh.option.setNumber("Mesh.MeshSizeExtendFromBoundary", 0) diff --git a/tutorials/t10.geo b/tutorials/t10.geo index 8e39ea3ba7..a4d40b802e 100644 --- a/tutorials/t10.geo +++ b/tutorials/t10.geo @@ -100,8 +100,8 @@ Background Field = 7; // boundary mesh sizes are interpolated inside surfaces and/or volumes depending // on the value of `Mesh.MeshSizeExtendFromBoundary' (which is set by default). // -// When the element size is fully specified by a background mesh size field (as -// it is in this example), it is thus often desirable to set +// When the element size is fully specified by a mesh size field (as it is in +// this example), it is thus often desirable to set Mesh.MeshSizeExtendFromBoundary = 0; Mesh.MeshSizeFromPoints = 0; -- GitLab