<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Bader analysis with SIESTA</title>
	<link>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/</link>
	<description>a scientific view on the purpose of life</description>
	<pubDate>Sun, 05 Feb 2012 21:16:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>By: Kane</title>
		<link>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-1746</link>
		<dc:creator>Kane</dc:creator>
		<pubDate>Mon, 07 Nov 2011 14:37:58 +0000</pubDate>
		<guid>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-1746</guid>
		<description>hi Alex
I'm new to use SIESTA, I want to get the wavefunctions, but I saw some reference says that use XCrySDen can get the 3D wavefun and rho , but my I get the wavefun like the classic wavefun , can get the coefficients ant take into the function to plot, thanks!</description>
		<content:encoded><![CDATA[<p>hi Alex<br />
I&#8217;m new to use SIESTA, I want to get the wavefunctions, but I saw some reference says that use XCrySDen can get the 3D wavefun and rho , but my I get the wavefun like the classic wavefun , can get the coefficients ant take into the function to plot, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-1618</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sat, 30 Apr 2011 22:22:39 +0000</pubDate>
		<guid>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-1618</guid>
		<description>Bader code was originally developed for full-potential calculations (i.e. all atoms with core). Basically, the algorithm requires a maximum of charge being centered on each atom (which is not the case for most pseudopotential calculations).

Using TOCH (adding "artificial" core charge) instead of RHO solves this problem, except for the hydrogen where there is simply no core to add.

So if you use TOCH, you have to correct manually only H.</description>
		<content:encoded><![CDATA[<p>Bader code was originally developed for full-potential calculations (i.e. all atoms with core). Basically, the algorithm requires a maximum of charge being centered on each atom (which is not the case for most pseudopotential calculations).</p>
<p>Using TOCH (adding &#8220;artificial&#8221; core charge) instead of RHO solves this problem, except for the hydrogen where there is simply no core to add.</p>
<p>So if you use TOCH, you have to correct manually only H.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tanguy</title>
		<link>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-1595</link>
		<dc:creator>Tanguy</dc:creator>
		<pubDate>Fri, 29 Apr 2011 15:07:19 +0000</pubDate>
		<guid>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-1595</guid>
		<description>Alex, 

Thanks a lot for the complementary information. 

There is still one thing that I don't get. If I understand you correctly, it is enough to add a core charge for H only even if I have more atoms in my system? Or whould I do it for all the atoms I have in my system? 

Thanks ! 

Tanguy</description>
		<content:encoded><![CDATA[<p>Alex, </p>
<p>Thanks a lot for the complementary information. </p>
<p>There is still one thing that I don&#8217;t get. If I understand you correctly, it is enough to add a core charge for H only even if I have more atoms in my system? Or whould I do it for all the atoms I have in my system? </p>
<p>Thanks ! </p>
<p>Tanguy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-1584</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Thu, 28 Apr 2011 22:04:47 +0000</pubDate>
		<guid>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-1584</guid>
		<description>It is in the rho2xsf.f, line 250.

The charge=6 and sigma were for Ga (ii.eq.1 means the first atom in the unit cell), you need to change them.

&gt; If gaussian=0 at 4sigma, and sigma is approx. 3/4 of the covalent
&gt; radius, then I would suppose that for H we should take
&gt; sigma= 3/4 * 0.32 A / 4 = 0.06 A.
That's the maximal value that you should use for sigma for H. Never make it bigger.
If your grid is fine enough you can try to make it even smaller.

People reported that charge values as small as 0.01 are enough to make the Bader program work.  Try to use as small values as possible to reduce possible error.
The idea is to make program find the maximum of charge centered on H.</description>
		<content:encoded><![CDATA[<p>It is in the rho2xsf.f, line 250.</p>
<p>The charge=6 and sigma were for Ga (ii.eq.1 means the first atom in the unit cell), you need to change them.</p>
<p>> If gaussian=0 at 4sigma, and sigma is approx. 3/4 of the covalent<br />
> radius, then I would suppose that for H we should take<br />
> sigma= 3/4 * 0.32 A / 4 = 0.06 A.<br />
That&#8217;s the maximal value that you should use for sigma for H. Never make it bigger.<br />
If your grid is fine enough you can try to make it even smaller.</p>
<p>People reported that charge values as small as 0.01 are enough to make the Bader program work.  Try to use as small values as possible to reduce possible error.<br />
The idea is to make program find the maximum of charge centered on H.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tanguy</title>
		<link>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-1559</link>
		<dc:creator>Tanguy</dc:creator>
		<pubDate>Tue, 26 Apr 2011 17:47:07 +0000</pubDate>
		<guid>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-1559</guid>
		<description>Alex, 

Thanks for your answer. 

You say that "the code for H is there". Could you be more specific about the "there" you are referring to ?

Regards,

Tanguy</description>
		<content:encoded><![CDATA[<p>Alex, </p>
<p>Thanks for your answer. </p>
<p>You say that &#8220;the code for H is there&#8221;. Could you be more specific about the &#8220;there&#8221; you are referring to ?</p>
<p>Regards,</p>
<p>Tanguy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-1467</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Thu, 21 Apr 2011 00:09:18 +0000</pubDate>
		<guid>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-1467</guid>
		<description>Tanguy, please, see the updated procedure at the very top of the post.
Try to see if Bader program finds H where it should be in your system. If it cannot, use my xsf2cube on TOCH file, plus, add an artificial extra core charge (Gaussian) to H - the code for H is there (though, commented out).</description>
		<content:encoded><![CDATA[<p>Tanguy, please, see the updated procedure at the very top of the post.<br />
Try to see if Bader program finds H where it should be in your system. If it cannot, use my xsf2cube on TOCH file, plus, add an artificial extra core charge (Gaussian) to H - the code for H is there (though, commented out).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tanguy</title>
		<link>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-1375</link>
		<dc:creator>Tanguy</dc:creator>
		<pubDate>Thu, 14 Apr 2011 14:41:22 +0000</pubDate>
		<guid>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-1375</guid>
		<description>Hello Alex, 
Thanks for the information. It really great job. 
I have some problem to understand what do I need to change in the code. You mentionned that if we are not working with the same atoms as your, we have some manual work to do. 
Could you specify what do we need to change (I am working with Zn, O, C, H and N) in the code to make it working? 
Thanks in advance for your help ! 
Tanguy</description>
		<content:encoded><![CDATA[<p>Hello Alex,<br />
Thanks for the information. It really great job.<br />
I have some problem to understand what do I need to change in the code. You mentionned that if we are not working with the same atoms as your, we have some manual work to do.<br />
Could you specify what do we need to change (I am working with Zn, O, C, H and N) in the code to make it working?<br />
Thanks in advance for your help !<br />
Tanguy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-1264</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 07 Apr 2011 15:29:45 +0000</pubDate>
		<guid>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-1264</guid>
		<description>Hello Alex, compiling your version of A.Postnikovs program with gfortran I Get following error message:
"
gfortran -o -g -O0  -c -o wraxsf1.o wraxsf1.f
wraxsf1.f:30.72:

      open (is1, file='tmpfil',form='formatted',status='scratch')       
                                                                        1
Error: The STATUS specified in OPEN statement at (1) cannot have the value SCRATCH if a FILE specifier is present
make: *** [wraxsf1.o] Error 1
"

Whats worng?</description>
		<content:encoded><![CDATA[<p>Hello Alex, compiling your version of A.Postnikovs program with gfortran I Get following error message:<br />
&#8221;<br />
gfortran -o -g -O0  -c -o wraxsf1.o wraxsf1.f<br />
wraxsf1.f:30.72:</p>
<p>      open (is1, file=&#8217;tmpfil&#8217;,form=&#8217;formatted&#8217;,status=&#8217;scratch&#8217;)<br />
                                                                        1<br />
Error: The STATUS specified in OPEN statement at (1) cannot have the value SCRATCH if a FILE specifier is present<br />
make: *** [wraxsf1.o] Error 1<br />
&#8221;</p>
<p>Whats worng?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-540</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Fri, 07 Jan 2011 10:13:23 +0000</pubDate>
		<guid>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-540</guid>
		<description>Hello I am Interestested in the XPS predictions stuff. Could you give me some informations about it?

Another Question I am also interested in NMR-Paramters (e.g. shielding tensor). Is there some possibility to calculate them from siesta output?</description>
		<content:encoded><![CDATA[<p>Hello I am Interestested in the XPS predictions stuff. Could you give me some informations about it?</p>
<p>Another Question I am also interested in NMR-Paramters (e.g. shielding tensor). Is there some possibility to calculate them from siesta output?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emma</title>
		<link>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-468</link>
		<dc:creator>Emma</dc:creator>
		<pubDate>Fri, 20 Aug 2010 04:58:19 +0000</pubDate>
		<guid>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-468</guid>
		<description>Thanks for the swift reply! I am going to try out the TOCH file with the Bader program then.

As a matter of fact, I do have hydrogen in my system, but I'm gonna cross my fingers and hope that the problem with hydrogen is more severe for cases where the hydrogen is bonded electronegative species like oxygen and nitrogen. I have my hydrogens bonded to carbons.</description>
		<content:encoded><![CDATA[<p>Thanks for the swift reply! I am going to try out the TOCH file with the Bader program then.</p>
<p>As a matter of fact, I do have hydrogen in my system, but I&#8217;m gonna cross my fingers and hope that the problem with hydrogen is more severe for cases where the hydrogen is bonded electronegative species like oxygen and nitrogen. I have my hydrogens bonded to carbons.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-466</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 20 Aug 2010 03:03:42 +0000</pubDate>
		<guid>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-466</guid>
		<description>Thanks for the reminder, Emma, I completely forgot about TOCH.
At the time of that post I wasn't sure about TOCH but I was recently working with it from a different perspective and now I think that TOCH is the perfect choice for Bader analysis with SIESTA.

You don't have to modify anything, simply use TOCH instead of RHO when converting to CUBE.
By the way Utils/Grid/grid2cube might work even better than my modified rho2cube.

Unfortunately TOCH would still not help if you have hydrogen in your system.</description>
		<content:encoded><![CDATA[<p>Thanks for the reminder, Emma, I completely forgot about TOCH.<br />
At the time of that post I wasn&#8217;t sure about TOCH but I was recently working with it from a different perspective and now I think that TOCH is the perfect choice for Bader analysis with SIESTA.</p>
<p>You don&#8217;t have to modify anything, simply use TOCH instead of RHO when converting to CUBE.<br />
By the way Utils/Grid/grid2cube might work even better than my modified rho2cube.</p>
<p>Unfortunately TOCH would still not help if you have hydrogen in your system.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emma</title>
		<link>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-460</link>
		<dc:creator>Emma</dc:creator>
		<pubDate>Thu, 19 Aug 2010 07:35:56 +0000</pubDate>
		<guid>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-460</guid>
		<description>Hi Alex,

I noticed in this post in the SIESTA forum: 
http://www.mail-archive.com/siesta-l@listserv.uam.es/msg01285.html

that you talked about the possibility of using the TOCH file generated by SIESTA with the Bader Analysis program. Did you explore that angle in the end? 

Thank You!</description>
		<content:encoded><![CDATA[<p>Hi Alex,</p>
<p>I noticed in this post in the SIESTA forum:<br />
<a href="http://www.mail-archive.com/siesta-l@listserv.uam.es/msg01285.html" rel="nofollow">http://www.mail-archive.com/siesta-l@listserv.uam.es/msg01285.html</a></p>
<p>that you talked about the possibility of using the TOCH file generated by SIESTA with the Bader Analysis program. Did you explore that angle in the end? </p>
<p>Thank You!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-234</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 07 Jul 2009 13:13:59 +0000</pubDate>
		<guid>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-234</guid>
		<description>Zero charge on H and 8 on Oxygen is due to the absence of charge peak on H (due to the use of pseudopotential) so Bader algorythm just doesn't see an atom there at all. This is exactly the reason why partial or artificial core is required.

Yes, you can add the artificial core afterwards, just as a simple Gaussian, but then the atomic radii and core charges has to be provided for all atoms in your system. This is implemented in the rho2cube.f file only for H, but I haven't done it for all periodic table to make the program usable out of the box for anybody.

You can try to work without any additional cores at all, in 90% cases it will work. The program won't give the incorrect values as soon as it finds the atom positions correctly.</description>
		<content:encoded><![CDATA[<p>Zero charge on H and 8 on Oxygen is due to the absence of charge peak on H (due to the use of pseudopotential) so Bader algorythm just doesn&#8217;t see an atom there at all. This is exactly the reason why partial or artificial core is required.</p>
<p>Yes, you can add the artificial core afterwards, just as a simple Gaussian, but then the atomic radii and core charges has to be provided for all atoms in your system. This is implemented in the rho2cube.f file only for H, but I haven&#8217;t done it for all periodic table to make the program usable out of the box for anybody.</p>
<p>You can try to work without any additional cores at all, in 90% cases it will work. The program won&#8217;t give the incorrect values as soon as it finds the atom positions correctly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeffei</title>
		<link>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-233</link>
		<dc:creator>Jeffei</dc:creator>
		<pubDate>Tue, 07 Jul 2009 02:45:19 +0000</pubDate>
		<guid>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-233</guid>
		<description>Hi, Alex,
Can you just add the artificial core charge into the RHO file instead of recompile SIESTA?
You said: "One of the solutions is to save partial core charges used for NLCC calculations."
How to do this ?</description>
		<content:encoded><![CDATA[<p>Hi, Alex,<br />
Can you just add the artificial core charge into the RHO file instead of recompile SIESTA?<br />
You said: &#8220;One of the solutions is to save partial core charges used for NLCC calculations.&#8221;<br />
How to do this ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nguyen Ngoc Ha</title>
		<link>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-232</link>
		<dc:creator>Nguyen Ngoc Ha</dc:creator>
		<pubDate>Tue, 07 Apr 2009 13:30:27 +0000</pubDate>
		<guid>http://voznyy.elinity.com/blog/2008/01/bader-analysis-with-siesta/#comment-232</guid>
		<description>Hi Alex,
Firstly, thanks for your modiffied code. But I have a problem to use it
- In your bader.zip from your website, there is only one atmfuncs.f file (and siesta2cube folder, bader folder), I used it to replace and then recompiled SIESTA but I never get the right results:
For example, H2O analysis, O: 8 electrons and H 0 electron!
Please let me know this,
Thank you so much.</description>
		<content:encoded><![CDATA[<p>Hi Alex,<br />
Firstly, thanks for your modiffied code. But I have a problem to use it<br />
- In your bader.zip from your website, there is only one atmfuncs.f file (and siesta2cube folder, bader folder), I used it to replace and then recompiled SIESTA but I never get the right results:<br />
For example, H2O analysis, O: 8 electrons and H 0 electron!<br />
Please let me know this,<br />
Thank you so much.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

