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 b33ce1ca1a
commit 67e3d38bec
5 changed files with 21 additions and 23 deletions

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