diff --git a/opm/porsol/common/setupGridAndProps.hpp b/opm/porsol/common/setupGridAndProps.hpp index c79c3b5..ff6e13d 100644 --- a/opm/porsol/common/setupGridAndProps.hpp +++ b/opm/porsol/common/setupGridAndProps.hpp @@ -75,12 +75,7 @@ namespace Opm // Initialize grid and reservoir properties. // Parts copied from Dune::CpGrid::init(). std::string fileformat = param.getDefault("fileformat", "cartesian"); - if (fileformat == "sintef_legacy") { - std::string grid_prefix = param.get("grid_prefix"); - grid.readSintefLegacyFormat(grid_prefix); - OPM_MESSAGE("Warning: We do not yet read legacy reservoir properties. Using defaults."); - res_prop.init(grid.size(0)); - } else if (fileformat == "eclipse") { + if (fileformat == "eclipse") { std::string ecl_file = param.get("filename"); Opm::Parser parser; diff --git a/opm/upscaling/initCPGrid.cpp b/opm/upscaling/initCPGrid.cpp index 87c7269..9f1e92c 100644 --- a/opm/upscaling/initCPGrid.cpp +++ b/opm/upscaling/initCPGrid.cpp @@ -45,10 +45,7 @@ void Opm::initCPGrid(Dune::CpGrid& grid, const Opm::ParameterGroup& param) { std::string fileformat = param.get("fileformat"); - if (fileformat == "sintef_legacy") { - std::string grid_prefix = param.get("grid_prefix"); - grid.readSintefLegacyFormat(grid_prefix); - } else if (fileformat == "eclipse") { + if (fileformat == "eclipse") { std::string filename = param.get("filename"); if (param.has("z_tolerance")) { std::cerr << "****** Warning: z_tolerance parameter is obsolete, use PINCH in deck input instead\n";