Add fieldprops argument to SummaryConfig constructor

This commit is contained in:
Joakim Hove
2021-03-08 08:10:40 +01:00
parent 091c7b21cd
commit 48b366b1f9
17 changed files with 37 additions and 27 deletions

View File

@@ -43,7 +43,7 @@ int main(int /* argc */, char** argv) {
Opm::Deck deck = parser.parseFile(deck_file, parse_context, error_guard);
Opm::EclipseState state(deck);
Opm::Schedule schedule(deck, state, parse_context, error_guard, python);
Opm::SummaryConfig summary_config(deck, schedule, state.getTableManager(), state.aquifer(),
Opm::SummaryConfig summary_config(deck, schedule, state.fieldProps(), state.getTableManager(), state.aquifer(),
parse_context, error_guard);
if (error_guard) {

View File

@@ -71,7 +71,7 @@ inline void loadDeck( const char * deck_file) {
std::cout << "creating SummaryConfig .... "; std::cout.flush();
start = Opm::TimeService::now();
Opm::SummaryConfig summary( deck, schedule, state.getTableManager( ), state.aquifer(),
Opm::SummaryConfig summary( deck, schedule, state.fieldProps(), state.getTableManager( ), state.aquifer(),
parseContext, errors );
auto summary_time = Opm::TimeService::now() - start;