Skip to content

Change the elements_are_familiy arguments #2163

@Davknapp

Description

@Davknapp

I think we missed a const in the elements_are_family interface.
The pointer to the element itself are not modifyable, however the elements itself are.

changing it to
elements_are_family (const t8_eclass_t tree_class, const t8_element_t *const *fam)

should allow us to pass a family of const elements to it. That way if we gather elements via a call from
t8_element_array_index_locidx_t we can directly pass them to the function.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution or feature you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Estimated priority
Which of these is most applicable (remove the others):

"Priority: high" Should be solved as soon as possible

"Priority: medium" Should be solved within half a year

"Priority: low" Should be solved eventually

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:mediumShould be solved within half a yearworkload:lowWould take half a day or less

    Projects

    Status

    ToDo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions