1 #ifndef DUNE_FEM_POINTPROVIDER_HH
2 #define DUNE_FEM_POINTPROVIDER_HH
9 #include <dune/common/math.hh>
22 template<
class ct,
int dim,
int codim >
25 static_assert( (codim >= 0) && (codim <= 1),
26 "PointProvider exists only for codimension 0 and 1." );
29 template <
class ct,
int dim>
45 const GeometryType& elementGeo);
48 typedef std::map<const QuadratureKeyType, GlobalPointVectorType> PointContainerType;
49 typedef typename PointContainerType::iterator PointIteratorType;
52 static PointContainerType& points()
59 template <
class ct,
int dim>
79 const GeometryType& elementGeo);
84 const GeometryType& elementGeo);
87 const GeometryType& elementGeo);
90 typedef std::map<const QuadratureKeyType, GlobalPointVectorType> PointContainerType;
91 typedef std::map<const QuadratureKeyType, MapperVectorPairType > MapperContainerType;
93 typedef typename PointContainerType::iterator PointIteratorType;
94 typedef typename MapperContainerType::iterator MapperIteratorType;
100 GeometryType elementGeo);
103 static PointContainerType& points()
108 static MapperContainerType& mappers()
Definition: bindguard.hh:11
Definition: pointmapper.hh:18
Definition: pointmapper.hh:52
std::vector< MapperType > MapperVectorType
Definition: pointmapper.hh:60
QuadratureType::CoordinateType PointType
extracted types from integration point list
Definition: pointmapper.hh:56
std::vector< size_t > MapperType
Definition: pointmapper.hh:58
std::vector< PointType > PointVectorType
Definition: pointmapper.hh:57
Definition: pointprovider.hh:24
Traits::PointVectorType GlobalPointVectorType
Definition: pointprovider.hh:36
Traits::QuadratureType QuadratureType
Definition: pointprovider.hh:35
Traits::QuadratureKeyType QuadratureKeyType
Definition: pointprovider.hh:37
std::pair< MapperVectorType, MapperVectorType > MapperVectorPairType
Definition: pointprovider.hh:74
FieldVector< ct, dim > GlobalPointType
Definition: pointprovider.hh:71
Traits::QuadratureKeyType QuadratureKeyType
Definition: pointprovider.hh:73
Traits::PointType LocalPointType
Definition: pointprovider.hh:67
Traits::QuadratureType QuadratureType
Definition: pointprovider.hh:66
Traits::MapperType MapperType
Definition: pointprovider.hh:69
Traits::PointVectorType LocalPointVectorType
Definition: pointprovider.hh:68
Traits::MapperVectorType MapperVectorType
Definition: pointprovider.hh:70
std::vector< GlobalPointType > GlobalPointVectorType
Definition: pointprovider.hh:72
Generic implementation of an IntegrationPointList.
Definition: quadratureimp.hh:33
static Object & instance(Args &&... args)
return singleton instance of given Object type.
Definition: singleton.hh:101