]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Allow TrilinosWrappers::SparseMatrix::mmult for 64-bit indices 7171/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 10 Sep 2018 23:33:51 +0000 (01:33 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 10 Sep 2018 23:35:17 +0000 (01:35 +0200)
source/lac/trilinos_sparse_matrix.cc

index a28803efadea64b297aad9f608d7824518463cb4..d4e01cea70936af86657dc4ce16d1cc89eb91468 100644 (file)
@@ -2240,10 +2240,7 @@ namespace TrilinosWrappers
                   const MPI::Vector & V,
                   const bool          transpose_left)
     {
-#  ifdef DEAL_II_WITH_64BIT_INDICES
-      Assert(false, ExcNotImplemented())
-#  endif
-        const bool use_vector = (V.size() == inputright.m() ? true : false);
+      const bool use_vector = (V.size() == inputright.m() ? true : false);
       if (transpose_left == false)
         {
           Assert(inputleft.n() == inputright.m(),
@@ -2329,10 +2326,7 @@ namespace TrilinosWrappers
                       const SparseMatrix &B,
                       const MPI::Vector & V) const
   {
-#  ifdef DEAL_II_WITH_64BIT_INDICES
-    Assert(false, ExcNotImplemented())
-#  endif
-      internals::perform_mmult(*this, B, C, V, false);
+    internals::perform_mmult(*this, B, C, V, false);
   }
 
 
@@ -2342,10 +2336,7 @@ namespace TrilinosWrappers
                        const SparseMatrix &B,
                        const MPI::Vector & V) const
   {
-#  ifdef DEAL_II_WITH_64BIT_INDICES
-    Assert(false, ExcNotImplemented())
-#  endif
-      internals::perform_mmult(*this, B, C, V, true);
+    internals::perform_mmult(*this, B, C, V, true);
   }
 
 

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.