1#ifndef __DUNE_ACFEM_QUADRATURE_HH__
2#define __DUNE_ACFEM_QUADRATURE_HH__
4#include <dune/fem/quadrature/cachingquadrature.hh>
5#include <dune/fem/quadrature/intersectionquadrature.hh>
6#include <dune/fem/quadrature/lumpingquadrature.hh>
19 template<
class Gr
idPart>
22 typedef GridPart GridPartType;
23 typedef Fem::CachingQuadrature<GridPartType, 0> BulkQuadratureType;
24 typedef Fem::CachingQuadrature<GridPartType, 1> FaceQuadratureType;
26 typedef BulkQuadratureType BulkMassQuadratureType;
27 typedef FaceQuadratureType FaceMassQuadratureType;
37 template<
class Gr
idPart,
bool faceLumping = false>
44 typedef typename BaseType::GridPartType GridPartType;
45 typedef typename BaseType::BulkQuadratureType BulkQuadratureType;
46 typedef typename BaseType::FaceQuadratureType FaceQuadratureType;
48 typedef Fem::CachingLumpingQuadrature<GridPartType, 0> BulkMassQuadratureType;
51 typedef typename std::conditional<faceLumping,
52 Fem::CachingLumpingQuadrature<GridPartType, 1>,
53 typename BaseType::FaceMassQuadratureType>::type
54 FaceMassQuadratureType;
Helper traits-class, defining likely quadrature types.
Definition: quadrature.hh:21
Helper traits-class, defining likely quadrature types for mass-lumping.
Definition: quadrature.hh:40