]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
also mark TrilinosWrappers::Vector::is_non_negative() as not implemented in parallel
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 6 Mar 2012 23:18:23 +0000 (23:18 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 6 Mar 2012 23:18:23 +0000 (23:18 +0000)
git-svn-id: https://svn.dealii.org/trunk@25216 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/lac/trilinos_vector_base.cc

index 8b6ec7a97ef2d3564ab9a92fbe1ceace73953c1f..275a7c73615b1d031e2557f9d08020a3300d50fb 100644 (file)
@@ -299,6 +299,9 @@ namespace TrilinosWrappers
   bool
   VectorBase::is_non_negative () const
   {
+#ifdef DEAL_II_COMPILER_SUPPORTS_MPI
+    AssertThrow(false, ExcNotImplemented());
+#endif
                                      // get a representation of the vector and
                                      // loop over all the elements
     TrilinosScalar *start_ptr;

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.