Loading...
Searching...
No Matches
projectionwriter.hh
Go to the documentation of this file.
// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
// SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-GPL-2.0-only-with-dune-grid-glue-exception
#ifndef DUNE_GRIDGLUE_COMMON_PROJECTIONWRITER_HH
#define DUNE_GRIDGLUE_COMMON_PROJECTIONWRITER_HH
#include <iostream>
#include <string>
#include <dune/grid-glue/common/projection.hh>
namespace Dune {
namespace GridGlue {
template<typename Coordinate, typename Corners, typename Normals>
void write(const Projection<Coordinate>& projection,
const Corners& corners,
const Normals& normals,
std::ostream& out);
template<typename Coordinate, typename Corners, typename Normals>
void write(const Projection<Coordinate>& projection,
const Corners& corners,
const Normals& normals,
const std::string& filename);
template<typename Coordinate, typename Corners, typename Normals>
void print(const Projection<Coordinate>& projection,
const Corners& corners,
const Normals& normals);
} /* namespace GridGlue */
} /* namespace Dune */
#include "projectionwriter_impl.hh"
#endif
projection.hh
projectionwriter_impl.hh
Dune
Definition gridglue.hh:37
Dune::GridGlue
Definition gridglue.hh:38
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:86
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:140
Dune::GridGlue::Projection
Projection of a line (triangle) on another line (triangle).
Definition projection.hh:21