EclipseIO::Impl::Impl( const EclipseState& eclipseState, EclipseGrid grid_, const Schedule& schedule_, const SummaryConfig& summary_config) : es( eclipseState ) , grid( std::move( grid_ ) ) , schedule( schedule_ ) , outputDir( eclipseState.getIOConfig().getOutputDir() ) , baseName( uppercase( eclipseState.getIOConfig().getBaseName() ) ) , summary( eclipseState, summary_config, grid , schedule ) , rft( outputDir.c_str(), baseName.c_str(), es.getIOConfig().getFMTOUT() ) , output_enabled( eclipseState.getIOConfig().getOutputEnabled() ) {}
Setup( const char* path, const ParseContext& parseContext = ParseContext( )) : deck( Parser().parseFile( path, parseContext ) ), es( deck, parseContext ), grid( es.getInputGrid( ) ), schedule( deck, grid, es.get3DProperties(), es.runspec().phases(), parseContext), summary_config( deck, schedule, es.getTableManager( ), parseContext) { auto& io_config = es.getIOConfig(); io_config.setEclCompatibleRST(false); }