}
/**
- * This is a variant of the mesh_loop function, that can be used for worker
+ * This is a variant of the mesh_loop() function, that can be used for worker
* and copier functions that are member functions of a class.
*
* The argument passed as @p end must be convertible to the same type as @p
* begin, but doesn't have to be of the same type itself. This allows to
* write code like <code>mesh_loop(dof_handler.begin_active(),
- * dof_handler.end(), ...</code> where the first is of type
+ * dof_handler.end(), ...)</code> where the first is of type
* DoFHandler::active_cell_iterator whereas the second is of type
* DoFHandler::raw_cell_iterator.
*
* <tt>queue_length*chunk_size</tt> copies of the <tt>CopyData</tt> object
* are generated.
*
+ * An example usage of the function is given by
+ * @code
+ * template <int dim, int spacedim>
+ * class TestClass
+ * {
+ * public:
+ * void
+ * cell_worker(const CellIteratorType &cell, ScratchData &, CopyData &);
+ *
+ * ...
+ * };
+ *
+ * ...
+ * TestClass<dim, spacedim> test_class;
+ * ScratchData scratch;
+ * CopyData copy;
+ *
+ * mesh_loop(tria.begin_active(),
+ * tria.end(),
+ * test_class,
+ * &TestClass<dim, spacedim>::cell_worker,
+ * &TestClass<dim, spacedim>::copier,
+ * scratch,
+ * copy,
+ * assemble_own_cells);
+ * @endcode
+ *
* @ingroup MeshWorker
* @author Luca Heltai, 2019
*/
DEAL::CELLS ONLY
-DEAL::Workgin on cell 1.1
-DEAL::Workgin on cell 1.2
-DEAL::Workgin on cell 1.3
-DEAL::Workgin on cell 2.0
-DEAL::Workgin on cell 2.1
-DEAL::Workgin on cell 2.2
-DEAL::Workgin on cell 2.3
+DEAL::Working on cell 1.1
+DEAL::Working on cell 1.2
+DEAL::Working on cell 1.3
+DEAL::Working on cell 2.0
+DEAL::Working on cell 2.1
+DEAL::Working on cell 2.2
+DEAL::Working on cell 2.3
DEAL::CELLS+BOUNDARY
-DEAL::Workgin on cell 1.1
+DEAL::Working on cell 1.1
DEAL::Boundary worker on : 1.1, Face : 1
DEAL::Boundary worker on : 1.1, Face : 2
-DEAL::Workgin on cell 1.2
+DEAL::Working on cell 1.2
DEAL::Boundary worker on : 1.2, Face : 0
DEAL::Boundary worker on : 1.2, Face : 3
-DEAL::Workgin on cell 1.3
+DEAL::Working on cell 1.3
DEAL::Boundary worker on : 1.3, Face : 1
DEAL::Boundary worker on : 1.3, Face : 3
-DEAL::Workgin on cell 2.0
+DEAL::Working on cell 2.0
DEAL::Boundary worker on : 2.0, Face : 0
DEAL::Boundary worker on : 2.0, Face : 2
-DEAL::Workgin on cell 2.1
+DEAL::Working on cell 2.1
DEAL::Boundary worker on : 2.1, Face : 2
-DEAL::Workgin on cell 2.2
+DEAL::Working on cell 2.2
DEAL::Boundary worker on : 2.2, Face : 0
-DEAL::Workgin on cell 2.3
+DEAL::Working on cell 2.3
DEAL::CELLS+BOUNDARY+FACES
-DEAL::Workgin on cell 1.1
+DEAL::Working on cell 1.1
DEAL::Boundary worker on : 1.1, Face : 1
DEAL::Boundary worker on : 1.1, Face : 2
DEAL::Face worker on : 1.1, Neighbor cell : 1.3, Face : 3, Neighbor Face : 2, Subface: 4294967295, Neighbor Subface: 4294967295
-DEAL::Workgin on cell 1.2
+DEAL::Working on cell 1.2
DEAL::Boundary worker on : 1.2, Face : 0
DEAL::Face worker on : 1.2, Neighbor cell : 1.3, Face : 1, Neighbor Face : 0, Subface: 4294967295, Neighbor Subface: 4294967295
DEAL::Boundary worker on : 1.2, Face : 3
-DEAL::Workgin on cell 1.3
+DEAL::Working on cell 1.3
DEAL::Boundary worker on : 1.3, Face : 1
DEAL::Boundary worker on : 1.3, Face : 3
-DEAL::Workgin on cell 2.0
+DEAL::Working on cell 2.0
DEAL::Boundary worker on : 2.0, Face : 0
DEAL::Face worker on : 2.0, Neighbor cell : 2.1, Face : 1, Neighbor Face : 0, Subface: 4294967295, Neighbor Subface: 4294967295
DEAL::Boundary worker on : 2.0, Face : 2
DEAL::Face worker on : 2.0, Neighbor cell : 2.2, Face : 3, Neighbor Face : 2, Subface: 4294967295, Neighbor Subface: 4294967295
-DEAL::Workgin on cell 2.1
+DEAL::Working on cell 2.1
DEAL::Face worker on : 2.1, Neighbor cell : 1.1, Face : 1, Neighbor Face : 0, Subface: 4294967295, Neighbor Subface: 0
DEAL::Boundary worker on : 2.1, Face : 2
DEAL::Face worker on : 2.1, Neighbor cell : 2.3, Face : 3, Neighbor Face : 2, Subface: 4294967295, Neighbor Subface: 4294967295
-DEAL::Workgin on cell 2.2
+DEAL::Working on cell 2.2
DEAL::Boundary worker on : 2.2, Face : 0
DEAL::Face worker on : 2.2, Neighbor cell : 2.3, Face : 1, Neighbor Face : 0, Subface: 4294967295, Neighbor Subface: 4294967295
DEAL::Face worker on : 2.2, Neighbor cell : 1.2, Face : 3, Neighbor Face : 2, Subface: 4294967295, Neighbor Subface: 0
-DEAL::Workgin on cell 2.3
+DEAL::Working on cell 2.3
DEAL::Face worker on : 2.3, Neighbor cell : 1.1, Face : 1, Neighbor Face : 0, Subface: 4294967295, Neighbor Subface: 1
DEAL::Face worker on : 2.3, Neighbor cell : 1.2, Face : 3, Neighbor Face : 2, Subface: 4294967295, Neighbor Subface: 1