started to wrap adjoint error refinement functor