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
|
Rev | Line | |
---|
[1] | 1 | SUBROUTINE convmas2_p ( convm ) |
---|
| 2 | c |
---|
[1019] | 3 | USE parallel_lmdz |
---|
[1] | 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 convergence du flux de masse aux niveaux p ... |
---|
| 16 | c ******************************************************************** |
---|
| 17 | c |
---|
| 18 | c |
---|
| 19 | c pbaru et pbarv sont des arguments d'entree pour le s-pg .... |
---|
| 20 | c ..... convm est un argument de sortie pour le s-pg .... |
---|
| 21 | c |
---|
| 22 | c le calcul se fait de haut en bas, |
---|
| 23 | c la convergence de masse au niveau p(llm+1) est egale a 0. et |
---|
| 24 | c n'est pas stockee dans le tableau convm . |
---|
| 25 | c |
---|
| 26 | c |
---|
| 27 | c======================================================================= |
---|
| 28 | c |
---|
| 29 | c Declarations: |
---|
| 30 | c ------------- |
---|
| 31 | |
---|
| 32 | #include "dimensions.h" |
---|
| 33 | #include "paramet.h" |
---|
| 34 | #include "comvert.h" |
---|
| 35 | #include "logic.h" |
---|
| 36 | |
---|
| 37 | REAL pbaru( ip1jmp1,llm ),pbarv( ip1jm,llm ) |
---|
| 38 | REAL :: convm( ip1jmp1,llm ) |
---|
| 39 | INTEGER l,ij |
---|
| 40 | INTEGER ijb,ije,jjb,jje |
---|
| 41 | |
---|
| 42 | c$OMP MASTER |
---|
| 43 | c integration de la convergence de masse de haut en bas ...... |
---|
| 44 | ijb=ij_begin |
---|
| 45 | ije=ij_end+iip1 |
---|
| 46 | if (pole_sud) ije=ij_end |
---|
| 47 | |
---|
| 48 | DO l = llmm1, 1, -1 |
---|
| 49 | DO ij = ijb, ije |
---|
| 50 | convm(ij,l) = convm(ij,l) + convm(ij,l+1) |
---|
| 51 | ENDDO |
---|
| 52 | ENDDO |
---|
| 53 | c |
---|
| 54 | c$OMP END MASTER |
---|
| 55 | RETURN |
---|
| 56 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.