3.6-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Static Public Member Functions | List of all members
Dumux::GeometryIntersection< Geometry1, Geometry2, Policy, dimworld, dim1, dim2 > Class Template Reference

A class for geometry collision detection and intersection calculation The class can be specialized for combinations of dimworld, dim1, dim2, where dimworld is the world dimension embedding a grid of dim1 and a grid of dim2. More...

#include <dumux/geometry/geometryintersection.hh>

Inheritance diagram for Dumux::GeometryIntersection< Geometry1, Geometry2, Policy, dimworld, dim1, dim2 >:

Description

template<class Geometry1, class Geometry2, class Policy = IntersectionPolicy::DefaultPolicy<Geometry1, Geometry2>, int dimworld = Geometry1::coorddimension, int dim1 = Geometry1::mydimension, int dim2 = Geometry2::mydimension>
class Dumux::GeometryIntersection< Geometry1, Geometry2, Policy, dimworld, dim1, dim2 >

A class for geometry collision detection and intersection calculation The class can be specialized for combinations of dimworld, dim1, dim2, where dimworld is the world dimension embedding a grid of dim1 and a grid of dim2.

Public Types

using ctype = typename Policy::ctype
 
using Point = typename Policy::Point
 
using Intersection = typename Policy::Intersection
 

Static Public Member Functions

static bool intersection (const Geometry1 &geo1, const Geometry2 &geo2, Intersection &intersection)
 Determine if the two geometries intersect and compute the intersection geometry. More...
 

Member Typedef Documentation

◆ ctype

template<class Geometry1 , class Geometry2 , class Policy = IntersectionPolicy::DefaultPolicy<Geometry1, Geometry2>, int dimworld = Geometry1::coorddimension, int dim1 = Geometry1::mydimension, int dim2 = Geometry2::mydimension>
using Dumux::GeometryIntersection< Geometry1, Geometry2, Policy, dimworld, dim1, dim2 >::ctype = typename Policy::ctype

◆ Intersection

template<class Geometry1 , class Geometry2 , class Policy = IntersectionPolicy::DefaultPolicy<Geometry1, Geometry2>, int dimworld = Geometry1::coorddimension, int dim1 = Geometry1::mydimension, int dim2 = Geometry2::mydimension>
using Dumux::GeometryIntersection< Geometry1, Geometry2, Policy, dimworld, dim1, dim2 >::Intersection = typename Policy::Intersection

◆ Point

template<class Geometry1 , class Geometry2 , class Policy = IntersectionPolicy::DefaultPolicy<Geometry1, Geometry2>, int dimworld = Geometry1::coorddimension, int dim1 = Geometry1::mydimension, int dim2 = Geometry2::mydimension>
using Dumux::GeometryIntersection< Geometry1, Geometry2, Policy, dimworld, dim1, dim2 >::Point = typename Policy::Point

Member Function Documentation

◆ intersection()

template<class Geometry1 , class Geometry2 , class Policy = IntersectionPolicy::DefaultPolicy<Geometry1, Geometry2>, int dimworld = Geometry1::coorddimension, int dim1 = Geometry1::mydimension, int dim2 = Geometry2::mydimension>
static bool Dumux::GeometryIntersection< Geometry1, Geometry2, Policy, dimworld, dim1, dim2 >::intersection ( const Geometry1 &  geo1,
const Geometry2 &  geo2,
Intersection intersection 
)
inlinestatic

Determine if the two geometries intersect and compute the intersection geometry.


The documentation for this class was generated from the following file: