]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Reindent some sample code comments.
authorDavid Wells <wellsd2@rpi.edu>
Sat, 11 Feb 2017 21:31:43 +0000 (16:31 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 11 Feb 2017 21:31:43 +0000 (16:31 -0500)
include/deal.II/lac/petsc_parallel_vector.h

index ab83b387bcefaadb7e2501cf5efcab7c94476905..2713b630728b79f254c60ac2038b7448007d81ba 100644 (file)
@@ -116,17 +116,16 @@ namespace PETScWrappers
      * @code
      *   PETScWrappers::MPI::Vector vector;
      *   ...
-     *                   // do some write operations on the vector
+     *   // do some write operations on the vector
      *   for (unsigned int i=0; i<vector.size(); ++i)
      *     vector(i) = i;
      *
-     *                   // do some additions to vector elements, but
-     *                   // only for some elements
+     *   // do some additions to vector elements, but only for some elements
      *   for (unsigned int i=0; i<vector.size(); ++i)
      *     if (some_condition(i) == true)
      *       vector(i) += 1;
      *
-     *                   // do another collective operation
+     *   // do another collective operation
      *   const double norm = vector.l2_norm();
      * @endcode
      *

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.