mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
adding flow_injecitivity executable target
This commit is contained in:
@@ -108,7 +108,7 @@ namespace Opm
|
||||
pu.phase_pos[BlackoilPhases::Energy] = -1;
|
||||
|
||||
// Add polymer molecular weight related
|
||||
pu.has_polymermw = phase.active(Phase::POLYMW);
|
||||
pu.has_polymermw = phases.active(Phase::POLYMW);
|
||||
if (pu.has_polymermw) {
|
||||
if (!pu.has_polymer) {
|
||||
OPM_THROW(std::runtime_error, "pu.has_polymermw is true while pu.has_polymer is false");
|
||||
|
||||
Reference in New Issue
Block a user