Skip to content
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

Do not compute WellState::numPhases #1047

Closed

Commits on Jun 24, 2016

  1. Do not compute WellState::numPhases

    but store it during initialization and reuse it
    afterwards. Previously it was computed by dividing
    the size of the bhp_ array by the number of wells.
    This crashed if there were no wells present/active.
    blattms committed Jun 24, 2016
    Configuration menu
    Copy the full SHA
    57261bd View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2016

  1. Honor numPhases in WellState::operator=

    Otherwise numPhases might be uninitialized and/or wrong.
    blattms committed Jun 25, 2016
    Configuration menu
    Copy the full SHA
    e508726 View commit details
    Browse the repository at this point in the history