source: LMDZ5/trunk/libf/dyn3dmem/integrd_mod.F90 @ 1972

Last change on this file since 1972 was 1907, checked in by lguez, 11 years ago

Added a copyright property to every file of the distribution, except
for the fcm files (which have their own copyright). Use svn propget on
a file to see the copyright. For instance:

$ svn propget copyright libf/phylmd/physiq.F90
Name of program: LMDZ
Creation date: 1984
Version: LMDZ5
License: CeCILL version 2
Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
See the license file in the root directory

Also added the files defining the CeCILL version 2 license, in French
and English, at the top of the LMDZ tree.

  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
File size: 851 bytes
RevLine 
[1632]1MODULE integrd_mod
2
3  REAL,POINTER,SAVE :: p(:,:)
4  REAL,POINTER,SAVE :: deltap(:,:)
5  REAL,POINTER,SAVE :: ps(:)
6
7
8 
9CONTAINS
10
11  SUBROUTINE integrd_allocate
12  USE bands
[1810]13  USE allocate_field_mod
[1823]14  USE parallel_lmdz
[1810]15  USE dimensions_mod
[1632]16  USE advect_new_mod,ONLY : advect_new_allocate
17  IMPLICIT NONE
18  TYPE(distrib),POINTER :: d
19
20
21    d=>distrib_caldyn
22    CALL allocate_u(p,llmp1,d)
23    CALL allocate_u(deltap,llm,d)
24    CALL allocate_u(ps,d)
25
26   
27  END SUBROUTINE integrd_allocate
28 
29  SUBROUTINE integrd_switch_caldyn(dist)
[1810]30  USE allocate_field_mod
[1632]31  USE bands
[1823]32  USE parallel_lmdz
[1632]33  IMPLICIT NONE
34    TYPE(distrib),INTENT(IN) :: dist
35
36    CALL switch_u(p,distrib_caldyn,dist)
37    CALL switch_u(deltap,distrib_caldyn,dist)
38    CALL switch_u(ps,distrib_caldyn,dist)
39
40   
41   
42  END SUBROUTINE integrd_switch_caldyn
43 
44
45 
46END MODULE integrd_mod 
Note: See TracBrowser for help on using the repository browser.