#include "implicit_f.inc"
#include "com04_c.inc"
Go to the source code of this file.
|
| subroutine | fvthsurf (nseg, ntgi, surf_eltyp, eltg, itag, surf_elem) |
◆ fvthsurf()
| subroutine fvthsurf |
( |
integer | nseg, |
|
|
integer | ntgi, |
|
|
integer, dimension(*) | surf_eltyp, |
|
|
integer, dimension(*) | eltg, |
|
|
integer, dimension(*) | itag, |
|
|
integer, dimension(*) | surf_elem ) |
Definition at line 28 of file fvthsurf.F.
29
30
31
32#include "implicit_f.inc"
33
34
35
36#include "com04_c.inc"
37
38
39
40 INTEGER NSEG, NTGI, ELTG(*),SURF_ELTYP(*),SURF_ELEM(*)
41 INTEGER ITAG(*)
42
43
44
45 INTEGER I, J, K, N, ITY
46
47 itag(1:ntgi+1)=0
48 DO i=1,nseg
49 ity=surf_eltyp(i)
50 n =surf_elem(i)
51 IF(ity == 7) n=n+numelc
52 DO j=1,ntgi
53 k=eltg(j)
54 IF(k == n) THEN
55 itag(1)=itag(1)+1
56 itag(j+1)=1
57 ENDIF
58 ENDDO
59 ENDDO
60
61 RETURN