]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Rename 'exemplar' to 'reinit_vector'
authorMatthias Maier <tamiko@43-1.org>
Mon, 13 Apr 2015 17:35:49 +0000 (19:35 +0200)
committerMatthias Maier <tamiko@43-1.org>
Sun, 19 Apr 2015 20:55:06 +0000 (22:55 +0200)
include/deal.II/lac/linear_operator.h

index f7dc617b62148d264e487d80291198159c36aaf0..c83813aa9fabd3c0a17fa9e01b86d26a07d1966b 100644 (file)
@@ -511,18 +511,19 @@ transpose_linop(const LinearOperator<Range, Domain> &op)
  * Returns a LinearOperator that is the identity of the vector space
  * @tref Range.
  *
- * The function takes an <code>std::function</code> object @ref exemplar as
- * an argument to initialize the <code>reinit_range_vector</code> and
- * <code>reinit_domain_vector</code> objects of the LinearOperator object.
+ * The function takes an <code>std::function</code> object @ref
+ * reinit_vector as an argument to initialize the
+ * <code>reinit_range_vector</code> and <code>reinit_domain_vector</code>
+ * objects of the LinearOperator object.
  */
 template <typename Range>
 LinearOperator<Range, Range>
-identity_linop(const std::function<void(Range &, bool)> &exemplar)
+identity_linop(const std::function<void(Range &, bool)> &reinit_vector)
 {
   LinearOperator<Range, Range> return_op;
 
-  return_op.reinit_range_vector = exemplar;
-  return_op.reinit_domain_vector = exemplar;
+  return_op.reinit_range_vector = reinit_vector;
+  return_op.reinit_domain_vector = reinit_vector;
 
   return_op.vmult = [](Range &v, const Range &u)
   {

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.