<div dir="ltr">Thank you both for your help!<div><br></div><div>-Brian<br><br>On Friday, June 29, 2018 at 4:29:35 AM UTC-4, Vladimir Rybkin wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Dear Brian,<div><br></div><div>the electron density is measured as inverse volume, in cube file it's /Bohr^3. So, to get the integral over space one has to weight the voxels by elementary volume. </div><div><br></div><div>Yours,</div><div><br></div><div>Vladimir<br><br>четверг, 28 июня 2018 г., 20:45:23 UTC+2 пользователь Brian Day написал:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I'll have to try and play around with those parameters. That said, do you happen to know what the sum of the voxels in these files should be? I assume it should be (close to) 1 or (close to) the total number of electrons, but with the file attached above I get a value of 46. 34196, even though is only a two electron system. Thanks again.<br></div><div><br></div><div>-Brian</div><div><br></div><div>On Wednesday, June 27, 2018 at 3:49:47 PM UTC-4, Matt W wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">1e-14 seems a small number. I think you can put this down to numerics.<div><br></div><div>Maybe decreasing EPS_DEFAULT in the QS section and the STRIDE keyword in the E_DENSITY_CUBE section would give more accurate numbers.</div><div><br></div><div>Matt<br><br>On Wednesday, June 27, 2018 at 8:20:00 PM UTC+1, Brian Day wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm trying to generate .cube files of the electron density (probability density). I am using the following lines in my input files (also attached):<div><br></div><div>&PRINT</div><div>   &MO_CUBES</div><div>      NHOMO -1</div><div>      NLUMO -1</div><div>   &END MO_CUBES</div><div>   &E_DENSITY_CUBE</div><div>   &END E_DENSITY_CUBE</div><div>&END PRINT</div><div><br></div><div>I have noticed in the .cube file for the electron density (also attached), there are a number of values which are negative. Is this due to a numerical evaluation, or is there another reason for this that anyone is aware of? The negative values seem to range from -1e-18 to -1e-14, and the positive values seem to range from 1e-18 to 1e-9. Any help would be greatly appreciated!</div><div><br></div><div>Thanks and Regards,</div><div>     Brian</div><div><br></div></div></blockquote></div></div></blockquote></div></div></blockquote></div></div></blockquote></div></div>