Store reference to UnstructuredGrid in EclipseWriter

This commit is contained in:
Roland Kaufmann committed 2013-11-25 14:14:48 +01:00
1 parent e978cbf848
commit cec6f12f50
2 files changed
+2

No files matched your search

+1
View File
@@ -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
+1
View File
@@ -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