From c0c34f9744490d7fe434463d8a4890c5ffed3375 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 12 Dec 2003 16:54:38 +0000 Subject: [PATCH] Removed extra arg for Init_Mesh --- Mesh/Generator.cpp | 4 ++-- Mesh/Mesh.h | 2 +- Parser/Gmsh.y | 4 ++-- Parser/OpenFile.cpp | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Mesh/Generator.cpp b/Mesh/Generator.cpp index 47052c8a16..6938a988be 100644 --- a/Mesh/Generator.cpp +++ b/Mesh/Generator.cpp @@ -1,4 +1,4 @@ -// $Id: Generator.cpp,v 1.46 2003-12-07 00:23:07 geuzaine Exp $ +// $Id: Generator.cpp,v 1.47 2003-12-12 16:54:38 geuzaine Exp $ // // Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle // @@ -170,7 +170,7 @@ void Maillage_Dimension_3(Mesh * M) } -void Init_Mesh(Mesh * M, int all) +void Init_Mesh(Mesh * M) { THEM = M; diff --git a/Mesh/Mesh.h b/Mesh/Mesh.h index b7e7276b0b..f2bdaf6076 100644 --- a/Mesh/Mesh.h +++ b/Mesh/Mesh.h @@ -468,7 +468,7 @@ struct Map{ void mai3d (Mesh * M, int Asked); -void Init_Mesh (Mesh * M, int all); +void Init_Mesh (Mesh * M); void Create_BgMesh (int i, double d, Mesh * m); void Print_Geo (Mesh * M, char *c); void Print_Mesh (Mesh * M, char *c, int Type); diff --git a/Parser/Gmsh.y b/Parser/Gmsh.y index 2e214e2c11..59f4631931 100644 --- a/Parser/Gmsh.y +++ b/Parser/Gmsh.y @@ -1,5 +1,5 @@ %{ -// $Id: Gmsh.y,v 1.154 2003-12-11 18:37:53 geuzaine Exp $ +// $Id: Gmsh.y,v 1.155 2003-12-12 16:54:38 geuzaine Exp $ // // Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle // @@ -1941,7 +1941,7 @@ Delete : | tDelete tSTRING tEND { if(!strcmp($2, "Meshes") || !strcmp($2, "All")) - Init_Mesh(THEM, 1); + Init_Mesh(THEM); } ; diff --git a/Parser/OpenFile.cpp b/Parser/OpenFile.cpp index 8dfda86f82..f4a3955181 100644 --- a/Parser/OpenFile.cpp +++ b/Parser/OpenFile.cpp @@ -1,4 +1,4 @@ -// $Id: OpenFile.cpp,v 1.46 2003-12-07 02:56:34 geuzaine Exp $ +// $Id: OpenFile.cpp,v 1.47 2003-12-12 16:54:38 geuzaine Exp $ // // Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle // @@ -200,7 +200,7 @@ void OpenProblem(char *name) CTX.threads_lock = 1; InitSymbols(); - Init_Mesh(&M, 1); + Init_Mesh(&M); // Initialize pseudo random mesh generator to the same seed srand(1); -- GitLab