-
Notifications
You must be signed in to change notification settings - Fork 247
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
Conversation
…`CreateCubeModelPart`
CppTestsUtilities
with CreateCubeSkinModelPart and CreateCubeModelPart
CppTestsUtilities
with CreateCubeSkinModelPart
and CreateCubeModelPart
@@ -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 |
There was a problem hiding this comment.
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( |
There was a problem hiding this comment.
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&
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huuuuuum ...
📝 Description
Code related to the creation of a cube skin model part (
CreateCubeSkinModelPart
) and a cube model part (CreateCubeModelPart
) were removed. Instead, theCppTestsUtilities::CreateCubeSkinModelPart
andCppTestsUtilities::CreateCubeModelPart
functions has been moved to theutilities/cpp_tests_utilities.h
file, and it is now used to create the model part.🆕 Changelog
CppTestsUtilities
withCreateCubeSkinModelPart
andCreateCubeModelPart