thetisproject / thetis

Finite element flow solver for simulating coastal and estuarine flows.
Other
68 stars 28 forks source link

Import firedrake.adjoint and switch on tape #347

Closed stephankramer closed 1 year ago

stephankramer commented 1 year ago

Firedrake adjoint has moved from being a subpackage of pyadjoint to a subpackage of firedrake. Now need import firedrake.adjoint and explicitly switch on the tape use continue_annotation(). See https://github.com/firedrakeproject/firedrake/pull/3062