]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove some "dealii::"s from code examples. 10135/head
authorDavid Wells <drwells@email.unc.edu>
Mon, 11 May 2020 14:12:57 +0000 (10:12 -0400)
committerDavid Wells <drwells@email.unc.edu>
Mon, 11 May 2020 14:12:57 +0000 (10:12 -0400)
These are converted to "::" by our doxygen preprocessing script, which looks weird.

include/deal.II/lac/packaged_operation.h

index 1c51bdfeb34935276848acf58d197fe6fea01283..af149fc6c6f4cdd799664d2ed1a31c6c1a7ec2fe 100644 (file)
@@ -63,33 +63,33 @@ class PackagedOperation;
  *
  * As an example consider the addition of multiple vectors
  * @code
- *   dealii::Vector<double> a, b, c, d;
+ *   Vector<double> a, b, c, d;
  *   // ..
- *   dealii::Vector<double> result = a + b - c + d;
+ *   Vector<double> result = a + b - c + d;
  * @endcode
  * or the computation of a residual $b-Ax$:
  * @code
- *   dealii::SparseMatrix<double> A;
- *   dealii::Vector<double> b, x;
+ *   SparseMatrix<double> A;
+ *   Vector<double> b, x;
  *   // ..
  *   const auto op_a = linear_operator(A);
  *
- *   dealii::Vector<double> residual =  b - op_a * x;
+ *   auto residual =  b - op_a * x;
  * @endcode
  * The expression <code>residual</code> is of type
- * <code>PackagedOperation<dealii::Vector<double>></code>. It stores
+ * <code>PackagedOperation<Vector<double>></code>. It stores
  * references to <code>A</code>, <code>b</code> and <code>x</code> and defers
  * the actual computation until <code>apply</code>, or <code>apply_add</code>
  * are explicitly invoked,
  * @code
- *   dealii::Vector<double> y;
+ *   Vector<double> y;
  *   residual.reinit_vector(y);
  *   residual.apply(y);
  *   residual.apply_add(y);
  * @endcode
  * or until the @p PackagedOperation object is implicitly converted:
  * @code
- *   dealii::Vector<double> y;
+ *   Vector<double> y;
  *   y = residual;
  *   y += residual;
  *   y -= residual;

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.