34 SUBROUTINE cutfunce(NC ,NUMEL,ELBUF_TAB,IFUNC ,
44#include "implicit_f.inc"
48#include "vect01_c.inc"
57 INTEGER IPARG(NPARG,*),NC(5,*),IXS(NIXS,*)
59 TYPE (ELBUF_STRUCT_),
DIMENSION(NGROUP),
TARGET :: ELBUF_TAB
61 INTEGER I,J,N,IC,IL,IL_OLD,NG,NEL,MLW,JTURB,MT,G_PLA,II(6)
64 . off, p, vonm2, vonm, s1, s2, s12, s3,
VALUE
66 TYPE(g_bufel_) ,
POINTER :: GBUF
67 TYPE(l_bufel_) ,
POINTER :: LBUF
68 TYPE(buf_mat_) ,
POINTER :: MBUF
79 2 mlw ,nel ,nft ,iad ,ity ,
80 3 npt ,jale ,ismstr ,jeul ,jtur ,
82 5 nvaux ,jpor ,jcvt ,jclose ,jplasol ,
83 6 irep ,iint ,igtyp ,israt ,isrot ,
84 7 icsen ,isorth ,isorthg ,ifailure,jsms )
86 IF (nel+nft<il)
GOTO 490
90 gbuf => elbuf_tab(ng)%GBUF
91 lbuf => elbuf_tab(ng)%BUFLY(1)%LBUF(1,1,1)
92 mbuf => elbuf_tab(ng)%BUFLY(1)%MAT(1,1,1)
95 jturb=iparg(12,ng)*(iparg(7,ng)+iparg(11,ng))
105 IF (ifunc==1 .AND. gbuf%G_PLA > 0)
THEN
108 ELSEIF (ifunc == 2)
THEN
111 ELSEIF (ifunc == 3)
THEN
114 ELSEIF(ifunc==4 .AND. jthe > 0)
THEN
117 ELSEIF(ifunc==6.OR.ifunc==7)
THEN
118 p = - (gbuf%SIG(ii(1)+i)
119 . + gbuf%SIG(ii(2)+i)
120 . + gbuf%SIG(ii(3)+i)) / three
123 s1 = gbuf%SIG(ii(1)+i) + p
124 s2 = gbuf%SIG(ii(2)+i) + p
125 s3 = gbuf%SIG(ii(3)+i) + p
126 vonm2 = three*(gbuf%SIG(ii(4)+i)**2 +
127 . gbuf%SIG(ii(5)+i)**2 +
128 . gbuf%SIG(ii(6)+i)**2 +
134 ELSEIF (ifunc==8 . and. jturb/=0)
THEN
137 ELSEIF (ifunc==9)
THEN
139 IF((mlw==6 .OR. mlw==17).AND.jturb/=0)
THEN
141 VALUE=pm(81,mt)*gbuf%RK(i)**2/
142 .
max(em15,gbuf%RE(i))
143 ELSEIF (mlw==46 .OR. mlw==47)
THEN
149 ELSEIF(ifunc==10)
THEN
151 IF(mlw==6 .OR. mlw==17)
THEN
153 ELSEIF(mlw==46 .OR. mlw==47)
THEN
159 ELSEIF(ifunc>=14.AND.ifunc<=19)
THEN
160 VALUE = gbuf%SIG(ii(ifunc - 13) + i)
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)