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/NGSolve/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.2.0.tar.gz (21.3 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.2.0-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ngspetsc-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1af625992955260456b1f40c70a140d3eb0d1182ad9686c14a116150d19abef7
MD5 09459968be86162edcdde769364537ec
BLAKE2b-256 08a3dbeec7c74e8694bb0131e5823e766cc3b2f517170ffe12b49a8f42c105f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for ngspetsc-0.2.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.2.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for ngspetsc-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 38efc80437ef62ee0b98dcbb98aeae0164bb082d6b35d70400bc1784861a0aea
MD5 37b214f00e3cb4ac97e74145da28ae8d
BLAKE2b-256 5782c16b3491c80dab6c903177b03960b912e1af331584ecae9fb8c13f56421b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ngspetsc-0.2.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