Elbeem: Use pragma directive instead of overriding number of omp threads
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 27 Sep 2013 18:55:15 +0000 (18:55 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 27 Sep 2013 18:55:15 +0000 (18:55 +0000)
commit16da43ef19034e885324299715ab4972b1a9d181
tree48db41c924bc24fe46a8504b4a6217c95e8d05a7
parent9745d39eff2d83073638717946cf8f5ee23f4710
Elbeem: Use pragma directive instead of overriding number of omp threads

Global OpenMP threads override is not a good idea because this would affect
all possible OpenMP blocks running at the same time as simulation.

And that was actually a big on restoring number of threads: code needed to
store current number of threads, not maximal one.
intern/elbeem/intern/simulation_object.cpp
intern/elbeem/intern/solver_interface.cpp
intern/elbeem/intern/solver_interface.h
intern/elbeem/intern/solver_main.cpp