From: Timo Heister Date: Sat, 9 Jan 2021 19:34:58 +0000 (-0500) Subject: improve DynamicSparsityPattern usage documentation X-Git-Tag: v9.3.0-rc1~654^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11499%2Fhead;p=dealii.git improve DynamicSparsityPattern usage documentation --- diff --git a/include/deal.II/lac/dynamic_sparsity_pattern.h b/include/deal.II/lac/dynamic_sparsity_pattern.h index 3d35694e3d..254dfd0e97 100644 --- a/include/deal.II/lac/dynamic_sparsity_pattern.h +++ b/include/deal.II/lac/dynamic_sparsity_pattern.h @@ -304,13 +304,13 @@ namespace DynamicSparsityPatternIterators * *

Usage

* - * Use this class as follows: + * Usage of this class is explained in step-2 (without constraints) and step-6 + * (with AffineConstraints) and typically looks as follows: * @code * DynamicSparsityPattern dynamic_pattern (dof_handler.n_dofs()); * DoFTools::make_sparsity_pattern (dof_handler, - * dynamic_pattern); - * constraints.condense (dynamic_pattern); - * + * dynamic_pattern, + * constraints); * SparsityPattern sp; * sp.copy_from (dynamic_pattern); * @endcode