Skip to content

[Core] Clean up mesh.h file#11686

Merged
loumalouomega merged 1 commit intomasterfrom
core/clean-up-mesh-h
Oct 17, 2023
Merged

[Core] Clean up mesh.h file#11686
loumalouomega merged 1 commit intomasterfrom
core/clean-up-mesh-h

Conversation

@loumalouomega
Copy link
Member

📝 Description

Minor clean up of mesh.h file, update header. Replace typedef by using, among other minor clean ups.

🆕 Changelog

@loumalouomega loumalouomega added Cleanup Kratos Core FastPR This Pr is simple and / or has been already tested and the revision should be fast labels Oct 17, 2023
@loumalouomega loumalouomega requested a review from a team as a code owner October 17, 2023 09:44
Copy link
Member

@roigcarlo roigcarlo left a comment

Choose a reason for hiding this comment

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

Ok, but we should consider starting to remove the NodeType from Kratos

using SizeType = std::size_t;

// Alias for representing node types in a mesh data structure.
using NodeType = TNodeType;
Copy link
Member

Choose a reason for hiding this comment

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

We should delete this one an use Node directly.

Copy link
Member Author

Choose a reason for hiding this comment

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

It is a template argument, IMHO we could remove all those templates or directly inegrate the mesh into the model part

Copy link
Member

Choose a reason for hiding this comment

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

Agree

@loumalouomega loumalouomega merged commit a6c3c1b into master Oct 17, 2023
@loumalouomega loumalouomega deleted the core/clean-up-mesh-h branch October 17, 2023 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Cleanup 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.

2 participants