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] Extend CppTestsUtilities with CreateCubeSkinModelPart and CreateCubeModelPart #11697

Merged
merged 4 commits into from
Oct 18, 2023

Conversation

loumalouomega
Copy link
Member

@loumalouomega loumalouomega commented Oct 18, 2023

📝 Description

Code related to the creation of a cube skin model part (CreateCubeSkinModelPart) and a cube model part (CreateCubeModelPart) were removed. Instead, the CppTestsUtilities::CreateCubeSkinModelPart and CppTestsUtilities::CreateCubeModelPart functions has been moved to the utilities/cpp_tests_utilities.h file, and it is now used to create the model part.

🆕 Changelog

@loumalouomega loumalouomega added Kratos Core C++ Testing FastPR This Pr is simple and / or has been already tested and the revision should be fast Transition labels Oct 18, 2023
@loumalouomega loumalouomega requested a review from a team as a code owner October 18, 2023 14:36
@loumalouomega loumalouomega changed the title [Core] Extend CppTestsUtilities with CreateCubeSkinModelPart and CreateCubeModelPart [Core] Extend CppTestsUtilities with CreateCubeSkinModelPart and CreateCubeModelPart Oct 18, 2023
@@ -38,8 +38,9 @@ namespace Kratos
///@}
///@name Kratos Classes
///@{
// forward declaring ModelPart to be avoid including heavy header here
// forward declaring ModelPart adn Model to be avoid including heavy header here
Copy link
Member

Choose a reason for hiding this comment

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

and

* @param HalfZ The half-length of the cube in the Z-direction.
* @return ModelPart& The created cube skin model part.
*/
ModelPart& KRATOS_API(KRATOS_CORE) CreateCubeSkinModelPart(
Copy link
Member

Choose a reason for hiding this comment

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

I believe that for individual functions has to be

KRATOS_API(KRATOS_CORE) ModelPart&

Copy link
Member Author

Choose a reason for hiding this comment

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

Huuuuuum ...

@loumalouomega loumalouomega merged commit 72e6035 into master Oct 18, 2023
@loumalouomega loumalouomega deleted the core/update-cpp-test-utilities branch October 18, 2023 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ FastPR This Pr is simple and / or has been already tested and the revision should be fast Kratos Core Testing Transition
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants