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.
Metadata
Release files for cubapy 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cubapy-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for cubapy-0.0.2-py3-none-any.whl |
Release files / cubapy-0.0.2-py3-none-any.whl
| Download URL | cubapy-0.0.2-py3-none-any.whl |
|---|---|
| Size | 71.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c7a0bc540373b8deae634fc431bbb13670a50cfeb3a190be02d50f9138224a9f
|
|
BLAKE2b-256 checksum How to use checksums |
760c4607b871d3a28a0944e78a53d0b9d5bcf72e3b841cb9393be8edf5702cf4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Security for cubapy 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.