Skip to content

feat: generalize use of sparse matrices in kernels#3989

Open
rrsettgast wants to merge 45 commits into
developfrom
feature/generalizeSparseMatrixUsage
Open

feat: generalize use of sparse matrices in kernels#3989
rrsettgast wants to merge 45 commits into
developfrom
feature/generalizeSparseMatrixUsage

Conversation

@rrsettgast
Copy link
Copy Markdown
Member

@rrsettgast rrsettgast commented Mar 3, 2026

This PR generalizes the kernels to use/take generic matrix types.

  • Mechanics Kernels
  • Flow Kernels

@rrsettgast rrsettgast self-assigned this Mar 3, 2026
@rrsettgast rrsettgast added the ci: run integrated tests Allows to run the integrated tests in GEOS CI label Mar 3, 2026
@rrsettgast rrsettgast changed the title feat: generalize use of sparse matricies for mechanics kernels feat: generalize use of sparse matrices in kernels Mar 5, 2026
@rrsettgast rrsettgast closed this Mar 16, 2026
@rrsettgast rrsettgast deleted the feature/generalizeSparseMatrixUsage branch March 16, 2026 21:54
@rrsettgast rrsettgast added ci: run CUDA builds Allows to triggers (costly) CUDA jobs ci: run code coverage enables running of the code coverage CI jobs labels Apr 22, 2026
@rrsettgast rrsettgast requested a review from arng40 as a code owner May 8, 2026 23:56
Remove the DefaultGlobalMatrixView default from ImplicitKernelBase,
InterfaceKernelBase, and SparsityKernelBase, and delete the
FirstMatrixViewOrDefault / FirstInterfaceMatrixViewOrDefault SFINAE
helpers that silently picked a matrix view from the constructor
argument pack. KernelFactory and InterfaceKernelFactory now take
MATRIX_VIEW as an explicit template parameter; all 24 affected
factory aliases pass DefaultGlobalMatrixView at the call site. This
makes the failure mode loud and grep-able for the upcoming hypre
ParCSRMatrix view in the private repo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci: run code coverage enables running of the code coverage CI jobs ci: run CUDA builds Allows to triggers (costly) CUDA jobs ci: run integrated tests Allows to run the integrated tests in GEOS CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants