#include "implicit_f.inc"
#include "com04_c.inc"
Go to the source code of this file.
◆ check_surf()
| subroutine check_surf |
( |
type (surf_), dimension(nsurf) | igrsurf | ) |
|
Definition at line 30 of file check_surf.F.
31
32
33
36
37
38
39#include "implicit_f.inc"
40
41
42
43#include "com04_c.inc"
44
45
46
47 TYPE (SURF_) , DIMENSION(NSURF) :: IGRSURF
48
49
50
51 INTEGER I, J, K, NSEG
52
53
54
55
56 DO i=1,nsurf
57 nseg = igrsurf(i)%NSEG
58 igrsurf(i)%ISH4N3N = 1
59 DO j = 1,nseg
60 k = igrsurf(i)%ELTYP(j)
61 IF(k /= 3 .AND. k /= 7) THEN
62 igrsurf(i)%ISH4N3N = 0
63 cycle
64 ENDIF
65 ENDDO
66 ENDDO
67
68 RETURN