]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove unused helper function 4396/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 14 May 2017 22:56:41 +0000 (00:56 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 14 May 2017 23:10:41 +0000 (01:10 +0200)
source/lac/trilinos_vector_base.cc

index c4f0a7b979025a17783f5d7c80ac32d0b8bd513c..ec456bf657836109a3934b22480371724fccca84 100644 (file)
@@ -34,27 +34,6 @@ DEAL_II_NAMESPACE_OPEN
 
 namespace TrilinosWrappers
 {
-  namespace
-  {
-#ifndef DEAL_II_WITH_64BIT_INDICES
-    // define a helper function that queries the global vector length of an
-    // Epetra_FEVector object  by calling either the 32- or 64-bit
-    // function necessary.
-    int global_length(const Epetra_FEVector &vector)
-    {
-      return vector.GlobalLength();
-    }
-#else
-    // define a helper function that queries the global vector length of an
-    // Epetra_FEVector object  by calling either the 32- or 64-bit
-    // function necessary.
-    long long int global_length(const Epetra_FEVector &vector)
-    {
-      return vector.GlobalLength64();
-    }
-#endif
-  }
-
   namespace internal
   {
     VectorReference::operator TrilinosScalar () const

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.