From: wolf Date: Mon, 24 Sep 2001 09:38:07 +0000 (+0000) Subject: Doc update. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56c37bca104fb45fdebf87caee4d13b921d7ff59;p=dealii-svn.git Doc update. git-svn-id: https://svn.dealii.org/trunk@5036 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-11/step-11.cc b/deal.II/examples/step-11/step-11.cc index 9fb341197e..ff7b1bc825 100644 --- a/deal.II/examples/step-11/step-11.cc +++ b/deal.II/examples/step-11/step-11.cc @@ -306,6 +306,19 @@ void LaplaceProblem::setup_system () // ``SparsityPattern'', which we // generate by copying from the // intermediate object. + // + // As a further sidenote, you will + // notice that we do not explicitly + // have to ``compress'' the + // sparsity pattern here. This, of + // course, is due to the fact that + // the ``copy_from'' function + // generates a compressed object + // right from the start, to which + // you cannot add new entries + // anymore. The ``compress'' call + // is therefore implicit in the + // ``copy_from'' call. sparsity_pattern.copy_from (csp); system_matrix.reinit (sparsity_pattern); };