[Wien] dipan.f

Peter Blaha peter.blaha at tuwien.ac.at
Fri Jul 15 10:35:12 CEST 2022


Hi,

Thank you very much for your report.

The author of this code is Pavel Novak.
According to his notes (eq.5) you are absolutely right and the factor 
1/2 should already be incorporated in this factor 3.12...

I'll change it in the code.

Best regards
Peter Blaha

Am 13.07.2022 um 20:53 schrieb Lee, Yongbin [A LAB]:
> Dear Wien2k community
> 
> It seems there is a bug in dipan.f.
> 
> In line 341,  dipole anisotropy energy is defined as
> dipa=-10.**7*(coef_an/(2.*volume))*tmom(jat)*dipf(i)
> However, "coef_an" is given as 3.129232 (line 78) that is already
> counted (1/2) factor for the double summation.
> 
> Therefore, I think, dipole anisotropy energy (line 341) should be
> 
> dipa=-10.**7*(coef_an/(volume))*tmom(jat)*dipf(i)
> 
>    without factor 2 in the denominator.
> 
> Best,
> Yongbin
> 
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> SEARCH the MAILING-LIST at:  http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html

-- 
--------------------------------------------------------------------------
Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna
Phone: +43-1-58801-165300
Email: peter.blaha at tuwien.ac.at    WIEN2k: http://www.wien2k.at
WWW:   http://www.imc.tuwien.ac.at
-------------------------------------------------------------------------


More information about the Wien mailing list