fixes to attach adjoint solution to mesh