Skip to main content

NGSolve/Netgen interface to PETSc

Project description

ngsPETSc

ngsPETSc Documentation Status DOI

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.1.0.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ngspetsc-0.1.0-py3-none-any.whl (26.6 kB view details)

Uploaded Python 3

File details

Details for the file ngspetsc-0.1.0.tar.gz.

File metadata

  • Download URL: ngspetsc-0.1.0.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ngspetsc-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e446c37bf5ee3ac0c545cd4086cb131b7cb90f38f5f1b94ca41bb7b350ba63d2
MD5 1f41c97292ad9a87b13f3b19afd0f4d2
BLAKE2b-256 4fad25536505e6e5d6b0ebb760c2e891d8f8e60075feded5bee15a94bb91af96

See more details on using hashes here.

Provenance

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

Publisher: release.yml on NGSolve/ngsPETSc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ngspetsc-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ngspetsc-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ngspetsc-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 05838c2848ce2b618d6ef736a57ef9ef97d4deef9165faee96d44bd8d6c71a16
MD5 aec360b8e875e552cd90390820166603
BLAKE2b-256 58e5345995d5e09d0e9d2d6ea550b70fc0d03b361f91e2bbcd567d1183740b80

See more details on using hashes here.

Provenance

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

Publisher: release.yml on NGSolve/ngsPETSc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page