Now computePorevolume() takes a porosity array instead of a property object.

This is to make it compatible with blackoil properties.
An alternative would be to give [Incomp|Blackoil]PropertiesInterface a
common base class (RockInterface?) with the common rock-related methods.
This commit is contained in:
Atgeirr Flø Rasmussen 2012-05-14 21:47:10 +02:00
parent 068fc2dc70
commit 23cbdd3430

View File

@ -319,7 +319,7 @@ int main ()
/// \details We compute the pore volume
/// \code
std::vector<double> porevol;
computePorevolume(*grid.c_grid(), props, porevol);
Opm::computePorevolume(*grid.c_grid(), props.porosity(), porevol);
/// \endcode
/// \page tutorial3