From: Matthias Maier Date: Mon, 11 May 2015 21:33:18 +0000 (+0200) Subject: fix typos X-Git-Tag: v8.3.0-rc1~179^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=faf7f59d4b6ef0eb006738b9341578b02cd02342;p=dealii.git fix typos --- diff --git a/doc/doxygen/headers/laoperators.h b/doc/doxygen/headers/laoperators.h index f52ed2c168..67ba1ae867 100644 --- a/doc/doxygen/headers/laoperators.h +++ b/doc/doxygen/headers/laoperators.h @@ -107,8 +107,9 @@ * involving vectors and linear operators. This is done by storing the * computational expression and only performing the computation when either * the object is implicitly converted to a vector object, or - * apply (or apply_add) is invoked by hand. This - * avoids unnecessary temporary storage of intermediate results. + * PackagedOperation::apply() (or PackagedOperation::apply_add()) is + * invoked by hand. This avoids unnecessary temporary storage of + * intermediate results. * * As an example consider the addition of multiple vectors: * @code @@ -137,6 +138,12 @@ * * dealii::Vector residual = b - op_a * x; * @endcode + * Here, the expression b - op_a * x results again in an + * object of type PackagedOperation that stores the sequence of + * operations that should be performed using the two vectors and the + * linear operator. Converting the expression to a vector (as happens here + * with the assignment to the vector residual) executes the + * computation (see the following note). * * @note * Lazy evaluation of a computational expression necessarily involves diff --git a/include/deal.II/lac/linear_operator.h b/include/deal.II/lac/linear_operator.h index 324df3df3b..a6580ef735 100644 --- a/include/deal.II/lac/linear_operator.h +++ b/include/deal.II/lac/linear_operator.h @@ -1745,7 +1745,7 @@ PackagedOperation operator-(const Range &offset, namespace { // Poor man's trait class that determines whether type T is a vector: - // FIXME: Implement this as a proprer type trait - similar to + // FIXME: Implement this as a proper type trait - similar to // isBlockVector template