KASKADE 7 development version
readPoly.hh
Go to the documentation of this file.
1/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2/* */
3/* This file is part of the library KASKADE 7 */
4/* https://www.zib.de/research/projects/kaskade7-finite-element-toolbox */
5/* */
6/* Copyright (C) 2002-2019 Zuse Institute Berlin */
7/* */
8/* KASKADE 7 is distributed under the terms of the ZIB Academic License. */
9/* see $KASKADE/academic.txt */
10/* */
11/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
12
13#ifndef READPOLY_HH
14#define READPOLY_HH
15
16#include <memory>
17#include <string>
18
19#include <dune/grid/config.h>
20
21#include "dune/grid/uggrid.hh"
22
45std::unique_ptr<Dune::UGGrid<2>> readPolyData(std::string const& name, std::vector<int>* boundaryMarker=nullptr);
46
47#endif
std::unique_ptr< Dune::UGGrid< 2 > > readPolyData(std::string const &name, std::vector< int > *boundaryMarker=nullptr)
Construct an unstructured UG grid from .node and .ele files (Triangle output).