Printing orbital densities to cube files¶
Description¶
This module prints molecular orbital densities in the Gaussian Cube format. It can be used to view the shape and extent of relativistic or gauge-including molecular orbitals, which cannot be viewed in Molden due to the use of complex basis functions or the four-component framework.
A separate .cub file is generated for each printed orbital, plus one for the total electron density. The axis vectors are simply the Cartesian x, y, and z axes.
In addition, one can print the relaxed electron density in MP2, SA-CASSCF, and CASPT2 force calculations as well. See nuclear gradient and derivative coupling and the example below.
Command: moprint
Keywords¶
paired
orbitals
start_pos
inc_size
angstrom
mo_filename
density_filename
Example¶
Sample input: Print MO¶
Write molecular orbitals:
{ "bagel" : [
.... energy calculation....
{
"title" : "moprint",
"inc_size" : [ 0.20, 0.20, 0.20 ],
"orbitals" : [ 14, 15, 16, 17, 18, 19, 20, 21, 22 ]
}
]}
Sample input: Print relaxed density¶
Write relaxed density to the file density_0.cub
from the XMS-CASPT2 force calculation:
{ "bagel" : [
{
"title" : "molecule",
"basis" : "svp",
"df_basis" : "svp-jkfit",
"geometry" : [
{ "atom" : "Li", "xyz" : [ 0.000000, 0.000000, 6.000000] },
{ "atom" : "F", "xyz" : [ 0.000000, 0.000000, 0.000000] }
]
},
{
"title" : "force",
"target" : 0,
"density_print" : true,
"moprint" : {
"density_filename" : "density_0",
"inc_size" : [ 0.20, 0.20, 0.20 ]
},
"method" : [ {
"title" : "caspt2",
"smith" : {
"method" : "caspt2",
"shift" : 0.2,
"frozen" : true
},
"nstate" : 4,
"nact" : 4,
"nclosed" : 3
} ]
}
]}