1 #ifndef DUNE_FEM_POINTPROVIDER_HH 2 #define DUNE_FEM_POINTPROVIDER_HH 9 #include <dune/common/math.hh> 20 template<
class ct,
int dim,
int codim >
23 static_assert( (codim >= 0) && (codim <= 1),
24 "PointProvider exists only for codimension 0 and 1." );
27 template <
class ct,
int dim>
39 static void registerQuadrature(
const QuadratureType& quad);
42 static const GlobalPointVectorType& getPoints(
const size_t id,
43 const GeometryType& elementGeo);
46 typedef std::map<const QuadratureKeyType, GlobalPointVectorType> PointContainerType;
47 typedef typename PointContainerType::iterator PointIteratorType;
50 static PointContainerType points_;
54 template <
class ct,
int dim>
72 static const MapperVectorType& getMappers(
const QuadratureType& quad,
73 const GeometryType& elementGeo);
76 static const MapperVectorType& getMappers(
const QuadratureType& quad,
77 const LocalPointVectorType& pts,
78 const GeometryType& elementGeo);
80 static const GlobalPointVectorType& getPoints(
const size_t id,
81 const GeometryType& elementGeo);
84 typedef std::map<const QuadratureKeyType, GlobalPointVectorType> PointContainerType;
85 typedef std::map<const QuadratureKeyType, MapperVectorType> MapperContainerType;
86 typedef typename PointContainerType::iterator PointIteratorType;
87 typedef typename MapperContainerType::iterator MapperIteratorType;
91 static MapperIteratorType addEntry(
const QuadratureType& quad,
92 const LocalPointVectorType& pts,
93 GeometryType elementGeo);
96 static PointContainerType points_;
97 static MapperContainerType mappers_;
106 #endif // #ifndef DUNE_FEM_POINTPROVIDER_HH Traits::QuadratureType QuadratureType
Definition: pointprovider.hh:33
std::vector< GlobalPointType > GlobalPointVectorType
Definition: pointprovider.hh:67
std::vector< size_t > MapperType
Definition: pointmapper.hh:58
Traits::QuadratureKeyType QuadratureKeyType
Definition: pointprovider.hh:35
Traits::MapperVectorType MapperVectorType
Definition: pointprovider.hh:65
Definition: pointmapper.hh:52
Traits::MapperType MapperType
Definition: pointprovider.hh:64
Definition: pointmapper.hh:17
Traits::QuadratureKeyType QuadratureKeyType
Definition: pointprovider.hh:68
Definition: coordinate.hh:4
Traits::PointVectorType GlobalPointVectorType
Definition: pointprovider.hh:34
QuadratureType::CoordinateType PointType
extracted types from integration point list
Definition: pointmapper.hh:56
FieldVector< ct, dim > GlobalPointType
Definition: pointprovider.hh:66
std::vector< PointType > PointVectorType
Definition: pointmapper.hh:57
Traits::PointType LocalPointType
Definition: pointprovider.hh:62
Traits::QuadratureType QuadratureType
Definition: pointprovider.hh:61
Definition: pointprovider.hh:21
std::vector< MapperType > MapperVectorType
Definition: pointmapper.hh:59
Traits::PointVectorType LocalPointVectorType
Definition: pointprovider.hh:63