Add size() method to the Schedule class
This commit is contained in:
parent
8c8290f614
commit
42d7587e1b
@ -127,7 +127,7 @@ namespace Opm
|
||||
active. Will scan through all wells and all timesteps.
|
||||
*/
|
||||
void filterConnections(const EclipseGrid& grid);
|
||||
|
||||
size_t size() const;
|
||||
private:
|
||||
TimeMap m_timeMap;
|
||||
OrderedMap< Well > m_wells;
|
||||
|
@ -1883,5 +1883,11 @@ namespace Opm {
|
||||
const auto& ptr = this->wtest_config.get(timeStep);
|
||||
return *ptr;
|
||||
}
|
||||
|
||||
|
||||
size_t Schedule::size() const {
|
||||
return this->m_timeMap.size();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user