38
39
40
44 USE sensor_mod
45 USE output_mod
47 USE output_mod
48
49
50
51#include "implicit_f.inc"
52
53
54
55#include "com01_c.inc"
56#include "com06_c.inc"
57#include "com08_c.inc"
58#include "scr07_c.inc"
59#include "scr16_c.inc"
60#include "task_c.inc"
61
62
63
64 TYPE (SENSORS_) ,INTENT(INOUT) :: SENSORS
65 TYPE (H3D_DATABASE) ,INTENT(INOUT) :: H3D_DATA
66 TYPE (DYNAIN_DATABASE),INTENT(INOUT) :: DYNAIN_DATA
67 TYPE(OUTPUT_) ,INTENT(INOUT) :: OUTPUT
68
69
70
71 INTEGER :: I,J,ISENS
72
73
74
75 IF (sensors%NSTOP > 0 ) THEN
76 DO i=1,sensors%NSTOP
77 isens = sensors%STOP(i)
78 IF (sensors%SENSOR_TAB(isens)%STATUS == 1) THEN
79 IF(ispmd == 0)THEN
80 CALL ancmsg(msgid=234,anmode=aninfo,
81 . i1 = sensors%SENSOR_TAB(isens)%SENS_ID)
82 ENDIF
83
84 mstop=1
85 mrest = 1
86
87 IF (sensors%STOP_NSTH > 0) output%TH%THIS = tt
88 IF (sensors%STOP_NSANIM > 0) output%TANIM = tt
89 IF (sensors%STOP_NSSTAT > 0) tstat = tt
90 IF (sensors%STOP_NSOUTP > 0) toutp = tt
91 IF (sensors%STOP_NSH3D > 0) h3d_data%TH3D = tt
92 IF (nsdynanin > 0) dynain_data%TDYNAIN = tt
93 IF (sensors%STOP_NSABF > 0) THEN
94 DO j=1,10
95 IF (abfile(j) >= 0) THEN
96 tabfis(j) = tt
97 tabfwr(j) = tt
98 ENDIF
99 ENDDO
100 ENDIF
101 EXIT
102 ENDIF
103 ENDDO
104 ENDIF
105
106 RETURN
subroutine ancmsg(msgid, msgtype, anmode, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, r1, r2, r3, r4, r5, r6, r7, r8, r9, c1, c2, c3, c4, c5, c6, c7, c8, c9, prmode)