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 from PyPi:

pip install fenics-basix

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.11.0.tar.gz (639.7 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.11.0-cp312-abi3-win_arm64.whl (1.7 MB view details)

Uploaded CPython 3.12+Windows ARM64

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

Uploaded CPython 3.12+Windows x86-64

fenics_basix-0.11.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.11.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.11.0-cp312-abi3-macosx_11_0_arm64.whl (835.3 kB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

fenics_basix-0.11.0-cp312-abi3-macosx_10_14_x86_64.whl (954.7 kB view details)

Uploaded CPython 3.12+macOS 10.14+ x86-64

fenics_basix-0.11.0-cp311-cp311-win_arm64.whl (1.7 MB view details)

Uploaded CPython 3.11Windows ARM64

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

Uploaded CPython 3.11Windows x86-64

fenics_basix-0.11.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (13.1 MB view details)

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

fenics_basix-0.11.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.11.0-cp311-cp311-macosx_11_0_arm64.whl (836.3 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

fenics_basix-0.11.0-cp311-cp311-macosx_10_14_x86_64.whl (956.1 kB view details)

Uploaded CPython 3.11macOS 10.14+ x86-64

File details

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

File metadata

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

File hashes

Hashes for fenics_basix-0.11.0.tar.gz
Algorithm Hash digest
SHA256 9aac7f4e667d454383b7551c6aa88685b55d5e7519ac046401fc27d19010e95e
MD5 4a96473466ff917c29197f2ad9ff41e5
BLAKE2b-256 4cfddd105d029226ad7a1ca23aa05c2a95c327586df89d555d260445aca1a3f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.11.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.11.0-cp312-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.11.0-cp312-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 d4c043d6d70964c6ad67a8ef82e0281084e2475e156d05692d890593786e523c
MD5 ce8d777b527811e3e680645489fd3829
BLAKE2b-256 ba1269cef528bfadc805f0733690a11b34e0f07deebcef5c553948a98c6b22a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.11.0-cp312-abi3-win_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.11.0-cp312-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.11.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 093cc7a4fb19b5597a2dc629f4cdefb2cc20ba9a693835c5384cd3df1f114b9d
MD5 cb873047686efde8661490393a6be379
BLAKE2b-256 bdc8858ff2516fe77dc6f5ff8da1765f7d64d8c53b33a177a1736bf0bd62113a

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.11.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.11.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.11.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fe1e1168f4b40b0c673e80d9063b844e7a779cb9b1cb74d195be0e696e59200a
MD5 15d5034ed18a204f61ece123fa3c35d3
BLAKE2b-256 f0388b31e6b0490edd2f2343f23ec431502c0113d512c12ffe479344b2377794

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.11.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.11.0-cp312-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.11.0-cp312-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b8c8b2032652c01c53aa88f8289f88708e7f87f9a26319926415ac2eb93229c1
MD5 b660b071cc6f97fec5929847fad104c9
BLAKE2b-256 982d0e8419f020612f0bb7479de9bc2ff9184ed0aebfbecd2b150da8838900e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.11.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.11.0-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.11.0-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0dcf03c2c04a7e1141aea57ef07a182b7261a87b92593b9377c4344734704312
MD5 60e1e37944309ba3e870cae8c4a0b354
BLAKE2b-256 3c91949e0a5d1835726c4824a35ff9a1a9f1dcea2cacf9983504aeeb4375d354

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.11.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.11.0-cp312-abi3-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.11.0-cp312-abi3-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 ab6160c259f9c4904d3770a2d0ee0981873bb30bc0350a29299c370044f2d6a4
MD5 91512d3183f3c5d0a5a634c592e01ec7
BLAKE2b-256 da805948444b3590bc87fbabb107aad9e45bfe750fcfc1a1a1bd6d196fde76ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.11.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.11.0-cp311-cp311-win_arm64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.11.0-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 989490e60f1654dc97919b0bc0bd48072b877d2b1cefd456668b964aa9dbb951
MD5 3ae3edccf650e2ffac6f2ce2891d6221
BLAKE2b-256 f44e6c7d1eef8b786e743821af1e38de67adc5099225e5550f9ce8fc9def7fc0

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.11.0-cp311-cp311-win_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.11.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.11.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 98722a94cca265cbee4b3d328a7dc56fc31bbea522195ac469ef818fc07bd88e
MD5 8b6a510f6ae1ad13440497241ba488ce
BLAKE2b-256 2c47820d9c35f206c86ed99232d20df8f62c0953c7632468444f076ceba76995

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.11.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.11.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.11.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3e00780a5df0c47fc819566051327c83537883695a307828318ec5be43a4af07
MD5 35fa83ebd919d7a2625d8a4838c6f8b6
BLAKE2b-256 5ada528f0095bdb5312b3bd611f30f0a5a8ba19029d6ddb865e3d15b5504b300

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.11.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.11.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.11.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6502baf09b8e1b81e8846834c1ccc63441b1312412c6f63eed5a17ba2673070f
MD5 06d64634bbf3c0133312b36cfc9b654c
BLAKE2b-256 1ad4a213bbe098a5391b98effec5cd84b5c7b4a22290d1edb4d907479744700c

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.11.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.11.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.11.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a1d5d6eb920476154a89941054168252f39e104eee3f7ee6ab2378a3ccb64eac
MD5 1b1768800375742a7ed694db4d2e6bb8
BLAKE2b-256 3c2e873e0d3f53ed2c676766ee61a8152e34f02cd580739508e0732d794701b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.11.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.11.0-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.11.0-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 2d8796f89a75c78fcfa14a71dae3da468bd8a0536a7561585f61dbe4a8f33c60
MD5 39d3184945f2adde58284c4f1bde7753
BLAKE2b-256 f2403714022ff4de3ef844854ef8af5d3cf7a6e771cf51f0a33d8156757622ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for fenics_basix-0.11.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.

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