*Properties(): Rename control mode (enum) variable
Four characters (cmod) is less readable than "cmode". Suggested by: [at] joakim-hove
This commit is contained in:
parent
cb3a196446
commit
1111f87aa7
@ -183,10 +183,10 @@ namespace Opm {
|
||||
mode = controlModes.begin(), end = controlModes.end();
|
||||
mode != end; ++mode)
|
||||
{
|
||||
const WellProducer::ControlModeEnum cmod =
|
||||
const WellProducer::ControlModeEnum cmode =
|
||||
WellProducer::ControlModeFromString(*mode);
|
||||
|
||||
p.addProductionControl(cmod);
|
||||
p.addProductionControl(cmode);
|
||||
}
|
||||
|
||||
// BHP mode needs explicit value
|
||||
@ -219,10 +219,10 @@ namespace Opm {
|
||||
mode != end; ++mode)
|
||||
{
|
||||
if (! record->getItem(*mode)->defaultApplied()) {
|
||||
const WellProducer::ControlModeEnum cmod =
|
||||
const WellProducer::ControlModeEnum cmode =
|
||||
WellProducer::ControlModeFromString(*mode);
|
||||
|
||||
p.addProductionControl(cmod);
|
||||
p.addProductionControl(cmode);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user