Skip to content

Handling high-order differentiation of forms with FEMExternalOperator-s #33

@a-latyshev

Description

@a-latyshev

FEMExternalOperator-s could be used to define variational formulations that requires high-order differentiation in an elegant way:

psi = FEMExternalOperator(u, function_space=Q, name="psi")
E = psi * dx 
F = ufl.derivative(E, u, ufl.TestFunction(V))
J = ufl.derivative(F, u, ufl.TrialFunction(V))

This is bugged due to the same issue in the original UFL ExternalOperator: FEniCS/ufl#449

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions