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

Uploaded Source

Built Distributions

fenics_basix-0.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.0 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

fenics_basix-0.6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.2 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

fenics_basix-0.6.0-cp39-cp39-macosx_11_0_arm64.whl (569.4 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

fenics_basix-0.6.0-cp39-cp39-macosx_10_9_x86_64.whl (640.9 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

fenics_basix-0.6.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.0 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

fenics_basix-0.6.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.2 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

fenics_basix-0.6.0-cp38-cp38-macosx_11_0_arm64.whl (569.4 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

fenics_basix-0.6.0-cp38-cp38-macosx_10_9_x86_64.whl (640.8 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

fenics_basix-0.6.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.0 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

fenics_basix-0.6.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.2 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64

fenics_basix-0.6.0-cp37-cp37m-macosx_10_9_x86_64.whl (637.1 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

Details for the file fenics-basix-0.6.0.tar.gz.

File metadata

  • Download URL: fenics-basix-0.6.0.tar.gz
  • Upload date:
  • Size: 614.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for fenics-basix-0.6.0.tar.gz
Algorithm Hash digest
SHA256 c933d6b5f903584959788a84a7f9bea3e8542743a13cb6e4e6466434fe0f6581
MD5 3c01fb9306d6fe874a3e086ef966ebe6
BLAKE2b-256 67d108bd442f122e1e535dc17e788a6ed4b875b320d91ac15287ab05f5bb2ac1

See more details on using hashes here.

File details

Details for the file fenics_basix-0.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 16ad12ce2b35cfe86b1dc694c675dad0c5ca1617295d9b9763729d09ca98bd1c
MD5 b2b91b2b8f18104aef425d4d22f06c8f
BLAKE2b-256 b694211cf51ffe25b2bbfb581a43fa97cf5fe8a30fe6b673ded0c48991c41d52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fenics_basix-0.6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 48252b5667995d1efc44141c48584fe6cc9f18163f76fbcbe01f295c96c06c1b
MD5 4249c950ca24243e9c5bedfa2677490d
BLAKE2b-256 85407d0ab83062939ecddcdaf103ce86d4255a8e7498edb26c491fc6a408d0ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fenics_basix-0.6.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0404df24f8b5c39477c34acca5a4765eaca41155f9e3e0f6da1ef2e67302fd40
MD5 0da8a864e0787006acbd59e5b0f602a1
BLAKE2b-256 5fa4be069689c11dfefbae2a6e1e30eed1716c2a95f89a6409823b6795cfdbd7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fenics_basix-0.6.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 47f71aae940b33559dee21756b6ed8afc554b341e35ac80bfe3074fe18849428
MD5 cf94513639c703aaa4c9491b072ac262
BLAKE2b-256 985213f834fbeef290362f9d4d5b5bd50212fec1f018832b590fec8440951226

See more details on using hashes here.

File details

Details for the file fenics_basix-0.6.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.6.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 46b6bfbf08039f7f93af99d0af38f2536b7c10c3c3054678a4c56b1fe66b36d3
MD5 cf799947dab5929c525ff1425d7bbdfc
BLAKE2b-256 ddfdbb9f11bafe81c02f75f309155ebbfe1f15ae60f30bf4460b8a8032af75c4

See more details on using hashes here.

File details

Details for the file fenics_basix-0.6.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.6.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8f1ff0372a21f0fb9ceb466cf750c65e9676a6aa3294e26535a2ebdb7491b5ec
MD5 cf73623fe9347d1b0d20f6159ee0e903
BLAKE2b-256 b0bb4cfbc23422eda5b9b00b2a1e1677030c8f430365ccc25beb94e838d4be67

See more details on using hashes here.

File details

Details for the file fenics_basix-0.6.0-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.6.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ec8110825fb77cb6fdff91fac2e6bb0be38c38b6876eb54ee7a4bd4dd8883763
MD5 e524a4fa0ac7405343b199285e8b1fb3
BLAKE2b-256 ad42f2eb214622f59f5341027deeed915633fa093d5c393ca354a12a2d59a343

See more details on using hashes here.

File details

Details for the file fenics_basix-0.6.0-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.6.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4c015b85761ba6f29361fabb6bc2311f18b7dd4bbd80d722c89f4f21cc438559
MD5 76037faffc2b3a672601eb493dec2cf7
BLAKE2b-256 e6c1860506bdbf5ff8fa1a603cf6a9d525761de0981a3a9d5b6622d6bcc5f6b1

See more details on using hashes here.

File details

Details for the file fenics_basix-0.6.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.6.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 651657e4e2f80b91dad3c3bd7db0df2fa444e81e0facc87a5414ab4ffcb0fe9e
MD5 0138abcd0c0acf4d78695ab864a3a64e
BLAKE2b-256 7421dbb5ed35cca8385ad14e0d09462739b633999202ef86e40a7180da13ed0c

See more details on using hashes here.

File details

Details for the file fenics_basix-0.6.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.6.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9bf07408ecd2c7eb51f0fa545bd49d4543af4d32560fbde70d166de02f13796e
MD5 a0d03f9690d9a1e26fd73958a83fe6ea
BLAKE2b-256 e4e9e095aebbb5dc2f1094351a905ef7d506939395595ba55eadfce1408fa0cd

See more details on using hashes here.

File details

Details for the file fenics_basix-0.6.0-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.6.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5f2429aef87d1fc9f09aa2744cbf239bf268d4df93efabdb20c5eb86d64ce487
MD5 c2645407d9187453bb50b163a7505862
BLAKE2b-256 cf902cec08567a7be425c5193c3312c04e6fc6a3b28d9c7135336b9bd083808a

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