PHS+poly approximation procedures
Project description
phs_poly
Procedures for generating RBF-FD weights for derivative calculations.
Currently only PHS + poly approximations in 2-d are supported.
Installation
To install use,
pip install phs_poly
Requirements_
- A Fortran compiler (e.g.
gfortranorflang) - A LAPACK library (e.g. OpenBLAS, Accelerate, ArmPL)
- NumPy
Quickstart
import phs_poly
# ... set x- and y-coordinates, initialize work and coeff arrays ...
ierr = phs_poly.phs3_poly2(n,x,y,coeffs,ldc,wrk,iwrk)
# First derivatives weights
wx = coeffs[0:n,0]
wy = coeffs[0:n,1]
# Second derivative weights
wxx = coeffs[0:n,2]
wxy = coeffs[0:n,3]
wyy = coeffs[0:n,4]
Features
- RBF-FD weights for derivative operators
- PHS + poly based approximation
- Designed for 2-d problems
‚
License
This project is licensed under the MIT License. See LICENSE for details.
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
phs_poly-0.2.3.tar.gz
(11.3 kB
view details)
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 phs_poly-0.2.3.tar.gz.
File metadata
- Download URL: phs_poly-0.2.3.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e06c0c2526fbf46780ec873cf74fddd561e0c3688ef0b89f21e4f58509e96f10
|
|
| MD5 |
721b9791819ba7ba19229c67d88fd84d
|
|
| BLAKE2b-256 |
dc9b7e5d571d7eb7bd9b9ab32e7465e1c0a393d3f14cb4a25203ca8216ca432f
|
File details
Details for the file phs_poly-0.2.3-cp39-cp39-macosx_15_0_arm64.whl.
File metadata
- Download URL: phs_poly-0.2.3-cp39-cp39-macosx_15_0_arm64.whl
- Upload date:
- Size: 9.6 kB
- Tags: CPython 3.9, macOS 15.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ce7bebf797df02e713b3acc1a82b857545a2da23c6326587790262dd5159253
|
|
| MD5 |
6a03cd0abc90201044d10eab62ac4802
|
|
| BLAKE2b-256 |
b42b2f2b9b56ebea997a99892c4663db9be4e0b9bae1a0c927b487ac776bcb46
|