Last change
on this file since 1684 was
1047,
checked in by emillour, 11 years ago
|
Mars GCM:
- IMPORTANT CHANGE: Removed all reference/use of ngridmx (dimphys.h) in
routines (necessary prerequisite to using parallel dynamics); in most
cases this just means adding 'ngrid' as routine argument, and making
local saved variables allocatable (and allocated at first call).
In the process, had to convert many *.h files to equivalent
modules: yomaer.h => yomaer_h.F90 , surfdat.h => surfdat_h.F90 ,
comsaison.h => comsaison_h.F90 , yomlw.h => yomlw_h.F90 ,
comdiurn.h => comdiurn_h.F90 , dimradmars.h => dimradmars_mod.F90 ,
comgeomfi.h => comgeomfi_h.F90, comsoil.h => comsoil_h.F90 ,
slope.h => slope_mod.F90
- Also updated EOF routines, everything is now in eofdump_mod.F90
- Removed unused routine lectfux.F (in dyn3d)
EM
|
File size:
416 bytes
|
Line | |
---|
1 | module slope_mod |
---|
2 | |
---|
3 | implicit none |
---|
4 | |
---|
5 | real,save,allocatable :: theta_sl(:) ! slope angle versus horizontal (deg) |
---|
6 | real,save,allocatable :: psi_sl(:) ! slope orientation (deg) |
---|
7 | |
---|
8 | contains |
---|
9 | |
---|
10 | subroutine ini_slope_mod(ngrid) |
---|
11 | |
---|
12 | implicit none |
---|
13 | integer,intent(in) :: ngrid ! number of atmospheric columns |
---|
14 | |
---|
15 | allocate(theta_sl(ngrid)) |
---|
16 | allocate(psi_sl(ngrid)) |
---|
17 | |
---|
18 | end subroutine ini_slope_mod |
---|
19 | |
---|
20 | end module slope_mod |
---|
Note: See
TracBrowser
for help on using the repository browser.