39
40
41
45 USE format_mod , ONLY : fmw_7i_2f
46
47
48
49
50
51
52
53
54
55
56#include "implicit_f.inc"
57
58
59
60 INTEGER,INTENT(IN) :: NSN,ID
61 INTEGER,INTENT(IN) :: IRECT(4,*) , MSR(*), NSV(*), ILOC(*), IRTL(*),ITAB(*)
62 my_real,
INTENT(IN) :: x(3,numnod), alp
63 my_real,
INTENT(INOUT) :: crst(2,*)
64 CHARACTER(LEN=NCHARTITLE),INTENT(INOUT) :: TITR
65
66
67
68#include "units_c.inc"
69#include "scr03_c.inc"
70#include "com04_c.inc"
71
72
73
74 INTEGER :: II, I, J, K, L, JJ, NN, IER
76 my_real :: xx1(4),xx2(4),xx3(4),xs1,ys1,zs1,xc,yc,zc
77
78
79
80 DO ii=1,nsn
81
82 i = nsv(ii)
83 j = iloc(ii)
84 k = msr(j)
85 l = irtl(ii)
86 xs1 = x(1,i)
87 ys1 = x(2,i)
88 zs1 = x(3,i)
89
90 DO jj=1,4
91 nn = msr(irect(jj,l))
92 xx1(jj) = x(1,nn)
93 xx2(jj) = x(2,nn)
94 xx3(jj) = x(3,nn)
95 END DO
96
97 CALL inist3(n1,n2,n3,ss,tt,ier,alp,xx1,xx2,xx3,xs1,ys1,zs1,xc,yc,zc)
98 IF(ipri>=1)WRITE(iout,fmt=fmw_7i_2f) itab(i),itab(k),l,(itab(msr(irect(jj,l))),jj=1,4),ss,tt
99 IF(ier==-1)THEN
101 . msgtype=msgerror,
102 . anmode=anstop,
103 . i1=itab(i),i2=itab(k),i3=l,
104 . i4=itab(msr(irect(1,l))),
105 . i5=itab(msr(irect(2,l))),
106 . i6=itab(msr(irect(3,l))),
107 . i7=itab(msr(irect(4,l))),
108 . prmod=msg_cumu)
109 ELSE IF(ier==1)THEN
111 . msgtype=msgwarning,
112 . anmode=aninfo_blind,
113 . i1=itab(i),i2=l,
114 . i3=itab(msr(irect(1,l))),
115 . i4=itab(msr(irect(2,l))),
116 . i5=itab(msr(irect(3,l))),
117 . i6=itab(msr(irect(4,l))),
118 . r1=ss,r2=tt,
119 . prmod=msg_cumu)
120 ENDIF
121 crst(1,ii) = ss
122 crst(2,ii) = tt
123 END DO
125 . msgtype=msgerror,
126 . anmode=anstop,
128 . c1=titr,
129 . prmod=msg_print)
131 . msgtype=msgwarning,
132 . anmode=aninfo_blind,
134 . c1=titr,
135 . prmod=msg_print)
136
137 RETURN
subroutine inist3(n1, n2, n3, ssc, ttc, ier, alp, xx1, xx2, xx3, xs1, ys1, zs1, xc, yc, zc)
integer, parameter nchartitle
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)