From: wolf Date: Thu, 30 Dec 1999 19:36:43 +0000 (+0000) Subject: Doc update. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6a7bbbd9fbc69e66ce573ad0c48ce85bf347355;p=dealii-svn.git Doc update. git-svn-id: https://svn.dealii.org/trunk@2137 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/precondition.h b/deal.II/lac/include/lac/precondition.h index 4f9410e246..8b1f3537ef 100644 --- a/deal.II/lac/include/lac/precondition.h +++ b/deal.II/lac/include/lac/precondition.h @@ -59,6 +59,15 @@ class PreconditionIdentity * denoting the relaxation parameter; this example is therefore only meant to * illustrate the general idea.) * + * Note that due to the default template parameters, the above example + * could be written shorter as follows: + * \begin{verbatim} + * ... + * gmres.solve (matrix, solution, right_hand_side, + * PreconditionUseMatrix<> + * (matrix,&SparseMatrix::template precondition_Jacobi)); + * \end{verbatim} + * * @author Guido Kanschat, Wolfgang Bangerth, 1999 */ template, @@ -132,6 +141,17 @@ class PreconditionUseMatrix * for the #PreconditionUseMatrix# class, this time it should work, with * relaxation parameter $0.5$.) * + * Note that due to the default template parameters, the above example + * could be written shorter as follows: + * \begin{verbatim} + * ... + * gmres.solve (matrix, solution, right_hand_side, + * PreconditionRelaxation<> + * (matrix, + * &SparseMatrix::template precondition_Jacobi, + * 0.5)); + * \end{verbatim} + * * @author Guido Kanschat, Wolfgang Bangerth, 1999 */ template,