mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Using Datamapper.h in writeVtkData
This commit is contained in:
parent
0d3b2abc6a
commit
368e1813a1
@ -26,25 +26,23 @@
|
||||
#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,
|
||||
const DataMap& data,
|
||||
std::ostream& os);
|
||||
const std::tr1::array<double, 3>& cell_size,
|
||||
const DataMap& data,
|
||||
std::ostream& os);
|
||||
|
||||
/// Vtk output for general grids.
|
||||
void writeVtkData(const UnstructuredGrid& grid,
|
||||
const DataMap& data,
|
||||
std::ostream& os);
|
||||
const DataMap& data,
|
||||
std::ostream& os);
|
||||
} // namespace Opm
|
||||
|
||||
#endif // OPM_WRITEVTKDATA_HEADER_INCLUDED
|
||||
|
Loading…
Reference in New Issue
Block a user