-
Notifications
You must be signed in to change notification settings - Fork 841
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
Bug fixes... #427
Bug fixes... #427
Conversation
* \param[in] val_Total_Custom_ObjFunc - Value of the total custom objective function. | ||
* \param[in] val_weight - Value of the weight for the custom objective function. | ||
*/ | ||
void SetTotal_Custom_ObjFunc(su2double val_total_custom_objfunc, su2double val_weight); |
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.
Thanks for adding the Custom_ObjFunc to the incompressible solver
@@ -689,7 +689,7 @@ CEulerSolver::CEulerSolver(CGeometry *geometry, CConfig *config, unsigned short | |||
Total_CFx = 0.0; Total_CFy = 0.0; Total_CFz = 0.0; | |||
Total_CT = 0.0; Total_CQ = 0.0; Total_CMerit = 0.0; | |||
Total_MaxHeat = 0.0; Total_Heat = 0.0; Total_ComboObj = 0.0; | |||
Total_CpDiff = 0.0; Total_HeatFluxDiff = 0.0; | |||
Total_CpDiff = 0.0; Total_HeatFluxDiff = 0.0; Total_Custom_ObjFunc=0.0; |
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.
Good catch!
|
||
help="output QUIET to log files", metavar="QUIET") | ||
parser.add_option("-z", "--zones", dest="nzones", default="1", | ||
help="Number of Zones", metavar="ZONES") |
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.
Why the number of zones is now an input of these scripts? I thought it was stored in the mesh information.
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.
We have this because the python scripts also need to know the number of zones in order to have to correct file names.
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.
Thanks a lot for fixing theses issues.
Nothing to add, the code should be fixed as soon as possible and I'll accept the changes.
Best,
Francisco
Thanks for fixing this. We can merge this in right away. |
Thanks for the quick reviews. Merging now. |
for the incompressible discrete adjoint and python scripts, as well as new test cases for the incomp. primal and discrete adjoint.