Skip to main content

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. gfortran or flang)
  • 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

Approximation of scattered function ‚

License

This project is licensed under the MIT License. See LICENSE for details.

Metadata

Release files for phs-poly 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for phs-poly 0.2.3
File Size Uploaded
phs_poly-0.2.3.tar.gz 11.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for phs-poly 0.2.3
File Interpreter ABI Platform
phs_poly-0.2.3-cp39-cp39-macosx_15_0_arm64.whl CPython 3.9 CPython 3.9 macOS 15.0+ ARM64 Details

Total release size: 20.9 kB

Release files / phs_poly-0.2.3.tar.gz

Download URL phs_poly-0.2.3.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e06c0c2526fbf46780ec873cf74fddd561e0c3688ef0b89f21e4f58509e96f10
BLAKE2b-256 checksum
How to use checksums
dc9b7e5d571d7eb7bd9b9ab32e7465e1c0a393d3f14cb4a25203ca8216ca432f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / phs_poly-0.2.3-cp39-cp39-macosx_15_0_arm64.whl

Download URL phs_poly-0.2.3-cp39-cp39-macosx_15_0_arm64.whl
Size 9.6 kB
Tags CPython 3.9 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
5ce7bebf797df02e713b3acc1a82b857545a2da23c6326587790262dd5159253
BLAKE2b-256 checksum
How to use checksums
b42b2f2b9b56ebea997a99892c4663db9be4e0b9bae1a0c927b487ac776bcb46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page