From 56c37bca104fb45fdebf87caee4d13b921d7ff59 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 24 Sep 2001 09:38:07 +0000 Subject: [PATCH] Doc update. git-svn-id: https://svn.dealii.org/trunk@5036 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-11/step-11.cc | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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); }; -- 2.39.5