]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix some minor documentation errors from #3034 3670/head
authorJean-Paul Pelteret <jppelteret@gmail.com>
Fri, 9 Dec 2016 20:25:48 +0000 (21:25 +0100)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Fri, 9 Dec 2016 20:27:50 +0000 (21:27 +0100)
Predictably some minor errors were only spotted after a merge! The
biggest point is ensuring that definitions of static members of the
Elasticity::StandardTensors class don't get inlined in their description
as "Initial values".

include/deal.II/physics/elasticity/kinematics.h
include/deal.II/physics/elasticity/standard_tensors.h
source/physics/elasticity/standard_tensors.cc

index 28fd56f831130ab0a13cbb2e0a333d5d02629880..354635166dc9778d84466981ae264f9c96120eee 100644 (file)
@@ -223,7 +223,7 @@ namespace Physics
        * gradient).
        * The result is expressed as
        * @f[
-       *  \mathbf{d} := \frac{1}{2} \left[ \mathbf{l} + \mathbf{l}^{T} \right] \, .
+       *  \mathbf{d} := \frac{1}{2} \left[ \mathbf{l} + \mathbf{l}^{T} \right]
        * @f]
        * where
        * @f[
@@ -246,7 +246,7 @@ namespace Physics
        * gradient).
        * The result is expressed as
        * @f[
-       *  \mathbf{w} := \frac{1}{2} \left[ \mathbf{l} - \mathbf{l}^{T} \right] \, .
+       *  \mathbf{w} := \frac{1}{2} \left[ \mathbf{l} - \mathbf{l}^{T} \right]
        * @f]
        * where
        * @f[
index 4a58ca08a93bf282f9845655c7ed5e8a7ae91a9d..91c4ec3734d079488d2d3d983d81b62ae9bdc03e 100644 (file)
@@ -212,9 +212,9 @@ namespace Physics
        * as constructed from the deformation gradient tensor @p F.
        * The result performs the following operation:
        * @f[
-       *  \texttt{Dev_P_T} \{ \bullet \} = J^{-2/\textrm{dim}} \left[ \{ \bullet \} -
-       *  \frac{1}{\textrm{dim}} \left[\mathbf{C}^{-1} : \{ \bullet \}\right] \mathbf{C} \right]
-       *  := \hat{\mathcal{P}}^{T} : \{ \bullet \}
+       *  \hat{\mathcal{P}}^{T} : \{ \bullet \}
+       *    = J^{-2/\textrm{dim}} \left[ \{ \bullet \} - \frac{1}{\textrm{dim}} \left[\mathbf{C}^{-1} : \{ \bullet \}\right] \mathbf{C} \right]
+       *    = \texttt{Dev_P_T} \{ \bullet \}
        * @f]
        */
       template <typename Number>
index 02db6735c578bb0e4f92a66657ce1c2461cc5f9e..665acddb317707f3afdf89aa62a4b3b681fce7df 100644 (file)
@@ -18,6 +18,7 @@
 
 DEAL_II_NAMESPACE_OPEN
 
+#ifndef DOXYGEN
 
 template <int dim>
 const SymmetricTensor<2, dim>
@@ -42,6 +43,7 @@ template <int dim>
 const SymmetricTensor<4, dim>
 Physics::Elasticity::StandardTensors<dim>::dev_P = deviator_tensor<dim>();
 
+#endif // DOXYGEN
 
 // explicit instantiations
 #include "standard_tensors.inst"

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.