-
Notifications
You must be signed in to change notification settings - Fork 249
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] Clean up and refactor of AssignScalarFieldToEntitiesProcess
and AssignScalarVariableToEntitiesProcess
#12194
Conversation
Heloo @rubenzorrilla @roigcarlo |
Ok, but update the doc to reflect the new historical switch |
Those processes are not documented at all |
@roigcarlo Doc added |
Ok but next time, there was already a https://github.com/KratosMultiphysics/Kratos/blob/master/docs/pages/Kratos/Processes/Assign_Values/assign_scalar_variable_process.md which refereed to the entities generic process, just change the value. No need to duplicate, just to add the new option |
Those are different processes, take a look |
Nut sure to follow you. The only difference is that the name of the .md is different and the fact that in the older version the entry point for master_salve is called |
Yes, the problem is that for legacy reasons we have some processes with duplicated functionalities |
Visible confusion ¿? There is only one `AssignVariableToXXXXX process (for example, for nodes as they have historical values): The entry point for that process is the file if value is number:
if value is vector
There is no duplicity here, the only think that has changed is that now there is an additional json config that allows the
if the new switch you added is on. Those new options and entry points is what I meant you to add in the doc. |
@loumalouomega why did you adapt this process for I'm asking because neither |
Btw it seems to me that you could have used proxies for this PR. |
I didn't knwo about that |
To be consistent... |
I am using it and it is used somewhere... |
📝 Description
Some clean up and refactor of
AssignScalarFieldToEntitiesProcess
andAssignScalarVariableToEntitiesProcess
🆕 Changelog