A geometrical theory of thermal phenomena based on the kernel of the evolution equation Preprint in arXiv (March 2023)