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

[All][Core][Model] CreateModelPart new behavior #9598

Merged
merged 1 commit into from
Feb 10, 2022

Conversation

rubenzorrilla
Copy link
Member

📝 Description
As it has been discussed in #9258, the creation of model parts must happen at the modelers stage in order to enable the multistage simulation (not at the solver instantiation as we're doing right now).

Changing the CreateModelPart method of the Model as suggested in here will ease the transition period. Long story short, right now we were throwing an error if the model part was already existing. With this change we will issue a warning and return the already existing model part.

Backwards compatibility is ensured as we were throwing an error so far.

@rubenzorrilla rubenzorrilla added Kratos Core Behaviour Change changes behaviour but not the API labels Feb 3, 2022
@rubenzorrilla rubenzorrilla requested a review from a team as a code owner February 3, 2022 12:11
@rubenzorrilla rubenzorrilla self-assigned this Feb 3, 2022
@philbucher
Copy link
Member

does this interfere or interact in any other way with #7108?

@rubenzorrilla
Copy link
Member Author

does this interfere or interact in any other way with #7108?

As far as I understand it shouldn't.

@rubenzorrilla rubenzorrilla added this to To do in LEGACY Technical Committee via automation Feb 8, 2022
@rubenzorrilla rubenzorrilla moved this from To do to Next meeting todo in LEGACY Technical Committee Feb 8, 2022
Copy link
Member

@RiccardoRossi RiccardoRossi left a comment

Choose a reason for hiding this comment

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

approving on behalf of @KratosMultiphysics/technical-committee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Behaviour Change changes behaviour but not the API Kratos Core
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants