Skip to main content

No project description provided

Project description

cubapy

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

Installation

Use the package manager pip to install cubapy:

pip install cubapy

Usage

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)
plot_pts(*pts)

pts = tri(3)
plot_pts(*pts)

pts = tet(4)
plot_pts(*pts)

License

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.2-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