From 67b0d9c88f5e8aae254e54633de64ff2d29ad14c Mon Sep 17 00:00:00 2001
From: Oliver Sander <oliver.sander@tu-dresden.de>
Date: Fri, 5 Jan 2024 16:28:01 +0100
Subject: [PATCH] Fix various typos

---
 dune/gfe/assemblers/mixedlocalgfeadolcstiffness.hh | 2 +-
 dune/gfe/assemblers/simofoxenergy.hh               | 2 +-
 dune/gfe/rodfactory.hh                             | 2 +-
 dune/gfe/spaces/quaternion.hh                      | 2 +-
 test/valuefactory.hh                               | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dune/gfe/assemblers/mixedlocalgfeadolcstiffness.hh b/dune/gfe/assemblers/mixedlocalgfeadolcstiffness.hh
index ec81c11b..bddccfb3 100644
--- a/dune/gfe/assemblers/mixedlocalgfeadolcstiffness.hh
+++ b/dune/gfe/assemblers/mixedlocalgfeadolcstiffness.hh
@@ -337,7 +337,7 @@ assembleGradientAndHessian(const typename Basis::LocalView& localView,
           if (rc < 0)
             DUNE_THROW(Dune::Exception, "ADOL-C has returned with error code " << rc << "!");
 
-          for (size_t j0=0; j0<nDoubles0; j0++)           //Uppper left
+          for (size_t j0=0; j0<nDoubles0; j0++)           // Upper left
             embeddedHessian10[i1][j0/embeddedBlocksize0][ii1][j0%embeddedBlocksize0] = w[j0];
 
           for (size_t j1=0; j1<nDoubles1; j1++)           //Upper right
diff --git a/dune/gfe/assemblers/simofoxenergy.hh b/dune/gfe/assemblers/simofoxenergy.hh
index 55081aff..aab8fd39 100644
--- a/dune/gfe/assemblers/simofoxenergy.hh
+++ b/dune/gfe/assemblers/simofoxenergy.hh
@@ -276,7 +276,7 @@ namespace Dune::GFE {
    *
    *  The energy is 0.5 * S * E = 0.5 * transpose(E) * Cmat * E, where
    *  S are the stress resultants [membrane forces, bending moments, transverse shear forces]
-   *  E are the components of the Green-Lagrangian strains [membrane strains, bending , tranverse shear]
+   *  E are the components of the Green-Lagrangian strains [membrane strains, bending, transverse shear]
    *  see for details Paper Equation 4.11,4.10 and 10.1
    */
   template <class Basis, template <int, typename, typename, typename> typename LocalFEFunction, typename field_type>
diff --git a/dune/gfe/rodfactory.hh b/dune/gfe/rodfactory.hh
index 933fefee..3f27c7d5 100644
--- a/dune/gfe/rodfactory.hh
+++ b/dune/gfe/rodfactory.hh
@@ -168,7 +168,7 @@ public:
      \param rod The configuration to be computed
      \param radius The rod's radius
      \param E The rod's elastic modulus
-     \param nu The rod's Poission modulus
+     \param nu The rod's Poisson modulus
      \param beginning The prescribed Dirichlet values
      \param end The prescribed Dirichlet values
      \param[out] rod The new rod
diff --git a/dune/gfe/spaces/quaternion.hh b/dune/gfe/spaces/quaternion.hh
index 9d67dc5b..141ac08d 100644
--- a/dune/gfe/spaces/quaternion.hh
+++ b/dune/gfe/spaces/quaternion.hh
@@ -58,7 +58,7 @@ public:
 
     return q;
   }
-  /** \brief Return the tripel of director vectors represented by a unit quaternion
+  /** \brief Return the triple of director vectors represented by a unit quaternion
 
      The formulas are taken from Dichmann, Li, Maddocks, (2.6.4), (2.6.5), (2.6.6)
    */
diff --git a/test/valuefactory.hh b/test/valuefactory.hh
index 867fd452..303f5e09 100644
--- a/test/valuefactory.hh
+++ b/test/valuefactory.hh
@@ -333,7 +333,7 @@ public:
 
 /** \brief A class that creates sets of values of various types, to be used in unit tests
  *
- * This is the specialization for ProducManifold<...>
+ * This is the specialization for ProductManifold<...>
  */
 template <typename ... TargetSpaces>
 class ValueFactory<Dune::GFE::ProductManifold<TargetSpaces...> >
-- 
GitLab