dune-grid-glue 2.10
Loading...
Searching...
No Matches
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
11namespace Dune {
12namespace GridGlue {
13
28template<typename Coordinate, typename Corners, typename Normals>
29void write(const Projection<Coordinate>& projection,
30 const Corners& corners,
31 const Normals& normals,
32 std::ostream& out);
33
40template<typename Coordinate, typename Corners, typename Normals>
41void write(const Projection<Coordinate>& projection,
42 const Corners& corners,
43 const Normals& normals,
44 const std::string& filename);
54template<typename Coordinate, typename Corners, typename Normals>
55void print(const Projection<Coordinate>& projection,
56 const Corners& corners,
57 const Normals& normals);
58
59} /* namespace GridGlue */
60} /* namespace Dune */
61
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