The classical plastic potential theory in comparison with the tensor function theory