dune-grid-glue  2.7.0
projectionwriter.hh
Go to the documentation of this file.
1 #ifndef DUNE_GRIDGLUE_COMMON_PROJECTIONWRITER_HH
2 #define DUNE_GRIDGLUE_COMMON_PROJECTIONWRITER_HH
3 
4 #include <iostream>
5 #include <string>
6 
8 
9 namespace Dune {
10 namespace GridGlue {
11 
26 template<typename Coordinate, typename Corners, typename Normals>
27 void write(const Projection<Coordinate>& projection,
28  const Corners& corners,
29  const Normals& normals,
30  std::ostream& out);
31 
38 template<typename Coordinate, typename Corners, typename Normals>
39 void write(const Projection<Coordinate>& projection,
40  const Corners& corners,
41  const Normals& normals,
42  const std::string& filename);
52 template<typename Coordinate, typename Corners, typename Normals>
53 void print(const Projection<Coordinate>& projection,
54  const Corners& corners,
55  const Normals& normals);
56 
57 } /* namespace GridGlue */
58 } /* namespace Dune */
59 
60 #include "projectionwriter_impl.hh"
61 
62 #endif
Dune
Definition: gridglue.hh:35
Dune::GridGlue::print
void print(const Projection< Coordinate > &projection, const Corners &corners, const Normals &normals)
Print information about the projection to std::cout stream.
Definition: projectionwriter_impl.hh:138
projection.hh
Dune::GridGlue::write
void write(const Projection< Coordinate > &projection, const Corners &corners, const Normals &normals, std::ostream &out)
write projection in VTK format
Definition: projectionwriter_impl.hh:84
projectionwriter_impl.hh