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.8.tar.gz (21.1 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.0.8-py3-none-any.whl (26.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ngspetsc-0.0.8.tar.gz
  • Upload date:
  • Size: 21.1 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.8.tar.gz
Algorithm Hash digest
SHA256 69e4f9d6624e08c80b97eea5c6457ead4e1618cde572426450f4dd39639f8d4f
MD5 f73af93033d6e656561f82206b41ad21
BLAKE2b-256 4a7b487d697217baa50a98ccd17a6ebca5fc1ea0412796bd851d3cb03f3ecaa7

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ngspetsc-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 26.4 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 629b11052cb9cdbf637f51b75b0f89e61b2cf6dc1ed1432fe0d6f1f787d34f19
MD5 c00c31b3f55b6cab5c711744c8c9486b
BLAKE2b-256 c680b61fe64d3111b1650448fe569af8374b2d7555c1fb9f7f765a86d72e4c3f

See more details on using hashes here.

Provenance

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