Changeset 3597 for trunk/LMDZ.VENUS/libf
- Timestamp:
- Jan 22, 2025, 3:47:23 PM (35 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.VENUS/libf/phyvenus/photolysis_mod.F90
r3530 r3597 1571 1571 REAL y1(kdata) 1572 1572 INTEGER ierr, dummy 1573 INTEGER i, n 1574 1573 INTEGER i, n, iopt 1575 1574 CHARACTER*100 fil 1576 1575 integer :: kin, kout ! input/output logical units … … 1578 1577 kin = 10 1579 1578 1580 fil = 'cross_sections/s2_millsBestEst_1560_5059.txt' 1581 print*, 'section efficace S2: ', fil 1579 !--------------------------------------------------------------------------------- 1580 ! iopt = 1 Frank Mills' best estimate (1998) 1581 ! iopt = 2 Benjamin Frandsen calculation (personal communication, 2024) 1582 !--------------------------------------------------------------------------------- 1583 1584 iopt = 2 1585 1586 if (iopt == 1) then 1587 fil = 'cross_sections/s2_millsBestEst_1560_5059.txt' 1588 else if (iopt == 2) then 1589 fil = 'cross_sections/s2_cross_sections_frandsen.txt' 1590 end if 1582 1591 1583 1592 if(is_master) then 1584 1593 1594 print*, 'S2 cross-section : ', fil 1585 1595 OPEN(UNIT=kin,FILE=fil,STATUS='old') 1586 1587 n = 1203 1588 DO i = 1, n 1589 READ(kin,*) x1(i), y1(i) 1590 x1(i) = x1(i)/10 1591 END DO 1596 1597 if (iopt == 1) then 1598 n = 1203 1599 do i = 1, n 1600 read(kin,*) x1(i), y1(i) 1601 x1(i) = x1(i)/10. 1602 end do 1603 else if (iopt == 2) then 1604 n = 406 1605 do i = 1, 4 1606 read(kin,*) 1607 end do 1608 do i = 1, n 1609 read(kin,*) x1(i), y1(i) 1610 end do 1611 end if 1612 1592 1613 CLOSE (kin) 1593 1614
Note: See TracChangeset
for help on using the changeset viewer.