Skip to content

Make access methods for multiple dofmaps/cmaps/elements etc. more consistent #4134

@chrisrichardson

Description

@chrisrichardson

Currently, for the new "mixed-topology" functionality, we have new functions to access the multiple entries, e.g.
to access the i component:
Geometry::cmaps()[i], Geometry::dofmap(i), FunctionSpace::elements(i), FunctionSpace::dofmaps(i), Topology::cell_types()[i], Topology::original_cell_index[i]

There may be more... but they all look different. What is the best interface?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions