Skip to content
Snippets Groups Projects
Commit 26b4fce6 authored by Boman Romain's avatar Boman Romain
Browse files

Merge branch 'boman' of gitlab.uliege.be:R.Boman/louis into boman

parents 4fcea1a3 9d824cbc
No related branches found
No related tags found
2 merge requests!7Coupling,!5Optimization du code FEM
......@@ -763,7 +763,12 @@ int main(int argc, char **argv)
return 0;
}
// If compiled
// with OpenMP support, it also sets the number of threads to
// "General.NumThreads".
int nthreads = omp_get_max_threads();
gmsh::initialize();
omp_set_num_threads(nthreads);
gmsh::open(argv[1]);
gmsh::model::mesh::generate(2);
......
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