Store reference to UnstructuredGrid in EclipseWriter
This commit is contained in:
1 parent
e978cbf848
commit
cec6f12f50
2 files changed
+2
No files matched your search
@@ -803,6 +803,7 @@ EclipseWriter::EclipseWriter (
|
||||
std::shared_ptr <EclipseGridParser> parser,
|
||||
std::shared_ptr <UnstructuredGrid> grid)
|
||||
: parser_ (parser)
|
||||
, grid_ (grid)
|
||||
, uses_ (phaseUsageFromDeck (*parser)) {
|
||||
|
||||
// get the base name from the name of the deck
|
||||
|
||||
@@ -82,6 +82,7 @@ public:
|
||||
|
||||
private:
|
||||
std::shared_ptr <EclipseGridParser> parser_;
|
||||
std::shared_ptr <UnstructuredGrid> grid_;
|
||||
std::string outputDir_;
|
||||
std::string baseName_;
|
||||
PhaseUsage uses_; // active phases in the input deck
|
||||
|
||||
Reference in new issue
Block a user