Last change
on this file since 3461 was
2560,
checked in by slebonnois, 3 years ago
|
SL: Implementation of SW computation based on generic model. Switch between this new SW module or old module that reads R. Haus tables implemented with a key (solarchoice)
|
File size:
1.5 KB
|
Line | |
---|
1 | subroutine su_gases |
---|
2 | |
---|
3 | use gases_h |
---|
4 | |
---|
5 | implicit none |
---|
6 | |
---|
7 | integer igas, ierr, count |
---|
8 | |
---|
9 | !================================================================== |
---|
10 | ! |
---|
11 | ! Purpose |
---|
12 | ! ------- |
---|
13 | ! Load atmospheric composition info |
---|
14 | ! |
---|
15 | ! Authors |
---|
16 | ! ------- |
---|
17 | ! R. Wordsworth (2011) |
---|
18 | ! Allocatable arrays by A. Spiga (2011) |
---|
19 | ! |
---|
20 | !================================================================== |
---|
21 | |
---|
22 | !$OMP MASTER |
---|
23 | |
---|
24 | ! radiative gases names, linked to the corrk table. Hardcoded here... |
---|
25 | |
---|
26 | write(*,*) "*** sugases.F90: assigning gases for corrk table. Hardcoded..." |
---|
27 | ngasmx = 5 |
---|
28 | print*,ngasmx, " gases for corrk table. Allocating names and molar fractions..." |
---|
29 | if (.not.allocated(gnom)) allocate(gnom(ngasmx)) |
---|
30 | gnom(1)="CO2" |
---|
31 | igas_CO2=1 |
---|
32 | gnom(2)="H2O" |
---|
33 | igas_H2O=2 |
---|
34 | gnom(3)="SO2" |
---|
35 | igas_SO2=3 |
---|
36 | gnom(4)="CO" |
---|
37 | igas_CO=4 |
---|
38 | gnom(5)="OCS" |
---|
39 | igas_OCS=5 |
---|
40 | |
---|
41 | vgas=0 |
---|
42 | if(.not.allocated(gfrac)) allocate(gfrac(ngasmx)) |
---|
43 | ! ICI, yCO2 est ajuste pour compenser l'absence de N2 dans la liste des gas... |
---|
44 | ! (non radiativement actif...) |
---|
45 | gfrac(1)=0.965 |
---|
46 | gfrac(2)=0.311000000E-04 |
---|
47 | gfrac(3)=0.180000000E-03 |
---|
48 | gfrac(4)=0.120000000E-04 |
---|
49 | gfrac(5)=0.510000000E-04 |
---|
50 | ! ces valeurs ne servent pas... Seules les valeurs utilisées dans le calcul des spectres jouent. |
---|
51 | ! Les valeurs reproduites ici correspondent aux valeurs à la surface (VenusNoCIA). |
---|
52 | |
---|
53 | do igas=1,ngasmx |
---|
54 | write(*,*) gnom(igas),gfrac(igas) |
---|
55 | enddo |
---|
56 | print*,"end su_gases ***" |
---|
57 | |
---|
58 | !$OMP END MASTER |
---|
59 | !$OMP BARRIER |
---|
60 | |
---|
61 | end subroutine su_gases |
---|
Note: See
TracBrowser
for help on using the repository browser.