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 84bfc4be27
commit 544a8fc91e

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