Skip to content

Draft: Use the topology id directly in the Lagrange cache

Simon Praetorius requested to merge issue/topology-id-lagrange-cache into master

When implementing the StaticLagrangeLocalFiniteElementCache I used the GeometryType::Id to identify GeometryTypes with a fixed type. The motivation is the capability Dune::Capabilities::hasSingleGeometryType. But there is actually another id, the topologyId that is encoded in the capability. This MR changes the template parameter from GeometryType::Id to unsigned int.

Which type could better encode that we do not have a single geometryType? Or do we need to have 2 parameters for this, a bool and the topologyId`?

Edited by Simon Praetorius

Merge request reports

Loading