mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use a more realistic injection rate
In addition, this also shows how to use the units to specify the measure.
This commit is contained in:
parent
84bfc4be27
commit
544a8fc91e
@ -126,8 +126,8 @@ int main()
|
|||||||
/// \snippet tutorial2.cpp source
|
/// \snippet tutorial2.cpp source
|
||||||
/// \internal [source]
|
/// \internal [source]
|
||||||
std::vector<double> src(num_cells, 0.0);
|
std::vector<double> src(num_cells, 0.0);
|
||||||
src[0] = 100.;
|
src[0] = 150.*cubic(meter)/day;
|
||||||
src[num_cells-1] = -100.;
|
src[num_cells-1] = -150.*cubic(meter)/day;
|
||||||
/// \internal [source]
|
/// \internal [source]
|
||||||
/// \endinternal
|
/// \endinternal
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user