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

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

Built distributions (wheels)

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

Download URL xfem-2.1.2607.dev9.tar.gz
Size 2.2 MB
Tags Source
SHA-256 checksum
How to use checksums
0cab0bfef96af2c2dbaf723644c4dd4cdf8236c963ce40e99af7e4558ed68d8d
BLAKE2b-256 checksum
How to use checksums
5695daa94e9c9bc4149f3138885f0a6488af6133e5800ff72886d250de300919
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.dev9-cp313-cp313-win_amd64.whl

Download URL xfem-2.1.2607.dev9-cp313-cp313-win_amd64.whl
Size 957.6 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
4cd2f03a687e9634a9bca0165b5f26e4fe30c4ed1bf92a5a7a380d0a3414821d
BLAKE2b-256 checksum
How to use checksums
fa01575123db71ede37a6f290b4d453de3d887b2af2fef1f0a3dd93bda93e926
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.dev9-cp313-cp313-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL xfem-2.1.2607.dev9-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
0e0a5e59af566b9ecb8e6dd3f580d7d944cb07386e0e352c06ce7d34b6088d16
BLAKE2b-256 checksum
How to use checksums
643472a8ef5dd89696d8693dd05ab23d1e8f97698ae666159ed4c035a62c1c09
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.dev9-cp313-cp313-macosx_10_9_universal2.whl

Download URL xfem-2.1.2607.dev9-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
370af9f2f86391de831cc6bb16572c702e6e8bd6741fde7ad9d5095178dcd03f
BLAKE2b-256 checksum
How to use checksums
eb17d18b1ea037d1af55d2d607755eb5035eab3329addd543f91aed52d3766dd
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.dev9-cp312-cp312-win_amd64.whl

Download URL xfem-2.1.2607.dev9-cp312-cp312-win_amd64.whl
Size 957.5 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
b634bee5cabe17a6a75ced6144779b6e21ebf4f3885d0a6a63063b9e3a263406
BLAKE2b-256 checksum
How to use checksums
1c73db8a3e2f13954a14bd21511e483a9cebf5a175ed1fab5261b7956a0dd175
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.dev9-cp312-cp312-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL xfem-2.1.2607.dev9-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
0e26e8cd5502d3cde1daf639aeef6f5de2e75f2f6b95f2f5f497480c58de6189
BLAKE2b-256 checksum
How to use checksums
4216c6f824b20309cb8f139f302ca2a238d349a25b2d413de78e405ec981c110
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.dev9-cp312-cp312-macosx_10_9_universal2.whl

Download URL xfem-2.1.2607.dev9-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
f0627a792f4c83532d910fdcf4b0b7d17dee5152ed3942ee3f79e7766871c63a
BLAKE2b-256 checksum
How to use checksums
b735eca86e36f372babdf94466498823f2b5f9aee7469bd17d45f358b63abdf7
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.dev9-cp311-cp311-win_amd64.whl

Download URL xfem-2.1.2607.dev9-cp311-cp311-win_amd64.whl
Size 957.7 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
8bd0ade21896a3b74c7cf77d4dadca08e452902780ca9a793e3b73d778a5bdcd
BLAKE2b-256 checksum
How to use checksums
3169486024196f3fab17d3ccd2d8927e26b98792889b0032bf729353f9b69f22
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.dev9-cp311-cp311-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL xfem-2.1.2607.dev9-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
f037e75d1f26c17d9471e576d067e6f9e1598d1f34508a56df643f7f6ddbf79f
BLAKE2b-256 checksum
How to use checksums
f899fecac5f9906f249e9436902d263a0ff5bc25df2f757acf1cab316b16a4fb
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.dev9-cp311-cp311-macosx_10_9_universal2.whl

Download URL xfem-2.1.2607.dev9-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
95c4c532ec4a2de4a515e45c48dde3c8b0068339e4034e9cce9d47364194569f
BLAKE2b-256 checksum
How to use checksums
da17160d963de113a600b100472d7928159dd63b1ee00fc84c1775350209f790
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.dev9-cp310-cp310-manylinux_2_28_x86_64.manylinux2014_x86_64.whl

Download URL xfem-2.1.2607.dev9-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
839b4a08eaa037a65e947a7e9d656fe5935aebe6d64daa06475b1a1d4537fa43
BLAKE2b-256 checksum
How to use checksums
1496a351510782ea09e0dd786e380b4693d29e292bfe7f4d4ddc256d43b648ad
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.dev9-cp310-cp310-macosx_10_9_universal2.whl

Download URL xfem-2.1.2607.dev9-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
f2781f636a92407e554198b63c0d778e9384b273a1a70eaf010ba4403a294bbd
BLAKE2b-256 checksum
How to use checksums
638317d87cc6d58b6288877f51cd34af08d5fa12ba0d76bfdf9b0f814ca3e09c
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.dev9

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