5#ifndef DUNE_GRIDGLUE_MERGING_OVERLAPPINGMERGE_HH
6#define DUNE_GRIDGLUE_MERGING_OVERLAPPINGMERGE_HH
13#include <dune/common/fmatrix.hh>
14#include <dune/common/fvector.hh>
16#include <dune/geometry/referenceelements.hh>
17#include <dune/geometry/multilineargeometry.hh>
19#include <dune/grid/common/grid.hh>
34template<
int dim1,
int dim2,
int dimworld,
typename T =
double>
70 const std::vector<Dune::FieldVector<T,dimworld> >& grid1ElementCorners,
71 std::bitset<(1<<dim1)>& neighborIntersects1,
72 unsigned int grid1Index,
73 const Dune::GeometryType& grid2ElementType,
74 const std::vector<Dune::FieldVector<T,dimworld> >& grid2ElementCorners,
75 std::bitset<(1<<dim2)>& neighborIntersects2,
76 unsigned int grid2Index,
77 std::vector<SimplicialIntersection>& intersections);
80 bool inPlane(std::vector<FieldVector<T,dimworld> >& points);
Common base class for many merger implementations: produce pairs of entities that may intersect.
Definition: gridglue.hh:37
Computing overlapping grid intersections for grids of different dimensions.
Definition: overlappingmerge.hh:37
StandardMerge< T, dim1, dim2, dimworld >::SimplicialIntersection SimplicialIntersection
Definition: overlappingmerge.hh:56
OverlappingMerge()
the coordinate type used in this interface
Definition: overlappingmerge.hh:52
void computeIntersections(const Dune::GeometryType &grid1ElementType, const std::vector< Dune::FieldVector< T, dimworld > > &grid1ElementCorners, std::bitset<(1<< dim1)> &neighborIntersects1, unsigned int grid1Index, const Dune::GeometryType &grid2ElementType, const std::vector< Dune::FieldVector< T, dimworld > > &grid2ElementCorners, std::bitset<(1<< dim2)> &neighborIntersects2, unsigned int grid2Index, std::vector< SimplicialIntersection > &intersections)
Compute the intersection between two overlapping elements.
Definition: overlappingmerge.cc:34
Dune::FieldVector< T, dimworld > WorldCoords
the coordinate type used in this interface
Definition: overlappingmerge.hh:47
T ctype
the numeric type used in this interface
Definition: overlappingmerge.hh:44
Common base class for many merger implementations: produce pairs of entities that may intersect.
Definition: standardmerge.hh:58
typename IntersectionListProvider::SimplicialIntersection SimplicialIntersection
Definition: standardmerge.hh:83