]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix comments in @code blocks in physics headers 6820/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Thu, 21 Jun 2018 20:41:25 +0000 (22:41 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 3 Jul 2018 22:41:27 +0000 (00:41 +0200)
include/deal.II/physics/notation.h

index 48c65c65e4ffbe93e535bc28f603d5f3d0057aa9..d897bc39ef112e61a46ad5b356227486ba5ec919 100644 (file)
@@ -455,11 +455,14 @@ namespace Physics
        * Tensor<3,dim> r3_tnsr;      // All elements filled differently
        * Tensor<3,dim> r3_symm_tnsr; // Some elements filled symmetrically
        *
-       * const FullMatrix<double> mtrx_1
-       *   = Physics::Notation::to_matrix<dim, Tensor<2,dim>,Tensor<1,dim>
-       * >(r3_tnsr); const FullMatrix<double> mtrx_2 =
-       * Physics::Notation::to_matrix<dim, Tensor<1,dim>,SymmetricTensor<2,dim>
-       * >(r3_symm_tnsr);
+       * const FullMatrix<double> mtrx_1 =
+       *   Physics::Notation::to_matrix<dim,
+       *                                Tensor<2,dim>,
+       *                                Tensor<1,dim>*>(r3_tnsr);
+       * const FullMatrix<double> mtrx_2 =
+       *   Physics::Notation::to_matrix<dim,
+       *                                Tensor<1,dim>,
+       *                                SymmetricTensor<2,dim>*>(r3_symm_tnsr);
        * @endcode
        * the matrix @p mtrx_1 will have $dim \times dim$ rows and $dim$ columns
        * (i.e. size Tensor<2,dim>::n_independent_components $\times$

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.