yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #11515
[Branch ~yade-pkg/yade/git-trunk] Rev 3475: #ifdef guard for openmp function
------------------------------------------------------------
revno: 3475
committer: Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx>
timestamp: Wed 2014-10-15 10:42:28 +0200
message:
#ifdef guard for openmp function
modified:
pkg/pfv/FlowEngine.ipp.in
--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'pkg/pfv/FlowEngine.ipp.in'
--- pkg/pfv/FlowEngine.ipp.in 2014-10-15 06:44:01 +0000
+++ pkg/pfv/FlowEngine.ipp.in 2014-10-15 08:42:28 +0000
@@ -44,9 +44,9 @@
backgroundSolver=solver;
backgroundCompleted=true;
}
- #ifdef YADE_OPENMP
+ #ifdef YADE_OPENMP
solver->ompThreads = ompThreads>0? ompThreads : omp_get_max_threads();
- #endif
+ #endif
timingDeltas->checkpoint ( "Triangulating" );
updateVolumes ( *solver );
timingDeltas->checkpoint ( "Update_Volumes" );