From: bangerth Date: Wed, 27 Mar 2013 14:02:32 +0000 (+0000) Subject: Improve error message. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6fc3a808a887268b39a22caefb4a3340dfa1ab7;p=dealii-svn.git Improve error message. git-svn-id: https://svn.dealii.org/trunk@29070 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/lac/trilinos_vector_base.h b/deal.II/include/deal.II/lac/trilinos_vector_base.h index 172bc10777..fa32d9de6c 100644 --- a/deal.II/include/deal.II/lac/trilinos_vector_base.h +++ b/deal.II/include/deal.II/lac/trilinos_vector_base.h @@ -189,9 +189,13 @@ namespace TrilinosWrappers DeclException3 (ExcAccessToNonLocalElement, int, int, int, << "You tried to access element " << arg1 - << " of a distributed vector, but only elements " + << " of a distributed vector, but it is not stored on " + << "the current processor. Note: the elements stored " + << "on the current processor are within the range " << arg2 << " through " << arg3 - << " are stored locally and can be accessed."); + << " but Trilinos vectors need not store contiguous " + << "ranges on each processor, and not every element in " + << "this range may in fact be stored locally."); private: /**