38 SUBROUTINE h3d_velvecz22(ELBUF_TAB,IPARG,IPARI,IGRNOD,X,IXS,IXQ,ITAB,IFLG,
39 . IOK_PART,IS_WRITTEN_NODE,NODAL_VECTOR)
55 use element_mod ,
only : nixs,nixq
59#include "implicit_f.inc"
70 INTEGER,
INTENT(IN) :: IPARG(NPARG,*), IPARI(NPARI,*),IXS(NIXS,*),IXQ(NIXQ,*)
71 INTEGER,
INTENT(IN) :: ITAB(NUMNOD),IFLG
72 INTEGER,
INTENT(IN) :: IOK_PART(*),IS_WRITTEN_NODE(*)
73 my_real,
INTENT(INOUT) :: x(3,numnod)
74 my_real,
INTENT(INOUT) :: nodal_vector(3,*)
76 TYPE (ELBUF_STRUCT_),
DIMENSION(NGROUP),
TARGET :: ELBUF_TAB
77 TYPE (GROUP_) ,
DIMENSION(NGRNOD) :: IGRNOD
81 INTEGER :: NCELL, NBF, NBL, ICELL, NIN, , IB, I
82 INTEGER :: NNODES, II, J, IE, IGR
84 REAL,
DIMENSION(:,:),
ALLOCATABLE :: BUFFER
92 IF(ipari(82,nin)==0)
RETURN
99 ALLOCATE(buffer(3,numnod))
105 nnodes = igrnod(igr)%NENTITY
112 DO WHILE (icell<=ncell)
114 IF (icell>ncell .AND. ncell/=0)icell=9
115 IF(.NOT.lstillnode) cycle
120 print *,
"** Warning inter22 : no more node in group to mark cell center"
123 node_id = igrnod(igr)%ENTITY(ii)
126 buffer(1,node_id) =
brick_list(nin,ib)%POLY(icell)%FACE(j)%Vel(1)
128 buffer(3,node_id) =
brick_list(nin,ib)%POLY(icell)%FACE(j)%Vel(3)
131 buffer(1,node_id) = -
brick_list(nin,ib)%POLY(icell)%FACE(j)%F_FACE(1)
133 buffer(3,node_id) = -
brick_list(nin,ib)%POLY(icell)%FACE(j)%F_FACE(3)
135 buffer(1,node_id) = zero
136 buffer(2,node_id) = zero
137 buffer(3,node_id) = zero
145 node_id = igrnod(igr)%ENTITY(ii)
146 x(1:3,node_id) = zero
subroutine h3d_nodal_vector(elbuf_tab, nodal_vector, ifunc, iparg, geo, mass, pm, itab, node_id, info1, info2, is_written_node, h3d_part, ipartc, iparttg, ixc, ixtg, temp, iflow, rflow, ixs, ixq, nv46, monvol, diag_sms, ms, pdama2, x, volmon, stifr, stifn, a, d, v, cont, fcontg, fint, fext, keyword, fncont, fncontg, ftcont, ftcontg, fncont2, dr, dxancg, fanreac, fcluster, mcluster, vr, fopt, npby, vgaz, ipari, igrnod, weight, nodglob, fcont_max, fncontp2, ftcontp2, ar, ipartsp, ipartr, ipartp, ipartt, iparts, ipartq, kxsp, ixr, ixp, ixt, n_h3d_part_list, nodal_vector_fvm, is_written_node_fvm, airbags_total_fvm_in_h3d, smonvol, svolmon, ispmd, fvdata_p, airbags_node_id_shift, w, sw, x_c)