mixe
C MIXE SOURCE CB215821 24/04/12 21:16:43 11897 SUBROUTINE MIXE C_______________________________________________________________________ C C OPERATEUR DE MELANGE C C_______________________________________________________________________ C IMPLICIT INTEGER(I-N) IMPLICIT REAL*8(A-H,O-Z) -INC PPARAM -INC CCOPTIO -INC SMCHAML -INC SMMODEL character*4 mcle(1) data mcle/'NOER'/ IPCHE1 = 0 IPCHE2 = 0 IPCHE3 = 0 IPCHP4 = 0 IPCHA2 = 0 IPCHA1 = 0 noer=0 IF (IERR.NE.0) RETURN * On deroule le modele initial IPMOD0 et on ne garde que les sous- * modeles d interet -> on cree un nouveau modele IPMODL mmodel = IPMOD0 NSOUS = mmodel.kmodel(/1) IPMODL = IPMOD0 N1 = NSOUS segini mmode1 k1 = 0 DO 10 im = 1, NSOUS imodel = mmodel.kmodel(im) IF (imodel.formod(1)(1:7).NE.'MELANGE') GOTO 10 k1 = k1 + 1 mmode1.kmodel(k1) = imodel 10 CONTINUE if (k1.gt.0) then n1 = k1 segadj mmode1 IPMODL = mmode1 endif C- 1 ER CHAMP/ELEMENT C IF (IERR.NE.0) RETURN IF(IERR .NE. 0) RETURN C- 2 EME CHAMP/ELEMENT C IF (IERR.NE.0) RETURN IF(IERR .NE. 0) RETURN IF(IR1 .EQ. 1) THEN IPCHE1 = IPCHA1 IPCHE2 = IPIN2 ELSEIF(IR2 .EQ. 1) THEN IPCHE1 = IPCHA2 IPCHE2 = IPIN1 ENDIF IF (IERR.EQ.2 ) RETURN if (iret.eq.1.or.(iret.eq.0.and.IPCHE3.GT.0)) then C endif RETURN END
© Cast3M 2003 - Tous droits réservés.
Mentions légales