Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.
  • 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)

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

Metadata

Release files for xfem 2.1.2607.dev10

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.1.2607.dev10
File Size Uploaded Provenance
xfem-2.1.2607.dev10.tar.gz 2.2 MB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for xfem 2.1.2607.dev10
File
xfem-2.1.2607.dev10-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
xfem-2.1.2607.dev10-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
xfem-2.1.2607.dev10-cp313-cp313-macosx_10_9_universal2.whl CPython 3.13 CPython 3.13 macOS 10.9+ universal2 (ARM64, x86-64) Details
xfem-2.1.2607.dev10-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
xfem-2.1.2607.dev10-cp312-cp312-manylinux_2_28_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details
xfem-2.1.2607.dev10-cp312-cp312-macosx_10_9_universal2.whl CPython 3.12 CPython 3.12 macOS 10.9+ universal2 (ARM64, x86-64) Details
xfem-2.1.2607.dev10-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
xfem-2.1.2607.dev10-cp311-cp311-manylinux_2_28_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details
xfem-2.1.2607.dev10-cp311-cp311-macosx_10_9_universal2.whl CPython 3.11 CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) Details
xfem-2.1.2607.dev10-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
xfem-2.1.2607.dev10-cp310-cp310-macosx_10_9_universal2.whl CPython 3.10 CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) Details

Total release size: 23.9 MB

Release files / xfem-2.1.2607.dev10.tar.gz

Download URL xfem-2.1.2607.dev10.tar.gz
Size 2.2 MB
Tags Source
SHA-256 checksum
How to use checksums
b10d92a902abf5b4320d8a0528bed91bd7f2342632887e38b8499526a7a38406
BLAKE2b-256 checksum
How to use checksums
28a1dc25d315a557ab710cbdc000154cf86b35452277993b9ba31dd873397bfe
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.1.2607.dev10-cp313-cp313-win_amd64.whl

Download URL xfem-2.1.2607.dev10-cp313-cp313-win_amd64.whl
Size 957.7 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
5fa101ece2442337e5ff1beec99475fa0e214c6f7070fb848e18061928e6eac8
BLAKE2b-256 checksum
How to use checksums
8bb6a4a25f95f10dd6fdf3e274a93d19cdb9765d2aa3e0aab13ee02cb93a3dd8
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.1.2607.dev10-cp313-cp313-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL xfem-2.1.2607.dev10-cp313-cp313-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
Size 1.8 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9b99b9d2ef86fad467fd8b52d569e9b42ed353f325222bcf0cd5091c472c11d3
BLAKE2b-256 checksum
How to use checksums
4d020d368de7a3317f4c8791f7204b96ddf4b01c0e201d5f192eb059ec6b58f6
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.1.2607.dev10-cp313-cp313-macosx_10_9_universal2.whl

Download URL xfem-2.1.2607.dev10-cp313-cp313-macosx_10_9_universal2.whl
Size 2.9 MB
Tags CPython 3.13 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
ded17e032af421cad8f39f5a97ad8e145b73befe93a3f206c1e1ca151c71e888
BLAKE2b-256 checksum
How to use checksums
f89004b726fa8e81562ceed70993a5aedc6b216adab4beb509a2c2f3346633cb
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.1.2607.dev10-cp312-cp312-win_amd64.whl

Download URL xfem-2.1.2607.dev10-cp312-cp312-win_amd64.whl
Size 957.6 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
e0a689723567f39e271bad2e4e8ffb5f5281a63462eb86dc5121470846a8ee84
BLAKE2b-256 checksum
How to use checksums
3b863695123040af97c87d295b00cbb12e4b83d44dd008e31318c28513fb1b40
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.1.2607.dev10-cp312-cp312-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL xfem-2.1.2607.dev10-cp312-cp312-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
Size 1.8 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
addf8d8ec751ae039fdbda5ea221ae265376a3ab667403c82d3e3fd690f3f4f9
BLAKE2b-256 checksum
How to use checksums
80762d23e6a4b1178e9ffecea7b2a3daafe36c161e3e223f62c3f9db837c63ea
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.1.2607.dev10-cp312-cp312-macosx_10_9_universal2.whl

Download URL xfem-2.1.2607.dev10-cp312-cp312-macosx_10_9_universal2.whl
Size 2.9 MB
Tags CPython 3.12 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
104bb5753a593395b05cb4261135c46411fc0f334acaf7a52eff101003883405
BLAKE2b-256 checksum
How to use checksums
5209034a536ae2531c9d07627b9d4a969ca6ec64cb6f2e4ddd90a7c7806df399
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.1.2607.dev10-cp311-cp311-win_amd64.whl

Download URL xfem-2.1.2607.dev10-cp311-cp311-win_amd64.whl
Size 957.8 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
5570c01877c195b91f760d323176d835072b023e46a446bd85f2dc6625cf1976
BLAKE2b-256 checksum
How to use checksums
bad827456bdc5a7ce339059945be3c511e05ec3a95394504a0c72aafca10abb9
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.1.2607.dev10-cp311-cp311-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL xfem-2.1.2607.dev10-cp311-cp311-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
Size 1.8 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
f2e639b3ee141b627fcca9c94677aaa383b076c9e29613ea48d88086f3bedeaa
BLAKE2b-256 checksum
How to use checksums
74586b2cf7fe9214d835d5ddd65f2725d2d8ee7d2a6c99a313f51b163ae7d342
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.1.2607.dev10-cp311-cp311-macosx_10_9_universal2.whl

Download URL xfem-2.1.2607.dev10-cp311-cp311-macosx_10_9_universal2.whl
Size 2.9 MB
Tags CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
cb30205b1a531a9527a4c3230abe191fa3bf2fb506b773a8c2f232428dd3848d
BLAKE2b-256 checksum
How to use checksums
f240f51eb425dc83c28f9724299c5de845aea6de2bb9d7768eb62ad4021cf7b0
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.1.2607.dev10-cp310-cp310-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL xfem-2.1.2607.dev10-cp310-cp310-manylinux_2_28_x86_64.manylinux2014_x86_64.whl
Size 1.8 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
f53f2420ef88b5d9c794afd9aa7b03f58a12dce467652d957da624f6a7a259a8
BLAKE2b-256 checksum
How to use checksums
aed2e004ebc23688ec6a0de227f9177b3c024200bd4a3f4b25cac7d29ba8b7fa
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.1.2607.dev10-cp310-cp310-macosx_10_9_universal2.whl

Download URL xfem-2.1.2607.dev10-cp310-cp310-macosx_10_9_universal2.whl
Size 2.9 MB
Tags CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
b468641f213ea559b9880bfeef5a32948862e735fc6e7784d25910802ad9fe1a
BLAKE2b-256 checksum
How to use checksums
9dd43a7fab4f32819d18fb1504cb6d0d5d8b992c0575acaae44ddae694b826a8
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.1.2607.dev10

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
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