Skip to content

BarycentricData: share compile time and run time logic #674

@ledwards2225

Description

@ledwards2225

We need the functionality of BarycentricData for both field and field_t. The former is "literal" i.e. is compatible with constexpr operations, and the former is not. The functions for computing the pre-computable arrays in BarycentricData need to be constexpr and it takes some trickery to share these functions with the non-constexpr setting. Right now everything is more or less duplicated across BarycentricDataCompileTime and BarycentricDataRunTime. There should be a way to share more of the logic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    auditThings to do during the next auditquestionFurther information is requested

    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