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

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

Built distributions (wheels)

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

Download URL xfem-2.1.2607.dev11.tar.gz
Size 2.2 MB
Tags Source
SHA-256 checksum
How to use checksums
f89488f45cac0152ff420db810428a7a8757f08a024c7833882e099f7494bb7c
BLAKE2b-256 checksum
How to use checksums
b0610b19e299888b5fc6b7a8f7d882b62a497c5fa3da1dd6ee4f4f4e8ec43e5f
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.dev11-cp313-cp313-win_amd64.whl

Download URL xfem-2.1.2607.dev11-cp313-cp313-win_amd64.whl
Size 958.0 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
90ce952677b99f784daf9b1bb16ad5df998e26d323fd9787292db3e7152f2d5e
BLAKE2b-256 checksum
How to use checksums
7cff7f02aae4d9561c4f85e28c4556108ecd85ec89ea1df96358e92436ebfc6b
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.dev11-cp313-cp313-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL xfem-2.1.2607.dev11-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
190e665be7c76f8c6342b63bbcde020d146e4e93d42229c4e60bea8b12a72505
BLAKE2b-256 checksum
How to use checksums
1a73f756220cf1a5e08a090ce737a7ff90e485950aba7fc699057c6e3105ddd0
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.dev11-cp313-cp313-macosx_10_9_universal2.whl

Download URL xfem-2.1.2607.dev11-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
9652ae6bf290f392b259923e38f451db42802380259d939ae46cdc41b7dda8a2
BLAKE2b-256 checksum
How to use checksums
81567e3dfdeaf59c5c97a8b237d920a7b09c25b9ef81b17d441e077ca2296493
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.dev11-cp312-cp312-win_amd64.whl

Download URL xfem-2.1.2607.dev11-cp312-cp312-win_amd64.whl
Size 957.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
105fd4c15f37453b3f2996bbd3d33205404434cfc53216a5dbf7ecd592e631c7
BLAKE2b-256 checksum
How to use checksums
9d1e699513b7810955e61c00e6c6bba18f39e7a0bfc0ba3afe3861f57af84d0e
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.dev11-cp312-cp312-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL xfem-2.1.2607.dev11-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
d5593a742f4b3125f363f014dec6d950edc0ec5b9038f3eca260f022a358053f
BLAKE2b-256 checksum
How to use checksums
951adeb626e3e11fde1ef535867bafb0f5deed0e7b038cac29eedfa290850c31
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.dev11-cp312-cp312-macosx_10_9_universal2.whl

Download URL xfem-2.1.2607.dev11-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
9ec72c09b8790b8042b171b5acdbd4ea468124cd0875fb5e9c455944835150e9
BLAKE2b-256 checksum
How to use checksums
ea2ae641064b21c39f351a53ca2e9cfb8b1d24e2e19825684201f08b03e09900
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.dev11-cp311-cp311-win_amd64.whl

Download URL xfem-2.1.2607.dev11-cp311-cp311-win_amd64.whl
Size 958.0 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
7d1cf5d9f75e33060985caf1eaaba2d3779c58f92a51e160ff54cdb3be738b58
BLAKE2b-256 checksum
How to use checksums
4e4adc85bfce2fd368956920ac8cde76de822ce02e65fbb152d51598d23fe650
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.dev11-cp311-cp311-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL xfem-2.1.2607.dev11-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
437148e41351283d4a75b7a09f3e73dc4689a879e2ef1ee74f0fd308c6bea0df
BLAKE2b-256 checksum
How to use checksums
92b7cccb9e94034cb637968bfb4e7fa514ddc919a202741b745c6b7a07d6a593
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.dev11-cp311-cp311-macosx_10_9_universal2.whl

Download URL xfem-2.1.2607.dev11-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
0dc9f072f6cd67e3a129a5bfaf15a367c57d8d0b45dfad9a2d8d7bd1cb586173
BLAKE2b-256 checksum
How to use checksums
6a7362c394fdd92ef5dcbd6425cf807e796a2e95719ee22032ab6a4bdff8cf35
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.dev11-cp310-cp310-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL xfem-2.1.2607.dev11-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
6e65d6d227fc6de8003fd344ebe8e466509a4c3c55890d6735b0272e126c44c8
BLAKE2b-256 checksum
How to use checksums
e3e64709c77c4c78a288050a2a5495a83d6e6c3e3f6abd620e185fa573471fd3
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.dev11-cp310-cp310-macosx_10_9_universal2.whl

Download URL xfem-2.1.2607.dev11-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
f6b8d4dad775a75ad422af63fbe24491c7724e0b225a1c34896dc335f32ae571
BLAKE2b-256 checksum
How to use checksums
747582846a3cbdbec666638a5d02ecc4f91596bab6178d6ba1aa910316874137
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.dev11

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