Using Datamapper.h in writeVtkData
This commit is contained in:
parent
d782ba15cb
commit
01f43b18d7
@ -18,6 +18,7 @@
|
||||
*/
|
||||
|
||||
#include <opm/core/utility/writeVtkData.hpp>
|
||||
#include <opm/core/utility/DataMap.hpp>
|
||||
#include <opm/core/grid.h>
|
||||
#include <opm/core/utility/ErrorMacros.hpp>
|
||||
#include <boost/lexical_cast.hpp>
|
||||
|
@ -26,15 +26,13 @@
|
||||
#include <vector>
|
||||
#include <tr1/array>
|
||||
#include <iosfwd>
|
||||
#include <opm/core/utility/DataMap.hpp>
|
||||
|
||||
struct UnstructuredGrid;
|
||||
|
||||
namespace Opm
|
||||
{
|
||||
|
||||
/// Intended to map strings (giving the output field names) to data.
|
||||
typedef std::map<std::string, const std::vector<double>*> DataMap;
|
||||
|
||||
/// Vtk output for cartesian grids.
|
||||
void writeVtkData(const std::tr1::array<int, 3>& dims,
|
||||
const std::tr1::array<double, 3>& cell_size,
|
||||
|
Loading…
Reference in New Issue
Block a user