Merge pull request #184 from totto82/add_rs_output

Output rs and rv
This commit is contained in:
Atgeirr Flø Rasmussen 2014-08-19 14:39:42 +02:00
commit bb9f0ee1dd

View File

@ -53,6 +53,9 @@ namespace Opm
dm["saturation"] = &state.saturation(); dm["saturation"] = &state.saturation();
dm["pressure"] = &state.pressure(); dm["pressure"] = &state.pressure();
dm["surfvolume"] = &state.surfacevol(); dm["surfvolume"] = &state.surfacevol();
dm["rs"] = &state.gasoilratio();
dm["rv"] = &state.rv();
std::vector<double> cell_velocity; std::vector<double> cell_velocity;
Opm::estimateCellVelocity(AutoDiffGrid::numCells(grid), Opm::estimateCellVelocity(AutoDiffGrid::numCells(grid),
AutoDiffGrid::numFaces(grid), AutoDiffGrid::numFaces(grid),