Skip to content

Automatic differentiation to calculate Jacobians #35

Closed
@mikeingold

Description

@mikeingold

The codebase currently uses an inelegant but reasonable finite difference approximation to calculate the Jacobian of a geometry's parametric function.

https://github.com/mikeingold/MeshIntegrals.jl/blob/66ed919150b3774bf09dabab60476869c5514493/src/utils.jl#L5-L15

At time of writing, there didn't appear to be an automatic differentiation package that could compute the same thing out-of-the-box. These parametric functions return a Point rather than a simple number. I believe this could be addressed by defining chain rules in Meshes.jl, but I'm open to other solutions.

Metadata

Metadata

Assignees

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