Index: /issm/trunk/src/c/Bamgx/Mesh2.h
===================================================================
--- /issm/trunk/src/c/Bamgx/Mesh2.h	(revision 2938)
+++ /issm/trunk/src/c/Bamgx/Mesh2.h	(revision 2939)
@@ -254,5 +254,5 @@
 			int flag ;
 		public: 
-			GeometricalEdge * link; // if   Cracked() or Equi()
+			GeometricalEdge* link; // if   Cracked() or Equi()
 
 			// end of data 
@@ -718,4 +718,5 @@
 			}
 
+			//Genetare mesh from geometry
 			Triangles(Int4 nbvx,Geometry & G) :Gh(G),BTh(*this){
 				try { GeomToTriangles0(nbvx);}
Index: /issm/trunk/src/c/Bamgx/objects/Triangles.cpp
===================================================================
--- /issm/trunk/src/c/Bamgx/objects/Triangles.cpp	(revision 2938)
+++ /issm/trunk/src/c/Bamgx/objects/Triangles.cpp	(revision 2939)
@@ -3131,4 +3131,5 @@
 		PreInit(inbvx);
 
+		//build background mesh flag (1 if background, else 0)
 		int  background = &BTh != this;
 		nbv=0;
@@ -3136,5 +3137,5 @@
 		NbVerticesOnGeomEdge=0;
 
-		//Compute bumber of vertices on geometrical vertex
+		//Compute number of vertices on geometrical vertex
 		for (i=0;i<Gh.nbv;i++){
 			if (Gh[i].Required() && Gh[i].IsThe() ) NbVerticesOnGeomVertex++;
@@ -3150,4 +3151,8 @@
 		nbv=0;
 		for (i=0;i<Gh.nbv;i++){
+			/*Add vertex only if required and not duplicate 
+			 * (IsThe is a method of GeometricalVertex that checks
+			 * that we are taking into acount only one vertex is
+			 * 2 vertices are superimposed) */
 			if (Gh[i].Required() && Gh[i].IsThe()) {//Gh  vertices Required
 				if (nbv<nbvx) vertices[nbv]=Gh[i];
