Last change
on this file since 1243 was
1019,
checked in by emillour, 11 years ago
|
Common dynamics; keep up with updates (seq and ) in LMDZ5 (up tio rev 1845):
- General stuff:
- makelmdz_fcm: add options -j # (compile using # threads) and -full, and to keep up
with Earth model, possibility to compile with various versions of orchidee
- bld.cfg: adaptations to enable compiling using multiple threads
- build_gcm: adaptations to enable compiling using multiple threads
- makelmdz: keep up with Earth model: possibility to compile with various versions of orchidee + cosmetic changes + library directory name change
- bibio:
- wxios.F90 : Added for possible future use of XIOS library
- filtrez:
- mkl_dft_type.f90 & mkl_dfti.f90 : MKL (for MKL FFT) interface definitions
- filtreg_mod : limit use of FFT to parallel mode
- mod_filtre_fft.F90 & mod_filtre_fft_lov.F90 : swich to use parallel_lmdz
- dyn3d:
- abort_gcm.F : add things for xios
- advtrac.F90 : minor change in CFL outputs
- ce0l.F90 : indicesol.h is now module indice_sol_mod
- comvert.h : cosmetic change on comments
- gcm.F : add xios and use module indice_sol_mod (for INCA)
- inigeom.F : move two computations outside loop
- dyn3dpar:
- parallel.F90 => parallel_lmdz.F90 : and change all the "use parallel" into
"use parallel_lmdz" in all files in dyn3dpar
- comvert.h : cosmetic change on comments
- gcm.F : add xios and use module indice_sol_mod (for INCA)
- leapfrog_p.F : add xios + correction for times in Newtonian case
- ce0l.F90 : indicesol.h is now module indice_sol_mod
- inigeom.F : move two computations outside loop
EM
|
File size:
1.4 KB
|
Line | |
---|
1 | SUBROUTINE vitvert_p ( convm , w ) |
---|
2 | c |
---|
3 | USE parallel_lmdz |
---|
4 | IMPLICIT NONE |
---|
5 | |
---|
6 | c======================================================================= |
---|
7 | c |
---|
8 | c Auteurs: P. Le Van , F. Hourdin . |
---|
9 | c ------- |
---|
10 | c |
---|
11 | c Objet: |
---|
12 | c ------ |
---|
13 | c |
---|
14 | c ******************************************************************* |
---|
15 | c .... calcul de la vitesse verticale aux niveaux sigma .... |
---|
16 | c ******************************************************************* |
---|
17 | c convm est un argument d'entree pour le s-pg ...... |
---|
18 | c w est un argument de sortie pour le s-pg ...... |
---|
19 | c |
---|
20 | c la vitesse verticale est orientee de haut en bas . |
---|
21 | c au sol, au niveau sigma(1), w(i,j,1) = 0. |
---|
22 | c au sommet, au niveau sigma(llm+1) , la vit.verticale est aussi |
---|
23 | c egale a 0. et n'est pas stockee dans le tableau w . |
---|
24 | c |
---|
25 | c |
---|
26 | c======================================================================= |
---|
27 | |
---|
28 | #include "dimensions.h" |
---|
29 | #include "paramet.h" |
---|
30 | #include "comvert.h" |
---|
31 | |
---|
32 | REAL w(ip1jmp1,llm),convm(ip1jmp1,llm) |
---|
33 | INTEGER l, ij,ijb,ije |
---|
34 | |
---|
35 | |
---|
36 | ijb=ij_begin |
---|
37 | ije=ij_end+iip1 |
---|
38 | |
---|
39 | if (pole_sud) ije=ij_end |
---|
40 | c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) |
---|
41 | DO 2 l = 1,llmm1 |
---|
42 | |
---|
43 | DO 1 ij = ijb,ije |
---|
44 | w( ij, l+1 ) = convm( ij, l+1 ) - bp(l+1) * convm( ij, 1 ) |
---|
45 | 1 CONTINUE |
---|
46 | |
---|
47 | 2 CONTINUE |
---|
48 | c$OMP END DO |
---|
49 | c$OMP MASTER |
---|
50 | DO 5 ij = ijb,ije |
---|
51 | w(ij,1) = 0. |
---|
52 | 5 CONTINUE |
---|
53 | c$OMP END MASTER |
---|
54 | c$OMP BARRIER |
---|
55 | RETURN |
---|
56 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.