49 2 OFF ,EI ,EK ,XM ,YM ,
50 3 ZM ,XMAS ,XCG ,YCG ,ZCG ,
51 4 XXM ,YYM ,ZZM ,IXX ,IYY ,
52 5 IZZ ,IXY ,IYZ ,IZX ,REI ,
57#include "implicit_f.inc"
66 INTEGER IGRTH(*),GRTH(*)
68 . GRESAV(NPSAV,*),OFF(*),
69 . XMAS(*), EI(*),REI(*),REK(*),
70 . ek(*), xm(*), ym(*), zm(*),
71 . xxm(*), yym(*), zzm(*),
72 . xcg(*), ycg(*), zcg(*),
73 . ixx(*), iyy(*), izz(*),
74 . ixy(*), iyz(*), izx(*)
81 IF (igrth(i) /= igrth(i+1))
THEN
82 IF(off(i) /= zero)
THEN
83 DO j = igrth(i),igrth(i+1)-1
84 gresav(1,grth(j)) = gresav(1,grth(j)) + ei(i
85 gresav(2,grth(j)) = gresav(2,grth(j)) + ek(i)
86 gresav(3,grth(j)) = gresav(3,grth(j)) + xm(i)
87 gresav(4,grth(j)) = gresav(4,grth(j)) + ym(i)
88 gresav(5,grth(j)) = gresav(5,grth(j)) + zm(i)
89 gresav(6,grth(j)) = gresav(6,grth(j)) + xmas(i)
96 IF (igrth(i) /= igrth(i+1))
THEN
97 DO j = igrth(i),igrth(i+1)-1
98 gresav(9,grth(j)) = gresav(9,grth(j)) + xcg(i)
99 gresav(10,grth(j)) = gresav(10,grth(j)) + ycg(i)
100 gresav(11,grth(j)) = gresav(11,grth(j)) + zcg(i)
101 gresav(12,grth(j)) = gresav(12,grth(j)) + xxm(i)
102 gresav(13,grth(j)) = gresav(13,grth(j)) + yym(i)
103 gresav(14,grth(j)) = gresav(14,grth(j)) + zzm(i)
104 gresav(15,grth(j)) = gresav(15,grth(j)) + ixx(i)
105 gresav(16,grth(j)) = gresav(16,grth(j)) + iyy(i)
106 gresav(17,grth(j)) = gresav(17,grth(j)) + izz(i)
107 gresav(18,grth(j)) = gresav(18,grth(j)) + ixy(i)
108 gresav(19,grth(j)) = gresav(19,grth(j)) + iyz(i)
109 gresav(20,grth(j)) = gresav(20,grth(j)) + izx(i)
110 gresav(21,grth(j)) = gresav(21,grth(j)) + rei(i)
111 gresav(22,grth(j)) = gresav(22,grth(j)) + rek(i)
subroutine grelem_sav(jft, jlt, gresav, igrth, grth, off, ei, ek, xm, ym, zm, xmas, xcg, ycg, zcg, xxm, yym, zzm, ixx, iyy, izz, ixy, iyz, izx, rei, rek, flag)
subroutine sbilan(partsav, eint, rho, rk, vol, vx1, vx2, vx3, vx4, vx5, vx6, vx7, vx8, vy1, vy2, vy3, vy4, vy5, vy6, vy7, vy8, vz1, vz2, vz3, vz4, vz5, vz6, vz7, vz8, vnew, iparts, gresav, grth, igrth, off, iexpan, eintth, fill, mom, nel, ifvm22, x1, x2, x3, x4, x5, x6, x7, x8, y1, y2, y3, y4, y5, y6, y7, y8, z1, z2, z3, z4, z5, z6, z7, z8, itask, iparg, sensors, g_wpla, wpla)