#1556 ReferenceElements: Seperate cache from factory
|Reported by||Jö Fahlke (email@example.com)|
|Reported at||Jan 21, 2015 15:41|
|Operating System||Unspecified / All|
The current approach of coupling the cache and the factory of reference elements 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. There is now way to clear the cache to free up memory. Once one reference element is requested, all reference elements of the same dimension are generated, which can result in quite high memory usage for higher dimension -- Martin Nolte reports ~2GB for dim=10.