Coverage for / dolfinx-env / lib / python3.12 / site-packages / io4dolfinx / __init__.py: 100%
14 statements
« prev ^ index » next coverage.py v7.13.4, created at 2026-02-26 18:16 +0000
« prev ^ index » next coverage.py v7.13.4, created at 2026-02-26 18:16 +0000
1# Copyright (C) 2023 Jørgen Schartum Dokken
2#
3# This file is part of io4dolfinx
4#
5# SPDX-License-Identifier: MIT
7"""Top-level package for ADIOS2Wrappers."""
9from importlib.metadata import metadata
11from .backends import FileMode, get_backend
12from .checkpointing import (
13 read_attributes,
14 read_function,
15 read_function_names,
16 read_mesh,
17 read_meshtags,
18 read_timestamps,
19 write_attributes,
20 write_cell_data,
21 write_function,
22 write_mesh,
23 write_meshtags,
24 write_point_data,
25)
26from .original_checkpoint import write_function_on_input_mesh, write_mesh_input_order
27from .readers import (
28 read_cell_data,
29 read_function_from_legacy_h5,
30 read_mesh_from_legacy_h5,
31 read_point_data,
32)
33from .snapshot import snapshot_checkpoint
34from .utils import reconstruct_mesh
36meta = metadata("io4dolfinx")
37__version__ = meta["Version"]
38__author__ = meta.get("Author", "")
39__license__ = meta["License"]
40__email__ = meta["Author-email"]
41__program_name__ = meta["Name"]
43__all__ = [
44 "FileMode",
45 "write_meshtags",
46 "read_meshtags",
47 "read_cell_data",
48 "read_mesh",
49 "write_mesh",
50 "read_function_from_legacy_h5",
51 "read_mesh_from_legacy_h5",
52 "write_function",
53 "read_function",
54 "snapshot_checkpoint",
55 "write_function_on_input_mesh",
56 "write_mesh_input_order",
57 "write_attributes",
58 "write_data",
59 "read_attributes",
60 "read_function_names",
61 "read_point_data",
62 "read_timestamps",
63 "get_backend",
64 "write_cell_data",
65 "write_point_data",
66 "reconstruct_mesh",
67]