source: trunk/LMDZ.COMMON/libf/evolution/lask_param_mod.F90 @ 2909

Last change on this file since 2909 was 2855, checked in by llange, 2 years ago

PEM
Documentation of the main subroutines, and variables.
Unused programs have been removed.
LL

File size: 1.3 KB
Line 
1module lask_param_mod
2!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
3!!!
4!!! Purpose: Define parameters from Laskar et al., 2004 evolution
5!!!
6!!! Author: RV
7!!!
8!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
9
10implicit none
11
12  real,save,allocatable :: yearlask(:)          ! year before present from Laskar et al. Tab
13  real,save,allocatable :: oblask(:)            ! obliquity [deg]
14  real,save,allocatable :: exlask(:)            ! excentricity[deg]
15  real,save,allocatable :: lsplask(:)           ! ls perihelie [deg]
16  integer, save :: last_ilask                   ! Index of the line in the file year_obl_lask.asc corresponding to the closest lower year to the current year
17
18contains
19
20  subroutine ini_lask_param_mod(nlask)
21 
22  implicit none
23  integer,intent(in) :: nlask ! number of line
24 
25  allocate(yearlask(nlask))
26  allocate(oblask(nlask))
27  allocate(exlask(nlask))
28  allocate(lsplask(nlask))
29 
30  end subroutine ini_lask_param_mod
31
32
33  subroutine end_lask_param_mod
34
35  implicit none
36
37  if (allocated(yearlask)) deallocate(yearlask)
38  if (allocated(oblask)) deallocate(oblask)
39  if (allocated(exlask)) deallocate(exlask)
40  if (allocated(lsplask)) deallocate(lsplask)
41
42  end subroutine end_lask_param_mod
43 
44end module lask_param_mod
Note: See TracBrowser for help on using the repository browser.