From 727c47120ea24c3e2379dd9dfa1ce24eea146168 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 15 May 2017 00:56:41 +0200 Subject: [PATCH] Remove unused helper function --- source/lac/trilinos_vector_base.cc | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/source/lac/trilinos_vector_base.cc b/source/lac/trilinos_vector_base.cc index c4f0a7b979..ec456bf657 100644 --- a/source/lac/trilinos_vector_base.cc +++ b/source/lac/trilinos_vector_base.cc @@ -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 -- 2.39.5