From: bangerth Date: Fri, 19 Jul 2013 16:04:06 +0000 (+0000) Subject: Minor cleanup. The initialization of ring buffer elements is now no longer expensive. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15f92c00ffae337e491e9764d888fea5166b4bd6;p=dealii-svn.git Minor cleanup. The initialization of ring buffer elements is now no longer expensive. git-svn-id: https://svn.dealii.org/trunk@30059 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/base/work_stream.h b/deal.II/include/deal.II/base/work_stream.h index c4623adc18..d4c9f9f619 100644 --- a/deal.II/include/deal.II/base/work_stream.h +++ b/deal.II/include/deal.II/base/work_stream.h @@ -290,19 +290,19 @@ namespace WorkStream n_emitted_items (0), chunk_size (chunk_size) { - // initialize copies of - // additional_data. since - // this is frequently - // expensive (creating - // FEValues objects etc) do - // that in parallel - Threads::TaskGroup<> tasks; - for (unsigned int i=0; i