Make flow_solvent run when SOLVENT is not specified

This commit is contained in:
Tor Harald Sandve 2015-09-17 15:46:56 +02:00
parent c9b6db6c7e
commit 18613b9c7b

View File

@ -36,9 +36,10 @@ SolventPropsAdFromDeck::SolventPropsAdFromDeck(DeckConstPtr deck,
const int number_of_cells,
const int* global_cell)
{
// retrieve the cell specific PVT table index from the deck
// and using the grid...
extractPvtTableIndex(cellPvtRegionIdx_, deck, number_of_cells, global_cell);
if (deck->hasKeyword("SOLVENT")) {
// retrieve the cell specific PVT table index from the deck
// and using the grid...
extractPvtTableIndex(cellPvtRegionIdx_, deck, number_of_cells, global_cell);
// surface densities
if (deck->hasKeyword("SDENSITY")) {