mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
068fc2dc70
commit
23cbdd3430
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user