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:
Roland Kaufmann
2013-06-28 12:50:33 +02:00
parent 6a7a9541f4
commit 0e456909e6

View File

@@ -126,8 +126,8 @@ int main()
/// \snippet tutorial2.cpp source
/// \internal [source]
std::vector<double> src(num_cells, 0.0);
src[0] = 100.;
src[num_cells-1] = -100.;
src[0] = 150.*cubic(meter)/day;
src[num_cells-1] = -150.*cubic(meter)/day;
/// \internal [source]
/// \endinternal