Last change
on this file since 5095 was
5086,
checked in by abarral, 4 months ago
|
convert labeled do (f77) to do .. end do
|
-
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
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.2 KB
|
Rev | Line | |
---|
[524] | 1 | ! |
---|
| 2 | ! $Header$ |
---|
| 3 | ! |
---|
| 4 | SUBROUTINE nxgrad (klevel, rot, x, y ) |
---|
| 5 | c |
---|
| 6 | c P. Le Van |
---|
| 7 | c |
---|
| 8 | c ******************************************************************** |
---|
| 9 | c calcul du gradient tourne de pi/2 du rotationnel du vect.v |
---|
| 10 | c ******************************************************************** |
---|
| 11 | c rot est un argument d'entree pour le s-prog |
---|
| 12 | c x et y sont des arguments de sortie pour le s-prog |
---|
| 13 | c |
---|
| 14 | IMPLICIT NONE |
---|
| 15 | c |
---|
[4593] | 16 | INCLUDE "dimensions.h" |
---|
| 17 | INCLUDE "paramet.h" |
---|
| 18 | INCLUDE "comgeom.h" |
---|
[524] | 19 | INTEGER klevel |
---|
| 20 | REAL rot( ip1jm,klevel ),x( ip1jmp1,klevel ),y(ip1jm,klevel ) |
---|
| 21 | INTEGER l,ij |
---|
| 22 | c |
---|
| 23 | c |
---|
[5086] | 24 | DO l = 1,klevel |
---|
[524] | 25 | c |
---|
[5086] | 26 | DO ij = 2, ip1jm |
---|
[524] | 27 | y( ij,l ) = ( rot( ij,l ) - rot( ij-1,l ) ) * cvsurcuv( ij ) |
---|
[5086] | 28 | END DO |
---|
[524] | 29 | c |
---|
| 30 | c ..... correction pour y ( 1,j,l ) ...... |
---|
| 31 | c |
---|
| 32 | c .... y(1,j,l)= y(iip1,j,l) .... |
---|
| 33 | CDIR$ IVDEP |
---|
[5086] | 34 | DO ij = 1, ip1jm, iip1 |
---|
[524] | 35 | y( ij,l ) = y( ij +iim,l ) |
---|
[5086] | 36 | END DO |
---|
[524] | 37 | c |
---|
[5086] | 38 | DO ij = iip2,ip1jm |
---|
[524] | 39 | x( ij,l ) = ( rot( ij,l ) - rot( ij -iip1,l ) ) * cusurcvu( ij ) |
---|
[5086] | 40 | END DO |
---|
| 41 | DO ij = 1,iip1 |
---|
[524] | 42 | x( ij ,l ) = 0. |
---|
| 43 | x( ij +ip1jm,l ) = 0. |
---|
[5086] | 44 | END DO |
---|
[524] | 45 | c |
---|
[5086] | 46 | END DO |
---|
[524] | 47 | RETURN |
---|
| 48 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.