Describir: Variational theory of the Ricci curvature tensor dynamics