]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Forgot a file
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 24 Aug 2013 01:21:53 +0000 (01:21 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 24 Aug 2013 01:21:53 +0000 (01:21 +0000)
git-svn-id: https://svn.dealii.org/trunk@30470 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/constraint_matrix.h

index 6c623eef0ed0c17af3261de671b0a037c138f765..7d5ae2e78bf28db6d76ef814d4d7033aa6896e73 100644 (file)
@@ -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 (

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.