Skip to main content

GitHub Workflow Status GitHub release (latest by date) jossstatus

PyPI PyPI - Implementation PyPI - Downloads

Docker Pulls badge

lite-badge

Documentation

A preliminary collection of documentation (demos, tutorials, mini API) can be found here and is also part of the i-tutorials of NGSolve, see here. A simple doxygen collection of NGSolve, ngsxfem and ngstrefftz C++ API can be found here.

About ngsxfem

ngsxfem is an add-on library to the finite element package Netgen/NGSolve which enables the use of unfitted finite element technologies known as XFEM, CutFEM, TraceFEM, Finite Cell, ... . ngsxfem is an academic software. Its primary intention is to facilitate the development and validation of new numerical methods for partial differential equations.

The features of ngsxfem

The main features of ngsxfem are:

  • Tools to work on a subset of the triangulation, the "active mesh" only
  • Numerical integration on geometries that are (implicitly) described through level set functions (for higher order level set functions with the high order quadrature of Algoim).
  • Higher order representation of level set geometries
  • Space-Time Finite Elements for the treatment of moving domain problems
  • All these features combined with the usual flexibility and power of NGSolve.

ngsxfem has been used in a variety of applications. In the document doc/feature-details.md (see also compiled pdf ) more details on the features is given and in doc/literature.md (see also the rendered literature page and the compiled pdf ) an overview of the scientific literature where ngsxfem is used is provided. If you have used ngsxfem in a publication that is missing there, please open an issue or a pull request (the list is generated from doc/literature.yaml).

Not all features of ngsxfem and NGSolve can directly be combined. Here is an overview of ngsxfem and NGSolve features and if they can directly be combined:

Features ⇲ CFE XFE DG Iso MLS ST Gh Ag Hex Tet MPI
CFE: CutFEM form. / / y y y y y y y y y
XFE: XFEM formulation / / y y n n y n y y y
DG: Discont. Galerkin y y / y n y y y y y n
Iso: isoparametric map y y y / n y y y y y y
MLS: multiple level set y n n n / n y y n y y
ST: space-time FEM y n y y n / y n y y y
Gh: Ghost penalty y y y y y y / / y y n
Ag: Agg. FEM y n y y y n / / y y n
Hex: quads / hexes y y y y n y y y / / y
Tet: trigs./tets y y y y y y y y / / y
MPI: MPI y y n y y y n n y y /

Some of the nos are work in progress and some have not been considered so far. If you need a certain combination to work, please contact us and we will see what we can do (MPI for Gh is planned for the not so far future).

Examples and Documentation

We provide two main sources with which to learn how to use ngsxfem:

  • At https://github.com/ngsxfem/ngsxfem-jupyter you can find tutorial-style jupyter notebooks for ngsxfem. These explain the core functionalities and usage of the tools provided by ngsxfem. You can run those tutorials interactively (without the need of a local installation) through binder.
  • In the demos-directory we provide several examples that demonstrate the usage of ngsxfem features. See demos/README.md for details.

Installation

We provide installation instructions for building/installing through pip and building/installing from sources in INSTALLATION.md. Further, a docker image is available which can be used to run ngsxfem through docker.

List of contributing authors

Major contributions:

  • Christoph Lehrenfeld (main author)
  • Fabian Heimann (cut integration, space-time, AggFEM)
  • Henry von Wahl (multiple levelsets, mac support, AggFEM)
  • Janosch Preuss (space-time)
  • Thomas Ludescher (multigrid)
  • Paul Stocker (CI, docu, builds, AggFEM)

Additional contributions:

  • Pedro Costa Klein (CI, docu)
  • Maximilian Zienecker (SIMD, CI)

Third-party software

ngsxfem bundles a subset of Algoim by Robert I. Saye (Lawrence Berkeley National Laboratory), which provides the high order quadrature on cut elements for higher order level set functions (see ngsxfemglobals.cut_quadrature and dCut(..., cut_quadrature=...)). Algoim is distributed under a modified BSD license, see external_dependencies/algoim for the license, the bundled version and the (few) modifications.

Community guidelines

If you observe any problems with the software / examples / documentation / installation or want to contribute, you can get in touch with us through either:

Citing

If you use ngsxfem for academic work, please consider citing our publication:

C. Lehrenfeld, F. Heimann, J. Preuß and H. von Wahl
ngsxfem: Add-on to NGSolve for geometrically unfitted finite element discretizations
Journal of Open Source Software, 6(64), 3237,
https://doi.org/10.21105/joss.03237

If you use the Algoim-based quadrature (higher order level set functions with cut_quadrature="auto" (default) or "algoim"), please also cite

R. I. Saye
High-order quadrature on multi-component domains implicitly defined by multivariate polynomials
Journal of Computational Physics, 448, 110720, 2022,
https://doi.org/10.1016/j.jcp.2021.110720

Metadata

Release files for xfem 2.2.2608

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xfem 2.2.2608
File Size Uploaded Provenance Actions
xfem-2.2.2608.tar.gz 2.4 MB Without provenance Details for xfem-2.2.2608.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for xfem 2.2.2608
File Actions
xfem-2.2.2608-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for xfem-2.2.2608-cp314-cp314-win_amd64.whl
xfem-2.2.2608-cp314-cp314-manylinux_2_28_x86_64.manylinux2014_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details for xfem-2.2.2608-cp314-cp314-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
xfem-2.2.2608-cp314-cp314-macosx_10_9_universal2.whl CPython 3.14 CPython 3.14 macOS 10.9+ universal2 (ARM64, x86-64) Details for xfem-2.2.2608-cp314-cp314-macosx_10_9_universal2.whl
xfem-2.2.2608-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for xfem-2.2.2608-cp313-cp313-win_amd64.whl
xfem-2.2.2608-cp313-cp313-manylinux_2_28_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for xfem-2.2.2608-cp313-cp313-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
xfem-2.2.2608-cp313-cp313-macosx_10_9_universal2.whl CPython 3.13 CPython 3.13 macOS 10.9+ universal2 (ARM64, x86-64) Details for xfem-2.2.2608-cp313-cp313-macosx_10_9_universal2.whl
xfem-2.2.2608-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for xfem-2.2.2608-cp312-cp312-win_amd64.whl
xfem-2.2.2608-cp312-cp312-manylinux_2_28_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details for xfem-2.2.2608-cp312-cp312-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
xfem-2.2.2608-cp312-cp312-macosx_10_9_universal2.whl CPython 3.12 CPython 3.12 macOS 10.9+ universal2 (ARM64, x86-64) Details for xfem-2.2.2608-cp312-cp312-macosx_10_9_universal2.whl
xfem-2.2.2608-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for xfem-2.2.2608-cp311-cp311-win_amd64.whl
xfem-2.2.2608-cp311-cp311-manylinux_2_28_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details for xfem-2.2.2608-cp311-cp311-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
xfem-2.2.2608-cp311-cp311-macosx_10_9_universal2.whl CPython 3.11 CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) Details for xfem-2.2.2608-cp311-cp311-macosx_10_9_universal2.whl
xfem-2.2.2608-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for xfem-2.2.2608-cp310-cp310-win_amd64.whl
xfem-2.2.2608-cp310-cp310-manylinux_2_28_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details for xfem-2.2.2608-cp310-cp310-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
xfem-2.2.2608-cp310-cp310-macosx_10_9_universal2.whl CPython 3.10 CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) Details for xfem-2.2.2608-cp310-cp310-macosx_10_9_universal2.whl

Total release size: 42.2 MB

Release files / xfem-2.2.2608.tar.gz

Download URL xfem-2.2.2608.tar.gz
Size 2.4 MB
Tags Source
SHA-256 checksum
How to use checksums
0adb2fa77a25cade4b3f0e90035e6f18b38b58e2bb0eef93f50806bb5fc06411
BLAKE2b-256 checksum
How to use checksums
0d4503ac007f6622e760e510f07f2cf70703aff50b96a9ae5381f1e787b7065d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / xfem-2.2.2608-cp314-cp314-win_amd64.whl

Download URL xfem-2.2.2608-cp314-cp314-win_amd64.whl
Size 2.2 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
79b9080e05e5014ed4777e41d632fd4f8735448ecbb84ea3b735b3285420849b
BLAKE2b-256 checksum
How to use checksums
df74960a7d28252ea7400e1c6df7beef86af905a367a5a198ebfa6fd2b09b049
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / xfem-2.2.2608-cp314-cp314-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL xfem-2.2.2608-cp314-cp314-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
Size 2.3 MB
Tags CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
fa8b1858726a273ea83f4a85f71018026ba64e6133f66dbea58ecb24bc902da2
BLAKE2b-256 checksum
How to use checksums
cc134e5fb49f78310c06251f8942dc7ce3b11d9c836de8b9d693cbd4a8eb8f52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / xfem-2.2.2608-cp314-cp314-macosx_10_9_universal2.whl

Download URL xfem-2.2.2608-cp314-cp314-macosx_10_9_universal2.whl
Size 3.5 MB
Tags CPython 3.14 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
1488798c90df80bcae994ff860ed17e1a223a5b67f1f5256e768b12548bc558a
BLAKE2b-256 checksum
How to use checksums
66b119c842b9b8f37aa33c5f045ec2954ecf8a861e2db68dd2e756ba65413cf2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / xfem-2.2.2608-cp313-cp313-win_amd64.whl

Download URL xfem-2.2.2608-cp313-cp313-win_amd64.whl
Size 2.1 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
e18a812b1ca88ab1ec44bbfe79a8effa661575faffe0feae03c20fa47e893034
BLAKE2b-256 checksum
How to use checksums
8aedf46ec4165a8d335f7cb4793c99ee6a809f3aaa59062b6efd9c17834c79d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / xfem-2.2.2608-cp313-cp313-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL xfem-2.2.2608-cp313-cp313-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
Size 2.3 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
bc5162f5699c40909897707bb4d51f47121c408e27568189ef61238a239df90c
BLAKE2b-256 checksum
How to use checksums
49099330a4c696fbb2595de01ff0b443676bf63df2dd532e8729dde3bcf93846
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / xfem-2.2.2608-cp313-cp313-macosx_10_9_universal2.whl

Download URL xfem-2.2.2608-cp313-cp313-macosx_10_9_universal2.whl
Size 3.5 MB
Tags CPython 3.13 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
c900b33068a1c2bd23fee0cd7bebc61c7880b44bb8476505d80ac4b5366a92da
BLAKE2b-256 checksum
How to use checksums
219dbb3c868181ac9f385d4f1d4a8d1377686eb9f9fd7e4d1de3ad8c3e925d2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / xfem-2.2.2608-cp312-cp312-win_amd64.whl

Download URL xfem-2.2.2608-cp312-cp312-win_amd64.whl
Size 2.1 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
a17b78b978232da6e2ed41d1ce369f706b3658b57f44e3050db62a0f201e412f
BLAKE2b-256 checksum
How to use checksums
052965d60ac60c2ac439f28a98b1765f05edaeb361d6384a06ea7f60a2593f47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / xfem-2.2.2608-cp312-cp312-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL xfem-2.2.2608-cp312-cp312-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
Size 2.3 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
71f5e2f4cd8aeb1a3d8820a0a26c21cd3d683fe8b446e3431b4ec46e8ef7a414
BLAKE2b-256 checksum
How to use checksums
3ed900b607e238738d8ea8cd0a62dff7166441bf14cd4b48c16f4c399201fe8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / xfem-2.2.2608-cp312-cp312-macosx_10_9_universal2.whl

Download URL xfem-2.2.2608-cp312-cp312-macosx_10_9_universal2.whl
Size 3.5 MB
Tags CPython 3.12 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
1fc1b50b5d9c0c1fe12bfd77d85f209576c11f8e3d13694dbe21e073fd58b92a
BLAKE2b-256 checksum
How to use checksums
1a08c9ee2c03d63c986da8e944133253c56ef43adf33e2e50305e61880a200b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / xfem-2.2.2608-cp311-cp311-win_amd64.whl

Download URL xfem-2.2.2608-cp311-cp311-win_amd64.whl
Size 2.1 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
68cc197a1bd6583e2f86c42a368fee6cd68c515af7e700118c45921e38d66885
BLAKE2b-256 checksum
How to use checksums
f94865271fae53078797d27a85abb55755f9d74436bba7a03e5ebe38a31c3e1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / xfem-2.2.2608-cp311-cp311-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL xfem-2.2.2608-cp311-cp311-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
Size 2.3 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
44f4fd28b707e0cfc8e14ace3fb6cd196ae4b37c84365ecd282a59fe8b7458af
BLAKE2b-256 checksum
How to use checksums
bba8123343c66396d449449e67bead5dac89ea14b4d01bf0d0349f994c5543c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / xfem-2.2.2608-cp311-cp311-macosx_10_9_universal2.whl

Download URL xfem-2.2.2608-cp311-cp311-macosx_10_9_universal2.whl
Size 3.5 MB
Tags CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
6a85b5dfb9ccf9b0db299b2f47c09715423713cac0d04ae716590f28c72c4c8e
BLAKE2b-256 checksum
How to use checksums
9610ee358d7db8cc0b9020887342717c5c6d081176ac5f93bf31161325616459
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / xfem-2.2.2608-cp310-cp310-win_amd64.whl

Download URL xfem-2.2.2608-cp310-cp310-win_amd64.whl
Size 2.1 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
414f5badaa78c28ac34b1d6f812c95490669e91b81f9749c0d5cdb93bd1e9ce5
BLAKE2b-256 checksum
How to use checksums
7277bb6b78683f269a8e6d8dd026ae84b303e75db8307495564280d246181af2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / xfem-2.2.2608-cp310-cp310-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL xfem-2.2.2608-cp310-cp310-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
Size 2.3 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
f42024ea28a1b625123ed895edd7946bc78042a67a1a6022f7f38cf4475043b3
BLAKE2b-256 checksum
How to use checksums
28d810557e6720faa0c5b64bb6ca48934753386e9f9dd8884d2bf1430cfa7cbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / xfem-2.2.2608-cp310-cp310-macosx_10_9_universal2.whl

Download URL xfem-2.2.2608-cp310-cp310-macosx_10_9_universal2.whl
Size 3.5 MB
Tags CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
11ab8c0c285802027f697d6da0bbce32a0634bf80cd60ce194650df38ccd64a4
BLAKE2b-256 checksum
How to use checksums
33e060e9a547a58f569354291e008bd8c60fdc7c9d2fccf2faf2c610dec59ad2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for xfem 2.2.2608

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.2.2608 This release

16 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page