[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [12666] branches/cloth/blender/intern/ elbeem/intern/solver_main.cpp: little debug output for MT fluid

Daniel Genrich daniel.genrich at gmx.net
Sun Nov 25 04:46:42 CET 2007


Revision: 12666
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=12666
Author:   genscher
Date:     2007-11-25 04:46:41 +0100 (Sun, 25 Nov 2007)

Log Message:
-----------
little debug output for MT fluid

Modified Paths:
--------------
    branches/cloth/blender/intern/elbeem/intern/solver_main.cpp

Modified: branches/cloth/blender/intern/elbeem/intern/solver_main.cpp
===================================================================
--- branches/cloth/blender/intern/elbeem/intern/solver_main.cpp	2007-11-24 22:49:56 UTC (rev 12665)
+++ branches/cloth/blender/intern/elbeem/intern/solver_main.cpp	2007-11-25 03:46:41 UTC (rev 12666)
@@ -363,8 +363,10 @@
 
 	const int cutMin  = 1;
 	const int cutConst = mCutoff+2;
+#if PARALLEL==1
+	printf("omp_get_num_threads: %d\n", omp_get_num_threads());
+#endif
 
-
 #	if LBM_INCLUDE_TESTSOLVERS==1
 	// 3d region off... quit
 	if((mUseTestdata)&&(mpTest->mFarfMode>0)) { return; }





More information about the Bf-blender-cvs mailing list