1 #ifndef DUNE_FEM_CORNERPOINTSET_HH
2 #define DUNE_FEM_CORNERPOINTSET_HH
4 #include <dune/geometry/referenceelements.hh>
17 template<
class Gr
idPart >
20 template<
class ct,
class Topology >
21 class CornerPointList;
28 template<
class Gr
idPart >
31 template<
class ct,
int dim >
32 struct PointListTraits;
45 template<
class Gr
idPart >
46 template<
class ct,
int dim >
49 static const int pdim = (dim > 0 ? dim : 1);
59 typedef SimplexQuadratureType PointQuadratureType;
60 typedef SimplexQuadratureType LineQuadratureType;
68 template<
class Gr
idPart >
79 CornerPointSet (
const typename GridPart::template Codim< 0 >::EntityType &entity )
89 template<
class ct,
class Topology >
105 GeometryType
geometryType ()
const {
return GeometryType( Topology() ); }
119 template<
class ct,
class Topology >
127 template<
class ct,
class Topology >
136 template<
class ct,
class Topology >
139 GeometryType gt( Topology::id, Topology::dimension );
140 const auto &refElement = Dune::ReferenceElements< ct, Topology::dimension >::general( gt );
141 const unsigned int size = refElement.size( Topology::dimension );
142 for(
unsigned int i = 0; i < size; ++i )
143 addIntegrationPoint( refElement.position( i, Topology::dimension ) );
Definition: bindguard.hh:11
integration point list supporting base function caching
Definition: cachingpointlist.hh:74
Definition: cornerpointset.hh:71
CornerPointSet(const typename GridPart::template Codim< 0 >::EntityType &entity)
Definition: cornerpointset.hh:79
CornerPointSet(const GeometryType &type)
Definition: cornerpointset.hh:75
Definition: cornerpointset.hh:92
GeometryType geometryType() const
obtain GeometryType for this integration point list
Definition: cornerpointset.hh:105
BaseType::CoordinateType CoordinateType
Definition: cornerpointset.hh:96
int order() const
obtain order of the integration point list
Definition: cornerpointset.hh:101
static unsigned int maxOrder()
Definition: cornerpointset.hh:103
CornerPointList(const size_t id)
Definition: cornerpointset.hh:120
Definition: cornerpointset.hh:30
IntegrationPointListType::CoordinateType CoordinateType
Definition: cornerpointset.hh:37
IntegrationPointList< typename GridPart::ctype, GridPart::dimension, PointListTraits > IntegrationPointListType
Definition: cornerpointset.hh:32
actual interface class for integration point lists
Definition: quadrature/quadrature.hh:163
IntegrationPointListType ::CoordinateType CoordinateType
type of coordinate
Definition: quadrature/quadrature.hh:182
void addIntegrationPoint(const CoordinateType &point)
Adds an integration point to the list.
Definition: quadratureimp.hh:152
FieldVector< FieldType, dim > CoordinateType
type of local coordinates
Definition: quadratureimp.hh:43