3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
intersectspointgeometry.hh File Reference

Detect if a point intersects a geometry. More...

#include <cmath>
#include <dune/common/exceptions.hh>
#include <dune/common/fvector.hh>
#include "intersectspointsimplex.hh"

Go to the source code of this file.

Description

Detect if a point intersects a geometry.

Namespaces

namespace  Dumux

Functions

template<class ctype, int dimworld, class Geometry, typename std::enable_if_t<(Geometry::mydimension==3), int > = 0>
bool Dumux::intersectsPointGeometry (const Dune::FieldVector< ctype, dimworld > &point, const Geometry &g)
 Find out whether a point is inside a three-dimensional geometry.