]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove one unneeded header file. Remove a check for the size of a matrix element.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Aug 2008 19:43:49 +0000 (19:43 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Aug 2008 19:43:49 +0000 (19:43 +0000)
git-svn-id: https://svn.dealii.org/trunk@16535 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-31/step-31.cc

index 4a40f150931e4286bf22c58c7895109979c68944..cd1118a02b58da9488fa7f75936a54f914622367 100644 (file)
@@ -67,7 +67,6 @@
 #include <Epetra_CrsMatrix.h>
 #include <Epetra_Vector.h>
 #include <Teuchos_ParameterList.hpp>
-#include <Amesos.h>
 #include <ml_include.h>
 #include <ml_MultiLevelPreconditioner.h>
 
@@ -1589,10 +1588,9 @@ void BoussinesqFlowProblem<dim>::assemble_system ()
        {
          for (unsigned int i=0; i<dofs_per_cell; ++i)
            for (unsigned int j=0; j<dofs_per_cell; ++j)
-             if (std::abs(local_matrix(i,j)) > 1e-20)
-               system_matrix.add (local_dof_indices[i],
-                                  local_dof_indices[j],
-                                  local_matrix(i,j));
+             system_matrix.add (local_dof_indices[i],
+                                local_dof_indices[j],
+                                local_matrix(i,j));
        }
 
       for (unsigned int i=0; i<dofs_per_cell; ++i)

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.