mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Minor whitespace fixup
This commit is contained in:
parent
4c53baed3e
commit
642c5309c9
@ -477,23 +477,20 @@ namespace Opm
|
|||||||
OPM_THROW(std::runtime_error, "We cannot handle THP limit for well " << well_names[well_index]);
|
OPM_THROW(std::runtime_error, "We cannot handle THP limit for well " << well_names[well_index]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!ok) {
|
if (!ok) {
|
||||||
OPM_THROW(std::runtime_error, "Failure occured appending controls for well " << well_names[well_index]);
|
OPM_THROW(std::runtime_error, "Failure occured appending controls for well " << well_names[well_index]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (injectionProperties.controlMode != WellInjector::CMODE_UNDEFINED) {
|
if (injectionProperties.controlMode != WellInjector::CMODE_UNDEFINED) {
|
||||||
WellsManagerDetail::InjectionControl::Mode mode = WellsManagerDetail::InjectionControl::mode( injectionProperties.controlMode );
|
WellsManagerDetail::InjectionControl::Mode mode = WellsManagerDetail::InjectionControl::mode( injectionProperties.controlMode );
|
||||||
int cpos = control_pos[mode];
|
int cpos = control_pos[mode];
|
||||||
if (cpos == -1 && mode != WellsManagerDetail::InjectionControl::GRUP) {
|
if (cpos == -1 && mode != WellsManagerDetail::InjectionControl::GRUP) {
|
||||||
OPM_THROW(std::runtime_error, "Control not specified in well " << well_names[well_index]);
|
OPM_THROW(std::runtime_error, "Control not specified in well " << well_names[well_index]);
|
||||||
}
|
}
|
||||||
|
|
||||||
set_current_control(well_index, cpos, w_);
|
set_current_control(well_index, cpos, w_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Set well component fraction.
|
// Set well component fraction.
|
||||||
double cf[3] = { 0.0, 0.0, 0.0 };
|
double cf[3] = { 0.0, 0.0, 0.0 };
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user