display 2D plot of the molecular-orbital (MO) energies
MODiagram(molecule, method, options)
list of lists; each list has 4 elements, the string of an atom's symbol and atom's x, y, and z coordinates
(optional) method = name/procedure where name is one of 'HartreeFock' (default), 'DensityFunctional','ActiveSpaceSCF'
(optional) equation(s) of the form option = value where option is any valid option of the chosen method
The MODiagram command display 2D plot of the molecular-orbital (MO) energies.
Each MO energy is displayed as a horizontal line.
Energies corresponding to occupied MOs are colored blue, and energies corresponding to unoccupied MOs are colored red.
The keyword bandwidth changes the energy bandwidth around the HOMO-LUMO gap that is displayed. Default is 1.2 a.u.
The command only works with methods that return MO energies.
Consider the molecule hydrogen peroxide
mol≔ O, 0.7247, 0, 0, O, −0.7247, 0, 0, H, 0.8233, −0.7, −0.6676,H, −0.8233, −0.6175, 0.7446;
Display the MO diagram
output≔ MODiagrammol, method=HartreeFock;
Download Help Document
What kind of issue would you like to report? (Optional)