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

Uploaded Source

Built Distributions

fenics_basix-0.8.0-cp312-cp312-manylinux_2_28_x86_64.whl (12.9 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.28+ x86-64

fenics_basix-0.8.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.4 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

fenics_basix-0.8.0-cp312-cp312-macosx_11_0_arm64.whl (746.1 kB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

fenics_basix-0.8.0-cp312-cp312-macosx_10_9_x86_64.whl (941.9 kB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

fenics_basix-0.8.0-cp311-cp311-manylinux_2_28_x86_64.whl (12.9 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.28+ x86-64

fenics_basix-0.8.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.4 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

fenics_basix-0.8.0-cp311-cp311-macosx_11_0_arm64.whl (746.8 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

fenics_basix-0.8.0-cp311-cp311-macosx_10_9_x86_64.whl (942.3 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

fenics_basix-0.8.0-cp310-cp310-manylinux_2_28_x86_64.whl (12.9 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.28+ x86-64

fenics_basix-0.8.0-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.8.0-cp310-cp310-macosx_11_0_arm64.whl (747.1 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

fenics_basix-0.8.0-cp310-cp310-macosx_10_9_x86_64.whl (942.5 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

fenics_basix-0.8.0-cp39-cp39-manylinux_2_28_x86_64.whl (12.9 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.28+ x86-64

fenics_basix-0.8.0-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.8.0-cp39-cp39-macosx_11_0_arm64.whl (747.2 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

fenics_basix-0.8.0-cp39-cp39-macosx_10_9_x86_64.whl (942.7 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: fenics_basix-0.8.0.tar.gz
  • Upload date:
  • Size: 625.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for fenics_basix-0.8.0.tar.gz
Algorithm Hash digest
SHA256 9b4b608b29b39b34e08b5501e2331943947be44cf839dd8b74ce4b532e950492
MD5 cabc4fa19e8cadd30f509689d4756127
BLAKE2b-256 faafd4cce3a3a3824d3a7733a2806e1b6206e5fe40b1d5b0e1635424b662a714

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fenics_basix-0.8.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d14972d803aa12f1d6e051ffa63401494cc0a30de8aa16fda76e4a4751a0f09c
MD5 0443acddb2cb5430e358b15c7fe1ef3b
BLAKE2b-256 43271d8e9dcebc0bc6b221a9f5519c4e15531febf0017832b33a8c4aea995ccb

See more details on using hashes here.

File details

Details for the file fenics_basix-0.8.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.8.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f55aa074e11ec62942ab33cbd98bcd98f57d20652c3e918f6d5e910d6952447e
MD5 6d023fedfc13a6e9990f67d694fc7dfc
BLAKE2b-256 bbd2026376cba065cc52f822ceace8e40c55a8993402931829629d92f455ea0d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fenics_basix-0.8.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d5a301101f87c27e0b3da033fc2afd631bb29d696f9b2e5b5e9ff453759ae0d8
MD5 5876adef31d19d9a7b2e3f7bb93c5f4d
BLAKE2b-256 e4d45310986aec249480131d3c9b7dbe1c78f057ddb2ebfa5c637ee6668f38b4

See more details on using hashes here.

File details

Details for the file fenics_basix-0.8.0-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.8.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2eb97efc2468158fae0a6730198204317a18dddd1533e051a417e6a87f924636
MD5 818ee2ae631ae4c1f4164d0139830e95
BLAKE2b-256 8ca6fe1b492f29dee33f0a2b282324dc347e0723cac91b81ff73b10a04e19c56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fenics_basix-0.8.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c301e04af81e387e803bd7140439d0400840848c36cee91796f0519a1dbab1a5
MD5 8aaa0ecba445663b883bad30416eb339
BLAKE2b-256 18eb4dd24d91b682ec09cd48bb7033e275109f1c96bc7196486e659ce1977f77

See more details on using hashes here.

File details

Details for the file fenics_basix-0.8.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.8.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7282d27abd6fd2746581bb297b3e03908d11080369ae1ed25cb97e451835df16
MD5 48914e800ebc87fb0ecf9ff4149532b1
BLAKE2b-256 56b43c298b44e24b9f5f370e36d85993d289f7667eae3285b19a893854a20618

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fenics_basix-0.8.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f98f6089fc08ed79ec7b635386923d7b2b024de5595012c82525640847b02038
MD5 10fbf588938f329bf2bab89a43006dec
BLAKE2b-256 9e8a0b4d581dafbf0f39dc024e1c73feab53ab921efff9ebf623dbcf0baf6e4c

See more details on using hashes here.

File details

Details for the file fenics_basix-0.8.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.8.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 27662433b8d8134c4f07ef5d2b238c91758769e933c33c97d96989d0c9345ba3
MD5 10004adffba81ac44fe25ab663be3d1c
BLAKE2b-256 a2750498bbd75edccd34ba68b87438684677abec145bf47feb7195a6e0f77c04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fenics_basix-0.8.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b17c5d823e8ea29fd80de5bd7229c3cce8406b9b27b1b95cc7acae6b5df92a06
MD5 c9c1c366baac3f549e598d16075d103a
BLAKE2b-256 26825e8a62b34255cddcc90e541d149bdb942452f93a88f95ec9cf61eda31e95

See more details on using hashes here.

File details

Details for the file fenics_basix-0.8.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.8.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 89537f1b40a1bf1f14670988a4f5972762785cd5305e1fd856bcb8620ed1111b
MD5 80aa4a0f005fead63eaa333388978317
BLAKE2b-256 0f9ff928d3c228ab87dc0f294fc5eb6f1ce4d5efc6c743382033593183506748

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fenics_basix-0.8.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8669ee5f6e65e9dc1c7a229cd819c644adc113ace1efd6d647d5d05952f94322
MD5 aa037970ece55f6ccf754154aa28c9cc
BLAKE2b-256 2afe50dde65a8ab2a5c76a88aa5399cf5b6c3fef6d80e1fc4080444654b396ff

See more details on using hashes here.

File details

Details for the file fenics_basix-0.8.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.8.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0bdbf17697bcd9a25d93b4162e19c5119ee4154de20e8423fe099d45a82c578c
MD5 1b11c979163a191fa3f23e0380347935
BLAKE2b-256 6ac949b181e5e43d8740bac9c1cba2323acdd8c5eb904e1f9b9fb1c6f30298f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fenics_basix-0.8.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 98c488255e3a4788b86d57516b99cf9d3329e29b1d0dcf1fb74bb976a5d8f01e
MD5 55a692563167f2971d099c18cab0e1b2
BLAKE2b-256 9bb46120aa2ce935c0adce56a173778bfc84f5d4c1828075af5661b9b94f8efb

See more details on using hashes here.

File details

Details for the file fenics_basix-0.8.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.8.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ed31185115901a885038a4785a39c2d3f6cb7c2f0ebbdbcbe1945b3306cf5800
MD5 8abc5c24932fd4b8f3b1daae3f6a5c57
BLAKE2b-256 89ba1134433ae60739720abc7e55f0abf824be05230825d154128a4cbf3b016a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fenics_basix-0.8.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 77092661d8c741272246115ad9914f5b24e200c94799dcce4f40324138411b81
MD5 6d5ccefafa2354089d65d3556531ca34
BLAKE2b-256 316e5736b184d651331ae8aa0a547d42288b4409f38f0bb1c4ca66138b0776b8

See more details on using hashes here.

File details

Details for the file fenics_basix-0.8.0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.8.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2bd5474095c780cf21910bc85574e86fc14eef394786d4cc8bc29b19b0be5dd4
MD5 a3067c7065334876de9485bfbf3679a1
BLAKE2b-256 242a9a20a3b603620a2f4eb721f2c6b0950d1672375d27533d73c58c6914c3ae

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