Skip to main content

Wrappers for reading/writing DOLFINx meshes/functions with ADIOS2

Project description

ADIOS2Wrappers for DOLFINx

MIT Read Latest Documentation

This is an experimental library for checkpoint with DOLFINx using ADIOS2.

Docker

ADIOS2 is installed in the official DOLFINx containers.

docker run -ti -v $(pwd):/root/shared -w /root/shared --name=dolfinx-checkpoint ghcr.io/fenics/dolfinx/dolfinx:nightly

Conda

To use with conda (DOLFINx release v0.7.0 works with v0.7.1 of ADIOS4DOLFINx)

conda create -n dolfinx-checkpoint python=3.10
conda activate dolfinx-checkpoint
conda install -c conda-forge fenics-dolfinx pip adios2 numba
python3 -m pip install git+https://github.com/jorgensd/adios4dolfinx@v0.7.1

Long term plan

The long term plan is to get this library merged into DOLFINx (rewritten in C++ with appropriate Python-bindings).


Functionality

DOLFINx

  • Reading and writing meshes, using adios4dolfinx.read/write_mesh
  • Reading checkpoints for any element (serial and parallel, one checkpoint per file). Use adios4dolfinx.read/write_function.

Legacy DOLFIN

Only checkpoints for Lagrange or DG functions are supported from legacy DOLFIN

  • Reading meshes from the DOLFIN HDF5File-format
  • Reading checkpoints from the DOLFIN HDF5File-format (one checkpoint per file only)
  • Reading checkpoints from the DOLFIN XDMFFile-format (one checkpoint per file only, and only uses the .h5 file)

See the API for more information.


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

adios4dolfinx-0.7.1.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

adios4dolfinx-0.7.1-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file adios4dolfinx-0.7.1.tar.gz.

File metadata

  • Download URL: adios4dolfinx-0.7.1.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for adios4dolfinx-0.7.1.tar.gz
Algorithm Hash digest
SHA256 99e16d4c3bd7b33d4738ac45a2092e6756e0907313d95276890a951f05ba06ea
MD5 ffe7e54b0a6fb90e80649f5e39340513
BLAKE2b-256 c5cb6f75f4235bc927ef607d1ca915a4e156d8ff1bf30624b5c5126004b22f6d

See more details on using hashes here.

Provenance

File details

Details for the file adios4dolfinx-0.7.1-py3-none-any.whl.

File metadata

File hashes

Hashes for adios4dolfinx-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 26586035b3052ea55e8c322fadca2d387df56da444520681ec411d43ed40ade3
MD5 7691591f2fbd4248d7d54583dc71c1b4
BLAKE2b-256 caeee96f60509a4ebeeae21a8a0f586db74f5479859f57a939e0a912eb8cde2a

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page