3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Classes | Namespaces | Typedefs | Functions
triangulation.hh File Reference

Functionality to triangulate point clouds. More...

#include <vector>
#include <array>
#include <algorithm>
#include <type_traits>
#include <dune/common/exceptions.hh>
#include <dune/common/fvector.hh>
#include <dumux/common/math.hh>

Go to the source code of this file.

Description

Functionality to triangulate point clouds.

Classes

struct  Dumux::TriangulationPolicy::MidPointPolicy
 
struct  Dumux::TriangulationPolicy::DelaunayPolicy
 Delaunay-type triangulations. More...
 

Namespaces

namespace  Dumux
 make the local view function available whenever we use the grid geometry
 
namespace  Dumux::TriangulationPolicy
 

Typedefs

template<int dim, int dimWorld>
using Dumux::TriangulationPolicy::DefaultPolicy = std::conditional_t< dim >=2, MidPointPolicy, DelaunayPolicy >
 
template<int dim, int dimWorld, class ctype >
using Dumux::Triangulation = std::vector< std::array< Dune::FieldVector< ctype, dimWorld >, dim+1 > >
 The data type to store triangulations. More...
 

Functions

template<int dim, int dimWorld, class Policy = TriangulationPolicy::DefaultPolicy<dim, dimWorld>, class RandomAccessContainer , std::enable_if_t< std::is_same< Policy, TriangulationPolicy::MidPointPolicy >::value &&dim==2, int > = 0>
Triangulation< dim, dimWorld, typename RandomAccessContainer::value_type::value_type > Dumux::triangulate (const RandomAccessContainer &convexHull)
 Triangulate area given points of a convex hull. More...
 
Include dependency graph for triangulation.hh: