Minor bug-fixes

This commit is contained in:
babrodtk 2015-07-09 17:12:49 +02:00
parent 926f7ba175
commit 32e4c8caab
2 changed files with 5 additions and 1 deletions

View File

@ -61,6 +61,8 @@ list (APPEND TEST_SOURCE_FILES
list (APPEND TEST_DATA_FILES
tests/fluid.data
tests/VFPPROD1
tests/VFPPROD2
)
# Note, these two files are not included in the repo.
@ -131,5 +133,6 @@ list (APPEND PUBLIC_HEADER_FILES
opm/autodiff/WellDensitySegmented.hpp
opm/autodiff/WellStateFullyImplicitBlackoil.hpp
opm/autodiff/SimulatorFullyImplicitBlackoilOutput.hpp
opm/autodiff/VFPProperties.hpp
)

View File

@ -54,7 +54,8 @@ namespace Opm
rateConverter_(props_, std::vector<int>(AutoDiffGrid::numCells(grid_), 0)),
threshold_pressures_by_face_(threshold_pressures_by_face),
is_parallel_run_( false ),
vfpProperties_(eclipse_state->getVFPInjTables(), eclipse_state->getVFPProdTables())
//FIXME: should be vfpProperties_(eclipse_state->getVFPInjTables(), eclipse_state->getVFPProdTables())
vfpProperties_(eclipse_state->getVFPProdTables())
{
// Misc init.
const int num_cells = AutoDiffGrid::numCells(grid);