-
Notifications
You must be signed in to change notification settings - Fork 244
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] Remove (or not) string-based geometry creation #12702
Comments
I mentioned this in the original PR and there was a reason @tteschemacher |
Hey. I think it is actually a quite good feature and we also spent some efforts to make it very efficient. The reason behind this is that when coming from cad or generally non fem environments there may be no clear identification system. However often you have something like surface 1, 2, 3, ... Curve 1, 2, ... Same actually works with guids. These are appearing often. As I recall CAE beta had that issue.with text names. I'm not insisting on keeping it though. |
If at the end we are using an Id (integer), we can move the feature as an utility, so advanced developers can use it if interested. |
This makes very much sense. However, I wonder if such capability must be in the I/O rather than in the |
Can we close this then? |
I think we can but let me leave it open for a while to communicate it to the rest of the @KratosMultiphysics/technical-committee . |
@KratosMultiphysics/technical-committee agrees with the use case of @tteschemacher and will keep it in modelpart as it is. This also gives the possibility to eventually add a reverse dictionary if is needed. |
Description
Current
ModelPart
API allows for creating geometries with a string-based identifier. See below.Kratos/kratos/includes/model_part.h
Lines 1481 to 1515 in e318076
Such string is then converted to a hash identifier while constructing the
Geometry
. As far as I see, there are no current usages of this. On top of enlarging the already exorbitantModelPart
API, in my opinion this adds an extra complexity with no clear value. Taking into account that we're working on and promoting the geometry-based I/O, I'm opening this issue to discuss if we should whether keep or remove this feature.In case it is required, this was added in #6335.
The text was updated successfully, but these errors were encountered: