]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Do some cleanup and adaption to new C++ standard.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 23 Apr 1998 11:56:26 +0000 (11:56 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 23 Apr 1998 11:56:26 +0000 (11:56 +0000)
git-svn-id: https://svn.dealii.org/trunk@186 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/Todo
deal.II/deal.II/include/dofs/dof_constraints.h
deal.II/deal.II/source/dofs/dof_handler.cc

index c1bf805c7e0f769d061a472d737294426cfba7d0..8c6bd2def10e5ba984aa8653b186da6d8f7bee68 100644 (file)
@@ -1,7 +1,3 @@
-Replace the declaration of vector<bool> in tria.h by something real
-  when gcc2.8 is available
-
-
 Rewrite code like
       int flagged_cells = 0;
       for (; cell!=endc; ++cell)
@@ -33,8 +29,6 @@ Let ParameterHandler and DataIn/Out throw exceptions. Make more tests
 Replace function objects by mem_fun, fun_ptr, ... when member function
   templates are supported.
 
-implement ProblemBase::distribute_cell_to_dof_vector
-
 
 Remove gcc2.8 workaround with DoFSubstructAccessor
 
@@ -67,11 +61,6 @@ Update DoFHandler::distribute_cell_to_dof_vector for higher order
   on the vertices).
 
 
-Replace <multimap.h> in dof.cc by <multimap> and <pair.h> by
-  <pair> in dof_constraints.h
-
-
-
 
 
 DEAL:
@@ -90,13 +79,6 @@ Let all the reinit functions in /lac free their memory, if reinit
   is called with less requirements. Maybe give free all memory
   if the given dimension is zero. If so, check all deal.II files
   for use of reinit.
-Use unsigned integers for the colnums array in dSMatrixStruct. This
-  would enhance safety since colnum=-1 would no longer point to a
-  valid address. Additionally, add a break statement upon first
-  encounter of sorted colnums==-1 in dsmatrixstruct::compress (by
-  now, all -1's are sorted _first_, so we can't skip them if we want
-  to get to the other colnums. If it were MAXINT instead of -1, we
-  could skip all entries after finding the first MAXINT).
 
 Why are there all these unsafe casts from VectorBase to dVector
   in dvector.cc?
@@ -109,10 +91,6 @@ Use unsigned integers for the colnums array in dSMatrixStruct. This
   to get to the other colnums. If it were MAXINT instead of -1, we
   could skip all entries after finding the first MAXINT).
 
-Why are there all these unsafe casts from VectorBase to dVector
-  in dvector.cc?
-
-
 Optimize dSMatrixStruct::compress, using standard sort algorithms
   and only sorting the used range of indices, not those with
   -1 entries.
index fbb3eb8f565a9ffa6dbf0dee091b4d056bc51f5f..1545ad4c57a1662ec87d20e0720549f9cee465ce 100644 (file)
@@ -6,7 +6,7 @@
 
 
 #include <vector>
-#include <pair.h>
+#include <utility>
 #include <base/exceptions.h>
 
 
index a0a68dd97f629ab94da5b73feb56480bc8defeb5..d5f2541407ae6fe39aac4e043dba177e1702d2dc 100644 (file)
@@ -7,7 +7,7 @@
 #include <grid/tria_iterator.h>
 #include <grid/tria.h>
 #include <lac/dsmatrix.h>
-#include <multimap.h>
+#include <map>
 #include <algorithm>
 
 

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.