Skip to main content

No project description provided

Project description


A small library with quadrature/cubature points for unit- lines, triangles and tetrahedra for finite element applications.


Use the package manager pip to install cubapy:

pip install cubapy


There are three functions for cubature: line(p), tri(p), tet(p). The power p is such that polynomials up to order 2*p are integrated exactly as is usually required in finite element software.

from cubapy import *

pts = line(2)

pts = tri(3)

pts = tet(4)


cubapy is licensed under GNU LGPLv3.

This library exposes a small wrapper for the Plotly library under the MIT license for the purpose of visualization.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

cubapy-0.0.1-py3-none-any.whl (71.2 kB view hashes)

Uploaded Python 3

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