]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix formatting of a piece of example code. 5034/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 6 Sep 2017 13:14:09 +0000 (07:14 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 6 Sep 2017 13:14:09 +0000 (07:14 -0600)
include/deal.II/integrators/local_integrators.h

index e6deeaba73ea1987ad19c8d9b66f0c66e4b30274..166d15c1ff3605dd72378a458a24ab7fd56103b1 100644 (file)
@@ -128,16 +128,19 @@ DEAL_II_NAMESPACE_OPEN
  * With these matrices, the function called by MeshWorker::loop() could be
  * written like
  * @code
- * using namespace ::dealii:: LocalIntegrators;
+ * using namespace dealii::LocalIntegrators;
  *
  * template <int dim>
- * void MatrixIntegrator<dim>::cell(
- * MeshWorker::DoFInfo<dim>& dinfo,
- * typename MeshWorker::IntegrationInfo<dim>& info)
+ * void MatrixIntegrator<dim>::cell(MeshWorker::DoFInfo<dim>         &dinfo,
+ *                                  MeshWorker::IntegrationInfo<dim> &info)
  * {
- * Laplace::cell_matrix(dinfo.matrix(0,false).matrix, info.fe_values(0));
- * Divergence::cell_matrix(dinfo.matrix(1,false).matrix, info.fe_values(0), info.fe_values(1));
- * L2::cell_matrix(dinfo.matrix(2,false).matrix, info.fe_values(1));
+ *   Laplace::cell_matrix (dinfo.matrix(0,false).matrix,
+ *                         info.fe_values(0));
+ *   Divergence::cell_matrix (dinfo.matrix(1,false).matrix,
+ *                            info.fe_values(0),
+ *                            info.fe_values(1));
+ *   L2::cell_matrix (dinfo.matrix(2,false).matrix,
+ *                    info.fe_values(1));
  * }
  * @endcode
  * See step-39 for a worked out example of this code.

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.