Skip to content
Snippets Groups Projects
Commit 999dafa2 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

srand

parent 80bc10e8
No related branches found
No related tags found
No related merge requests found
// $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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment