From: Wolfgang Bangerth Date: Sun, 12 Apr 2015 17:00:00 +0000 (-0500) Subject: Clarify documentation. X-Git-Tag: v8.3.0-rc1~286^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F785%2Fhead;p=dealii.git Clarify documentation. --- diff --git a/include/deal.II/lac/constraint_matrix.h b/include/deal.II/lac/constraint_matrix.h index 64de8f3d6c..0f65eb79b3 100644 --- a/include/deal.II/lac/constraint_matrix.h +++ b/include/deal.II/lac/constraint_matrix.h @@ -991,13 +991,17 @@ public: */ /** - * Re-distribute the elements of the vector in-place. The @p VectorType may - * be a Vector, Vector, BlockVector<...>, a PETSc or - * Trilinos vector wrapper class, or any other type having the same - * interface. - * - * @note If called with a TrilinosWrappers::MPI::Vector or - * PETScWrappers::MPI::Vector @p vec must not contain ghost elements. + * Given a vector, set all constrained degrees of freedom to values + * so that the constraints are satisfied. For example, if the + * current object stores the constraint $x_3=\frac 12 x_1 + \frac 12 + * x_2$, then this function will read the values of $x_1$ and $x_1$ + * from the given vector and set the element $x_3$ according to this + * constraints. Similarly, if the current object stores the + * constraint $x_42=208$, then this function will set the 42nd + * element of the given vector to 208. + * + * @note If this function is called with a parallel vector @p vec, + * then the vector must not contain ghost elements. */ template void distribute (VectorType &vec) const;