Currently test_adjoint/test_adjoint.py::test_adjoint_same_mesh simply runs the AdjointMeshSeq.solve_adjoint method in a different way. It would be better to use the standard approach for testing adjoint methods, which uses the tangent linear model and adjoint model to check the result at intermediate steps.
Currently
test_adjoint/test_adjoint.py::test_adjoint_same_mesh
simply runs theAdjointMeshSeq.solve_adjoint
method in a different way. It would be better to use the standard approach for testing adjoint methods, which uses the tangent linear model and adjoint model to check the result at intermediate steps.