mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Give a name to the porosity
Mostly one would assume that this would be the porosity since that's the only non-named argument, but stating this explicitly saves us from one trip to the manual.
This commit is contained in:
parent
616a92cf80
commit
84bfc4be27
@ -105,8 +105,9 @@ int main()
|
||||
/// We set up a simple property object for a single-phase situation.
|
||||
/// \snippet tutorial2.cpp single-phase property
|
||||
/// \internal [single-phase property]
|
||||
const double phi = 1.; // porosity
|
||||
Opm::IncompPropertiesBasic props(1, Opm::SaturationPropsBasic::Constant, rho,
|
||||
mu, 1.0, k, dim, num_cells);
|
||||
mu, phi, k, dim, num_cells);
|
||||
/// \internal [single-phase property]
|
||||
/// /endinternal
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user