From bdcd79500eb38bf12999f1724ae08ef10c1d932d Mon Sep 17 00:00:00 2001
From: Oliver Sander <oliver.sander@tu-dresden.de>
Date: Mon, 2 Oct 2023 11:01:44 +0200
Subject: [PATCH] Fix a few typos

---
 dune/microstructure/CorrectorComputer.hh   | 6 +++---
 dune/microstructure/prestrainedMaterial.hh | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dune/microstructure/CorrectorComputer.hh b/dune/microstructure/CorrectorComputer.hh
index a7c6f8cd..d8155240 100644
--- a/dune/microstructure/CorrectorComputer.hh
+++ b/dune/microstructure/CorrectorComputer.hh
@@ -896,7 +896,7 @@ public:
 
   auto subtractIntegralMean(VectorCT& coeffVector)
   {
-    // Substract correct Integral mean from each associated component function
+    // Subtract correct integral mean from each associated component function
     auto IM = integralMean(coeffVector);
 
     for(size_t k=0; k<dim; k++)
@@ -1129,7 +1129,7 @@ public:
       }
       if(substract_integralMean)
       {
-          std::cout << " --- substracting integralMean --- " << std::endl;
+          std::cout << " --- subtracting integralMean --- " << std::endl;
           subtractIntegralMean(phi_1_);
           subtractIntegralMean(phi_2_);
           subtractIntegralMean(phi_3_);
@@ -1413,7 +1413,7 @@ public:
 
 
 
-  // --- Check wheter stiffness matrix is symmetric
+  // --- Check whether stiffness matrix is symmetric
   void checkSymmetry()
   {
     std::cout << " Check Symmetry of stiffness matrix..." << std::endl;
diff --git a/dune/microstructure/prestrainedMaterial.hh b/dune/microstructure/prestrainedMaterial.hh
index a35aa2fe..83e685b1 100644
--- a/dune/microstructure/prestrainedMaterial.hh
+++ b/dune/microstructure/prestrainedMaterial.hh
@@ -332,7 +332,7 @@ Dune::FieldMatrix<double,6,6> setupPhase(Python::Module module, int phase)
   catch(Dune::Exception)
   {
     // std::cout << "(Could not read frame vectors for material phase) " << phase << ": - Canonical Frame (default) is used." << std::endl;
-    std::cout << "(Could not read rotaton axis & angle for material phase) " << phase << ": - Canonical Frame (default) is used." << std::endl;
+    std::cout << "(Could not read rotation axis & angle for material phase) " << phase << ": - Canonical Frame (default) is used." << std::endl;
   }
 
 
@@ -369,7 +369,7 @@ Dune::FieldMatrix<double,6,6> setupPhase(Python::Module module, int phase)
    * 
    * @param name  name of the material file being used.
    */
-  void setup(const std::string name)  // cant use materialFunctionName_ here?
+  void setup(const std::string name)  // can't use materialFunctionName_ here?
   {
     Python::Module module = Python::import(name);
     indicatorFunction_ = Python::make_function<int>(module.get("indicatorFunction"));
-- 
GitLab