8000 Replace Sparsity detection by j-fu · Pull Request #203 · WIAS-PDELib/VoronoiFVM.jl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Replace Sparsity detection #203

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 16, 2025
Merged

Replace Sparsity detection #203

merged 5 commits into from
Apr 16, 2025

Conversation

j-fu
Copy link
Member
@j-fu j-fu commented Apr 16, 2025
  • No changes in core functionality
  • Replace Symbolics + SparseDiffTools by DifferentiationInterface + SparseConnectivityTracer + SparseMatrixColoring
  • Thus at once get rid of dependencies (SparseDiffTools) which probably will not be updated to ForwardDiff 1.0
  • Affected: generic operator + measurement_derivative + Example430
  • Breaking: remove possibility to provide own sparsity pattern - Performance of SparseConnectivityTracer is good enough now. Could be reintroduced if needed

- No changes in core functionality
- Replace Symbolics + SparseDiffTools by
  DifferentiationInterface + SparseConnectivityTracer + SparseMatrixColoring
- Thus at once get rid of dependencies (SparseDiffTools) which probably will
  not be updated to ForwardDiff 1.0
- Affected: generic operator + measurement_derivative + Example430
- Breaking: remove possibility to provide own sparsity pattern - Performance
  of SparseConnectivityTracer is good enough now. Could be reintroduced if needed
@j-fu
Copy link
Member Author
j-fu commented Apr 16, 2025

This probably goes into 3.0 2.10

8000

See alsp JuliaDiff/DifferentiationInterface.jl#774

@j-fu j-fu mentioned this pull request Apr 16, 2025
14 tasks
j-fu added 4 commits April 16, 2025 18:34
Remove type assumptions on AD backend and jacobian_prep
(losing type stability in System which is however not very critical
and should be addressed in another PR)
Remove buggy generic_operator_sparsity! call, sparsity is set via physics.
@gdalle
Copy link
gdalle commented Apr 16, 2025

Just insisting on the risks of relying on internal types: #203 (comment)

@j-fu j-fu merged commit da1ab9f into master Apr 16, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
3190
0