]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add support for void member functions (as opposed to void* return
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 18 Jan 2000 15:29:19 +0000 (15:29 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 18 Jan 2000 15:29:19 +0000 (15:29 +0000)
values), and convert existing code to that.

git-svn-id: https://svn.dealii.org/trunk@2250 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/numerics/time_dependent.h
deal.II/deal.II/source/numerics/time_dependent.cc
deal.II/lac/Todo

index c3927a9aee62189ec747ed26af22f89eb900859a..3e73d679153bc109de3a3edfb7400896e0112b5a 100644 (file)
@@ -713,8 +713,8 @@ class TimeDependent
                                      * for some timesteps only. This
                                      * is useful in multithread mode.
                                      */
-    void end_sweep (const unsigned int begin_timestep,
-                     const unsigned int end_timestep);
+    void end_sweep (const unsigned int begin_timestep,
+                   const unsigned int end_timestep);
 };
 
 
index dbca98e07cd15eff0d4f5f9f564468fdbdf4d263..f460751a3920fc231815389c9b59026229ac5895 100644 (file)
@@ -239,12 +239,11 @@ void TimeDependent::end_sweep (const unsigned int n_threads)
 
 
 
-void TimeDependent::end_sweep (const unsigned int begin,
-                                const unsigned int end)
+void TimeDependent::end_sweep (const unsigned int begin,
+                              const unsigned int end)
 {     
   for (unsigned int step=begin; step<end; ++step)
     timesteps[step]->end_sweep ();
-  return 0;
 };
   
 
index 6c934926c47c15e59b54b49ea07b50c682eee6b6..bf2b8a23f49bf553b51556276058756f333144a4 100644 (file)
@@ -25,3 +25,8 @@ Someone should take a look at the handling of the sparsity variable
   in the sparse matrix: it is subscribed to twice (explicitely and 
   through the subscriptor); the explicit subscription is redundant,
   but I don't have the time to look into that now.
+
+
+Change the threaded* functions of the SparseMatrix to return void
+  instead of void* when the respective classes in ThreadManager are
+  updated.

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.