Mechanics, tensors & virtual works