#1555 QuadratureRules: Separate cache from factory
|Reported by||Jö Fahlke (firstname.lastname@example.org)|
|Reported at||Jan 21, 2015 15:31|
|Operating System||Unspecified / All|
|Last edited by||Oliver Sander (email@example.com)|
|Last edited at||Mar 5, 2015 19:08|
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.