mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #3204 from akva2/collect_separate_compile_unit
CollectDataToIORank: move to separate compile unit
This commit is contained in:
@@ -146,9 +146,15 @@ BOOST_AUTO_TEST_CASE(Summary)
|
||||
const std::string casename = "SUMMARY_DECK_NON_CONSTANT_POROSITY";
|
||||
|
||||
auto simulator = initSimulator<TypeTag>(filename.data());
|
||||
using Vanguard = Opm::GetPropType<TypeTag, Opm::Properties::Vanguard>;
|
||||
typedef Opm::CollectDataToIORank< Vanguard > CollectDataToIORankType;
|
||||
CollectDataToIORankType collectToIORank(simulator->vanguard());
|
||||
using Grid = Opm::GetPropType<TypeTag, Opm::Properties::Grid>;
|
||||
using EquilGrid = Opm::GetPropType<TypeTag, Opm::Properties::EquilGrid>;
|
||||
using GridView = Opm::GetPropType<TypeTag, Opm::Properties::GridView>;
|
||||
using CollectDataToIORankType = Opm::CollectDataToIORank<Grid,EquilGrid,GridView>;
|
||||
CollectDataToIORankType collectToIORank(simulator->vanguard().grid(),
|
||||
simulator->vanguard().equilGrid(),
|
||||
simulator->vanguard().gridView(),
|
||||
simulator->vanguard().cartesianIndexMapper(),
|
||||
simulator->vanguard().equilCartesianIndexMapper());
|
||||
Opm::EclOutputBlackOilModule<TypeTag> eclOutputModule(*simulator, {}, collectToIORank);
|
||||
|
||||
typedef Opm::EclWriter<TypeTag> EclWriterType;
|
||||
|
Reference in New Issue
Block a user