Skip to main content

Basix Python interface

Project description

Basix

Basix CI Spack install

Basix is a finite element definition and tabulation runtime library. Basix allows users to:

  • evaluate finite element basis functions and their derivatives at a set of points;
  • 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 arbitrary meshes; and
  • interpolate into and between finite element spaces.

Basix includes a range of built-in elements, and also allows the user to define their own custom elements.

Basix is one of the components of FEniCSx, alongside UFL, FFCx, and DOLFINx.

Installation

To install Basix:

pip install fenics-basix

We currently build binary wheels for Linux and macOS x86-64 architectures.

For advanced and developer installation instructions see the more detailed install instructions

Documentation

Documentation of Basix can be found at https://docs.fenicsproject.org/basix/main/.

Support

If you find a bug in Basix, you can report it on the GitHub issue tracker.

Questions about using Basix can be asked on the FEniCS discourse group.

Contributing

Information about how to contribute to Basix can be found here.

Supported elements

Interval

In Basix, the sub-entities of the reference interval are numbered as follows:

The numbering of a reference interval

The following elements are supported on an interval:

Triangle

In Basix, the sub-entities of the reference triangle are numbered as follows:

The numbering of a reference triangle

The following elements are supported on a triangle:

Quadrilateral

In Basix, the sub-entities of the reference quadrilateral are numbered as follows:

The numbering of a reference quadrilateral

The following elements are supported on a quadrilateral:

Tetrahedron

In Basix, the sub-entities of the reference tetrahedron are numbered as follows:

The numbering of a reference tetrahedron

The following elements are supported on a tetrahedron:

Hexahedron

In Basix, the sub-entities of the reference hexahedron are numbered as follows:

The numbering of a reference hexahedron

The following elements are supported on a hexahedron:

Prism

In Basix, the sub-entities of the reference prism are numbered as follows:

The numbering of a reference prism

The following elements are supported on a prism:

Pyramid

In Basix, the sub-entities of the reference pyramid are numbered as follows:

The numbering of a reference pyramid

The following elements are supported on a pyramid:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fenics_basix-0.9.0.tar.gz (635.1 kB view details)

Uploaded Source

Built Distributions

fenics_basix-0.9.0-cp312-cp312-win_amd64.whl (6.2 MB view details)

Uploaded CPython 3.12 Windows x86-64

fenics_basix-0.9.0-cp312-cp312-manylinux_2_28_x86_64.whl (13.0 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.28+ x86-64

fenics_basix-0.9.0-cp312-cp312-manylinux_2_28_aarch64.whl (5.8 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.28+ ARM64

fenics_basix-0.9.0-cp312-cp312-macosx_11_0_arm64.whl (778.3 kB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

fenics_basix-0.9.0-cp312-cp312-macosx_10_14_x86_64.whl (953.2 kB view details)

Uploaded CPython 3.12 macOS 10.14+ x86-64

fenics_basix-0.9.0-cp311-cp311-win_amd64.whl (6.2 MB view details)

Uploaded CPython 3.11 Windows x86-64

fenics_basix-0.9.0-cp311-cp311-manylinux_2_28_x86_64.whl (13.0 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.28+ x86-64

fenics_basix-0.9.0-cp311-cp311-manylinux_2_28_aarch64.whl (5.8 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.28+ ARM64

fenics_basix-0.9.0-cp311-cp311-macosx_11_0_arm64.whl (778.6 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

fenics_basix-0.9.0-cp311-cp311-macosx_10_14_x86_64.whl (953.3 kB view details)

Uploaded CPython 3.11 macOS 10.14+ x86-64

fenics_basix-0.9.0-cp310-cp310-win_amd64.whl (6.2 MB view details)

Uploaded CPython 3.10 Windows x86-64

fenics_basix-0.9.0-cp310-cp310-manylinux_2_28_x86_64.whl (13.0 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.28+ x86-64

fenics_basix-0.9.0-cp310-cp310-manylinux_2_28_aarch64.whl (5.8 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.28+ ARM64

fenics_basix-0.9.0-cp310-cp310-macosx_11_0_arm64.whl (778.3 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

fenics_basix-0.9.0-cp310-cp310-macosx_10_14_x86_64.whl (953.0 kB view details)

Uploaded CPython 3.10 macOS 10.14+ x86-64

fenics_basix-0.9.0-cp39-cp39-win_amd64.whl (6.2 MB view details)

Uploaded CPython 3.9 Windows x86-64

fenics_basix-0.9.0-cp39-cp39-manylinux_2_28_x86_64.whl (13.0 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.28+ x86-64

fenics_basix-0.9.0-cp39-cp39-manylinux_2_28_aarch64.whl (5.8 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.28+ ARM64

fenics_basix-0.9.0-cp39-cp39-macosx_11_0_arm64.whl (778.4 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

fenics_basix-0.9.0-cp39-cp39-macosx_10_14_x86_64.whl (953.3 kB view details)

Uploaded CPython 3.9 macOS 10.14+ x86-64

File details

Details for the file fenics_basix-0.9.0.tar.gz.

File metadata

  • Download URL: fenics_basix-0.9.0.tar.gz
  • Upload date:
  • Size: 635.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for fenics_basix-0.9.0.tar.gz
Algorithm Hash digest
SHA256 2a21e15a8ed8f3a91946752afd058160859a2f5604df65a53b26bc96c32c0ed4
MD5 fd9314f9e4151c550e786d9fab1eebb2
BLAKE2b-256 b3a4e17745d841d37d05a95533ba71b295d98fe620c4bec6cdd84891b05324ce

See more details on using hashes here.

File details

Details for the file fenics_basix-0.9.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.9.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 aa01b7a2701b2132346e73933afe29a11d7911e7a299d23b5e703721bcacae6e
MD5 8e20b8111c886532de5739e5912a90ce
BLAKE2b-256 c325a70492bb4992b8f3a49ff689f5d35180b9b8f954509fe391eeebc74c4f54

See more details on using hashes here.

File details

Details for the file fenics_basix-0.9.0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.9.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1b1dab680321ba4e3111e99b84ab5894dcd23c870b80b9d443004055e65a7cc8
MD5 8341e477c11dba1cae58e7e7ddbab8be
BLAKE2b-256 45ef0e20cbbcd2bffc7446b713db7e3e20cf6f85122ee11761e01b21c240085f

See more details on using hashes here.

File details

Details for the file fenics_basix-0.9.0-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.9.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a9745eecca7cd4dea1940f665b2de9b086653858e28c4acf21b22464db334ab4
MD5 02334c323b1497dbc6ef2da47f63993f
BLAKE2b-256 0471d24593b2007774e51aa28dc3ce782d0ecf15af417240e379aaad5a141203

See more details on using hashes here.

File details

Details for the file fenics_basix-0.9.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.9.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 91ee8c9019135873ba8cecdbf8e2cd06ed8719f752a02b39bf76cef974b75402
MD5 64973c015ca2c3b5b9f48dc01beb7ddd
BLAKE2b-256 94fe868bfaa533899c864da7c70fa72c4f5dde5d17933588dcf21a41da9cca15

See more details on using hashes here.

File details

Details for the file fenics_basix-0.9.0-cp312-cp312-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.9.0-cp312-cp312-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 2506f921cbd9db06ae8d4170a733385c6931f31ce49399ac96e2f588ddee2661
MD5 cb6c43ea502101d04a69f2474cc04228
BLAKE2b-256 8e39c65c84f573fa16245cc07f193bc5ddf52ae644d8340ca8c367a9dede4b05

See more details on using hashes here.

File details

Details for the file fenics_basix-0.9.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.9.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a7ace98fc289dcf1db10e4082b7847e1845f8f8953badab862f521a602c51f0b
MD5 d5e879139cf84b359903961efdea7d9a
BLAKE2b-256 baafaf2dd767a926e2a2e8f130baa35ace9752328dd7d7331fd94e692c1d58ee

See more details on using hashes here.

File details

Details for the file fenics_basix-0.9.0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.9.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d39f5db765eb2af9f61b123043bb9e03a78d5c15a11d16823b6748c3e6157994
MD5 47b03fc5e6c7509331e8dfd8dd23f446
BLAKE2b-256 9132209c3731cf356117ddd9c2f478d51e02d2c7c19656ae8e1c93b885ef90d4

See more details on using hashes here.

File details

Details for the file fenics_basix-0.9.0-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.9.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4edf3149dae51d752c728456634214f03a3533e3ba1ff5523d63e4ccde8986f4
MD5 3d4187cb5fb02dacd803c4503ca9ca5f
BLAKE2b-256 0f85393b841e4daf1cadc1ffe5277637710c486a07c657bdd04340138dfea65c

See more details on using hashes here.

File details

Details for the file fenics_basix-0.9.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.9.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cf7b7ac3fdb078e089d2ffc96520a8d52589062727bd1b2e4f5717f8deac4077
MD5 91f0b3ac2837a4d8e6809869fcc091f9
BLAKE2b-256 d14fdbc99cd1d317697c37e94893ecf3b568c33003f60c9e10deedc32f56ae8f

See more details on using hashes here.

File details

Details for the file fenics_basix-0.9.0-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.9.0-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 7e3a991654f13b6ab6d97ee69d17dc66f2904b4ee1fa8e8091731a2087b34ee1
MD5 261e7e7303cd117f5755451bfbfe341b
BLAKE2b-256 6ec93268c711ffecc476ca9a4236b46de22209390e4213683cfe12d5fe35211f

See more details on using hashes here.

File details

Details for the file fenics_basix-0.9.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.9.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f9bcf23486c08112962f554659ae9b39c84aa882a0804d5ba97f1be27bf99ae6
MD5 5da2ba29246d1e99a69420d061ce16e3
BLAKE2b-256 98f0be507c22483e302b1474b0436a67c0272b67f5ae8ced6043f7de6369c1c9

See more details on using hashes here.

File details

Details for the file fenics_basix-0.9.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.9.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 684988b8707cfee262c7b8fbbbfdc9074dcdddc883b26bd29a3ba0f2b518a677
MD5 d9da4f7a0b6739c2ae9b74bb1a55f9d2
BLAKE2b-256 16c6feedd1acaf31cd188adbee7533244dc50e7d096229462a44f9069401d05b

See more details on using hashes here.

File details

Details for the file fenics_basix-0.9.0-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.9.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 297b62cb50028090225434545b9e9f2c43fca0117a6f573112ffb6d157a44592
MD5 0b046bc399a463fe705805ce524e8c23
BLAKE2b-256 094145e25aee57a46e3ef8dfc658fc03af8f1e6eceb03e1fe32abf34cd7ef5db

See more details on using hashes here.

File details

Details for the file fenics_basix-0.9.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.9.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 059aacb9522d75a11c599f2ec81e39100a09e32272882f4445a29b0085144ee6
MD5 e1803d946b6d73e0ddd728928c61d208
BLAKE2b-256 bb72f2d79e7199d64bfe55ccafe5595c0e7552ca195a7ded026991331de7d2bc

See more details on using hashes here.

File details

Details for the file fenics_basix-0.9.0-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.9.0-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 a209721c6d771e8b3f4d3df3dcc461eba939b203808440dbf767867efbf9e34b
MD5 5a7057b1df2dc4cc57e83fad88cfcdd4
BLAKE2b-256 c82e45121784dd738ecf31ca3c1dafdf534e232fbe776b1334546b306c2e8ba3

See more details on using hashes here.

File details

Details for the file fenics_basix-0.9.0-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.9.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 eaae53025f1fe96de62208c1b2b382c2c45ef8cd0cd98bc40e826463d80bc3d3
MD5 c147bf441a18320714a5d78c926c61c6
BLAKE2b-256 4fa4b19fe52c0d6d5ee2055cdf14f413d4bfe706f4f69dc917d0e5c04a15e2f5

See more details on using hashes here.

File details

Details for the file fenics_basix-0.9.0-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.9.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 97b4898b277b22cd7e521babffd98ebb316d102e74dfc9ba5457bdc066792a79
MD5 61900b74e0a8715cac70739908602514
BLAKE2b-256 6e4fed942135113bf01551b5ca863d99f0662652bb2f72038b6dbd8512189715

See more details on using hashes here.

File details

Details for the file fenics_basix-0.9.0-cp39-cp39-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.9.0-cp39-cp39-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 cd350d2ea5914f503563c24fb4469b7b2a0ff17a7c989ffa0b6a0ae07a6dabff
MD5 36602d35c964c98795022bdfd23a1bae
BLAKE2b-256 ebec2e760b9c8368178c2b45e51825338828bc0dbb120836f1ebc7710dc0bad8

See more details on using hashes here.

File details

Details for the file fenics_basix-0.9.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.9.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 368d828670c72d79b4d2c0bfca425376674bebb8beb85daeb743a6e832bf34e0
MD5 04f7f312678316027558dadaca443487
BLAKE2b-256 0ba87f110e1705af4b89074b86b14f3c0ec9e51e24b14860967799f6fe441470

See more details on using hashes here.

File details

Details for the file fenics_basix-0.9.0-cp39-cp39-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.9.0-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 2be1d27e3c9d1962bd67015acf4baba3e0329702e04861cb84eaeade108fffbf
MD5 cbf732940f981ee9e01d8646696df79e
BLAKE2b-256 50d67d3e0ccc00f2a82d23754dae2e3d5162af5427b2b2acc179b135c26c4823

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page