From 81078d87a511ac4b213e5a9f19a0b89c3d28fad3 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Fri, 25 May 2018 17:09:14 -0500 Subject: [PATCH] RCM: Update lac, part 1: update comments (no code changes) --- include/deal.II/lac/arpack_solver.h | 15 +++++++-------- include/deal.II/lac/block_sparse_matrix_ez.h | 8 ++++---- include/deal.II/lac/block_sparsity_pattern.h | 2 +- include/deal.II/lac/diagonal_matrix.h | 6 +++--- 4 files changed, 15 insertions(+), 16 deletions(-) diff --git a/include/deal.II/lac/arpack_solver.h b/include/deal.II/lac/arpack_solver.h index e619b96fef..ea2db4dfde 100644 --- a/include/deal.II/lac/arpack_solver.h +++ b/include/deal.II/lac/arpack_solver.h @@ -155,14 +155,13 @@ dseupd_(int * rvec, * and also how to set the parameters appropriately * please take a look into the ARPACK manual. * - * @note Whenever you eliminate degrees of freedom using ConstraintMatrix, you - * generate spurious eigenvalues and eigenvectors. If you make sure that the - * diagonals of eliminated matrix rows are all equal to one, you get a single - * additional eigenvalue. But beware that some functions in deal.II set these - * diagonals to rather arbitrary (from the point of view of eigenvalue - * problems) values. See also - * @ref step_36 "step-36" - * for an example. + * @note Whenever you eliminate degrees of freedom using AffineConstraints, + * you generate spurious eigenvalues and eigenvectors. If you make sure + * that the diagonals of eliminated matrix rows are all equal to one, you + * get a single additional eigenvalue. But beware that some functions in + * deal.II set these diagonals to rather arbitrary (from the point of view + * of eigenvalue problems) values. See also @ref step_36 "step-36" for an + * example. * * @author Baerbel Janssen, Agnieszka Miedlar, 2010, Guido Kanschat 2015, Joscha * Gedicke 2016 diff --git a/include/deal.II/lac/block_sparse_matrix_ez.h b/include/deal.II/lac/block_sparse_matrix_ez.h index d8488a460b..00bbc2f8ad 100644 --- a/include/deal.II/lac/block_sparse_matrix_ez.h +++ b/include/deal.II/lac/block_sparse_matrix_ez.h @@ -17,10 +17,10 @@ #define dealii_block_sparse_matrix_ez_h -// TODO: Derive BlockSparseMatrixEZ from BlockMatrixBase, like all the other -// block matrices as well; this would allow to instantiate a few functions with -// this template argument as well (in particular -// ConstraintMatrix::distribute_local_to_global) +// TODO: Derive BlockSparseMatrixEZ from BlockMatrixBase, like all the +// other block matrices as well; this would allow to instantiate a few +// functions with this template argument as well (in particular +// AffineConstraints::distribute_local_to_global) #include diff --git a/include/deal.II/lac/block_sparsity_pattern.h b/include/deal.II/lac/block_sparsity_pattern.h index 2d3147afd2..888f8b180a 100644 --- a/include/deal.II/lac/block_sparsity_pattern.h +++ b/include/deal.II/lac/block_sparsity_pattern.h @@ -484,7 +484,7 @@ public: * * @dontinclude block_dynamic_sparsity_pattern.cc * - * After the DoFHandler dof and the ConstraintMatrix + * After the DoFHandler dof and the AffineConstraints * constraints have been set up with a system element, we must count * the degrees of freedom in each matrix block: * diff --git a/include/deal.II/lac/diagonal_matrix.h b/include/deal.II/lac/diagonal_matrix.h index e0fec38a2a..be98b5d339 100644 --- a/include/deal.II/lac/diagonal_matrix.h +++ b/include/deal.II/lac/diagonal_matrix.h @@ -134,9 +134,9 @@ public: * this matrix, entries are only added to the diagonal of the matrix. All * other entries are ignored and no exception is thrown. * - * This function is for a consistent interface with the other matrix classes - * in deal.II and can be used in - * ConstraintMatrix::distribute_local_to_global to get exactly the same + * This function is for a consistent interface with the other matrix + * classes in deal.II and can be used in + * AffineConstraints::distribute_local_to_global to get exactly the same * diagonal as when assembling into a sparse matrix. */ template -- 2.39.5