comtri
C COMTRI SOURCE PV 17/12/08 21:16:53 9660 SUBROUTINE COMTRI(iqmod,ipil,iwrk53) *-------------------------- * verification de type des composantes * attention revoir noms de caracteristiques geometriques / idcarb *-------------------------- IMPLICIT INTEGER(I-N) IMPLICIT REAL*8(A-H,O-Z) * -INC PPARAM -INC CCOPTIO * -INC SMMODEL -INC DECHE * imodel = iqmod wrk53 = iwrk53 liluc = ipil ijluc = MIN(liluc(/1),nmot) do ino = 1, ijluc nomid = liluc(ino,1) c* segact nomid*nomod nobl = lesobl(/2) nfac = lesfac(/2) c* write(ioimp,*) 'comtri ',mfr,inplas,nobl,nfac notype = motype if (notype.eq.0) goto 100 nbtype = type(/2) if (nbtype.eq.0) goto 101 * pilnec = liluc(ino,2) c* segact pilnec*nomod c* mobl = pilobl(/1) = nobl c* mfac = pilfac(/1) = nfac mran = pilobl(/2) if (nobl.gt.0) then do iran = 1, mran do ic1 = 1, nobl ****** segact deche c write(6,*) 'comtri deche ',deche,nomdec,typdec,iran,cmate ICMN = MIN(IC1,NBTYPE) * write(6,*) 'comtri ' , ic1,iran,LESOBL(IC1)(1:4), notype if (typdec.ne.type(icmn)) then MOTERR(1:16)=typdec MOTERR(17:20)=nomdec MOTERR(21:36)=' utile ' return endif endif enddo enddo endif if (nfac.gt.0) then do iran = 1, mran do ic1 = 1,nfac ****** segact deche ICMN=MIN((IC1+nobl),NBTYPE) c write(6,*) 'comtrifac',deche,nomdec,typdec,iran,nbtype,type(icmn) if (typdec.ne.type(icmn)) then MOTERR(1:16)=typdec MOTERR(17:20)=nomdec MOTERR(21:36)=' utile ' return endif endif enddo enddo endif 101 continue segsup notype 100 continue enddo * RETURN END
© Cast3M 2003 - Tous droits réservés.
Mentions légales