From e00e13993fb3cd49c78e82c212256dfe17576af3 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Sat, 9 Jan 2021 14:34:58 -0500 Subject: [PATCH] improve DynamicSparsityPattern usage documentation --- include/deal.II/lac/dynamic_sparsity_pattern.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.5