#1555 QuadratureRules: Separate cache from factory

Metadata

Property Value
Reported by Jö Fahlke (jorrit@jorrit.de)
Reported at Jan 21, 2015 15:31
Type Feature Request
Version 2.3
Operating System Unspecified / All
Last edited by Oliver Sander (oliver.sander@tu-dresden.de)
Last edited at Mar 5, 2015 19:08

Description

The current approach of coupling the cache and the factory of quadrature rules is problematic. There is only one implementation of the cache, but for certain applications other implementations may be more suitable. E.g. it might be more quitable to use one cache per thread instead of a global cache. Similarly, there is currently no way to request a quadrature rule without using the cache -- which makes implementing other caches impossible. Also there is now way to clear the cache to free up memory.

There are some opinions in #1544 (closed), starting at #1544 (comment 10627). There is a similar report for ReferenceElements in #1556.