The stress divergence family of automatic differentiation kernels