Last change
on this file since 1985 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
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.4 KB
|
Rev | Line | |
---|
[630] | 1 | SUBROUTINE covcont_p (klevel,ucov, vcov, ucont, vcont ) |
---|
[1823] | 2 | USE parallel_lmdz |
---|
[630] | 3 | IMPLICIT NONE |
---|
| 4 | |
---|
| 5 | c======================================================================= |
---|
| 6 | c |
---|
| 7 | c Auteur: P. Le Van |
---|
| 8 | c ------- |
---|
| 9 | c |
---|
| 10 | c Objet: |
---|
| 11 | c ------ |
---|
| 12 | c |
---|
| 13 | c ********************************************************************* |
---|
| 14 | c calcul des compos. contravariantes a partir des comp.covariantes |
---|
| 15 | c ******************************************************************** |
---|
| 16 | c |
---|
| 17 | c======================================================================= |
---|
| 18 | |
---|
| 19 | #include "dimensions.h" |
---|
| 20 | #include "paramet.h" |
---|
| 21 | #include "comgeom.h" |
---|
| 22 | |
---|
| 23 | INTEGER klevel |
---|
| 24 | REAL ucov( ip1jmp1,klevel ), vcov( ip1jm,klevel ) |
---|
| 25 | REAL ucont( ip1jmp1,klevel ), vcont( ip1jm,klevel ) |
---|
| 26 | INTEGER l,ij |
---|
| 27 | INTEGER ijb_u,ijb_v,ije_u,ije_v |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | ijb_u=ij_begin-iip1 |
---|
| 31 | ijb_v=ij_begin-iip1 |
---|
| 32 | ije_u=ij_end+iip1 |
---|
| 33 | ije_v=ij_end+iip1 |
---|
| 34 | |
---|
| 35 | if (pole_nord) then |
---|
| 36 | ijb_u=ij_begin+iip1 |
---|
| 37 | ijb_v=ij_begin |
---|
| 38 | endif |
---|
| 39 | |
---|
| 40 | if (pole_sud) then |
---|
| 41 | ije_u=ij_end-iip1 |
---|
| 42 | ije_v=ij_end-iip1 |
---|
| 43 | endif |
---|
[764] | 44 | |
---|
| 45 | c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) |
---|
[630] | 46 | DO 10 l = 1,klevel |
---|
| 47 | |
---|
| 48 | DO 2 ij = ijb_u,ije_u |
---|
| 49 | ucont( ij,l ) = ucov( ij,l ) * unscu2( ij ) |
---|
| 50 | 2 CONTINUE |
---|
| 51 | |
---|
| 52 | DO 4 ij = ijb_v,ije_v |
---|
| 53 | vcont( ij,l ) = vcov( ij,l ) * unscv2( ij ) |
---|
| 54 | 4 CONTINUE |
---|
| 55 | |
---|
| 56 | 10 CONTINUE |
---|
[764] | 57 | c$OMP END DO NOWAIT |
---|
[630] | 58 | RETURN |
---|
| 59 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.