mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
renamed saltwater-->brine and removed keywords from missingFeatures
This commit is contained in:
committed by
Tor Harald Sandve
parent
5749615bd8
commit
99e7785fb5
@@ -378,15 +378,15 @@ namespace Opm
|
||||
WellInterface<TypeTag>::
|
||||
wsalt() const
|
||||
{
|
||||
if (!has_salt) {
|
||||
if (!has_brine) {
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
auto injectorType = well_ecl_.injectorType();
|
||||
|
||||
if (injectorType == Well::InjectorType::WATER) {
|
||||
WellSaltwaterProperties fprop = well_ecl_.getSaltwaterProperties();
|
||||
return fprop.m_saltwaterConcentration;
|
||||
WellBrineProperties fprop = well_ecl_.getBrineProperties();
|
||||
return fprop.m_saltConcentration;
|
||||
} else {
|
||||
// Not a water injection well => no salt (?).
|
||||
return 0.0;
|
||||
|
||||
Reference in New Issue
Block a user