diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9440a69cc..cef5f820d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,7 +17,7 @@ to see where (if anywhere) the tests are failing. The GitHub Actions runs include `ruff` formatting and checking. Before opening a PR, you can run `ruff format` locally to reformat your code and `ruff check` to locally check for code -suggestion that the CI run will pick up on. +suggestions that the CI run will pick up on. ### Code of conduct We expect all our contributors to follow the [code of conduct](CODE_OF_CONDUCT.md). Any unacceptable diff --git a/README.md b/README.md index c05344e4b..d6cbd981b 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Basix allows users to: - access geometric and topological information about reference cells; - apply push forward and pull back operations to map data between a reference cell and a physical cell; -- permute and transform DOFs to allow higher-order elements to be use on +- permute and transform DOFs to allow higher-order elements to be used on arbitrary meshes; and - interpolate into and between finite element spaces. diff --git a/cpp/basix/finite-element.h b/cpp/basix/finite-element.h index be1462440..9e04c859a 100644 --- a/cpp/basix/finite-element.h +++ b/cpp/basix/finite-element.h @@ -1657,7 +1657,7 @@ std::vector lex_dof_ordering(element::family family, cell::type cell, /// between cells points of the element. The discontinuous element will have the /// same DOFs, but they will all be associated with the interior of the cell. /// @param[in] dof_ordering The ordering of the DOFs -/// @return An optioanl list of lists of finite element factors if family has +/// @return An optional list of lists of finite element factors if family has /// tensor structure template std::optional>>> diff --git a/cpp/basix/polyset.h b/cpp/basix/polyset.h index ae98b0abb..a996d6992 100644 --- a/cpp/basix/polyset.h +++ b/cpp/basix/polyset.h @@ -244,7 +244,7 @@ int nderivs(cell::type cell, int d); /// given cell. /// @param[in] cell Cell type /// @param[in] type1 First polyset type -/// @param[in] type2 Decond polyset type +/// @param[in] type2 Second polyset type /// @return Superset type polyset::type superset(cell::type cell, polyset::type type1, polyset::type type2); diff --git a/joss/paper.bib b/joss/paper.bib index 1b583b9c1..9011224a0 100644 --- a/joss/paper.bib +++ b/joss/paper.bib @@ -227,7 +227,7 @@ @misc{xtensor @article{hhj, AUTHOR = {{A}rnold, {D}ouglas {N}. and {W}alker, {S}hawn {W}.}, TITLE = {{T}he {H}ellan--{H}errmann--{J}ohnson method with curved elements}, - JOURNAL = {SIAM Journal on Numberical Analysis}, + JOURNAL = {SIAM Journal on Numerical Analysis}, VOLUME = {58}, NUMBER = {5}, YEAR = {2020}, diff --git a/python/basix/ufl.py b/python/basix/ufl.py index 0602b4b8a..075f8777b 100644 --- a/python/basix/ufl.py +++ b/python/basix/ufl.py @@ -717,7 +717,7 @@ class _MixedElement(_ElementBase): """A mixed element that combines two or more elements. This can be used when multiple different elements appear in a form. - Users should not directly call this class's initilizer, but should + Users should not directly call this class's initializer, but should use the :func:`mixed_element` function instead. """ @@ -944,7 +944,7 @@ class _BlockedElement(_ElementBase): """Element with a block size that contains multiple copies of a sub element. This can be used to (for example) create vector and tensor Lagrange - elements. Users should not directly call this classes initilizer, + elements. Users should not directly call this class's initializer, but should use the `blocked_element` function instead. """ diff --git a/python/basix/utils.py b/python/basix/utils.py index e2afd05a4..c046b38f2 100644 --- a/python/basix/utils.py +++ b/python/basix/utils.py @@ -3,7 +3,7 @@ # This file is part of Basix (https://www.fenicsproject.org) # # SPDX-License-Identifier: MIT -"""Utility funcitons.""" +"""Utility functions.""" from basix._basixcpp import index as _index