]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Several doc fixes kindly pointed out by Guido.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 22 Feb 2010 21:37:09 +0000 (21:37 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 22 Feb 2010 21:37:09 +0000 (21:37 +0000)
git-svn-id: https://svn.dealii.org/trunk@20674 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/doxygen/headers/multithreading.h

index a12dfc49af4069e12c7170ca84fb08422e978695..4a3368bb64832bb135994a537b912a4f39bc03ec 100644 (file)
@@ -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
    template <int dim>
    void MyClass<dim>::assemble_system ()
    {
-     WorkStream work_stream;
-     work_stream.run (dof_handler.begin_active(),
+     WorkStream::run (dof_handler.begin_active(),
                      dof_handler.end(),
                      *this,
                      &MyClass<dim>::assemble_on_one_cell);
      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<dim>::assemble_on_one_cell,
  * 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<dim>::assemble_on_one_cell,
                      &MyClass<dim>::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<dim>::assemble_on_one_cell, *this, _1, _2, _3),
                      boost::bind(&MyClass<dim>::copy_local_to_global, *this, _1),
  * 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<dim>::assemble_on_one_cell,
                                  *this,

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.