peclet 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,98 @@
1
+ Metadata-Version: 2.4
2
+ Name: peclet
3
+ Version: 0.1.0
4
+ Summary: GPU-accelerated & parallel simulation of transport phenomena (CFD, DEM, Voronoi) — CPU family metapackage
5
+ Project-URL: Homepage, https://github.com/computational-chemical-engineering/peclet
6
+ Project-URL: Documentation, https://github.com/computational-chemical-engineering/peclet
7
+ Author-email: Frank Peters <e.a.j.f.peters@gmail.com>
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Requires-Python: >=3.10
11
+ Requires-Dist: peclet-dem==0.1.0
12
+ Requires-Dist: peclet-flow==0.1.0
13
+ Requires-Dist: peclet-morton==0.1.0
14
+ Requires-Dist: peclet-voro==0.1.0
15
+ Provides-Extra: mpi
16
+ Requires-Dist: peclet-core==0.1.0; extra == 'mpi'
17
+ Description-Content-Type: text/markdown
18
+
19
+ # peclet
20
+
21
+ A suite of codes for **simulation of transport phenomena** — Eulerian (CFD/Navier–Stokes), Lagrangian
22
+ (DEM/particle packing) and mixed (Voronoi) methods — sharing one MPI **block domain decomposition**
23
+ with efficient **asynchronous ghost-layer exchange**, **SDF**-described solids, a common **immersed
24
+ boundary** methodology, **GPU** support, and **Python bindings**.
25
+
26
+ The name nods to the [Péclet number](https://en.wikipedia.org/wiki/P%C3%A9clet_number) — the ratio of
27
+ advective to diffusive transport, the dimensionless heart of transport phenomena.
28
+
29
+ 📖 **Documentation site:** <https://computational-chemical-engineering.github.io/peclet/> — the suite's front
30
+ door (design docs + install/deployment guide + links to each code's Doxygen API). Built from `docs/`
31
+ via MkDocs ([mkdocs.yml](mkdocs.yml)).
32
+
33
+ This is an **umbrella repository**: each code is a git **submodule** (its own repo and history); this
34
+ repo pins compatible commits and holds the shared design docs.
35
+
36
+ ## Clone
37
+
38
+ ```bash
39
+ git clone --recursive git@github.com:computational-chemical-engineering/peclet.git
40
+ # or, after a plain clone:
41
+ git submodule update --init --recursive
42
+ ```
43
+
44
+ ## Layout
45
+
46
+ | Submodule | Role |
47
+ |-----------|------|
48
+ | `core/` | **Shared infrastructure** (header-only C++20 + MPI, optional Kokkos): ORB block decomposition, async grid ghost-layer exchange + Lagrangian particle migration/ghosts, SDF geometry, VTI I/O. Every method depends on it. |
49
+ | `flow/` | Eulerian **Kokkos** incompressible Navier–Stokes (porous media; staggered MAC grid + cut-cell IBM). Complete, validated, MPI-optional distributed solver on `core`; `pnm` is its pore-network-extraction module. |
50
+ | `dem/` | Lagrangian **Kokkos + ArborX** DEM/XPBD particle packing. Full XPBD step with a validated distributed `step_mpi` (core particle halo). |
51
+ | `voro/` | Mixed Lagrangian/Eulerian dynamic 3D Voronoi tessellation (header-only C++17; periodic & Lees–Edwards). |
52
+ | `morton/` | Morton/Z-order spatial-index primitive — arithmetic directly in Morton space (header-only C++17 + BMI2/AVX-512, Python). |
53
+
54
+ Both GPU codes are **Kokkos**-based; the same source runs on CUDA, HIP (AMD/LUMI), and OpenMP backends,
55
+ chosen by the bootstrapped install prefix (`tools/bootstrap_deps.sh`). The reusable parts of the original
56
+ `block_decomposer` prototype were extracted into `core/`.
57
+
58
+ ## Shared design docs
59
+
60
+ `docs/` is the cross-code contract every method follows:
61
+ [ARCHITECTURE](docs/ARCHITECTURE.md) · [CONVENTIONS](docs/CONVENTIONS.md) · [STYLE](docs/STYLE.md) ·
62
+ [INTERFACES](docs/INTERFACES.md) · [ROADMAP](docs/ROADMAP.md) ·
63
+ [PORTABILITY](docs/PORTABILITY.md). See `CLAUDE.md` for an agent-facing overview.
64
+
65
+ ## Install & run (Python)
66
+
67
+ Everything ships under one **`peclet` namespace** — installable parts of one family:
68
+
69
+ | PyPI package | Import | Role |
70
+ |---|---|---|
71
+ | `peclet-morton` | `peclet.morton` | Morton/Z-order spatial index |
72
+ | `peclet-flow` | `peclet.flow` (+ `.pnm`) | Eulerian incompressible Navier–Stokes solver |
73
+ | `peclet-dem` | `peclet.dem` | Lagrangian DEM/XPBD particle packing |
74
+ | `peclet-voro` | `peclet.voro` | Dynamic Voronoi tessellation + mesh generator |
75
+ | `peclet-core` | `peclet.core` (`.mpi`, `.amr`) | Shared infra (particle halo, AMR) — sdist only |
76
+ | `peclet` | — | metapackage: `pip install peclet` pulls the CPU family |
77
+
78
+ **Multicore CPU (OpenMP):** the compute packages ship **self-contained wheels** — `pip install peclet`
79
+ (or an individual `pip install peclet-flow`) just works and runs multi-threaded (`OMP_NUM_THREADS`).
80
+
81
+ **GPU (CUDA/HIP) and multi-rank MPI:** a portable binary wheel is impossible (arch × CUDA/ROCm × MPI-ABI),
82
+ so you build the packages from source against a Kokkos prefix, or use a container. Because the backend
83
+ (Serial / OpenMP / CUDA / HIP) is compiled in, you build for your hardware —
84
+ [**docs/DEPLOYMENT.md**](docs/DEPLOYMENT.md) is the guide: the backend×MPI matrix, `pip install` recipes
85
+ per environment, and **Apptainer containers** for Snellius (CUDA) and LUMI (HIP) in [`containers/`](containers).
86
+
87
+ ## Continuous integration & docs
88
+
89
+ Each submodule carries its own `.github/workflows/`: a **CI** workflow (build + test where feasible —
90
+ `core` and `morton` run full CPU/MPI suites; `flow` and `dem` build the Kokkos OpenMP host
91
+ backend) and a **Documentation** workflow that builds the Doxygen API docs and publishes them to that
92
+ repo's GitHub Pages. Enabling Pages once per repo (Settings → Pages → "Source: GitHub Actions") is the
93
+ only manual step.
94
+
95
+ ## Note on submodule pins
96
+
97
+ This umbrella pins each submodule to a compatible commit on `main`. Update to the latest upstream with
98
+ `git submodule update --remote` followed by a commit here that bumps the pointers.
@@ -0,0 +1,4 @@
1
+ peclet-0.1.0.dist-info/METADATA,sha256=2LwoQT_7ajd8p22WW3XIIFcfbFMpIrgRf0uWGRN2YFc,5444
2
+ peclet-0.1.0.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
3
+ peclet-0.1.0.dist-info/licenses/LICENSE,sha256=y1lAzZEZuBZvgvSMwte2O-Of5uGi9PGpeNTCHMMxTvU,1069
4
+ peclet-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.30.1
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Frank Peters
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.