Add operator[] to GridDims

This commit is contained in:
Joakim Hove
2018-09-07 10:20:50 +02:00
parent 085bbc263b
commit e1948ccf99
3 changed files with 23 additions and 0 deletions

View File

@@ -42,6 +42,7 @@ namespace Opm {
size_t getNY() const;
size_t getNZ() const;
size_t operator[](int dim) const;
const std::array<int, 3> getNXYZ() const;