Tensorial form definitions of discrete-mechanical quantities for granular assemblies