]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
add a comment to the diag_element () function
authorfrohne <frohne@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 7 Mar 2012 18:09:21 +0000 (18:09 +0000)
committerfrohne <frohne@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 7 Mar 2012 18:09:21 +0000 (18:09 +0000)
git-svn-id: https://svn.dealii.org/trunk@25219 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/trilinos_sparse_matrix.h

index eefffa61a08e9287a7e5dff7311299884bc2e4ef..da004a6cab5812f309e157c6f3c207d2f3ea5588 100644 (file)
@@ -1619,7 +1619,11 @@ namespace TrilinosWrappers
                                         * element in the <i>i</i>th
                                         * row. This function throws an
                                         * error if the matrix is not
-                                        * quadratic.
+                                        * quadratic and it also throws
+                                       * an error if <i>(i,i)</i> is not
+                                       * element of the local matrix.
+                                       * See also the comment in
+                                       * trilinos_sparse_matrix.cc.
                                         */
       TrilinosScalar diag_element (const unsigned int i) const;
 

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.