Skip to content
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

[Core] Clean up mesh.h file #11686

Merged
merged 1 commit into from
Oct 17, 2023
Merged

[Core] Clean up mesh.h file #11686

merged 1 commit into from
Oct 17, 2023

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
10 of 11 checks passed
@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