-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvements to differential/Jacobian calculations #37
Comments
Merging this with AD topic. The above refers to generalizing the differential element function to arbitrary dimensions. However, the Jacobians this is built on are currently finite-difference approximations. Ideally, these partial differentials could be calculated using an automatic differentiation (AD) package. |
Status Update
|
PR #101 implements a generalization of The remaining part of this issue is in implementing improved |
I'm re-splitting this Issue to track the AD topic in a re-opened #35 |
I consolidated all of the previous differential functions into a single function that uses an
if/else
condition on the number of parametric dimensionshttps://github.com/mikeingold/MeshIntegrals.jl/blob/5d92c86d07fa6af97d3df024cdf40fe58a50d16b/src/utils.jl#L62-L81
These operations (norm, norm of cross product, triple product) can be generalized as falling out of an exterior/wedge product using Geometric/Clifford Algebra. It would be nice to generalize this operation into something simple like
norm(foldl(wedge, J))
that doesn't require a conditional.It looks like DifferentialForms.jl could be used but would require some adaptation to translate between
Form
s and vectors.The text was updated successfully, but these errors were encountered: