00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef OPM_WRITEVTKDATA_HEADER_INCLUDED
00021 #define OPM_WRITEVTKDATA_HEADER_INCLUDED
00022
00023
00024 #include <string>
00025 #include <map>
00026 #include <vector>
00027 #include <array>
00028 #include <iosfwd>
00029
00030 struct UnstructuredGrid;
00031
00032 namespace Opm
00033 {
00034
00036 void writeVtkData(const std::array<int, 3>& dims,
00037 const std::array<double, 3>& cell_size,
00038 const std::map< std::string, const std::vector< double >* >& data,
00039 std::ostream& os);
00040
00042 void writeVtkData(const UnstructuredGrid& ,
00043 const std::map< std::string, const std::vector< double >* >& data,
00044 std::ostream& os);
00045 }
00046
00047 #endif // OPM_WRITEVTKDATA_HEADER_INCLUDED