Skip to content

Remove usage of FESwitch::setStore

On core/dune-localfunctions@99a99e85 a performance bug was introduced. On every bind of the local space, it forces us to make an allocation for a control block of a shared pointer that is not even used (yet another abomination of stackobject_to_shared_ptr, PLEASE STOP USING IT FOR ANYTHING!) This MR should solve the issue and indeed still allow the usage of on-the-fly finite elements.

Edited by Santiago Ospina De Los Ríos

Merge request reports