Directory: | ./ |
---|---|
File: | dyn_phys/gr_dyn_fi.f |
Date: | 2022-01-11 19:19:34 |
Exec | Total | Coverage | |
---|---|---|---|
Lines: | 9 | 9 | 100.0% |
Branches: | 5 | 6 | 83.3% |
Line | Branch | Exec | Source |
---|---|---|---|
1 | ! | ||
2 | ! $Header$ | ||
3 | ! | ||
4 | 1441 | SUBROUTINE gr_dyn_fi(nfield,im,jm,ngrid,pdyn,pfi) | |
5 | IMPLICIT NONE | ||
6 | c======================================================================= | ||
7 | c passage d'un champ de la grille scalaire a la grille physique | ||
8 | c======================================================================= | ||
9 | |||
10 | c----------------------------------------------------------------------- | ||
11 | c declarations: | ||
12 | c ------------- | ||
13 | |||
14 | INTEGER im,jm,ngrid,nfield | ||
15 | REAL pdyn(im,jm,nfield) | ||
16 | REAL pfi(ngrid,nfield) | ||
17 | |||
18 | INTEGER j,ifield,ig | ||
19 | |||
20 | c----------------------------------------------------------------------- | ||
21 | c calcul: | ||
22 | c ------- | ||
23 | |||
24 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1441 times.
|
1441 | IF(ngrid.NE.2+(jm-2)*(im-1)) STOP 'probleme de dim' |
25 | c traitement des poles | ||
26 | 1441 | CALL SCOPY(nfield,pdyn,im*jm,pfi,ngrid) | |
27 | 1441 | CALL SCOPY(nfield,pdyn(1,jm,1),im*jm,pfi(ngrid,1),ngrid) | |
28 | |||
29 | c traitement des point normaux | ||
30 |
2/2✓ Branch 0 taken 37921 times.
✓ Branch 1 taken 1441 times.
|
39362 | DO ifield=1,nfield |
31 |
2/2✓ Branch 0 taken 1175551 times.
✓ Branch 1 taken 37921 times.
|
1214913 | DO j=2,jm-1 |
32 | 1175551 | ig=2+(j-2)*(im-1) | |
33 | 1213472 | CALL SCOPY(im-1,pdyn(1,j,ifield),1,pfi(ig,ifield),1) | |
34 | ENDDO | ||
35 | ENDDO | ||
36 | |||
37 | 1441 | RETURN | |
38 | END | ||
39 |