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.1 KB
|
Rev | Line | |
---|
[1] | 1 | ! |
---|
[776] | 2 | ! $Id: gr_dyn_fi_p.F 1615 2012-02-10 15:42:26Z emillour $ |
---|
[1] | 3 | ! |
---|
| 4 | SUBROUTINE gr_dyn_fi_p(nfield,im,jm,ngrid,pdyn,pfi) |
---|
[776] | 5 | #ifdef CPP_PHYS |
---|
[1] | 6 | ! Interface with parallel physics, |
---|
| 7 | USE mod_interface_dyn_phys |
---|
| 8 | USE dimphy |
---|
[1019] | 9 | USE parallel_lmdz |
---|
[1] | 10 | IMPLICIT NONE |
---|
| 11 | c======================================================================= |
---|
| 12 | c passage d'un champ de la grille scalaire a la grille physique |
---|
| 13 | c======================================================================= |
---|
| 14 | |
---|
| 15 | c----------------------------------------------------------------------- |
---|
| 16 | c declarations: |
---|
| 17 | c ------------- |
---|
| 18 | |
---|
| 19 | INTEGER im,jm,ngrid,nfield |
---|
| 20 | REAL pdyn(im,jm,nfield) |
---|
| 21 | REAL pfi(ngrid,nfield) |
---|
| 22 | |
---|
| 23 | INTEGER i,j,ig,l |
---|
| 24 | |
---|
| 25 | c----------------------------------------------------------------------- |
---|
| 26 | c calcul: |
---|
| 27 | c ------- |
---|
| 28 | |
---|
| 29 | c IF(ngrid.NE.2+(jm-2)*(im-1)) STOP 'probleme de dim' |
---|
| 30 | c traitement des poles |
---|
| 31 | c traitement des point normaux |
---|
| 32 | c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) |
---|
| 33 | DO l=1,nfield |
---|
| 34 | DO ig=1,klon |
---|
| 35 | i=index_i(ig) |
---|
| 36 | j=index_j(ig) |
---|
| 37 | pfi(ig,l)=pdyn(i,j,l) |
---|
| 38 | ENDDO |
---|
| 39 | ENDDO |
---|
| 40 | c$OMP END DO NOWAIT |
---|
| 41 | #endif |
---|
[776] | 42 | ! of #ifdef CPP_PHYS |
---|
[1] | 43 | RETURN |
---|
| 44 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.