From 4d59cc7699aad7687055880a7da6e6bd2efa743d Mon Sep 17 00:00:00 2001 From: "Garth N. Wells" Date: Sat, 11 Jan 2025 14:18:09 +0000 Subject: [PATCH] Fix typos --- cpp/dolfinx/fem/discreteoperators.h | 12 ++++++------ python/dolfinx/mesh.py | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cpp/dolfinx/fem/discreteoperators.h b/cpp/dolfinx/fem/discreteoperators.h index 622b2abded..87740f60d2 100644 --- a/cpp/dolfinx/fem/discreteoperators.h +++ b/cpp/dolfinx/fem/discreteoperators.h @@ -44,9 +44,9 @@ namespace dolfinx::fem /// /// @param[in] topology Mesh topology /// @param[in] V0 Lagrange element and dofmap for corresponding space to -/// interpolate the gradient from -/// @param[in] V1 Nédélec (first kind) element and and dofmap for -/// corresponding space to interpolate into +/// interpolate the gradient from. +/// @param[in] V1 Nédélec (first kind) element and dofmap for +/// corresponding space to interpolate into. /// @param[in] mat_set A functor that sets values in a matrix template > @@ -148,9 +148,9 @@ void discrete_gradient(mesh::Topology& topology, /// initialised using sparsitybuild::cells. The space `V1` should be /// used for the rows of the sparsity pattern, `V0` for the columns. /// -/// @param[in] V0 The space to interpolate from -/// @param[in] V1 The space to interpolate to -/// @param[in] mat_set A functor that sets values in a matrix +/// @param[in] V0 Space to interpolate from. +/// @param[in] V1 Space to interpolate to. +/// @param[in] mat_set Functor that sets values in a matrix. template void interpolation_matrix(const FunctionSpace& V0, const FunctionSpace& V1, auto&& mat_set) diff --git a/python/dolfinx/mesh.py b/python/dolfinx/mesh.py index 9439faa552..89a1ff69f2 100644 --- a/python/dolfinx/mesh.py +++ b/python/dolfinx/mesh.py @@ -366,7 +366,7 @@ def ufl_id(self) -> int: @property def topology(self) -> _cpp.mesh.Topology: - """Mesh topology with which the the tags are associated.""" + """Mesh topology with which the tags are associated.""" return self._cpp_object.topology @property