mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-15 23:01:54 -06:00
make PolymerState return numPhases.
This commit is contained in:
parent
e226b5d95e
commit
fb12565ddf
@ -50,6 +50,10 @@ namespace Opm
|
||||
state2p_.setFirstSat(cells, props, static_cast<TwophaseState::ExtremalSat>(es));
|
||||
}
|
||||
|
||||
inline int numPhases() const
|
||||
{
|
||||
return state2p_.numPhases();
|
||||
}
|
||||
std::vector<double>& pressure () { return state2p_.pressure(); }
|
||||
std::vector<double>& facepressure() { return state2p_.facepressure(); }
|
||||
std::vector<double>& faceflux () { return state2p_.faceflux(); }
|
||||
@ -66,7 +70,7 @@ namespace Opm
|
||||
|
||||
TwophaseState& twophaseState() { return state2p_; }
|
||||
const TwophaseState& twophaseState() const { return state2p_; }
|
||||
|
||||
|
||||
private:
|
||||
TwophaseState state2p_;
|
||||
std::vector<double> concentration_;
|
||||
|
Loading…
Reference in New Issue
Block a user