Bug Description
I noticed a discrepancy in the density cube files generated either directly with GFN2-xTB or with Multiwfn from the xtb-created molden.input file. Visual difference:
To Reproduce
Steps to reproduce the behaviour:
happens with inputs:
water.txt → rename to water.sdf (Github doesn't want .sdf)
xtb.txt → rename to xtb.inp (contains density=True)
Generate the density cube file using Multiwfn, starting from the molden.input file xtb generated, and using the same grid points:
Multiwfn molden.input, then options 5 (Output and plot specific property within a spatial region) > 1 (Electron density) > 8 (Use grid setting of another cube file) > density_xtb.cub > 2 (Export data to a Gaussian-type cube file in current folder)
awvwgk mentioned via email this could be related to the xTB-produced molden-file not being standardized, resulting in incorrect basis sets and orbitals in Multiwfn.
The comment line of the xtb-generated cube file says "xtb spin/fo density” though I requested just the density.
I've asked the same question here in the Multiwfn forum to determine whether the issue is on their side. Multiwfn explicitly states that they support xTB-generated molden.input files (see their changelog)
Software
xtb version 6.3.1 (conda-forge) compiled by 'runner@Mac-1389.local', running locally
This discussion in the Multiwfn forum revealed that the xTB-generated electron density file appears to be missing the core electrons (see response #10), while Multiwfn adds those.
Bug Description I noticed a discrepancy in the density cube files generated either directly with GFN2-xTB or with Multiwfn from the xtb-created
molden.input
file. Visual difference:To Reproduce Steps to reproduce the behaviour:
water.sdf
(Github doesn't want.sdf
) xtb.txt → rename toxtb.inp
(containsdensity=True
)xtb water.sdf --input xtb.inp --molden --verbose
.cub
for visualization) molden.input.txt → rename tomolden.input
molden.input
file xtb generated, and using the same grid points:Multiwfn molden.input
, then options 5 (Output and plot specific property within a spatial region) > 1 (Electron density) > 8 (Use grid setting of another cube file) >density_xtb.cub
> 2 (Export data to a Gaussian-type cube file in current folder).cub
for visualization)Expected behaviour Same cube file.
Additional context
molden.input
files (see their changelog)Software