diff --git a/opm/core/props/pvt/SinglePvtDeadSpline.cpp b/opm/core/props/pvt/SinglePvtDeadSpline.cpp index 0dc3b560..fc08d357 100644 --- a/opm/core/props/pvt/SinglePvtDeadSpline.cpp +++ b/opm/core/props/pvt/SinglePvtDeadSpline.cpp @@ -21,7 +21,7 @@ #include #include -#include +#include #include diff --git a/opm/core/props/satfunc/SaturationPropsFromDeck_impl.hpp b/opm/core/props/satfunc/SaturationPropsFromDeck_impl.hpp index e9901ba9..ff469345 100644 --- a/opm/core/props/satfunc/SaturationPropsFromDeck_impl.hpp +++ b/opm/core/props/satfunc/SaturationPropsFromDeck_impl.hpp @@ -1075,7 +1075,7 @@ namespace Opm depth_col.resize(num_tables); col_names.resize(9); for (int table_num=0; table_numgetKeyword("ENPTVD"), col_names, table_num); + Opm::SingleRecordTable enptvd(newParserDeck->getKeyword("ENPTVD"), col_names, table_num); depth_col[table_num] = enptvd.getColumn(0); // depth param_col[table_num] = enptvd.getColumn(itab); // itab=[1-8]: swl swcr swu sgl sgcr sgu sowcr sogcr } @@ -1138,7 +1138,7 @@ namespace Opm depth_col.resize(num_tables); col_names.resize(8); for (int table_num=0; table_numgetKeyword("ENKRVD"), col_names, table_num); + Opm::SingleRecordTable enkrvd(newParserDeck->getKeyword("ENKRVD"), col_names, table_num); depth_col[table_num] = enkrvd.getColumn(0); // depth param_col[table_num] = enkrvd.getColumn(itab); // itab=[1-7]: krw krg kro krwr krgr krorw krorg } diff --git a/opm/core/simulator/initStateEquil.hpp b/opm/core/simulator/initStateEquil.hpp index 152431d7..79ab6968 100644 --- a/opm/core/simulator/initStateEquil.hpp +++ b/opm/core/simulator/initStateEquil.hpp @@ -28,7 +28,7 @@ #include #include #include -#include +#include #include #include @@ -527,7 +527,7 @@ namespace Opm if (rec[i].live_oil_table_index > 0) { if (newParserDeck->hasKeyword("RSVD") && size_t(rec[i].live_oil_table_index) <= newParserDeck->getKeyword("RSVD")->size()) { - Opm::SimpleTable rsvd(newParserDeck->getKeyword("RSVD"),std::vector{"vd", "rs"},rec[i].live_oil_table_index-1); + Opm::SingleRecordTable rsvd(newParserDeck->getKeyword("RSVD"),std::vector{"vd", "rs"},rec[i].live_oil_table_index-1); std::vector vd(rsvd.getColumn("vd")); std::vector rs(rsvd.getColumn("rs")); rs_func_.push_back(std::make_shared(props, cell, vd, rs)); @@ -558,7 +558,7 @@ namespace Opm if (rec[i].wet_gas_table_index > 0) { if (newParserDeck->hasKeyword("RVVD") && size_t(rec[i].wet_gas_table_index) <= newParserDeck->getKeyword("RVVD")->size()) { - Opm::SimpleTable rvvd(newParserDeck->getKeyword("RVVD"),std::vector{"vd", "rv"},rec[i].wet_gas_table_index-1); + Opm::SingleRecordTable rvvd(newParserDeck->getKeyword("RVVD"),std::vector{"vd", "rv"},rec[i].wet_gas_table_index-1); std::vector vd(rvvd.getColumn("vd")); std::vector rv(rvvd.getColumn("rv")); rv_func_.push_back(std::make_shared(props, cell, vd, rv));