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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cubapy-0.0.2-py3-none-any.whl.
File metadata
- Download URL: cubapy-0.0.2-py3-none-any.whl
- Upload date:
- Size: 71.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7a0bc540373b8deae634fc431bbb13670a50cfeb3a190be02d50f9138224a9f
|
|
| MD5 |
ba3f861e0ae4aa34c7ab57f6930d6a26
|
|
| BLAKE2b-256 |
760c4607b871d3a28a0944e78a53d0b9d5bcf72e3b841cb9393be8edf5702cf4
|