op-engine 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.
op_engine/__init__.py ADDED
@@ -0,0 +1,53 @@
1
+ """op_engine multiphysics ODE/PDE engine package."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from importlib.metadata import version as _metadata_version
6
+
7
+ from .core_solver import CoreSolver
8
+ from .matrix_ops import (
9
+ DiffusionConfig,
10
+ GridGeometry,
11
+ Operator,
12
+ build_crank_nicolson_operator,
13
+ build_laplacian_tridiag,
14
+ build_predictor_corrector,
15
+ clear_implicit_solver_cache,
16
+ encode_groups,
17
+ grouped_count_ids,
18
+ grouped_sum_ids,
19
+ grouped_sum_ids_2d,
20
+ implicit_solve,
21
+ kron_prod,
22
+ kron_sum,
23
+ matrix_grouped_count,
24
+ matrix_grouped_sum,
25
+ matrix_masked_sum,
26
+ smooth,
27
+ )
28
+ from .model_core import ModelCore
29
+
30
+ __all__ = [
31
+ "CoreSolver",
32
+ "DiffusionConfig",
33
+ "GridGeometry",
34
+ "ModelCore",
35
+ "Operator",
36
+ "build_crank_nicolson_operator",
37
+ "build_laplacian_tridiag",
38
+ "build_predictor_corrector",
39
+ "clear_implicit_solver_cache",
40
+ "encode_groups",
41
+ "grouped_count_ids",
42
+ "grouped_sum_ids",
43
+ "grouped_sum_ids_2d",
44
+ "implicit_solve",
45
+ "kron_prod",
46
+ "kron_sum",
47
+ "matrix_grouped_count",
48
+ "matrix_grouped_sum",
49
+ "matrix_masked_sum",
50
+ "smooth",
51
+ ]
52
+
53
+ __version__ = _metadata_version("op_engine")