eclwriter: split in typetag dependent and typetag-independent parts

This commit is contained in:
Arne Morten Kvarving
2021-05-05 12:13:25 +02:00
parent 80cdcbb4aa
commit 70ece6d25a
6 changed files with 742 additions and 526 deletions

View File

@@ -159,7 +159,7 @@ BOOST_AUTO_TEST_CASE(Summary)
typedef Opm::EclWriter<TypeTag> EclWriterType;
// create the actual ECL writer
std::unique_ptr<EclWriterType> eclWriter = std::unique_ptr<EclWriterType>(new EclWriterType(*simulator));
std::unique_ptr<EclWriterType> eclWriter = std::unique_ptr<EclWriterType>(new EclWriterType(*simulator, simulator->problem()));
simulator->model().applyInitialSolution();
Opm::data::Wells dw;