Skip to content
Snippets Groups Projects

Draft: Use the topology id directly in the Lagrange cache

Open Simon Praetorius requested to merge issue/topology-id-lagrange-cache into master
1 unresolved thread

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
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading