Commented out usage of OutputWriter in tutorials

This commit is contained in:
Kjell W. Kongsvik committed 2016-03-29 14:56:24 +02:00
1 parent ce6cdb4a47
commit 9febba59a4
4 files changed
+31 -22

No files matched your search

+7 -5
View File
@@ -29,7 +29,8 @@
#include <cassert>
#include <opm/core/grid.h>
#include <opm/core/grid/GridManager.hpp>
#include <opm/core/io/vtk/writeVtkData.hpp>
// 17.03.2016 Temporarily removed while moving functionality to opm-output
//#include <opm/core/io/vtk/writeVtkData.hpp>
#include <opm/core/linalg/LinearSolverUmfpack.hpp>
#include <opm/core/pressure/IncompTpfa.hpp>
#include <opm/core/pressure/FlowBCManager.hpp>
@@ -434,10 +435,11 @@ try
vtkfilename.str("");
vtkfilename << "tutorial4-" << std::setw(3) << std::setfill('0') << i << ".vtu";
std::ofstream vtkfile(vtkfilename.str().c_str());
Opm::DataMap dm;
dm["saturation"] = &state.saturation();
dm["pressure"] = &state.pressure();
Opm::writeVtkData(grid, dm, vtkfile);
// 17.03.2016 Temporarily removed while moving functionality to opm-output
// Opm::DataMap dm;
// dm["saturation"] = &state.saturation();
// dm["pressure"] = &state.pressure();
// Opm::writeVtkData(grid, dm, vtkfile);
}
destroy_wells(wells);