Skip to content

Fix WALL_TIME for unsteady + some variable index cleanup#1544

Merged
pcarruscag merged 1 commit intodevelopfrom
fix_unsteady_wall_time
Feb 13, 2022
Merged

Fix WALL_TIME for unsteady + some variable index cleanup#1544
pcarruscag merged 1 commit intodevelopfrom
fix_unsteady_wall_time

Conversation

@pcarruscag
Copy link
Member

Closes #1542

Comment on lines 216 to 219
StartTime = SU2_MPI::Wtime();

config_container[ZONE_0]->Set_StartTime(StartTime);
}

config_container[ZONE_0]->Set_StartTime(StartTime);
}
Copy link
Contributor

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()];
Copy link
Contributor

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

Copy link
Contributor

@bigfooted bigfooted left a comment

Choose a reason for hiding this comment

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

LGTM!

@pcarruscag pcarruscag merged commit 5b12ac7 into develop Feb 13, 2022
@pcarruscag pcarruscag deleted the fix_unsteady_wall_time branch February 13, 2022 19:21
@TobiKattmann
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants