Skip to content

Conversation

@rubenzorrilla
Copy link
Member

@rubenzorrilla rubenzorrilla commented Jan 9, 2026

📝 Description
This PR adds two headers to define the serial and MPI linear algebra types. The idea of these is two use the structs inside as unique template arguments for all the new strategies environment.

Besides simplifying quite a lot the implementation and reducing the template specialization complexity, these ensure that the linear algebra pairs (i.e., matrix and vector) are compatible. Also note that these also simplify the extension to other data types (e.g., float vs double) or even to other array types.

A subsequent PR will incorporate these (and other features) into the future strategies, schemes, builders and linear solvers.

EDIT: I placed them into containers folder without being sure if this is the best place. Feel free to suggest any other folder.

@rubenzorrilla rubenzorrilla self-assigned this Jan 9, 2026
@rubenzorrilla rubenzorrilla requested a review from a team as a code owner January 9, 2026 10:53
@rubenzorrilla rubenzorrilla added Kratos Core FastPR This Pr is simple and / or has been already tested and the revision should be fast labels Jan 9, 2026
Copy link
Member

@loumalouomega loumalouomega left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OKay from my side

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FastPR This Pr is simple and / or has been already tested and the revision should be fast Kratos Core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants