Skip to main content

Basix Python interface

Project description

Basix

Basix CI

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 a finite element space 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.

Installing Basix

To install the latest stable version of Basix from pypi.org:

pip install fenics-basix

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

To install the main (development) branch of Basix:

pip install git+https://github.com/FEniCS/basix.git

For advanced installation instructions see the 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.7.0.post0.tar.gz (618.1 kB view details)

Uploaded Source

Built Distributions

fenics_basix-0.7.0.post0-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.7.0.post0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.4 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

fenics_basix-0.7.0.post0-cp310-cp310-macosx_11_0_arm64.whl (828.5 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

fenics_basix-0.7.0.post0-cp310-cp310-macosx_10_9_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

fenics_basix-0.7.0.post0-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.7.0.post0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

fenics_basix-0.7.0.post0-cp39-cp39-macosx_11_0_arm64.whl (828.6 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

fenics_basix-0.7.0.post0-cp39-cp39-macosx_10_9_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

fenics_basix-0.7.0.post0-cp38-cp38-manylinux_2_28_x86_64.whl (13.0 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.28+ x86-64

fenics_basix-0.7.0.post0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.4 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

fenics_basix-0.7.0.post0-cp38-cp38-macosx_11_0_arm64.whl (828.5 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

fenics_basix-0.7.0.post0-cp38-cp38-macosx_10_9_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

File details

Details for the file fenics_basix-0.7.0.post0.tar.gz.

File metadata

  • Download URL: fenics_basix-0.7.0.post0.tar.gz
  • Upload date:
  • Size: 618.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for fenics_basix-0.7.0.post0.tar.gz
Algorithm Hash digest
SHA256 108fce5bd3858754dcf49c8ef071949456fe971bb99e66d5896a2eff0573954a
MD5 e86c7af02b1587e90fb19997846f2c94
BLAKE2b-256 6efb5869a4fbcc318f08b06c08ee33085d2f68f7c10520141d43cd31bb7db93e

See more details on using hashes here.

File details

Details for the file fenics_basix-0.7.0.post0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.7.0.post0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8358260c27fe6ff51a9065de10a280247b959f53bab9aa7d38647c9d20c963ec
MD5 f30882ad7fd3a8c74677f4210e683af5
BLAKE2b-256 8e68e4806bd912cd8829fec824011c93c6625d1ad45da0461ee01b89ed18e519

See more details on using hashes here.

File details

Details for the file fenics_basix-0.7.0.post0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.7.0.post0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 97e4d83236171dc4b91aa6b643a0b900c543495eaa8849e85c4e2074bc6e852f
MD5 3dbea21be2323f9afcc3450c7f785414
BLAKE2b-256 e51633e44b1c3c2a95a53bee0cfe8c46f074849d9f188725b7fbbc2229024fd9

See more details on using hashes here.

File details

Details for the file fenics_basix-0.7.0.post0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.7.0.post0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c35305c4f47271874592ce3fc8878d703a4e817b7276038c6d119ab1384ea030
MD5 86ce3a79d042164a4630e07eec78fefe
BLAKE2b-256 84c5aebb4766467d895f9c615d57f8bbf73aa7b19ba6e3b087ce244e758c8ead

See more details on using hashes here.

File details

Details for the file fenics_basix-0.7.0.post0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.7.0.post0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c7d6a6608716b7bcf759b35b71067c26b175489fb6c5df97bcce133ef4d6954f
MD5 bf61701e73532426ee461f34f591c6be
BLAKE2b-256 1b5bb58b00e37b0535a3d729e584954b7e80d1d33c23c090b9433e4b1b39b065

See more details on using hashes here.

File details

Details for the file fenics_basix-0.7.0.post0-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.7.0.post0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ac4d3265e472a2dc58571066d926a2cde5ced1e43de22ae9c6f66e50df11b99d
MD5 c23f6d696d5913c72c77e8939bb1d78a
BLAKE2b-256 0e236a1d62d3a0c60b904f8bdc9fe9530c16d9c52c00c16c5df51d4b5d39b755

See more details on using hashes here.

File details

Details for the file fenics_basix-0.7.0.post0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.7.0.post0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b99e983ce877e98efbed01c8d11bdec8e18da9a805539070e574ba2b0e01ceec
MD5 370929348c224f077779a36621a42f36
BLAKE2b-256 10d8481df505c2f1dfdbe1c3147e5bfa8be9c6d26b342506c86fea83ddfa56ab

See more details on using hashes here.

File details

Details for the file fenics_basix-0.7.0.post0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.7.0.post0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9380f46ae5fbadbc23a9332202294a1d426225bfd560e02d21088ce29c17728e
MD5 16aaf9aa66830b7a3867441a3acc12cd
BLAKE2b-256 612e9e26a316fa8254f7c48c22198a26fba034f3128eb25d7c280afc0ee42d2f

See more details on using hashes here.

File details

Details for the file fenics_basix-0.7.0.post0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.7.0.post0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 683426e08988a4649f3b9ff6ed685b6dfb99d23bf0992bf8443328c64ab8c06e
MD5 cbe8b1872d68f57e32de4eca4b1c9410
BLAKE2b-256 0b5ef5a95304401daa44c4973a12ebbd335da8ea103c96bf3f01b65a86fee1f4

See more details on using hashes here.

File details

Details for the file fenics_basix-0.7.0.post0-cp38-cp38-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.7.0.post0-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 386435d091b1470993d7054634466a3b497b308dd5e9ca55f00ac4c313a3ecd9
MD5 7a3697b386a9e7115aeaae624b690cab
BLAKE2b-256 638b19e736a27b9356873865cdea3795f68b88cb72c6547005ccc730f63870ef

See more details on using hashes here.

File details

Details for the file fenics_basix-0.7.0.post0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.7.0.post0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ecb7056cd73d28e200a89745ebc82a395fd34f5181f079a7b8956b8bd18f855c
MD5 087bf5e3b85de7e5e1c720b2731f4f22
BLAKE2b-256 999e102bf45c20f058f3e331fbfb7d9e1f92e3bf877d4ecf818f8a1345cd34cb

See more details on using hashes here.

File details

Details for the file fenics_basix-0.7.0.post0-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.7.0.post0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 650e595b21fbf45de25eb2dfc6256826a3ff6e280a5af628ff8dfc246b7c062c
MD5 70ffec63a359065e9d1aad9c4b3b5b46
BLAKE2b-256 9a3363ab7ab9bb9459f96e4bc55e02400fe74299d5f50667d2cf1f0e4eb5cc32

See more details on using hashes here.

File details

Details for the file fenics_basix-0.7.0.post0-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.7.0.post0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f53019bdb2071986063b7df29545605ecd5672aae3c546eb99bece7742558141
MD5 f5b0f8c384e32bc92dc7873ac0fd1bb9
BLAKE2b-256 9d214843da117231b23120a9bab607bc377ba8411a710b0196e810ab779b5a4b

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