Skip to main content

NGSolve/Netgen interface to PETSc

Project description

ngsPETSc

ngsPETSc Documentation Status ngsPETSc is an interface between PETSc and NGSolve/NETGEN that enables the use of NETGEN meshes and geometries in PETSc-based solvers while providing NGSolve users access to the wide array of linear, nonlinear solvers, and time-steppers available in PETSc.

Installation

ngsPETSc is available on PyPI. If you have PETSc installed be sure to set the PETSC_DIR and PETSC_ARCH environment variables to the required values. You can install by running:

pip install ngsPETSc

Getting started

To get started with ngsPETSc, check out the documentation.

Development

If you already have NGSolve (with MPI support) and PETSc installed, you can install ngsPETSc via pip:

git clone https://github.com/UZerbinati/ngsPETSc.git
pip install ./ngsPETSc

Alternatively, you can also build PETSc, SLEPc, and NGSolve from source following the instructions in the documentation.

Testing

To test the installation, you can run the tests in the tests folder, via the Makefile in the root directory of the repository:

make test

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

ngspetsc-0.0.7a8.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

ngspetsc-0.0.7a8-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

File details

Details for the file ngspetsc-0.0.7a8.tar.gz.

File metadata

  • Download URL: ngspetsc-0.0.7a8.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for ngspetsc-0.0.7a8.tar.gz
Algorithm Hash digest
SHA256 c442173681485f483c0de69a362640e3d88522307211b5854a6d3b035058d1bd
MD5 4b4c661f3be9b9e51e4f3e206690c5ce
BLAKE2b-256 bfc99417dcb3f38fd08a65eca6e44a27acdaaf6d734353d46a0d05f92e569ec1

See more details on using hashes here.

Provenance

The following attestation bundles were made for ngspetsc-0.0.7a8.tar.gz:

Publisher: release.yml on NGSolve/ngsPETSc

Attestations:

File details

Details for the file ngspetsc-0.0.7a8-py3-none-any.whl.

File metadata

  • Download URL: ngspetsc-0.0.7a8-py3-none-any.whl
  • Upload date:
  • Size: 26.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for ngspetsc-0.0.7a8-py3-none-any.whl
Algorithm Hash digest
SHA256 d2e1a80da8e85b9ac3143a5047d1a24992926c882303c82441991fb0ff81b813
MD5 06411fb54f167105e18a0a07fb14eeb1
BLAKE2b-256 8dbf489c4f20e1222e9676727d1e3c1efafb8a737aff33950c7125ad71fadf56

See more details on using hashes here.

Provenance

The following attestation bundles were made for ngspetsc-0.0.7a8-py3-none-any.whl:

Publisher: release.yml on NGSolve/ngsPETSc

Attestations:

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