<< " should not be stored by this object, but a constraint "
<< "is being added.");
+ /**
+ * Exception
+ *
+ * @ingroup Exceptions
+ */
+ DeclException2 (ExcIncorrectConstraint,
+ int, int,
+ << "While distributing the constraint for DoF "
+ << arg1 << ", it turns out that one of the processors "
+ << "who own the " << arg2
+ << " degrees of freedom that x_" << arg1
+ << " is constrained against does not know about "
+ << "the constraint on x_" << arg1
+ << ". Did you not initialize the ConstraintMatrix "
+ << "with the appropriate locally_relevant set so "
+ << "that every processor who owns a DoF that constrains "
+ << "another DoF also knows about this constraint?");
+
private:
/**
//---------------------------------------------------------------------------
// $Id$
//
-// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 by the deal.II authors
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
vec(it->line) += 1;
vec.compress (VectorOperation::add);
- DeclException2 (ExcIncorrectConstraint, int, int,
- << "While distributing the constraint for DoF "
- << arg1 << ", it turns out that one of the processors "
- << "who own the " << arg2
- << " degrees of freedom that x_" << arg1
- << " is constrained against does not know about "
- << "the constraint on x_" << arg1
- << ". Did you not initialize the ConstraintMatrix "
- << "with the appropriate locally_relevant set so "
- << "that every processor who owns a DoF that constrains "
- << "another DoF also knows about this constraint?");
for (constraint_iterator it = lines.begin();
it != lines.end(); ++it)
if (vec_owned_elements.is_element(it->line))