tfc 1.3.0__tar.gz → 1.3.2__tar.gz

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.
Files changed (38) hide show
  1. {tfc-1.3.0/src/tfc.egg-info → tfc-1.3.2}/PKG-INFO +2 -2
  2. {tfc-1.3.0 → tfc-1.3.2}/README.md +1 -1
  3. {tfc-1.3.0 → tfc-1.3.2}/pyproject.toml +4 -3
  4. {tfc-1.3.0 → tfc-1.3.2}/src/tfc/mtfc.py +2 -5
  5. {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utfc.py +2 -5
  6. {tfc-1.3.0 → tfc-1.3.2}/src/tfc/version.py +1 -1
  7. {tfc-1.3.0 → tfc-1.3.2/src/tfc.egg-info}/PKG-INFO +2 -2
  8. {tfc-1.3.0 → tfc-1.3.2}/LICENSE +0 -0
  9. {tfc-1.3.0 → tfc-1.3.2}/MANIFEST.in +0 -0
  10. {tfc-1.3.0 → tfc-1.3.2}/setup.cfg +0 -0
  11. {tfc-1.3.0 → tfc-1.3.2}/setup.py +0 -0
  12. {tfc-1.3.0 → tfc-1.3.2}/src/tfc/__init__.py +0 -0
  13. {tfc-1.3.0 → tfc-1.3.2}/src/tfc/py.typed +0 -0
  14. {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/BF.cc +0 -0
  15. {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/BF.h +0 -0
  16. {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/BF_Py.cc +0 -0
  17. {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/BF_Py.py +0 -0
  18. {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/CMakeLists.txt +0 -0
  19. {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/CeSolver.py +0 -0
  20. {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/Html.py +0 -0
  21. {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/Latex.py +0 -0
  22. {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/MakePlot.py +0 -0
  23. {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/MayaviMakePlot.py +0 -0
  24. {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/PlotlyMakePlot.py +0 -0
  25. {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/TFCUtils.py +0 -0
  26. {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/__init__.py +0 -0
  27. {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/tfc_types.py +0 -0
  28. {tfc-1.3.0 → tfc-1.3.2}/src/tfc.egg-info/SOURCES.txt +0 -0
  29. {tfc-1.3.0 → tfc-1.3.2}/src/tfc.egg-info/dependency_links.txt +0 -0
  30. {tfc-1.3.0 → tfc-1.3.2}/src/tfc.egg-info/requires.txt +0 -0
  31. {tfc-1.3.0 → tfc-1.3.2}/src/tfc.egg-info/top_level.txt +0 -0
  32. {tfc-1.3.0 → tfc-1.3.2}/tests/test_BF.py +0 -0
  33. {tfc-1.3.0 → tfc-1.3.2}/tests/test_ODE.py +0 -0
  34. {tfc-1.3.0 → tfc-1.3.2}/tests/test_PDE.py +0 -0
  35. {tfc-1.3.0 → tfc-1.3.2}/tests/test_ce_solver.py +0 -0
  36. {tfc-1.3.0 → tfc-1.3.2}/tests/test_complex_ODE.py +0 -0
  37. {tfc-1.3.0 → tfc-1.3.2}/tests/test_nBF.py +0 -0
  38. {tfc-1.3.0 → tfc-1.3.2}/tests/test_step.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tfc
3
- Version: 1.3.0
3
+ Version: 1.3.2
4
4
  Summary: Theory of Functional Connections (TFC): A functional interpolation framework with applications in differential equations.
5
5
  Home-page: https://github.com/leakec/tfc.git
6
6
  Author: Carl Leake and Hunter Johnston
@@ -103,7 +103,7 @@ The authors of this repsitory and the associated theory have gone to lengths to
103
103
  author = {Carl Leake and Hunter Johnston},
104
104
  title = {{TFC: A Functional Interpolation Framework}},
105
105
  url = {https://github.com/leakec/tfc},
106
- version = {1.3.0},
106
+ version = {1.3.2},
107
107
  year = {2025},
108
108
  }
109
109
  @article{TFC,
@@ -66,7 +66,7 @@ The authors of this repsitory and the associated theory have gone to lengths to
66
66
  author = {Carl Leake and Hunter Johnston},
67
67
  title = {{TFC: A Functional Interpolation Framework}},
68
68
  url = {https://github.com/leakec/tfc},
69
- version = {1.3.0},
69
+ version = {1.3.2},
70
70
  year = {2025},
71
71
  }
72
72
  @article{TFC,
@@ -8,8 +8,8 @@ build-backend = "setuptools.build_meta"
8
8
 
9
9
  [project]
10
10
  name = "tfc"
11
- version = "1.3.0"
12
- requires-python = ">=3.11,<3.14"
11
+ version = "1.3.2"
12
+ requires-python = ">=3.11"
13
13
  readme = "README.md"
14
14
  dynamic = ["dependencies", "classifiers", "authors", "license", "description"]
15
15
 
@@ -20,7 +20,7 @@ target-version = ['py311']
20
20
  [tool.cibuildwheel]
21
21
  before-build = "pip install setuptools wheel numpy pybind11 mypy"
22
22
  skip = "*-musllinux*"
23
- manylinux-x86_64-image = "manylinux2014"
23
+ manylinux-x86_64-image = "manylinux_2_28"
24
24
  test-requires = ["pytest"]
25
25
  test-command = "pytest {package}/tests"
26
26
  test-skip = "*-macosx_arm64"
@@ -34,6 +34,7 @@ archs = ["arm64"]
34
34
 
35
35
  [tool.cibuildwheel.windows]
36
36
  archs = ["AMD64"]
37
+ skip = "cp314t-*"
37
38
 
38
39
  [[tool.cibuildwheel.overrides]]
39
40
  select = "*-musllinux*"
@@ -584,7 +584,7 @@ class mtfc:
584
584
  stablehlo.ConcatenateOp(x, 0).result,
585
585
  mlir.ir_constant(np.int32(d)),
586
586
  mlir.ir_constant(np.int32(self.dim)),
587
- mlir.ir_constant(bool(full)),
587
+ mlir.ir_constant(np.bool(full)),
588
588
  mlir.ir_constant(np.int32(dim0)),
589
589
  mlir.ir_constant(np.int32(dim1)),
590
590
  ],
@@ -623,10 +623,7 @@ class mtfc:
623
623
  out_tans = np.zeros((dim0, dim1))
624
624
  for k in range(n):
625
625
  if not (type(arg_tans[k]) is ad.Zero):
626
- if type(arg_tans[k]) is batching.BatchTracer:
627
- flag = onp.any(arg_tans[k].val != 0)
628
- else:
629
- flag = onp.any(arg_tans[k] != 0)
626
+ flag = onp.any(arg_tans[k] != 0)
630
627
  if flag:
631
628
  dark = tuple(d[j] + 1 if k == j else d[j] for j in range(len(d)))
632
629
  if flat:
@@ -339,7 +339,7 @@ class utfc:
339
339
  mlir.ir_constant(np.int32(self.basisClass.identifier)),
340
340
  x,
341
341
  mlir.ir_constant(np.int32(d)),
342
- mlir.ir_constant(bool(full)),
342
+ mlir.ir_constant(np.bool(full)),
343
343
  mlir.ir_constant(np.int32(dim0)),
344
344
  mlir.ir_constant(np.int32(dim1)),
345
345
  ],
@@ -362,10 +362,7 @@ class utfc:
362
362
  x = arg_vals[0]
363
363
  dx = arg_tans[0]
364
364
  if not (dx is ad.Zero):
365
- if type(dx) is batching.BatchTracer:
366
- flag = onp.any(dx.val != 0)
367
- else:
368
- flag = onp.any(dx != 0)
365
+ flag = onp.any(dx != 0)
369
366
  if flag:
370
367
  if len(dx.shape) == 1:
371
368
  out_tans = Hjax(x, d=d + 1, full=full) * onp.expand_dims(dx, 1)
@@ -1,4 +1,4 @@
1
- __version__ = "1.3.0"
1
+ __version__ = "1.3.2"
2
2
 
3
3
 
4
4
  def _version_as_tuple(version_str: str) -> tuple[int, ...]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tfc
3
- Version: 1.3.0
3
+ Version: 1.3.2
4
4
  Summary: Theory of Functional Connections (TFC): A functional interpolation framework with applications in differential equations.
5
5
  Home-page: https://github.com/leakec/tfc.git
6
6
  Author: Carl Leake and Hunter Johnston
@@ -103,7 +103,7 @@ The authors of this repsitory and the associated theory have gone to lengths to
103
103
  author = {Carl Leake and Hunter Johnston},
104
104
  title = {{TFC: A Functional Interpolation Framework}},
105
105
  url = {https://github.com/leakec/tfc},
106
- version = {1.3.0},
106
+ version = {1.3.2},
107
107
  year = {2025},
108
108
  }
109
109
  @article{TFC,
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes