~albertog/siesta/efield-2.5-jjunquera

« back to all changes in this revision

Viewing changes to Src/linpack.F

  • Committer: Alberto Garcia
  • Date: 2007-11-22 21:31:50 UTC
  • mfrom: (unknown (missing))
  • Revision ID: Arch-1:siesta@uam.es--2006%siesta-devel--reference--2.5--patch-1
Merged COOP/COHP functionality
Merged the COOP/COHP/PDOS code from the 2.1 branch complex.

��-- Functionality changes:

* The wavefunction file is now in WFSX format (well-packed, single-precision, and thus
significantly smaller). The Util/wfsx2wfs program can be used to re-generate the old format.

* The xijo array (for relative positions between interacting orbitals) is always produced.

-- New features:

Option COOP.Write triggers the creation of a wavefunction file (for the SCF-k-point set)
and an HSX file (enhanced HS format) that can later be processed by Util/COOP/mprop
for the off-line generation of COOP/COHP/(P)DOS.

(replayed patch-1 of outlier branch ref-2.4)


Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
      subroutine zgedi(a,lda,n,ipvt,det,work,job)
2
 
      integer lda,n,ipvt(1),job
3
 
      complex*16 a(lda,1),det(2),work(1)
 
2
      integer lda,n,ipvt(*),job
 
3
      complex*16 a(lda,*),det(2),work(*)
4
4
c
5
5
c     zgedi computes the determinant and inverse of a matrix
6
6
c     using the factors computed by zgeco or zgefa.
151
151
      end
152
152
 
153
153
      subroutine zgefa(a,lda,n,ipvt,info)
154
 
      integer lda,n,ipvt(1),info
155
 
      complex*16 a(lda,1)
 
154
      integer lda,n,ipvt(*),info
 
155
      complex*16 a(lda,*)
156
156
c
157
157
c     zgefa factors a complex*16 matrix by gaussian elimination.
158
158
c
276
276
c
277
277
      integer n,incx
278
278
      integer :: ix, i
279
 
      complex*16 zx(1)
 
279
      complex*16 zx(*)
280
280
      double precision smax
281
281
      double precision sdcabs1
282
282
c