From 2fc2a76dccdc4049c024e3cee57c3d26b1acd70d Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Sun, 23 Jun 2013 07:38:35 +0000
Subject: [PATCH]

---
 demos/sphere.geo      | 8 +++++---
 doc/texinfo/gmsh.texi | 2 +-
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/demos/sphere.geo b/demos/sphere.geo
index b8654b81b2..ca63d179db 100644
--- a/demos/sphere.geo
+++ b/demos/sphere.geo
@@ -1,4 +1,6 @@
-lc = .2;
+Mesh.Algorithm = 6;
+
+lc = .55;
 Point(1) = {0.0,0.0,0.0,lc};
 Point(2) = {1,0.0,0.0,lc};
 Point(3) = {0,1,0.0,lc};
@@ -37,5 +39,5 @@ Ruled Surface(28) = {27};
 Surface Loop(29) = {28,26,16,14,20,24,22,18};
 Volume(30) = {29};
 
-// try also netgen:
-// Mesh.Algorithm3D = 4;
+Physical Surface(1) = {28,26,16,14,20,24,22,18};
+Physical Volume(2) = 30;
diff --git a/doc/texinfo/gmsh.texi b/doc/texinfo/gmsh.texi
index 64cf3b4ce5..9bbf53e6f6 100644
--- a/doc/texinfo/gmsh.texi
+++ b/doc/texinfo/gmsh.texi
@@ -3257,7 +3257,7 @@ map instead of a vector to access nodes and elements. The performance
 hit is on speed. For post-processing datasets, which always use vectors
 to access data, the performance hit is on memory. A @code{NodeData} with
 two nodes, tagged 1 and 1000000, will allocate a (mostly empty) vector
-of 1000001 elements.
+of 1000000 elements.
 
 Any section with an unrecognized header is simply ignored: you can thus
 add comments in a @file{.msh} file by putting them e.g. inside a
-- 
GitLab