Adds stub for Opm::EclIO::ESmry::get_unit
This commit is contained in:
parent
eb921fefa9
commit
46abd74eba
@ -44,6 +44,8 @@ public:
|
||||
|
||||
int timestepIdxAtReportstepStart(const int reportStep) const;
|
||||
|
||||
const std::string& get_unit(const std::string& name) const;
|
||||
|
||||
private:
|
||||
int nVect, nI, nJ, nK;
|
||||
|
||||
|
@ -537,4 +537,8 @@ int ESmry::timestepIdxAtReportstepStart(const int reportStep) const
|
||||
return seqIndex[reportStep - 1];
|
||||
}
|
||||
|
||||
const std::string& ESmry::get_unit(const std::string& name) const {
|
||||
OPM_THROW(std::out_of_range, "No unit found for key " + name);
|
||||
}
|
||||
|
||||
}} // namespace Opm::ecl
|
||||
|
Loading…
Reference in New Issue
Block a user