mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-18 21:43:27 -06:00
Initial integration of VFP
This commit is contained in:
parent
c6311decdc
commit
92628187b0
@ -67,14 +67,12 @@ namespace Opm
|
||||
bhp_[w] = well_controls_get_current_target( ctrl );
|
||||
break;
|
||||
case THP:
|
||||
assert(false && "Not properly implemented");
|
||||
thp_[w] = well_controls_get_current_target( ctrl );
|
||||
break;
|
||||
default:
|
||||
{
|
||||
const int first_cell = wells->well_cells[wells->well_connpos[w]];
|
||||
bhp_[w] = state.pressure()[first_cell];
|
||||
thp_[w] = -1e100;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user