Application of the adjoint variable method for high accurate numerical evaluation in hammering test