Fix WALL_TIME for unsteady + some variable index cleanup by pcarruscag · Pull Request #1544 · su2code/SU2

@pcarruscag

@pcarruscag

bigfooted

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

bigfooted

}

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

bigfooted

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@TobiKattmann

💐 Thanks for the quick closure of this issue and of course the additional clean-up