Skip to main content

Basix Python interface

Project description

Basix

Basix CI Spack install DefElement verification

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 Python 3.8 to 3.12 for Linux (x86-64, aarch64), macOS (x86-64, arm64) and Windows (x86-64).

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.10.0.tar.gz (644.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

fenics_basix-0.10.0-cp312-abi3-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.12+Windows x86-64

fenics_basix-0.10.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (13.0 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

fenics_basix-0.10.0-cp312-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (6.0 MB view details)

Uploaded CPython 3.12+manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

fenics_basix-0.10.0-cp312-abi3-macosx_11_0_arm64.whl (792.5 kB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

fenics_basix-0.10.0-cp312-abi3-macosx_10_14_x86_64.whl (946.2 kB view details)

Uploaded CPython 3.12+macOS 10.14+ x86-64

fenics_basix-0.10.0-cp311-cp311-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

fenics_basix-0.10.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (6.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

fenics_basix-0.10.0-cp311-cp311-macosx_11_0_arm64.whl (793.5 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

fenics_basix-0.10.0-cp311-cp311-macosx_10_14_x86_64.whl (946.9 kB view details)

Uploaded CPython 3.11macOS 10.14+ x86-64

fenics_basix-0.10.0-cp310-cp310-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

fenics_basix-0.10.0-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (6.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

fenics_basix-0.10.0-cp310-cp310-macosx_11_0_arm64.whl (816.8 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

fenics_basix-0.10.0-cp310-cp310-macosx_10_14_x86_64.whl (946.5 kB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

File details

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

File metadata

  • Download URL: fenics_basix-0.10.0.tar.gz
  • Upload date:
  • Size: 644.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fenics_basix-0.10.0.tar.gz
Algorithm Hash digest
SHA256 ce235edba8a6c38b0c84f7ae288286dde728df38e5626948c29e495b1f393a5a
MD5 2a2afa2d77ddc6eb576f690e9ad9883e
BLAKE2b-256 6c4b58d5367547014e0e728febb5e1e4f284252ac23c44de7c19b3b0ce8574df

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.10.0.tar.gz:

Publisher: build-wheels.yml on FEniCS/basix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fenics_basix-0.10.0-cp312-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.10.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f624fe004c97d65fca54bde4782063b0a1be401d5d9f4f6550e7f157149cee00
MD5 a35e1c444bf69188e60e2a971a1f7d74
BLAKE2b-256 86c969e1566469d8198f85e616e40ec0ec3617406d13b6a642beb44530766a36

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.10.0-cp312-abi3-win_amd64.whl:

Publisher: build-wheels.yml on FEniCS/basix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fenics_basix-0.10.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.10.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bb8f303117eea3c56b2724e846afd0a88c629a9c06c121b26ce1b19e82005be2
MD5 b6a6c16d17a9e7436e0fd8e60d6ef50a
BLAKE2b-256 f7180c4060f99abfbdf4caa72ee6492d726801d5b1daf31d48e899ecdb306035

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.10.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build-wheels.yml on FEniCS/basix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fenics_basix-0.10.0-cp312-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.10.0-cp312-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a80211f28dd2abc3b69de9e0c18de4e775244315648a1fd3e120f78db86d968b
MD5 07fec0e895a3bfe37ff9df1a27e40b49
BLAKE2b-256 167e514616b208e0d7dd33ff7a514065bdb5f23114a998f65cabffac7022e383

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.10.0-cp312-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build-wheels.yml on FEniCS/basix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fenics_basix-0.10.0-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.10.0-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7913aacc5d2533e33ac34e6a251ea5f6c249a5d8f3f12c21e1026ccc918b604b
MD5 6967a80eb4a6e3313cd7c51f6bd54293
BLAKE2b-256 486eabdc698c8ac68cb1f18e4ee62690b6f671bdc519c14082a2a15d3abe0676

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.10.0-cp312-abi3-macosx_11_0_arm64.whl:

Publisher: build-wheels.yml on FEniCS/basix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fenics_basix-0.10.0-cp312-abi3-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.10.0-cp312-abi3-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 f070a6ba52b3e95be742cfa8ff9bbb1baac2710bd9fbb6d26d51f80a3ce1dee2
MD5 f655b95f72cb6881f67132381424c67e
BLAKE2b-256 71472688bd1351bec43b1f21699f246ad9f4f16aba0fad8646a5d0e7cf236cf6

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.10.0-cp312-abi3-macosx_10_14_x86_64.whl:

Publisher: build-wheels.yml on FEniCS/basix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for fenics_basix-0.10.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e84380852d8b6635f58d8e830d4e2ddacba3d14ffe9a7d5afa2f9e0992753f71
MD5 e0be2ca01cb6d0cce743ca5e51d55549
BLAKE2b-256 3fe9847cfb98293186227b3cf1a827443026044dbb0c222cc8362071d97dd544

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.10.0-cp311-cp311-win_amd64.whl:

Publisher: build-wheels.yml on FEniCS/basix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fenics_basix-0.10.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.10.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fc0a464eac7d42e815956397c3f1febec8e3d498826e9df01b1cff2b7737f1a9
MD5 fc4db5a7e078afec4baef284bd928dda
BLAKE2b-256 55087114f634cf58a870857178c6b2b038d7f072cb42f7d7d970d1fda63480bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.10.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build-wheels.yml on FEniCS/basix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fenics_basix-0.10.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.10.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9ffd21951047e32816e3f6820cf33edabf5fdc40d7862b4db70301efc370014b
MD5 5e924ec2978953c04bed1ed9febf3e9a
BLAKE2b-256 36d6e38029cfe8c247ef4d59b19f7d64a7cc3e7bdea2d6011d3790731ee72486

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.10.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build-wheels.yml on FEniCS/basix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for fenics_basix-0.10.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2870fe63144b3cd47782e5db8c5d92f81ddb0277e51bcab7fc13f8b169e6778c
MD5 00dbf7e4358a92f6637a6b231cb9cccb
BLAKE2b-256 4a48fc00533ec730f4808a5d89585343a0d2bc0e01445f42ac98ea5252a64fd5

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.10.0-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: build-wheels.yml on FEniCS/basix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for fenics_basix-0.10.0-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 63adf8e95691e556f8fbaaa2a3fda79e1e26b6de8ddf1c96043c0ef882edb388
MD5 a8a5753240c12f283601875d9cab2340
BLAKE2b-256 51eb1fba66377c66917a50664fc2f159283cf8a2a21f605473f7d4be79d1fe93

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.10.0-cp311-cp311-macosx_10_14_x86_64.whl:

Publisher: build-wheels.yml on FEniCS/basix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for fenics_basix-0.10.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 4d5cd9e208f8f146e3625ad977afa74631fa6711ce692bddc4a76b420575e6c9
MD5 50f27b071f32763816c8f97bf82f77f6
BLAKE2b-256 9335ca3f42dfbf2c24a81abcbf5179b368d3da76fb7a406ca543ba043b1d6eca

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.10.0-cp310-cp310-win_amd64.whl:

Publisher: build-wheels.yml on FEniCS/basix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fenics_basix-0.10.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.10.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 16c98956ce458737afdf7d2e3ad9d1d58ab9e9887f81a5fd3b6305a345bc7b3d
MD5 6381db0c8e56956372fade5aaeca0df1
BLAKE2b-256 14a3c8b4d6aef8d043115d39a134976163d92ec4721681b7f974364f11072e25

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.10.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build-wheels.yml on FEniCS/basix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fenics_basix-0.10.0-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.10.0-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6636fa8f43a4445c71e961f12411adad0c62cd8c20e237cd73aa1b80f2d49501
MD5 47ba4781cbcb6f0833c53af3fe802236
BLAKE2b-256 6c53bf89ead19b562507a49e8fe553a2a3c91bf9cefab00ce923c3e6349eccc0

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.10.0-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build-wheels.yml on FEniCS/basix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for fenics_basix-0.10.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5dfd05b93c4f748ff63d55b641b940b7a2e5b9a8047379cc571bd01622f507e3
MD5 9b0a22a124ad65122bde095362061e1e
BLAKE2b-256 e68406eb4820194b02a8783de5b1a812f80ac505354ecd412be64f18f306cf15

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.10.0-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: build-wheels.yml on FEniCS/basix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for fenics_basix-0.10.0-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 e81967984d8665d8d69d117e060e76079b0720a6c3000d9a013e12734bd9b3bc
MD5 88f37fc0d3cf64c350654ded13e58bc9
BLAKE2b-256 82eff0e342c2b683434a3c2724f4f8c640c226fec6a647cd82e990bc68e1ff4b

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.10.0-cp310-cp310-macosx_10_14_x86_64.whl:

Publisher: build-wheels.yml on FEniCS/basix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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