From 4841a5d1fd8e051eae7a2164eff43a04420203fa Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Thu, 1 Oct 2009 19:21:25 +0000 Subject: [PATCH] Adapt the number of worker threads to the number of threads. git-svn-id: https://svn.dealii.org/trunk@19644 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-37/step-37.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/examples/step-37/step-37.cc b/deal.II/examples/step-37/step-37.cc index c6e7d51f82..4843001592 100644 --- a/deal.II/examples/step-37/step-37.cc +++ b/deal.II/examples/step-37/step-37.cc @@ -616,7 +616,7 @@ MatrixFree::vmult_add (Vector &dst, this, _1, boost::ref(dst)), WorkStreamData::ScratchData(), WorkStreamData::CopyData(), - 4,1); + 2*multithread_info.n_default_threads,1); // One thing to be cautious about: The // deal.II classes expect that the matrix -- 2.39.5