Directory: | ./ |
---|---|
File: | dyn/dteta1.f |
Date: | 2022-01-11 19:19:34 |
Exec | Total | Coverage | |
---|---|---|---|
Lines: | 15 | 15 | 100.0% |
Branches: | 8 | 8 | 100.0% |
Line | Branch | Exec | Source |
---|---|---|---|
1 | ! | ||
2 | ! $Header$ | ||
3 | ! | ||
4 | 2881 | SUBROUTINE dteta1 ( teta, pbaru, pbarv, dteta) | |
5 | IMPLICIT NONE | ||
6 | |||
7 | c======================================================================= | ||
8 | c | ||
9 | c Auteur: P. Le Van | ||
10 | c ------- | ||
11 | c Modif F.Forget 03/94 (on retire q et dq pour construire dteta1) | ||
12 | c | ||
13 | c ******************************************************************** | ||
14 | c ... calcul du terme de convergence horizontale du flux d'enthalpie | ||
15 | c potentielle ...... | ||
16 | c ******************************************************************** | ||
17 | c .. teta,pbaru et pbarv sont des arguments d'entree pour le s-pg .... | ||
18 | c dteta sont des arguments de sortie pour le s-pg .... | ||
19 | c | ||
20 | c======================================================================= | ||
21 | |||
22 | |||
23 | include "dimensions.h" | ||
24 | include "paramet.h" | ||
25 | |||
26 | REAL teta( ip1jmp1,llm ),pbaru( ip1jmp1,llm ),pbarv( ip1jm,llm) | ||
27 | REAL dteta( ip1jmp1,llm ) | ||
28 | INTEGER l,ij | ||
29 | |||
30 | REAL hbyv( ip1jm,llm ), hbxu( ip1jmp1,llm ) | ||
31 | |||
32 | c | ||
33 | |||
34 |
2/2✓ Branch 0 taken 112359 times.
✓ Branch 1 taken 2881 times.
|
115240 | DO 5 l = 1,llm |
35 | |||
36 |
2/2✓ Branch 0 taken 114830898 times.
✓ Branch 1 taken 112359 times.
|
114943257 | DO 1 ij = iip2, ip1jm - 1 |
37 | 114830898 | hbxu(ij,l) = pbaru(ij,l) * 0.5 * ( teta(ij,l) + teta(ij+1,l) ) | |
38 | 112359 | 1 CONTINUE | |
39 | |||
40 | c .... correction pour hbxu(iip1,j,l) ..... | ||
41 | c .... hbxu(iip1,j,l)= hbxu(1,j,l) .... | ||
42 | |||
43 | CDIR$ IVDEP | ||
44 | 3483129 | DO 2 ij = iip1+ iip1, ip1jm, iip1 | |
45 |
2/2✓ Branch 0 taken 3370770 times.
✓ Branch 1 taken 112359 times.
|
3483129 | hbxu( ij, l ) = hbxu( ij - iim, l ) |
46 | 112359 | 2 CONTINUE | |
47 | |||
48 | |||
49 |
2/2✓ Branch 0 taken 118651104 times.
✓ Branch 1 taken 112359 times.
|
118763463 | DO 3 ij = 1,ip1jm |
50 | 118651104 | hbyv(ij,l)= pbarv(ij, l)* 0.5 * ( teta(ij, l)+ teta(ij +iip1,l) ) | |
51 | 112359 | 3 CONTINUE | |
52 | |||
53 | 2881 | 5 CONTINUE | |
54 | |||
55 | |||
56 | 2881 | CALL convflu ( hbxu, hbyv, llm, dteta ) | |
57 | |||
58 | |||
59 | c stockage dans dh de la convergence horizont. filtree' du flux | ||
60 | c .... ........... | ||
61 | c d'enthalpie potentielle . | ||
62 | |||
63 | 2881 | CALL filtreg( dteta, jjp1, llm, 2, 2, .true., 1) | |
64 | |||
65 | c | ||
66 | 2881 | RETURN | |
67 | END | ||
68 |