Fix WALL_TIME for unsteady + some variable index cleanup by pcarruscag · Pull Request #1544 · su2code/SU2
Comment on lines 216 to 219
| StartTime = SU2_MPI::Wtime(); | ||
|
|
||
| config_container[ZONE_0]->Set_StartTime(StartTime); | ||
| } | ||
|
|
||
| config_container[ZONE_0]->Set_StartTime(StartTime); | ||
| } |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this is the actual fix and the rest is code cleanup? LGTM
| } | ||
|
|
||
| Density = V_outlet[nDim+2]; | ||
| Density = V_outlet[prim_idx.Density()]; |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great to see the replacement of the magical numbers nDim + i with human readable indices
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters