]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Improve error message.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 27 Mar 2013 14:02:32 +0000 (14:02 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 27 Mar 2013 14:02:32 +0000 (14:02 +0000)
git-svn-id: https://svn.dealii.org/trunk@29070 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/trilinos_vector_base.h

index 172bc1077763ba9a741ef00ca38160063c7fffad..fa32d9de6c3e062c841aa89cb73ddf85aeefa6ae 100644 (file)
@@ -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:
       /**

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.