Commented out usage of OutputWriter in tutorials
This commit is contained in:
@@ -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>
|
||||
@@ -313,11 +314,12 @@ try
|
||||
/// \internal [write output]
|
||||
vtkfilename.str("");
|
||||
vtkfilename << "tutorial3-" << 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
|
||||
// std::ofstream vtkfile(vtkfilename.str().c_str());
|
||||
// Opm::DataMap dm;
|
||||
// dm["saturation"] = &state.saturation();
|
||||
// dm["pressure"] = &state.pressure();
|
||||
// Opm::writeVtkData(grid, dm, vtkfile);
|
||||
}
|
||||
}
|
||||
catch (const std::exception &e) {
|
||||
|
||||
Reference in New Issue
Block a user