Skip to content

Conversation

@totto82
Copy link
Member

@totto82 totto82 commented Mar 19, 2025

See #6067

Depends on OPM/opm-common#4529

@totto82 totto82 requested a review from GitPaean April 2, 2025 07:03
{
if (well_ecl.getAutomaticShutIn()) {
//stopped wells where cross flow is not allowed is shut
//so is wells shut by the simulator due to convergence issues.
Copy link
Member

@GitPaean GitPaean Apr 2, 2025

Choose a reason for hiding this comment

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

space after //

. or , after is shut, and so is should be so are.

if (well_ecl.getAutomaticShutIn()) {
//stopped wells where cross flow is not allowed is shut
//so is wells shut by the simulator due to convergence issues.
bool shut_well = well_ecl.getAutomaticShutIn() || !well_ecl.getAllowCrossFlow()
Copy link
Member

Choose a reason for hiding this comment

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

const before bool.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants