source: LMDZ5/trunk/libf/dyn3dmem/invert_lat.F90 @ 1907

Last change on this file since 1907 was 1907, checked in by lguez, 10 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: 454 bytes
Line 
1
2SUBROUTINE invert_lat(xsize,ysize,vsize,field)
3
4    IMPLICIT NONE
5 
6! Input variables
7    INTEGER, INTENT(IN) :: xsize,ysize,vsize
8    REAL, DIMENSION (xsize,ysize,vsize), INTENT(INOUT) :: field
9! Local variables
10    REAL, DIMENSION (xsize,ysize,vsize)                :: f_aux
11    INTEGER :: l,j
12 
13    DO l=1,vsize
14        DO j=1,ysize
15            f_aux(:,j,l)=field(:,ysize+1-j,l)
16        END DO
17    END DO
18   
19    field=f_aux
20
21    END SUBROUTINE invert_lat
Note: See TracBrowser for help on using the repository browser.