#include "implicit_f.inc"
#include "task_c.inc"
Go to the source code of this file.
|
| subroutine | thsurf (j1, j2, l1, l2, ithbuf, wa, fsavsurf, iform, nsurf) |
◆ thsurf()
| subroutine thsurf |
( |
integer, intent(in) | j1, |
|
|
integer, intent(in) | j2, |
|
|
integer, intent(in) | l1, |
|
|
integer, intent(in) | l2, |
|
|
integer, dimension(*), intent(in) | ithbuf, |
|
|
dimension(*), intent(inout) | wa, |
|
|
dimension(th_surf_num_channel,nsurf), intent(in) | fsavsurf, |
|
|
integer, intent(in) | iform, |
|
|
integer, intent(in) | nsurf ) |
Definition at line 32 of file thsurf.F.
33
34
35
37
38
39
40#include "implicit_f.inc"
41
42
43
44#include "task_c.inc"
45
46
47
48 INTEGER,INTENT(IN) :: J1,J2,L1,L2,NSURF
49 INTEGER,INTENT(IN) :: ITHBUF(*),IFORM
52
53
54
55 INTEGER I,J,K,L,II
56
57
58
59
60
61 IF (ispmd == 0) THEN
62 ii = 0
63 DO j=j1,j2
64 DO l=l1,l2
65 ii=ii+1
66 wa(ii) = zero
67 ENDDO
68 ENDDO
69
70 ii = 0
71 DO j=j1,j2
72 i=ithbuf(j)
73 IF(i > 0)THEN
74 DO l=l1,l2
75 k=ithbuf(l)
76 ii=ii+1
77 wa(ii)=fsavsurf(k,i)
78 ENDDO
79 ENDIF
80 ENDDO
81 IF(ii>0)
CALL wrtdes(wa,wa,ii,iform,1)
82 ENDIF
83
84 RETURN
OPTION /TH/SURF outputs of Pressure and Area needed Tabs.
integer, parameter th_surf_num_channel
number of /TH/SURF channels : AREA, VELOCITY, MASSFLOW, P A, MASS
subroutine wrtdes(a, ia, l, iform, ir)