#include "implicit_f.inc"
#include "com08_c.inc"
#include "scr05_c.inc"
#include "vectorize.inc"
Go to the source code of this file.
◆ flow_depla()
| subroutine flow_depla |
( |
integer, dimension(*) | nale, |
|
|
| v, |
|
|
| d, |
|
|
integer | nodft, |
|
|
integer | nodlt ) |
Definition at line 28 of file flow_depla.F.
30
31
32
33#include "implicit_f.inc"
34
35
36
37#include "com08_c.inc"
38#include "scr05_c.inc"
39
40
41
42 INTEGER NODFT, NODLT, NALE(*)
44
45
46
47 INTEGER :: N
49 DOUBLE PRECISION VDT2
50
51
52
53
54 IF (iresp==1) THEN
55#include "vectorize.inc"
56 DO n=nodft,nodlt
57 IF(nale(n) == 3) THEN
58 vdt2 = dt2*v(1,n)
59 d(1,n)=d(1,n)+vdt2
60
61
62
63 vdt2 = dt2*v(2,n)
64 d(2,n)=d(2,n)+vdt2
65
66
67
68 vdt2 = dt2*v(3,n)
69 d(3,n)=d(3,n)+vdt2
70
71
72
73 ENDIF
74 ENDDO
75 ELSE
76#include "vectorize.inc"
77 DO n=nodft,nodlt
78 IF(nale(n) == 3) THEN
79 vdt = dt2*v(1,n)
80 d(1,n)=d(1,n)+vdt
81
82 vdt = dt2*v(2,n)
83 d(2,n)=d(2,n)+vdt
84
85 vdt = dt2*v(3,n)
86 d(3,n)=d(3,n)+vdt
87
88 ENDIF
89 ENDDO
90 ENDIF
91
92 RETURN