Added phaseName() method.

This commit is contained in:
Atgeirr Flø Rasmussen
2015-09-30 12:48:16 +02:00
parent aac34009e1
commit 4f72bfdbcf
2 changed files with 19 additions and 0 deletions

View File

@@ -208,6 +208,9 @@ namespace Opm {
/// The number of active phases in the model.
int numPhases() const;
/// The name of an active phase in the model.
const std::string& phaseName(int phase_index) const;
/// Update the scaling factors for mass balance equations
void updateEquationsScaling();
@@ -274,6 +277,7 @@ namespace Opm {
std::vector<int> primalVariable_;
V pvdt_;
std::vector<std::string> phase_name_;
// --------- Protected methods ---------