From 9a4b8ce6b883b7768feb2e69e20345e36a4fc743 Mon Sep 17 00:00:00 2001
From: Mathis Kelm <mathis.kelm@iws.uni-stuttgart.de>
Date: Thu, 9 Mar 2023 11:44:43 +0100
Subject: [PATCH] [codespell] Fix common spelling mistakes pointed out by
 codespell 2.2.4

---
 CHANGELOG.md                                         | 2 +-
 dumux/common/math.hh                                 | 6 +++---
 dumux/experimental/timestepping/multistagemethods.hh | 2 +-
 dumux/geomechanics/poroelastic/couplingmanager.hh    | 2 +-
 dumux/linear/pdesolver.hh                            | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9e1f0caed0..bf0886afa5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1445,7 +1445,7 @@ Differences Between DuMu<sup>x</sup> 2.6 and DuMu<sup>x</sup> 2.7
 
   - The 1p2c volume variables no longer use the method tortuosity() from
     spatial params class, the value is now calculated within the effective
-    diffusivity model. Thus the method is deprecated in the spacial params
+    diffusivity model. Thus the method is deprecated in the spatial params
     classes FVSpatialParamsOneP and ImplicitSpatialParamsOneP.
 
 * Deprecated protected MEMBER VARIABLES, to be removed after 2.7: BEWARE: Older
diff --git a/dumux/common/math.hh b/dumux/common/math.hh
index 7abd460af1..d5ece83908 100644
--- a/dumux/common/math.hh
+++ b/dumux/common/math.hh
@@ -430,7 +430,7 @@ int invertCubicPolynomial(SolContainer *sol,
  *
  * Compares an current position vector with a reference vector, and returns true
  * if the position vector is larger.
- * "Larger" in this case means that all the entries of each spacial dimension are
+ * "Larger" in this case means that all the entries of each spatial dimension are
  * larger compared to the reference vector.
  *
  * \param pos Vector holding the current Position that is to be checked
@@ -456,7 +456,7 @@ bool isLarger(const Dune::FieldVector<Scalar, dim> &pos,
  *
  * Compares an current position vector with a reference vector, and returns true
  * if the position vector is smaller.
- * "Smaller" in this case means that all the entries of each spacial dimension are
+ * "Smaller" in this case means that all the entries of each spatial dimension are
  * smaller in comparison with the reference vector.
  *
  * \param pos Vector holding the current Position that is to be checked
@@ -482,7 +482,7 @@ bool isSmaller(const Dune::FieldVector<Scalar, dim> &pos,
  *
  * Compares an current position vector with two reference vector, and returns true
  * if the position vector lies in between them.
- * "Between" in this case means that all the entries of each spacial dimension are
+ * "Between" in this case means that all the entries of each spatial dimension are
  * smaller in comparison with the larger reference vector as well as larger campared
  * to the smaller reference.
  * This is comfortable to cheack weather the current position is located inside or
diff --git a/dumux/experimental/timestepping/multistagemethods.hh b/dumux/experimental/timestepping/multistagemethods.hh
index ed97798e0d..4868eecb9c 100644
--- a/dumux/experimental/timestepping/multistagemethods.hh
+++ b/dumux/experimental/timestepping/multistagemethods.hh
@@ -50,7 +50,7 @@ namespace Dumux::Experimental {
  *
  * where \f$ M(x)\f$ is the temporal operator/residual in terms of the solution \f$ x \f$,
  * and \f$ R(x)\f$ is the discrete spatial operator/residual.
- * \f$ M(x)\f$ usually corresponds to the conserved quanity (e.g. mass), and \f$ R(x)\f$
+ * \f$ M(x)\f$ usually corresponds to the conserved quantity (e.g. mass), and \f$ R(x)\f$
  * contains the rest of the residual. We can then construct \f$ m \f$-stage time discretization methods.
  * Integrating from time \f$ t^n\f$ to \f$ t^{n+1}\f$ with time step size \f$ \Delta t^n\f$, we solve:
  *
diff --git a/dumux/geomechanics/poroelastic/couplingmanager.hh b/dumux/geomechanics/poroelastic/couplingmanager.hh
index a587a88b09..578073a629 100644
--- a/dumux/geomechanics/poroelastic/couplingmanager.hh
+++ b/dumux/geomechanics/poroelastic/couplingmanager.hh
@@ -42,7 +42,7 @@ namespace Dumux {
  *        Coupling manager for porous medium flow problems coupled to a poro-mechanical
  *        problem both defined on the same grid. Coupling occurs via the change of porosity
  *        and permeability due to mechanical deformations and the influence of the pore
- *        pressure on the effecive stresses acting on the porous medium.
+ *        pressure on the effective stresses acting on the porous medium.
  *
  * \tparam PMFlowId The porous medium flow domain id
  * \tparam PoroMechId The poro-mechanical domain id
diff --git a/dumux/linear/pdesolver.hh b/dumux/linear/pdesolver.hh
index edd2313002..ce758947cc 100644
--- a/dumux/linear/pdesolver.hh
+++ b/dumux/linear/pdesolver.hh
@@ -215,7 +215,7 @@ public:
     /*!
      * \brief Set whether the matrix should be reused
      * \note If this is set to true, the matrix will not be assembled. Make
-     *       sure there is an assembled matrix that can be resused before
+     *       sure there is an assembled matrix that can be reused before
      *       setting this flag to true.
      */
     void reuseMatrix(bool reuse = true)
-- 
GitLab