39
40
41
45 USE sensor_mod
48 USE output_mod
49
50
51
52#include "implicit_f.inc"
53
54
55
56#include "com01_c.inc"
57#include "com06_c.inc"
58#include "com08_c.inc"
59#include "scr07_c.inc"
60#include "scr16_c.inc"
61#include "task_c.inc"
62
63
64
65 TYPE (SENSORS_) ,INTENT(INOUT) :: SENSORS
66 TYPE (H3D_DATABASE) ,INTENT(INOUT) :: H3D_DATA
67 TYPE (DYNAIN_DATABASE),INTENT(INOUT) :: DYNAIN_DATA
68 TYPE(OUTPUT_) ,INTENT(INOUT) :: OUTPUT
69
70
71
72 INTEGER :: I,J,ISENS
73
74
75
76 IF (sensors%NSTOP > 0 ) THEN
77 DO i=1,sensors%NSTOP
78 isens = sensors%STOP(i)
79 IF (sensors%SENSOR_TAB(isens)%STATUS == 1) THEN
80 IF(ispmd == 0)THEN
81 CALL ancmsg(msgid=234,anmode=aninfo,
82 . i1 = sensors%SENSOR_TAB(isens)%SENS_ID)
83 ENDIF
84
85 mstop=1
86 mrest = 1
87
88 IF (sensors%STOP_NSTH > 0) output%TH%THIS = tt
89 IF (sensors%STOP_NSANIM > 0) tanim = tt
90 IF (sensors%STOP_NSSTAT > 0) tstat = tt
91 IF (sensors%STOP_NSOUTP > 0) toutp = tt
92 IF (sensors%STOP_NSH3D > 0) h3d_data%TH3D = tt
93 IF (nsdynanin > 0) dynain_data%TDYNAIN = tt
94 IF (sensors%STOP_NSABF > 0) THEN
95 DO j=1,10
96 IF (abfile(j) >= 0) THEN
97 tabfis(j) = tt
98 tabfwr(j) = tt
99 ENDIF
100 ENDDO
101 ENDIF
102 EXIT
103 ENDIF
104 ENDDO
105 ENDIF
106
107 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)