mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
make PolymerState return numPhases.
This commit is contained in:
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user