Skip to content

Extend derivative_block() to derive residuals from functionals #3766

Description

@jhale

Describe new/missing feature

Many common variational problems (e.g. elasticity) are most naturally written as energy minimisation problems. The new 'derivative_block()` function takes block residuals to block Jacobians, but not functionals defined on multiple Functions to block residuals.

Suggested user interface

No change to current interface to derivate_block, just extend it to handle the functional case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    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