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] Some minor headers clean up #13113

Merged
merged 1 commit into from
Feb 11, 2025
Merged

Conversation

loumalouomega
Copy link
Member

📝 Description

Refactor header guards and improve code structure

  • Replaced traditional header guards (#ifndef, #define, #endif) with #pragma once in multiple header files for better portability and ease of maintenance.
  • Cleaned up redundant preprocessor directives and ensured consistent header formatting across files.
  • Removed unnecessary comments and empty lines.

Files affected:

- amgcl_distributed_csr_spmm_utilities.h
- data_communicator_factory.h
- distributed_model_part_initializer.h
- model_part_communicator_utilities.h
- mpi_normal_calculation_utilities.h

🆕 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 Feb 11, 2025
@loumalouomega loumalouomega requested review from a team as code owners February 11, 2025 11:06
@loumalouomega loumalouomega merged commit e1a8cd6 into master Feb 11, 2025
11 checks passed
@loumalouomega loumalouomega deleted the core/minor-headers-clean-up branch February 11, 2025 14:39
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