From: kronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Date: Sat, 24 Aug 2013 01:21:53 +0000 (+0000)
Subject: Forgot a file
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2dec3d08e5bdefa74e3ba736fdb19d2cf61f21a;p=dealii-svn.git

Forgot a file

git-svn-id: https://svn.dealii.org/trunk@30470 0785d39b-7218-0410-832d-ea1e28bc413d
---

diff --git a/deal.II/include/deal.II/lac/constraint_matrix.h b/deal.II/include/deal.II/lac/constraint_matrix.h
index 6c623eef0e..7d5ae2e78b 100644
--- a/deal.II/include/deal.II/lac/constraint_matrix.h
+++ b/deal.II/include/deal.II/lac/constraint_matrix.h
@@ -233,6 +233,14 @@ public:
    */
   bool can_store_line (const size_type line_index) const;
 
+  /**
+   * Returns the index set describing locally relevant lines if any are
+   * present. Note that if no local lines were given, this represents an empty
+   * IndexSet, whereas otherwise it contains the global problem size and the
+   * local range.
+   */
+  const IndexSet & get_local_lines() const;
+
   /**
    * This function copies the content of @p
    * constraints_in with DoFs that are
@@ -2050,6 +2058,15 @@ ConstraintMatrix::can_store_line (size_type line_index) const
 
 
 
+inline
+const IndexSet &
+ConstraintMatrix::get_local_lines () const
+{
+  return local_lines;
+}
+
+
+
 template <class VectorType>
 inline
 void ConstraintMatrix::distribute_local_to_global (