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, ONLY: iip1, iip2, iip3, jjp1, llmp1, llmp2, llmm1, kftd, ip1jm, ip1jmp1, & |
---|
17 | ip1jmi1, ijp1llm, ijmllm, mvar, jcfil, jcfllm |
---|
18 | USE advect_new_mod,ONLY : advect_new_allocate |
---|
19 | IMPLICIT NONE |
---|
20 | TYPE(distrib),POINTER :: d |
---|
21 | |
---|
22 | |
---|
23 | d=>distrib_caldyn |
---|
24 | CALL allocate_u(p,llmp1,d) |
---|
25 | CALL allocate_u(deltap,llm,d) |
---|
26 | CALL allocate_u(ps,d) |
---|
27 | ps(:)=0 |
---|
28 | |
---|
29 | |
---|
30 | END SUBROUTINE integrd_allocate |
---|
31 | |
---|
32 | SUBROUTINE integrd_switch_caldyn(dist) |
---|
33 | USE allocate_field_mod |
---|
34 | USE bands |
---|
35 | USE parallel_lmdz |
---|
36 | IMPLICIT NONE |
---|
37 | TYPE(distrib),INTENT(IN) :: dist |
---|
38 | |
---|
39 | CALL switch_u(p,distrib_caldyn,dist) |
---|
40 | CALL switch_u(deltap,distrib_caldyn,dist) |
---|
41 | CALL switch_u(ps,distrib_caldyn,dist) |
---|
42 | |
---|
43 | |
---|
44 | |
---|
45 | END SUBROUTINE integrd_switch_caldyn |
---|
46 | |
---|
47 | |
---|
48 | |
---|
49 | END MODULE integrd_mod |
---|