|
Last change
on this file since 3803 was
3794,
checked in by slebonnois, 6 months ago
|
|
SL: VenusPCM - update of CIA in solar module (adapted from Generic PCM) + potential output of band-resolved net flux
|
|
File size:
1.7 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 | ! We don't care about the others |
|---|
| 42 | ! but initialized in order to avoid problems in interpolate_continuum.F90 |
|---|
| 43 | igas_H2=99 |
|---|
| 44 | igas_He=99 |
|---|
| 45 | igas_N2=99 |
|---|
| 46 | igas_CH4=99 |
|---|
| 47 | igas_O2=99 |
|---|
| 48 | |
|---|
| 49 | vgas=0 |
|---|
| 50 | if(.not.allocated(gfrac)) allocate(gfrac(ngasmx)) |
|---|
| 51 | ! ICI, yCO2 est ajuste pour compenser l'absence de N2 dans la liste des gas... |
|---|
| 52 | ! (non radiativement actif...) |
|---|
| 53 | gfrac(1)=0.965 |
|---|
| 54 | gfrac(2)=0.311000000E-04 |
|---|
| 55 | gfrac(3)=0.180000000E-03 |
|---|
| 56 | gfrac(4)=0.120000000E-04 |
|---|
| 57 | gfrac(5)=0.510000000E-04 |
|---|
| 58 | ! ces valeurs ne servent pas... Seules les valeurs utilisées dans le calcul des spectres jouent. |
|---|
| 59 | ! Les valeurs reproduites ici correspondent aux valeurs à la surface (VenusNoCIA). |
|---|
| 60 | |
|---|
| 61 | do igas=1,ngasmx |
|---|
| 62 | write(*,*) gnom(igas),gfrac(igas) |
|---|
| 63 | enddo |
|---|
| 64 | print*,"end su_gases ***" |
|---|
| 65 | |
|---|
| 66 | !$OMP END MASTER |
|---|
| 67 | !$OMP BARRIER |
|---|
| 68 | |
|---|
| 69 | end subroutine su_gases |
|---|
Note: See
TracBrowser
for help on using the repository browser.