]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Dont throw an exception any more of we enter ConstraintMatrix::close and the matrix...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 30 Aug 2001 10:00:04 +0000 (10:00 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 30 Aug 2001 10:00:04 +0000 (10:00 +0000)
git-svn-id: https://svn.dealii.org/trunk@4923 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/dofs/dof_constraints.h
deal.II/doc/news/2001/c-3-1.html

index ead4f6daf052f9e20955c928951d8461192f5820..e1252615173f9d9c7aa5a30c20f4383e06bc3617 100644 (file)
@@ -161,20 +161,26 @@ class ConstraintMatrix : public Subscriptor
                      const std::vector<std::pair<unsigned int,double> > &col_val_pairs);
 
                                     /**
-                                     * Close the filling of entries. Since the
-                                     * lines of a matrix of this type are
-                                     * usually filled in an arbitrary order and
-                                     * since we do not want to use associative
-                                     * constainers to store the lines, we need
-                                     * to sort the lines and within the lines
-                                     * the columns before usage of the matrix.
-                                     * This is done through this function.
+                                     * Close the filling of
+                                     * entries. Since the lines of a
+                                     * matrix of this type are
+                                     * usually filled in an arbitrary
+                                     * order and since we do not want
+                                     * to use associative constainers
+                                     * to store the lines, we need to
+                                     * sort the lines and within the
+                                     * lines the columns before usage
+                                     * of the matrix.  This is done
+                                     * through this function.
                                      *
-                                     * Also, zero entries are discarded, since
-                                     * they are not needed.
+                                     * Also, zero entries are
+                                     * discarded, since they are not
+                                     * needed.
                                      *
-                                     * After closing, no more entries are
-                                     * accepted.
+                                     * After closing, no more entries
+                                     * are accepted. If the object
+                                     * was already closed, then this
+                                     * function returns immediately.
                                      */
     void close ();
 
index 47587d8f4abf1ffe16807b827c099fa486197c58..b81d6ad75f97d9de4303460d40f1a44ba8e38582 100644 (file)
@@ -573,6 +573,14 @@ documentation, etc</a>.
 <h3>deal.II</h3>
 
 <ol>
+  <li> <p> 
+       New: <code class="member">ConstraintMatrix::close</code>
+       now simply returns instead of throwing an exception, if the
+       matrix was already closed.
+       <br>
+       (WB 2001/08/30)
+       </p>
+
   <li> <p>
        New: Member function
        <code class="member">ConstraintMatrix::is_identity_constrained</code>.

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.