Last change
on this file was
3466,
checked in by emillour, 2 months ago
|
Mars PCM:
More tidying in aeronomars:
- remove unused "inv.F" and remove "dtridgl.F" which is not used here and
is a duplicate of the "dtridgl" routine in phymars/swr_toon.F
- turn aeronomars routines to modules, for those which aren't in modules yet.
EM
|
File size:
999 bytes
|
Line | |
---|
1 | module chemthermos_readini_mod |
---|
2 | |
---|
3 | implicit none |
---|
4 | |
---|
5 | contains |
---|
6 | |
---|
7 | subroutine chemthermos_readini |
---|
8 | |
---|
9 | use param_v4_h, only: rcoef |
---|
10 | implicit none |
---|
11 | |
---|
12 | c local variables |
---|
13 | real*8 rc1,rc2,rc3 |
---|
14 | integer ierr,i |
---|
15 | |
---|
16 | c*************************+PROGRAM STARTS************************** |
---|
17 | |
---|
18 | !Opens external file to read reaction coefficients |
---|
19 | open(unit=10,file='chemthermos_reactionrates.def',status='old', |
---|
20 | $ iostat=ierr) |
---|
21 | if(ierr.eq.0) then |
---|
22 | read(10,*) |
---|
23 | do i=1,61 |
---|
24 | read(10,*) |
---|
25 | read(10,*) |
---|
26 | read(10,*) rc1,rc2,rc3 |
---|
27 | rcoef(i,1)=rc1 |
---|
28 | rcoef(i,2)=rc2 |
---|
29 | rcoef(i,3)=rc3 |
---|
30 | enddo |
---|
31 | close(10) |
---|
32 | else |
---|
33 | write(*,*) |
---|
34 | call abort_physic("chemthermos_readini", |
---|
35 | & 'Cannot find file chemthermos_reactionrates.def',1) |
---|
36 | endif |
---|
37 | |
---|
38 | end subroutine chemthermos_readini |
---|
39 | |
---|
40 | end module chemthermos_readini_mod |
---|
Note: See
TracBrowser
for help on using the repository browser.