[Pw_forum] query on e-ph matrix element
Axel Kohlmeyer
akohlmey at gmail.com
Tue Dec 13 00:57:43 CET 2011
On Mon, Dec 12, 2011 at 6:44 PM, Ajit Vallabhaneni <avallabh at purdue.edu> wrote:
> Dear Paolo
>
> Can you please explain what the variable "zdotc" in elphon.f90 exactly does? I think it calculates the derivative of the potential. It is declared as an external variable but i couldnot figure out the location it has been calculated. Can you show me the the path as well where it is calculated ?
zdotc is not a variable but a BLAS function:
NAME
ZDOTC - forms the dot product of a vector
SYNOPSIS
DOUBLE COMPLEX FUNCTION ZDOTC(N,ZX,INCX,ZY,INCY)
INTEGER INCX,INCY,N
DOUBLE COMPLEX ZX(*),ZY(*)
PURPOSE
ZDOTC forms the dot product of a vector.
please note the difference in the meaning of "external"
between C and Fortran. ;)
cheers,
axel.
>
> Thanks
> Ajit
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://www.democritos.it/mailman/listinfo/pw_forum
--
Dr. Axel Kohlmeyer
akohlmey at gmail.com http://goo.gl/1wk0
College of Science and Technology
Temple University, Philadelphia PA, USA.
More information about the users
mailing list