diff --git a/Parser/OpenFile.cpp b/Parser/OpenFile.cpp index 416be12b59be1781f5bbc641215d5c9c9ff4901e..49f04aa9eb41084133cef11c2a004e6aef0067b5 100644 --- a/Parser/OpenFile.cpp +++ b/Parser/OpenFile.cpp @@ -1,4 +1,4 @@ -// $Id: OpenFile.cpp,v 1.19 2001-08-11 23:28:34 geuzaine Exp $ +// $Id: OpenFile.cpp,v 1.20 2001-09-06 05:25:19 geuzaine Exp $ #include "Gmsh.h" #include "Numeric.h" @@ -111,6 +111,9 @@ void OpenProblem(char *name){ InitSymbols(); Init_Mesh(&M, 1); + // Initialize pseudo random mesh generator to the same seed + srand(1); + ParseString(TheOptString); strncpy(CTX.filename,name,255);