From: kronbichler Date: Thu, 1 Oct 2009 19:21:25 +0000 (+0000) Subject: Adapt the number of worker threads to the number of threads. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17bb6db99e4f55f97f5018cee1babd0966827d1f;p=dealii-svn.git 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 --- 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