Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
garth-wells committed Jan 11, 2025
1 parent fe6f168 commit 4d59cc7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions cpp/dolfinx/fem/discreteoperators.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <dolfinx::scalar T,
std::floating_point U = dolfinx::scalar_value_type_t<T>>
Expand Down Expand Up @@ -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 <dolfinx::scalar T, std::floating_point U>
void interpolation_matrix(const FunctionSpace<U>& V0,
const FunctionSpace<U>& V1, auto&& mat_set)
Expand Down
2 changes: 1 addition & 1 deletion python/dolfinx/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4d59cc7

Please sign in to comment.