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 Basix:

pip install .

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.4.2.post1.tar.gz (587.9 kB view details)

Uploaded Source

Built Distributions

fenics_basix-0.4.2.post1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.9 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

fenics_basix-0.4.2.post1-cp39-cp39-macosx_10_9_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

fenics_basix-0.4.2.post1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.9 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

fenics_basix-0.4.2.post1-cp38-cp38-macosx_10_9_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

fenics_basix-0.4.2.post1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.9 MB view details)

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

fenics_basix-0.4.2.post1-cp37-cp37m-macosx_10_9_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

Details for the file fenics-basix-0.4.2.post1.tar.gz.

File metadata

  • Download URL: fenics-basix-0.4.2.post1.tar.gz
  • Upload date:
  • Size: 587.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for fenics-basix-0.4.2.post1.tar.gz
Algorithm Hash digest
SHA256 29e80d74a9896d962ebf67638e958aa63d47a3d4ee316e72f9b57e7b19cb4661
MD5 0efa4bed2a5d015e7f2b46ce0a46bccc
BLAKE2b-256 7bf6153055b88120181a5d19ac11f660d8fa9ac283273cbe728434b7c574e4ec

See more details on using hashes here.

File details

Details for the file fenics_basix-0.4.2.post1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.4.2.post1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 86958a4626387ff253a048167d35b68d6766a08f79838957d721fe454bc8f816
MD5 6bedd7edb44101f7875f3d281cd8347c
BLAKE2b-256 882b2a6895c9eda238813f982f3822cc7a0ab13bd8f857999f927bb02bd681c7

See more details on using hashes here.

File details

Details for the file fenics_basix-0.4.2.post1-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.4.2.post1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e83d551be7790783069fcbdbc91a89f5a25c31a4c7c90568e8a19e8a1b9e27e1
MD5 a2053d77039d898e0fdcfc4211676726
BLAKE2b-256 43b02396b88ef8632700b9134f8108669e67feea4f0aa3f11d00d1b39fd1e90d

See more details on using hashes here.

File details

Details for the file fenics_basix-0.4.2.post1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.4.2.post1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ddc073d09f85ea5ff53a10200cb873ab350c912898f76886931d5f31c29489a2
MD5 730ffcd52c8dcd55c42314cc10cb5b0a
BLAKE2b-256 139360bf9b61eb7f5093029fa46734fe41cb99d513e09040ba59aa39792c704e

See more details on using hashes here.

File details

Details for the file fenics_basix-0.4.2.post1-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.4.2.post1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1aa8e7b026d6fab319ac223e7629d93f7fe4f1e813b32e7e413062a90d74992e
MD5 d6f389f34e7e78b6a306f0c9eb1cdbbc
BLAKE2b-256 4c6629f1c3d00454d69a1994c413d6b37e8ec9a22a8e932b2a2ebefc34e47477

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fenics_basix-0.4.2.post1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 736a46d61d9301071992a182e70954a4cd4900ea41127230e0422d3adba17f4f
MD5 7db8513a14015cc1ab5347f89f6d4152
BLAKE2b-256 bf2a8a85b46bc358c1440491b28fe3737392b3c68885537ac4c32dcdb7e40dc2

See more details on using hashes here.

File details

Details for the file fenics_basix-0.4.2.post1-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for fenics_basix-0.4.2.post1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 954a8dcd41d4e1048182a2bba783c5887080189351215883884842ab19ee4745
MD5 b9d60ae722c0b9da6a2a12427128d163
BLAKE2b-256 496933cf07fb36badfb1ad1f92e2d7969348ad7c3aa14f7048750327fcd3cbde

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