QuantumChemistry
DipolePlot
creates 3D plot of the dipole moment
Calling Sequence
Parameters
Description
Examples
DipolePlot(molecule, method, options)
molecule
-
list of lists; each list has 4 elements, the string of an atom's symbol and atom's x, y, and z coordinates
method
(optional) method = name/procedure where name is one of 'HartreeFock' (default), 'DensityFunctional','ActiveSpaceCI', 'ActiveSpaceSCF', 'CoupledCluster', 'FullCI','MP2', 'Variational2RDM', 'Parametric2RDM', 'ContractedSchrodinger'
options
(optional) equation(s) of the form option = value where option is any valid option of the chosen method
The command DipolePlot creates a 3D plot of the electric dipole moment in a molecule. The dipole moment is displayed in a 3D ball-and-stick model of the molecule as an arrow whose direction indicates the direction of the dipole moment. By convention the dipole moment points from the partial negative charge on the molecule to the partial positive charge on the molecule.
withQuantumChemistry:
Consider the hydrogen peroxide molecule
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;
mol≔O,0.72470000,0,0,O,−0.72470000,0,0,H,0.82330000,−0.70000000,−0.66760000,H,−0.82330000,−0.61750000,0.74460000
Plot the dipole moment
output≔ DipolePlotmol, method='HartreeFock';
See Also
Dipole HartreeFock DensityFunctional MP2 CoupledCluster FullCI ActiveSpaceCI ActiveSpaceSCF Variational2RDM Parametric2RDM ContractedSchrodinger
Download Help Document
What kind of issue would you like to report? (Optional)