Trixi.jl icon indicating copy to clipboard operation
Trixi.jl copied to clipboard

Differentiability wrt. to mesh vertex positions

Open andrinr opened this issue 11 months ago • 2 comments

Does Trixi.jl support differentiability with respect to the vertex positions when simulating on an unstructured mesh?

andrinr avatar Jan 28 '25 19:01 andrinr

Good question. Since it is possible to differentiate through an entire simulation to compute, e.g., the Jacobian using Enzyme.jl, I assume that differentiating wrt to vertex positions should in general be possible, yes. However, I do not think anyone has tried this yet.

sloede avatar Jan 28 '25 20:01 sloede

Ok thanks a lot! I might give it a shot to try this in the future, given I can't find a good alternative before.

andrinr avatar Jan 28 '25 20:01 andrinr