30 SUBROUTINE cutcnt(ICUT,XCUT,IXS,XYZ0,D,LEN)
40#include "implicit_f.inc"
45#include "scrcut_c.inc"
49 my_real xcut(7,*),xyz0(3,*),d(3,*)
50 INTEGER ICUT(44,*),IXS(NIXS,*),LEN
55 my_real dist,dist0,distmin,distmax,dd,dx1,dy1,dz1,dx2,dy2
64 xcut(1,ic)=xcut(1,ic)+dd*xcut(4,ic)
65 xcut(2,ic)=xcut(2,ic)+dd*xcut(5,ic)
66 xcut(3,ic)=xcut(3,ic)+dd*xcut(6,ic)
68 xcut(1,ic)=xyz0(1,icut(2,ic))
69 xcut(2,ic)=xyz0(2,icut(2,ic))
70 xcut(3,ic)=xyz0(3,icut(2,ic))
71 dx1=xyz0(1,icut(3,ic))-xcut(1,ic)
72 dy1=xyz0(2,icut(3,ic))-xcut(2,ic)
73 dz1=xyz0(3,icut(3,ic))-xcut(3,ic)
74 dx2=xyz0(1,icut(4,ic))-xcut(1,ic)
75 dy2=xyz0(2,icut(4,ic))-xcut(2,ic)
76 dz2=xyz0(3,icut(4,ic))-xcut(3,ic)
80 dd=sqrt(vnx**2+vny**2+vnz**2)
88 dist0=xcut(4,ic)*xcut(1,ic)+xcut(5,ic)*xcut(2,ic)+xcut(6,ic)*xcut(3,ic)
102 dist=x*xcut(4,ic)+y*xcut(5,ic)+z*xcut(6,ic)-dist0
103 distmin=
min(dist,distmin)
104 distmax=
max(dist,distmax)
106 IF(distmin*distmax<= zero)len=len+1
subroutine genani(x, d, v, a, bufel, ixs, ixq, ixc, ixt, ixp, ixr, ixtg, swaft, smas, sxnorm, siad, iparg, pm, geo, ms, sinvert, cont, smater, icut, skew, xcut, fint, itab, sel2fa, fext, fopt, anin, lpby, npby, nstrf, rwbuf, nprw, tani, elbuf_tab, mat_param, dd_iad, weight, eani, ipart, cluster, iparts, ipartq, ipartc, ipartt, ipartp, ipartr, ipartur, iparttg, rby, swa4, tors, nom_opt, igrsurf, bufsf, idata, rdata, siadg, bufmat, bufgeo, kxx, ixx, ipartx, suix, sxusr, snfacptx, sixedge, sixfacet, sixsolid, snumx1, snumx2, snumx3, soffx1, soffx2, soffx3, smass1, smass2, smass3, sfunc1, sfunc2, sfunc3, kxsp, ixsp, nod2sp, ipartsp, spbuf, ixs10, ixs20, ixs16, vr, monvol, volmon, ipm, igeo, nodglob, iad_elem, fr_elem, fr_sec, fr_rby2, iad_rby2, fr_wall, iflow, rflow, fncont, ftcont, temp, thke, err_thk_sh4, err_thk_sh3, diag_sms, ipari, fncont2, dr, ale_connectivity, irbe2, irbe3, lrbe2, lrbe3, fr_rbe2, fr_rbe3m, iad_rbe2, dxancg, nod_pxfem, iel_pxfem, zi_ply, vgaz, fcontg, fncontg, ftcontg, fanreac, inod_crk, iel_crk, elcutc, iadc_crk, pdama2, res_sms, weight_md, nodglobxfe, nodedge, fcluster, mcluster, xfem_tab, w, nv46, ipartig3d, kxig3d, ixig3d, sig3dsolid, knot, wige, nercvois, nesdvois, lercvois, lesdvois, crkedge, indx_crk, xedge4n, xedge3n, stack, sph2sol, stifn, stifr, igrnod, h3d_data, subset, multi_fvm, knotlocpc, knotlocel, fcont_max, fncontp2, ftcontp2, glob_therm, drape_sh4n, drape_sh3n, drapeg, output)