 MO diagrams with energy values can be obtained mathematically using the Hartree–Fock method.The starting point for any MO diagram is a predefined molecular geometry for the molecule in question.An exact relationship between geometry and orbital energies is given in Walsh diagrams.