Included voidage_replacment in injection specification.

This commit is contained in:
Kjetil Olsen Lye 2012-05-09 15:54:25 +02:00
parent f8d92c0535
commit bf3273b115
3 changed files with 5 additions and 1 deletions

View File

@ -8,7 +8,8 @@ namespace Opm
surface_flow_max_rate_(-1e100),
reservoir_flow_max_rate_(-1e100),
BHP_limit_(-1e100),
reinjection_fraction_target_(-1e100),
reinjection_fraction_target_(1),
voidage_replacment_fraction_(1),
guide_rate_(1.0),
guide_rate_type_(NONE_GRT)
{

View File

@ -32,6 +32,7 @@ namespace Opm
double reservoir_flow_max_rate_;
double BHP_limit_;
double reinjection_fraction_target_;
double voidage_replacment_fraction_;
double guide_rate_;
GuideRateType guide_rate_type_;
};

View File

@ -1099,6 +1099,8 @@ namespace Opm
injection_specification.control_mode_ = toInjectionControlMode(line.control_mode_);
injection_specification.surface_flow_max_rate_ = line.surface_flow_max_rate_;
injection_specification.reservoir_flow_max_rate_ = line.resv_flow_max_rate_;
injection_specification.reinjection_fraction_target_ = line.reinjection_fraction_target_;
injection_specification.voidage_replacment_fraction_ = line.voidage_replacement_fraction_;
}
}
}