From: bangerth Date: Mon, 22 Feb 2010 21:37:09 +0000 (+0000) Subject: Several doc fixes kindly pointed out by Guido. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c64509c3d709ebd0d18e5eff290c43662042ed1a;p=dealii-svn.git Several doc fixes kindly pointed out by Guido. git-svn-id: https://svn.dealii.org/trunk@20674 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/doxygen/headers/multithreading.h b/deal.II/doc/doxygen/headers/multithreading.h index a12dfc49af..4a3368bb64 100644 --- a/deal.II/doc/doxygen/headers/multithreading.h +++ b/deal.II/doc/doxygen/headers/multithreading.h @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2006, 2008, 2009 by the deal.II authors +// Copyright (C) 2006, 2008, 2009, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -683,8 +683,7 @@ template void MyClass::assemble_system () { - WorkStream work_stream; - work_stream.run (dof_handler.begin_active(), + WorkStream::run (dof_handler.begin_active(), dof_handler.end(), *this, &MyClass::assemble_on_one_cell); @@ -850,8 +849,7 @@ PerTaskData per_task_data; ...initialize members of per_task_data to the correct sizes... - WorkStream work_stream; - work_stream.run (dof_handler.begin_active(), + WorkStream::run (dof_handler.begin_active(), dof_handler.end(), *this, &MyClass::assemble_on_one_cell, @@ -982,14 +980,14 @@ * respectively. So, in other words, the following two calls are exactly * identical: * @code - work_stream.run (dof_handler.begin_active(), + WorkStream::run (dof_handler.begin_active(), dof_handler.end(), *this, &MyClass::assemble_on_one_cell, &MyClass::copy_local_to_global, per_task_data); // ...is the same as: - work_stream.run (dof_handler.begin_active(), + WorkStream::run (dof_handler.begin_active(), dof_handler.end(), boost::bind(&MyClass::assemble_on_one_cell, *this, _1, _2, _3), boost::bind(&MyClass::copy_local_to_global, *this, _1), @@ -1023,7 +1021,7 @@ * and third the ScratchData and PerTaskData objects, we need to pass the following * to it: * @code - work_stream.run (dof_handler.begin_active(), + WorkStream::run (dof_handler.begin_active(), dof_handler.end(), boost::bind(&MyClass::assemble_on_one_cell, *this,