Skip to content

limiter.assert_function_space broken for TensorProductElement #447

@cpjordan

Description

@cpjordan

Recent changes to FIAT (firedrakeproject/fiat#237) appear to have modified the behavior of ufl_element().family() for tensor product elements. Previously, calling:

ufl_elem.family()

on a tensor product element would return:

"TensorProductElement"

This allowed downstream code to detect extruded mesh function spaces via a simple string comparison.

After the update, family() now returns the underlying base element family (e.g. "Discontinuous Lagrange") instead of "TensorProductElement". As a result, code that relies on family() to distinguish tensor product elements no longer works as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions