dune-grid-glue  2.9
projectionwriter.hh
Go to the documentation of this file.
1 // SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
2 // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception
3 #ifndef DUNE_GRIDGLUE_COMMON_PROJECTIONWRITER_HH
4 #define DUNE_GRIDGLUE_COMMON_PROJECTIONWRITER_HH
5 
6 #include <iostream>
7 #include <string>
8 
10 
11 namespace Dune {
12 namespace GridGlue {
13 
28 template<typename Coordinate, typename Corners, typename Normals>
29 void write(const Projection<Coordinate>& projection,
30  const Corners& corners,
31  const Normals& normals,
32  std::ostream& out);
33 
40 template<typename Coordinate, typename Corners, typename Normals>
41 void write(const Projection<Coordinate>& projection,
42  const Corners& corners,
43  const Normals& normals,
44  const std::string& filename);
54 template<typename Coordinate, typename Corners, typename Normals>
55 void print(const Projection<Coordinate>& projection,
56  const Corners& corners,
57  const Normals& normals);
58 
59 } /* namespace GridGlue */
60 } /* namespace Dune */
61 
62 #include "projectionwriter_impl.hh"
63 
64 #endif
Definition: gridglue.hh:37
void write(const Projection< Coordinate > &projection, const Corners &corners, const Normals &normals, std::ostream &out)
write projection in VTK format
Definition: projectionwriter_impl.hh:86
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:140