Add a simple saturation dump using vector_write() from OPMPressure.

This commit is contained in:
Bård Skaflestad 2011-10-06 15:12:43 +02:00
parent c56215bdcd
commit da683da206

View File

@ -283,7 +283,9 @@ main()
ctrl.max_it = 10 ;
tsolver.solve(*grid, tsrc, dt, ctrl, state, linsolve, rpt);
std::cerr << state.saturation() << '\n';
vector_write(state.saturation().size(),
&state.saturation()[0],
"saturation-00.txt");
destroy_transport_source(tsrc);
destroy_cart_grid(grid);