-
Notifications
You must be signed in to change notification settings - Fork 905
Fixing Custom Objective Function for Unsteady Adjoint #2587
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
base: develop
Are you sure you want to change the base?
Fixing Custom Objective Function for Unsteady Adjoint #2587
Conversation
pcarruscag
left a comment
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.
This file is generated via a script, we need to fix or update that script, otherwise the next time someone uses it it will break the custom objective again.
Okay I will look into it but do you mean it is generated during build/install? When I look into source code the file is inside /SU2_PY/SU2/io. |
|
check SU2_PY/updateHistoryMap.py |
…. function and write it into historyMap.py
|
I did some changes in the python file so it can read custom obj. func. from the CFlowOutput.cpp. |
removing json from import.
|
If you run the python script updatehistorymap.py, does it generate the correct, updated, historymap? |
Yes, I tried with Tutorials. There is no problem. |
Defining Custom Objective Function does not work with shape_optimization.py. historyMap.py is updated in order to fix the problem.
pre-commit run --allto format old commits.