Skip to content

Consider new localintegral API function #218

@juliohm

Description

@juliohm

The existing integral function takes a point p with global coordinates. Sometimes, we just need to perform integration inside the geometry in terms of local parametric coordinates. For example, if we know the function values f1, f2, f3 at the vertices a triangle, we can use the barycentric coordinates to integrate a linear function: f(u, v) = f1 + (f2 - f1) * u + (f3 - f1) * v.

A new localintegral function that expects integrands in terms of parametric coordinates would really help in these situations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions