35 . NODTAG ,STAT_INDXR,IPARG ,ELBUF_TAB,IDEL )
41 use element_mod ,
only : nixr
45#include "implicit_f.inc"
58 INTEGER (*),IPART(LIPART1,*),IXR(NIXR,*),IPARTR(*),
59 . ipart_state(*),nodtag(*),stat_indxr(*),iparg(nparg,*)
61 TYPE (ELBUF_STRUCT_),
DIMENSION(NGROUP),
TARGET :: ELBUF_TAB
65 INTEGER I,N,JJ,IPRT0,IPRT,K,II
66 INTEGER NG,NEL,NFT,LFT,LLT,ITY,IOFF
68 INTEGER,
DIMENSION(:),
ALLOCATABLE :: NP
69 INTEGER,
DIMENSION(:,:),
ALLOCATABLE ::
71 TYPE(g_bufel_) ,
POINTER :: GBUF
75 CALL my_alloc(np,6*numelr)
76 CALL my_alloc(clef,2,numelr)
87 gbuf => elbuf_tab(ng)%GBUF
94 IF (ipart_state(iprt) == 0) cycle
96 np(jj+1) = ixr(nixr,n)
97 np(jj+2) = itab(ixr(2,n))
98 np(jj+3) = itab(ixr(3,n))
100 np(jj+4) = itab(ixr(4,n))
105 np(jj+6) = iabs(nint(gbuf%OFF(i)))
111 stat_numelr =stat_numelr+1
112 clef(1,stat_numelr)=iprt
113 clef(2,stat_numelr)=ixr(nixr,n)
117 IF(ixr(4,n) > 0)nodtag(ixr(4,n))=1
126 CALL my_orders(0,work,clef,stat_indxr,stat_numelr,2)
134 IF (idel==0 .OR. (idel==1 .AND. ioff >= 1))
THEN
135 IF (iprt /= iprt0)
THEN
136 WRITE(iugeo,
'(A,I10)')
'/SPRING/',ipart(4,iprt)
138 .
'#SPRING_ID NOD1 NOD2 NOD3'
141 IF(np(jj+4) > 0)
THEN
142 WRITE(iugeo,
'(4I10)') np(jj+1),np(jj
144 WRITE(iugeo,
'(3I10)') np(jj+1
void my_orders(int *mode, int *iwork, int *data, int *index, int *n, int *irecl)
subroutine stat_spring_mp(itab, ipart, ixr, ipartr, ipart_state, nodtag, stat_indxr, iparg, elbuf_tab, idel)