HvD: Extended this routine to let it handle double complex global arrays in addition to regular double precision global arrays. In this implementation it is assumed that the norm of a complex number is a double precision value. Hence the result from the double complex implementation is the same as that from the regular double precision implementation. 
HvD: Extended this routine to let it handle double complex global arrays in
addition to regular double precision global arrays. In this implementation it
is assumed that the norm of a complex number is a double precision value.
Hence the result from the double complex implementation is the same as that
from the regular double precision implementation. 

In addition, if the GA is neither a double precision of double complex array
the routine will now abort. This should avoid confusing results...





rangsimanketkaew/NWChem