1 | MODULE integrd_mod |
---|
2 | |
---|
3 | REAL,POINTER,SAVE :: p(:,:) |
---|
4 | REAL,POINTER,SAVE :: deltap(:,:) |
---|
5 | REAL,POINTER,SAVE :: ps(:) |
---|
6 | |
---|
7 | |
---|
8 | |
---|
9 | CONTAINS |
---|
10 | |
---|
11 | SUBROUTINE integrd_allocate |
---|
12 | USE bands |
---|
13 | USE allocate_field_mod |
---|
14 | USE parallel_lmdz |
---|
15 | USE dimensions_mod, ONLY: iim, jjm, llm, ndm |
---|
16 | USE paramet_mod_h |
---|
17 | USE advect_new_mod,ONLY : advect_new_allocate |
---|
18 | IMPLICIT NONE |
---|
19 | TYPE(distrib),POINTER :: d |
---|
20 | |
---|
21 | |
---|
22 | d=>distrib_caldyn |
---|
23 | CALL allocate_u(p,llmp1,d) |
---|
24 | CALL allocate_u(deltap,llm,d) |
---|
25 | CALL allocate_u(ps,d) |
---|
26 | ps(:)=0 |
---|
27 | |
---|
28 | |
---|
29 | END SUBROUTINE integrd_allocate |
---|
30 | |
---|
31 | SUBROUTINE integrd_switch_caldyn(dist) |
---|
32 | USE allocate_field_mod |
---|
33 | USE bands |
---|
34 | USE parallel_lmdz |
---|
35 | IMPLICIT NONE |
---|
36 | TYPE(distrib),INTENT(IN) :: dist |
---|
37 | |
---|
38 | CALL switch_u(p,distrib_caldyn,dist) |
---|
39 | CALL switch_u(deltap,distrib_caldyn,dist) |
---|
40 | CALL switch_u(ps,distrib_caldyn,dist) |
---|
41 | |
---|
42 | |
---|
43 | |
---|
44 | END SUBROUTINE integrd_switch_caldyn |
---|
45 | |
---|
46 | |
---|
47 | |
---|
48 | END MODULE integrd_mod |
---|