InitConfig: Internalize FILLEPS Keyword

This commit extends the InitConfig class to support querying whether
or not the FILLEPS keyword is present in the PROPS section.  Note
that we only look for the keyword in PROPS (not the whole input
deck), since the keyword is only permitted in PROPS.

Add unit tests to exercise the new ability.
This commit is contained in:
Bård Skaflestad
2019-06-24 13:23:13 +02:00
parent 763702fd0f
commit ffecc035c0
3 changed files with 315 additions and 3 deletions

View File

@@ -41,12 +41,18 @@ namespace Opm {
bool hasEquil() const;
const Equil& getEquil() const;
bool filleps() const
{
return this->m_filleps;
}
private:
Equil equil;
bool m_filleps;
bool m_restartRequested = false;
int m_restartStep = 0;
std::string m_restartRootName;
Equil equil;
};
} //namespace Opm