mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use natural names instead of mathematical notation
This commit is contained in:
parent
eba9a01da7
commit
536e27ff41
@ -87,8 +87,8 @@ int main()
|
|||||||
using namespace Opm::unit;
|
using namespace Opm::unit;
|
||||||
using namespace Opm::prefix;
|
using namespace Opm::prefix;
|
||||||
int num_phases = 1;
|
int num_phases = 1;
|
||||||
std::vector<double> mu(num_phases, 1.0*centi*Poise);
|
std::vector<double> viscosities(num_phases, 1.0*centi*Poise);
|
||||||
std::vector<double> rho(num_phases, 1000.0*kilogram/cubic(meter));
|
std::vector<double> densities(num_phases, 1000.0*kilogram/cubic(meter));
|
||||||
/// \internal [fluid]
|
/// \internal [fluid]
|
||||||
/// \endinternal
|
/// \endinternal
|
||||||
/// \page tutorial2
|
/// \page tutorial2
|
||||||
@ -96,7 +96,7 @@ int main()
|
|||||||
/// We define a permeability equal to 100 mD.
|
/// We define a permeability equal to 100 mD.
|
||||||
/// \snippet tutorial2.cpp perm
|
/// \snippet tutorial2.cpp perm
|
||||||
/// \internal [perm]
|
/// \internal [perm]
|
||||||
double k = 100.0*milli*darcy;
|
double permeability = 100.0*milli*darcy;
|
||||||
/// \internal [perm]
|
/// \internal [perm]
|
||||||
/// \endinternal
|
/// \endinternal
|
||||||
|
|
||||||
@ -105,9 +105,10 @@ int main()
|
|||||||
/// We set up a simple property object for a single-phase situation.
|
/// We set up a simple property object for a single-phase situation.
|
||||||
/// \snippet tutorial2.cpp single-phase property
|
/// \snippet tutorial2.cpp single-phase property
|
||||||
/// \internal [single-phase property]
|
/// \internal [single-phase property]
|
||||||
const double phi = 1.; // porosity
|
const double porosity = 1.;
|
||||||
Opm::IncompPropertiesBasic props(1, Opm::SaturationPropsBasic::Constant, rho,
|
Opm::IncompPropertiesBasic props(1, Opm::SaturationPropsBasic::Constant,
|
||||||
mu, phi, k, dim, num_cells);
|
densities, viscosities, porosity,
|
||||||
|
permeability, dim, num_cells);
|
||||||
/// \internal [single-phase property]
|
/// \internal [single-phase property]
|
||||||
/// /endinternal
|
/// /endinternal
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user