Add methods save() and addNNC() to EclipseGrid

This commit is contained in:
Joakim Hove
2018-10-16 00:20:09 +02:00
parent f8e711246f
commit 5b8882d6f0
3 changed files with 22 additions and 10 deletions

View File

@@ -38,6 +38,7 @@ namespace Opm {
class Deck;
class ZcornMapper;
class NNC;
/**
About cell information and dimension: The actual grid
@@ -85,6 +86,8 @@ namespace Opm {
size_t activeIndex(size_t i, size_t j, size_t k) const;
size_t activeIndex(size_t globalIndex) const;
void save(const std::string& filename, UnitSystem::UnitType output_units) const;
void addNNC(const NNC& nnc);
/*
Observe that the there is a getGlobalIndex(i,j,k)
implementation in the base class. This method - translating