Closed ddundo closed 2 months ago
@jwallwork23 could you please review (once you're back from the conference - no rush)? This passes locally for me with the outdated petsc version, so I think it's ready for review. But I won't merge before https://github.com/mesh-adaptation/animate/pull/142 is merged
I guess this needs to be rebased on top of main
or have main
merged into it to pick up the fix from #214.
Closes #209.
Similarly to
MeshSeq._solve_forward
andMeshSeq.solve_forward
, this PR makesAdjointMeshSeq.solve_adjoint
use a generator functionAdjointMeshSeq._solve_adjoint
thatyield
s after each subinterval solve. That way we can compute error indicators inGoalOrientedMeshSeq.indicate_errors
after each subinterval.