Changeset 3409 for trunk/LMDZ.PLUTO/libf/phypluto/dsolver.F
- Timestamp:
- Aug 20, 2024, 12:12:40 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.PLUTO/libf/phypluto/dsolver.F
r3184 r3409 40 40 41 41 L=2*NL 42 42 43 43 C ************MIXED COEFFICENTS********** 44 44 C THIS VERSION AVOIDS SINGULARITIES ASSOC. … … 53 53 54 54 C EVEN TERMS 55 55 56 56 DO I=2,LM2,2 57 57 N = N+1 58 AF(I) = (E1(N)+E3(N))*(GAMA(N+1)-1.) 58 AF(I) = (E1(N)+E3(N))*(GAMA(N+1)-1.) 59 59 BF(I) = (E2(N)+E4(N))*(GAMA(N+1)-1.) 60 IF (BF(I).eq.0) THEN 61 BF(I) = 1e-16 62 END IF 60 63 CF(I) = 2.0*(1.-GAMA(N+1)**2) 61 64 DF(I) = (GAMA(N+1)-1.) * (CPM1(N+1) - CP(N)) + 62 65 * (1.-GAMA(N+1))* (CM(N)-CMM1(N+1)) 63 66 END DO 64 67 65 68 N = 0 66 69 LM1 = L-1 … … 69 72 AF(I) = 2.0*(1.-GAMA(N)**2) 70 73 BF(I) = (E1(N)-E3(N))*(1.+GAMA(N+1)) 74 IF (BF(I).eq.0) THEN 75 BF(I) = 1e-16 76 END IF 71 77 CF(I) = (E1(N)+E3(N))*(GAMA(N+1)-1.) 72 78 DF(I) = E3(N)*(CPM1(N+1) - CP(N)) + E1(N)*(CM(N) - CMM1(N+1)) 73 79 END DO 74 80 75 81 AF(L) = E1(NL)-RSF*E3(NL) 76 82 BF(L) = E2(NL)-RSF*E4(NL) 83 IF (BF(L).eq.0) THEN 84 BF(L) = 1e-16 85 END IF 77 86 CF(L) = 0.0 78 87 DF(L) = BSURF-CP(NL)+RSF*CM(NL) 79 88 80 89 CALL DTRIDGL(L,AF,BF,CF,DF,XK) 81 90 82 91 C ***UNMIX THE COEFFICIENTS**** 83 92 … … 98 107 99 108 28 CONTINUE 100 109 101 110 RETURN 102 111 END
Note: See TracChangeset
for help on using the changeset viewer.