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.1.tar.gz (26.7 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.1-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ngspetsc-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ec9a5199c56f6b202fcc0733f80d31b5aae964a2a561c1818f56542b6b63a8ea
MD5 f1f4a9e515ced4a9dd7b51c541cea8fd
BLAKE2b-256 b926ca415d808ef3c4b1a7704646b163500e7d4758f9f85adfaa0f3483d2efb9

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for ngspetsc-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d187c3de8e17e3727ce2b655aa5c34058d5c13c47f9a0ca11bf59860dc154bc5
MD5 8539587b2a6a9175f919813e4fdce51a
BLAKE2b-256 20c586cded8a92275e504f57c14afb5f217e82f6f456aacaa126b2671b52db25

See more details on using hashes here.

Provenance

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