]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Improve spacing in a code sample. 1910/head
authorDavid Wells <wellsd2@rpi.edu>
Mon, 23 Nov 2015 00:54:07 +0000 (19:54 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Tue, 24 Nov 2015 22:27:19 +0000 (17:27 -0500)
include/deal.II/dofs/block_info.h

index a25b9013b4db9d688eda7d0356c73fdafa68ef8a..0f5b5b6e9574096cb4e1ee8d630d32494b2a9be8 100644 (file)
@@ -72,10 +72,14 @@ namespace hp
  *
  * BlockVector<double> solution(dof_handler.block_info().global());
  *
- * MGLevelObject<BlockVector<double> > mg_vector(0,
- * triangulation.n_levels()-1); for (unsigned int
- * i=0;i<triangulation.n_levels();++i)
- * mg_vector[i].reinit(dof_handler.block_info().level(i)); </code> In this
+ * MGLevelObject<BlockVector<double> > mg_vector(0, triangulation.n_levels()-1);
+ * for (unsigned int i = 0; i < triangulation.n_levels(); ++i)
+ *   {
+ *     mg_vector[i].reinit(dof_handler.block_info().level(i));
+ *   }
+ * </code>
+ *
+ * In this
  * example, <tt>solution</tt> obtains the block structure needed to represent
  * a finite element function on the DoFHandler. Similarly, all levels of
  * <tt>mg_vector</tt> will have the block structure needed on that level.

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.