root / src / Step_DIIS.f90 @ 2
Historique | Voir | Annoter | Télécharger (10,33 ko)
| 1 | 1 | pfleura2 | !C HEAT is never used, not even in call of Space(...) |
|---|---|---|---|
| 2 | 1 | pfleura2 | !C XPARAM = input parameter vector (Geometry). |
| 3 | 1 | pfleura2 | !C Grad = input gradient vector. |
| 4 | 1 | pfleura2 | SUBROUTINE Step_DIIS(XP,XPARAM,GP,GRAD,HP,HEAT,Hess,NVAR,FRST) |
| 5 | 1 | pfleura2 | !SUBROUTINE DIIS(XPARAM,STEP,GRAD,HP,HEAT,Hess,NVAR,FRST) |
| 6 | 1 | pfleura2 | ! IMPLICIT DOUBLE PRECISION (A-H,O-Z) |
| 7 | 1 | pfleura2 | IMPLICIT NONE |
| 8 | 1 | pfleura2 | integer, parameter :: KINT = kind(1) |
| 9 | 1 | pfleura2 | integer, parameter :: KREAL = kind(1.0d0) |
| 10 | 1 | pfleura2 | |
| 11 | 1 | pfleura2 | ! INCLUDE 'SIZES' |
| 12 | 1 | pfleura2 | |
| 13 | 1 | pfleura2 | INTEGER(KINT) :: NVAR |
| 14 | 1 | pfleura2 | REAL(KREAL) :: XP(NVAR), XPARAM(NVAR), GP(NVAR), GRAD(NVAR), Hess(NVAR*NVAR) |
| 15 | 1 | pfleura2 | !REAL(KREAL) :: Hess_inv(NVAR,NVAR),XPARAM_old(NVAR),STEP(NVAR) |
| 16 | 1 | pfleura2 | REAL(KREAL) :: HEAT, HP |
| 17 | 1 | pfleura2 | LOGICAL :: FRST |
| 18 | 1 | pfleura2 | |
| 19 | 1 | pfleura2 | !************************************************************************ |
| 20 | 1 | pfleura2 | !* * |
| 21 | 1 | pfleura2 | !* DIIS PERFORMS DIRECT INVERSION IN THE ITERATIVE SUBSPACE * |
| 22 | 1 | pfleura2 | !* * |
| 23 | 1 | pfleura2 | !* THIS INVOLVES SOLVING FOR C IN XPARAM(NEW) = XPARAM' - HG' * |
| 24 | 1 | pfleura2 | !* * |
| 25 | 1 | pfleura2 | !* WHERE XPARAM' = SUM(C(I)XPARAM(I), THE C COEFFICIENTES COMING FROM * |
| 26 | 1 | pfleura2 | !* * |
| 27 | 1 | pfleura2 | !* | B 1 | . | C | = | 0 | * |
| 28 | 1 | pfleura2 | !* | 1 0 | |-L | | 1 | * |
| 29 | 1 | pfleura2 | !* * |
| 30 | 1 | pfleura2 | !* WHERE B(I,J) =GRAD(I)H(T)HGRAD(J) GRAD(I) = GRADIENT ON CYCLE I * |
| 31 | 1 | pfleura2 | !* Hess = INVERSE HESSIAN * |
| 32 | 1 | pfleura2 | !* * |
| 33 | 1 | pfleura2 | !* REFERENCE * |
| 34 | 1 | pfleura2 | !* * |
| 35 | 1 | pfleura2 | !* P. CSASZAR, P. PULAY, J. MOL. STRUCT. (THEOCHEM), 114, 31 (1984) * |
| 36 | 1 | pfleura2 | !* * |
| 37 | 1 | pfleura2 | !************************************************************************ |
| 38 | 1 | pfleura2 | !************************************************************************ |
| 39 | 1 | pfleura2 | !* * |
| 40 | 1 | pfleura2 | !* GEOMETRY OPTIMIZATION USING THE METHOD OF DIRECT INVERSION IN * |
| 41 | 1 | pfleura2 | !* THE ITERATIVE SUBSPACE (GDIIS), COMBINED WITH THE BFGS OPTIMIZER * |
| 42 | 1 | pfleura2 | !* (A VARIABLE METRIC METHOD) * |
| 43 | 1 | pfleura2 | !* * |
| 44 | 1 | pfleura2 | !* WRITTEN BY PETER L. CUMMINS, UNIVERSITY OF SYDNEY, AUSTRALIA * |
| 45 | 1 | pfleura2 | !* * |
| 46 | 1 | pfleura2 | !* REFERENCE * |
| 47 | 1 | pfleura2 | !* * |
| 48 | 1 | pfleura2 | !* "COMPUTATIONAL STRATEGIES FOR THE OPTIMIZATION OF EQUILIBRIUM * |
| 49 | 1 | pfleura2 | !* GEOMETRIES AND TRANSITION-STATE STRUCTURES AT THE SEMIEMPIRICAL * |
| 50 | 1 | pfleura2 | !* LEVEL", PETER L. CUMMINS, JILL E. GREADY, J. COMP. CHEM., 10, * |
| 51 | 1 | pfleura2 | !* 939-950 (1989). * |
| 52 | 1 | pfleura2 | !* * |
| 53 | 1 | pfleura2 | !* MODIFIED BY JJPS TO CONFORM TO EXISTING MOPAC CONVENTIONS * |
| 54 | 1 | pfleura2 | !* * |
| 55 | 1 | pfleura2 | !************************************************************************ |
| 56 | 1 | pfleura2 | |
| 57 | 1 | pfleura2 | ! MRESET = number of iterations. |
| 58 | 1 | pfleura2 | INTEGER(KINT), PARAMETER :: MRESET=15, M2=(MRESET+1)*(MRESET+1) !M2 = 256 |
| 59 | 1 | pfleura2 | REAL(KREAL), ALLOCATABLE, SAVE :: XSET(:),GSET(:),ERR(:) ! MRESET*NVAR |
| 60 | 1 | pfleura2 | REAL(KREAL) :: ESET(MRESET) |
| 61 | 1 | pfleura2 | REAL(KREAL), ALLOCATABLE, SAVE :: DX(:),GSAVE(:) !NVAR |
| 62 | 2 | pfleura2 | REAL(KREAL) :: B(M2), BS(M2) |
| 63 | 1 | pfleura2 | LOGICAL DEBUG, PRINT |
| 64 | 1 | pfleura2 | INTEGER(KINT), SAVE :: MSET |
| 65 | 1 | pfleura2 | INTEGER(KINT) :: NDIIS, MPLUS, INV, ITERA, MM |
| 66 | 1 | pfleura2 | INTEGER(KINT) :: I,J,K, JJ, KJ, JNV, II, IONE, IJ, INK,ITmp |
| 67 | 1 | pfleura2 | REAL(KREAL) :: XMax, XNorm, S, DET, THRES |
| 68 | 1 | pfleura2 | |
| 69 | 1 | pfleura2 | DEBUG=.TRUE. |
| 70 | 1 | pfleura2 | PRINT=.TRUE. |
| 71 | 1 | pfleura2 | |
| 72 | 1 | pfleura2 | IF (PRINT) WRITE(*,'(/,'' BEGIN GDIIS '')') |
| 73 | 1 | pfleura2 | |
| 74 | 1 | pfleura2 | !XPARAM_old = XPARAM |
| 75 | 1 | pfleura2 | |
| 76 | 1 | pfleura2 | ! Initialization |
| 77 | 1 | pfleura2 | IF (FRST) THEN |
| 78 | 1 | pfleura2 | ! FRST will be set to False in Space, so no need to modify it here |
| 79 | 1 | pfleura2 | IF (ALLOCATED(XSET)) THEN |
| 80 | 1 | pfleura2 | IF (PRINT) WRITE(*,'(/,'' In FRST, GDIIS Dealloc '')') |
| 81 | 1 | pfleura2 | DEALLOCATE(XSet,GSET,ERR,DX,GSave) |
| 82 | 1 | pfleura2 | RETURN |
| 83 | 1 | pfleura2 | ELSE |
| 84 | 1 | pfleura2 | IF (PRINT) WRITE(*,'(/,'' In FRST, GDIIS alloc '')') |
| 85 | 1 | pfleura2 | ALLOCATE(XSet(MRESET*NVAR), GSet(MRESET*NVAR), ERR(MRESET*NVAR)) |
| 86 | 1 | pfleura2 | ALLOCATE(DX(NVAR),GSAVE(NVAR)) |
| 87 | 1 | pfleura2 | END IF |
| 88 | 1 | pfleura2 | END IF |
| 89 | 1 | pfleura2 | !C |
| 90 | 1 | pfleura2 | !C SPACE SIMPLY LOADS THE CURRENT VALUES OF XPARAM AND GRAD INTO |
| 91 | 1 | pfleura2 | !C THE ARRAYS XSET AND GSET |
| 92 | 1 | pfleura2 | !C |
| 93 | 1 | pfleura2 | !C HEAT is never used, not even in Space(...) |
| 94 | 1 | pfleura2 | CALL SPACE(MRESET,MSET,XPARAM,GRAD,HEAT,NVAR,XSET,GSET,ESET,FRST) |
| 95 | 1 | pfleura2 | |
| 96 | 1 | pfleura2 | IF (PRINT) WRITE(*,'(/,'' GDIIS after Space '')') |
| 97 | 1 | pfleura2 | |
| 98 | 1 | pfleura2 | ! INITIALIZE SOME VARIABLES AND CONSTANTS: |
| 99 | 1 | pfleura2 | NDIIS = MSET |
| 100 | 1 | pfleura2 | MPLUS = MSET + 1 |
| 101 | 1 | pfleura2 | MM = MPLUS * MPLUS |
| 102 | 1 | pfleura2 | |
| 103 | 1 | pfleura2 | ! COMPUTE THE APPROXIMATE ERROR VECTORS: |
| 104 | 1 | pfleura2 | INV=-NVAR |
| 105 | 1 | pfleura2 | DO 30 I=1,MSET |
| 106 | 1 | pfleura2 | INV = INV + NVAR |
| 107 | 1 | pfleura2 | DO 30 J=1,NVAR |
| 108 | 1 | pfleura2 | S = 0.D0 |
| 109 | 1 | pfleura2 | KJ=(J*(J-1))/2 |
| 110 | 1 | pfleura2 | DO 10 K=1,J |
| 111 | 1 | pfleura2 | KJ = KJ+1 |
| 112 | 1 | pfleura2 | 10 S = S - Hess(KJ) * GSET(INV+K) |
| 113 | 1 | pfleura2 | DO 20 K=J+1,NVAR |
| 114 | 1 | pfleura2 | KJ = (K*(K-1))/2+J |
| 115 | 1 | pfleura2 | 20 S = S - Hess(KJ) * GSET(INV+K) |
| 116 | 1 | pfleura2 | 30 ERR(INV+J) = S |
| 117 | 1 | pfleura2 | |
| 118 | 1 | pfleura2 | |
| 119 | 1 | pfleura2 | |
| 120 | 1 | pfleura2 | ! CONSTRUCT THE GDIIS MATRIX: |
| 121 | 1 | pfleura2 | ! initialization (not really needed) |
| 122 | 1 | pfleura2 | DO I=1,MM |
| 123 | 1 | pfleura2 | B(I) = 1.D0 |
| 124 | 1 | pfleura2 | END DO |
| 125 | 1 | pfleura2 | |
| 126 | 1 | pfleura2 | ! B_ij calculations from <e_i|e_j> |
| 127 | 1 | pfleura2 | JJ=0 |
| 128 | 1 | pfleura2 | INV=-NVAR |
| 129 | 1 | pfleura2 | DO 50 I=1,MSET |
| 130 | 1 | pfleura2 | INV=INV+NVAR |
| 131 | 1 | pfleura2 | JNV=-NVAR |
| 132 | 1 | pfleura2 | DO 50 J=1,MSET |
| 133 | 1 | pfleura2 | JNV=JNV+NVAR |
| 134 | 1 | pfleura2 | JJ = JJ + 1 |
| 135 | 1 | pfleura2 | B(JJ)=0.D0 |
| 136 | 1 | pfleura2 | DO 50 K=1,NVAR |
| 137 | 1 | pfleura2 | 50 B(JJ) = B(JJ) + ERR(INV+K) * ERR(JNV+K) |
| 138 | 1 | pfleura2 | |
| 139 | 1 | pfleura2 | ! The following shifting is required to correct indices of B_ij elements in the GDIIS matrix. |
| 140 | 1 | pfleura2 | ! The correction is needed because the last coloumn of the matrix contains all 1 and one zero. |
| 141 | 1 | pfleura2 | DO 60 I=MSET-1,1,-1 |
| 142 | 1 | pfleura2 | DO 60 J=MSET,1,-1 |
| 143 | 1 | pfleura2 | 60 B(I*MSET+J+I) = B(I*MSET+J) |
| 144 | 1 | pfleura2 | |
| 145 | 1 | pfleura2 | ! For last row and last column of GDIIS matrix |
| 146 | 1 | pfleura2 | DO 70 I=1,MPLUS |
| 147 | 1 | pfleura2 | B(MPLUS*I) = 1.D0 |
| 148 | 1 | pfleura2 | 70 B(MPLUS*MSET+I) = 1.D0 |
| 149 | 1 | pfleura2 | B(MM) = 0.D0 |
| 150 | 1 | pfleura2 | |
| 151 | 1 | pfleura2 | ! ELIMINATE ERROR VECTORS WITH THE LARGEST NORM: |
| 152 | 1 | pfleura2 | 80 CONTINUE |
| 153 | 1 | pfleura2 | DO 90 I=1,MM |
| 154 | 1 | pfleura2 | 90 BS(I) = B(I) |
| 155 | 1 | pfleura2 | IF (NDIIS .EQ. MSET) GO TO 140 |
| 156 | 1 | pfleura2 | DO 130 II=1,MSET-NDIIS |
| 157 | 1 | pfleura2 | XMAX = -1.D10 |
| 158 | 1 | pfleura2 | ITERA = 0 |
| 159 | 1 | pfleura2 | DO 110 I=1,MSET |
| 160 | 1 | pfleura2 | XNORM = 0.D0 |
| 161 | 1 | pfleura2 | INV = (I-1) * MPLUS |
| 162 | 1 | pfleura2 | DO 100 J=1,MSET |
| 163 | 1 | pfleura2 | 100 XNORM = XNORM + ABS(B(INV + J)) |
| 164 | 1 | pfleura2 | IF (XMAX.LT.XNORM .AND. XNORM.NE.1.0D0) THEN |
| 165 | 1 | pfleura2 | XMAX = XNORM |
| 166 | 1 | pfleura2 | ITERA = I |
| 167 | 1 | pfleura2 | IONE = INV + I |
| 168 | 1 | pfleura2 | ENDIF |
| 169 | 1 | pfleura2 | 110 CONTINUE |
| 170 | 1 | pfleura2 | DO 120 I=1,MPLUS |
| 171 | 1 | pfleura2 | INV = (I-1) * MPLUS |
| 172 | 1 | pfleura2 | DO 120 J=1,MPLUS |
| 173 | 1 | pfleura2 | JNV = (J-1) * MPLUS |
| 174 | 1 | pfleura2 | IF (J.EQ.ITERA) B(INV + J) = 0.D0 |
| 175 | 1 | pfleura2 | B(JNV + I) = B(INV + J) |
| 176 | 1 | pfleura2 | 120 CONTINUE |
| 177 | 1 | pfleura2 | B(IONE) = 1.0D0 |
| 178 | 1 | pfleura2 | 130 CONTINUE |
| 179 | 1 | pfleura2 | 140 CONTINUE |
| 180 | 1 | pfleura2 | |
| 181 | 1 | pfleura2 | IF (DEBUG) THEN |
| 182 | 1 | pfleura2 | |
| 183 | 1 | pfleura2 | ! OUTPUT THE GDIIS MATRIX: |
| 184 | 1 | pfleura2 | WRITE(*,'(/5X,'' GDIIS MATRIX'')') |
| 185 | 1 | pfleura2 | ITmp=min(12,MPLUS) |
| 186 | 1 | pfleura2 | DO IJ=1,MPLUS |
| 187 | 1 | pfleura2 | WRITE(*,'(12(F10.4,1X))') B((IJ-1)*MPLUS+1:(IJ-1)*MPLUS+ITmp) |
| 188 | 1 | pfleura2 | END DO |
| 189 | 1 | pfleura2 | ENDIF |
| 190 | 1 | pfleura2 | |
| 191 | 1 | pfleura2 | ! SCALE DIIS MATRIX BEFORE INVERSION: |
| 192 | 1 | pfleura2 | |
| 193 | 1 | pfleura2 | DO I=1,MPLUS |
| 194 | 1 | pfleura2 | II = MPLUS * (I-1) + I |
| 195 | 1 | pfleura2 | GSAVE(I) = 1.D0 / DSQRT(1.D-20+DABS(B(II))) |
| 196 | 1 | pfleura2 | END DO |
| 197 | 1 | pfleura2 | |
| 198 | 1 | pfleura2 | GSAVE(MPLUS) = 1.D0 |
| 199 | 1 | pfleura2 | DO I=1,MPLUS |
| 200 | 1 | pfleura2 | DO J=1,MPLUS |
| 201 | 1 | pfleura2 | IJ = MPLUS * (I-1) + J |
| 202 | 1 | pfleura2 | B(IJ) = B(IJ) * GSAVE(I) * GSAVE(J) |
| 203 | 1 | pfleura2 | END DO |
| 204 | 1 | pfleura2 | END DO |
| 205 | 1 | pfleura2 | |
| 206 | 1 | pfleura2 | IF (DEBUG) THEN |
| 207 | 1 | pfleura2 | ! OUTPUT SCALED GDIIS MATRIX: |
| 208 | 1 | pfleura2 | WRITE(*,'(/5X,'' GDIIS MATRIX (SCALED)'')') |
| 209 | 1 | pfleura2 | ITmp=min(12,MPLUS) |
| 210 | 1 | pfleura2 | DO IJ=1,MPLUS |
| 211 | 1 | pfleura2 | WRITE(*,'(12(F10.4,1X))') B((IJ-1)*MPLUS+1:(IJ-1)*MPLUS+ITmp) |
| 212 | 1 | pfleura2 | END DO |
| 213 | 1 | pfleura2 | |
| 214 | 1 | pfleura2 | ENDIF ! matches IF (DEBUG) THEN |
| 215 | 1 | pfleura2 | |
| 216 | 1 | pfleura2 | ! INVERT THE GDIIS MATRIX B: |
| 217 | 1 | pfleura2 | CALL MINV(B,MPLUS,DET) ! matrix inversion. |
| 218 | 1 | pfleura2 | |
| 219 | 1 | pfleura2 | DO I=1,MPLUS |
| 220 | 1 | pfleura2 | DO J=1,MPLUS |
| 221 | 1 | pfleura2 | IJ = MPLUS * (I-1) + J |
| 222 | 1 | pfleura2 | B(IJ) = B(IJ) * GSAVE(I) * GSAVE(J) |
| 223 | 1 | pfleura2 | END DO |
| 224 | 1 | pfleura2 | END DO |
| 225 | 1 | pfleura2 | |
| 226 | 1 | pfleura2 | ! COMPUTE THE INTERMEDIATE INTERPOLATED PARAMETER AND GRADIENT VECTORS: |
| 227 | 1 | pfleura2 | DO K=1,NVAR |
| 228 | 1 | pfleura2 | XP(K) = 0.D0 |
| 229 | 1 | pfleura2 | GP(K) = 0.D0 |
| 230 | 1 | pfleura2 | DO I=1,MSET |
| 231 | 1 | pfleura2 | INK = (I-1) * NVAR + K |
| 232 | 1 | pfleura2 | !Print *, 'B(',MPLUS*MSET+I,')=', B(MPLUS*MSET+I)
|
| 233 | 1 | pfleura2 | XP(K) = XP(K) + B(MPLUS*MSET+I) * XSET(INK) |
| 234 | 1 | pfleura2 | GP(K) = GP(K) + B(MPLUS*MSET+I) * GSET(INK) |
| 235 | 1 | pfleura2 | END DO |
| 236 | 1 | pfleura2 | END DO |
| 237 | 1 | pfleura2 | |
| 238 | 1 | pfleura2 | HP=0.D0 |
| 239 | 1 | pfleura2 | DO I=1,MSET |
| 240 | 1 | pfleura2 | HP=HP+B(MPLUS*MSET+I)*ESET(I) |
| 241 | 1 | pfleura2 | END DO |
| 242 | 1 | pfleura2 | |
| 243 | 1 | pfleura2 | DO K=1,NVAR |
| 244 | 1 | pfleura2 | DX(K) = XPARAM(K) - XP(K) |
| 245 | 1 | pfleura2 | END DO |
| 246 | 1 | pfleura2 | XNORM = SQRT(DOT_PRODUCT(DX,DX)) |
| 247 | 1 | pfleura2 | IF (PRINT) THEN |
| 248 | 1 | pfleura2 | WRITE (6,'(/10X,''DEVIATION IN X '',F7.4,8X,''DETERMINANT '',G9.3)') XNORM,DET |
| 249 | 1 | pfleura2 | WRITE(*,'(10X,''GDIIS COEFFICIENTS'')') |
| 250 | 1 | pfleura2 | WRITE(*,'(10X,5F12.5)') (B(MPLUS*MSET+I),I=1,MSET) |
| 251 | 1 | pfleura2 | ENDIF |
| 252 | 1 | pfleura2 | |
| 253 | 1 | pfleura2 | ! THE FOLLOWING TOLERENCES FOR XNORM AND DET ARE SOMEWHAT ARBITRARY! |
| 254 | 1 | pfleura2 | THRES = MAX(10.D0**(-NVAR), 1.D-25) |
| 255 | 1 | pfleura2 | IF (XNORM.GT.2.D0 .OR. DABS(DET).LT. THRES) THEN |
| 256 | 1 | pfleura2 | IF (PRINT)THEN |
| 257 | 1 | pfleura2 | WRITE(*,*) "THE DIIS MATRIX IS ILL CONDITIONED" |
| 258 | 1 | pfleura2 | WRITE(*,*) " - PROBABLY, VECTORS ARE LINEARLY DEPENDENT - " |
| 259 | 1 | pfleura2 | WRITE(*,*) "THE DIIS STEP WILL BE REPEATED WITH A SMALLER SPACE" |
| 260 | 1 | pfleura2 | END IF |
| 261 | 1 | pfleura2 | DO K=1,MM |
| 262 | 1 | pfleura2 | B(K) = BS(K) |
| 263 | 1 | pfleura2 | END DO |
| 264 | 1 | pfleura2 | NDIIS = NDIIS - 1 |
| 265 | 1 | pfleura2 | IF (NDIIS .GT. 0) GO TO 80 |
| 266 | 1 | pfleura2 | IF (PRINT) WRITE(*,'(10X,''NEWTON-RAPHSON STEP TAKEN'')') |
| 267 | 1 | pfleura2 | DO K=1,NVAR |
| 268 | 1 | pfleura2 | XP(K) = XPARAM(K) |
| 269 | 1 | pfleura2 | GP(K) = GRAD(K) |
| 270 | 1 | pfleura2 | END DO |
| 271 | 1 | pfleura2 | ENDIF ! matches IF (XNORM.GT.2.D0 .OR. DABS(DET).LT. THRES) THEN |
| 272 | 1 | pfleura2 | |
| 273 | 1 | pfleura2 | ! q_{m+1} = q'_{m+1} - H^{-1}g'_{m+1}
|
| 274 | 1 | pfleura2 | ! Hess is a symmetric matrix. |
| 275 | 1 | pfleura2 | !Hess_inv = 1.d0 ! to be deleted. |
| 276 | 1 | pfleura2 | !Call GenInv(NVAR,Reshape(Hess,(/NVAR,NVAR/)),Hess_inv,NVAR) ! Implemented in Mat_util.f90 |
| 277 | 1 | pfleura2 | ! H^{-1}g'_{m+1}
|
| 278 | 1 | pfleura2 | !Print *, 'Hess_inv=' |
| 279 | 1 | pfleura2 | !Print *, Hess_inv |
| 280 | 1 | pfleura2 | !XPARAM=0.d0 |
| 281 | 1 | pfleura2 | !DO I=1, NVAR |
| 282 | 1 | pfleura2 | !XPARAM(:) = XPARAM(:) + Hess_inv(:,I)*GP(I) |
| 283 | 1 | pfleura2 | !END DO |
| 284 | 1 | pfleura2 | !XPARAM(:) = XP(:) - XPARAM(:) ! now XPARAM is a new geometry. |
| 285 | 1 | pfleura2 | |
| 286 | 1 | pfleura2 | !STEP is the difference between the new and old geometry and thus "step": |
| 287 | 1 | pfleura2 | !STEP = XPARAM - XPARAM_old |
| 288 | 1 | pfleura2 | |
| 289 | 1 | pfleura2 | IF (PRINT) WRITE(*,'(/,'' END GDIIS '',/)') |
| 290 | 1 | pfleura2 | |
| 291 | 1 | pfleura2 | END SUBROUTINE Step_DIIS |