You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#print data.atomnos #print line 2; this has a problem with wrapping; Richard West suggested a couple of alternatives as shown below
print [iforiindata.atomnos] #this will put a comma between each element; alternative is:
#for i in data.atomnos:
# print i,
printdata.atomcoords[-1] #print the final optimized atom coordinates
printdata.scfenergies[-1]/27.2113845#print the final optimized PM3 energy (cclib gives this in eV, but I have converted here to Hartree); conversion value taken from cclib code; compare CODATA 2006 value 27.21138386(68) eV/Hartree
printdata.molmass#print the molecular mass (in amu)
if (data.natom>1):#for species with more than one atom, display vibrational frequencies and rotational constants
#print data.vibfreqs #print the vibrational frequencies; see atomnos discussion above
print [iforiindata.vibfreqs]
printdata.rotcons[-1] #print the final rotational constants