#482 Cube quadrature rules in 4d fail the test
Metadata
| Property | Value | 
|---|---|
| Reported by | Oliver Sander (oliver.sander@tu-dresden.de) | 
| Reported at | Dec 23, 2008 18:04 | 
| Type | Bug Report | 
| Version | Git (pre2.4) [autotools] | 
| Operating System | Unspecified / All | 
| Last edited by | Martin Nolte (nolte@mathematik.uni-freiburg.de) | 
| Last edited at | Aug 25, 2012 09:17 | 
Description
There are quadrature rules for hypercubes of all dimensions, however they cannot be created in the usual way. You can see this by trying to compile test-quadrature.cc newer than 4669, which gives
../../../dune/grid/common/quadraturerules.hh:185:   instantiated from âconst Dune::QuadratureRule<ctype, dim>& Dune::QuadratureRules<ctype, dim>::_rule(const Dune::GeometryType&, int, Dune::QuadratureType::Enum) [with ctype = double, int dim = 4]â
../../../dune/grid/common/quadraturerules.hh:202:   instantiated from âstatic const Dune::QuadratureRule<ctype, dim>& Dune::QuadratureRules<ctype, dim>::rule(const Dune::GeometryType&, int, Dune::QuadratureType::Enum) [with ctype = double, int dim = 4]â
test-quadrature.cc:74:   instantiated from âvoid checkQuadrature(Dune::GeometryType) [with ctype = double, int dim = 4]â
test-quadrature.cc:231:   instantiated from here
../../../dune/grid/common/quadraturerules.hh:899: error: invalid use of incomplete type âstruct Dune::SimplexQuadratureRule<double, 4>â
../../../dune/grid/common/quadraturerules.hh:429: error: declaration of âstruct Dune::SimplexQuadratureRule<double, 4>â