OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
s10upd11t12.F File Reference
#include "implicit_f.inc"
#include "mvsiz_p.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine s10upd11t12 (elbuf_tab, offg, offg0, nc, xx, yy, zz, nel, npt)

Function/Subroutine Documentation

◆ s10upd11t12()

subroutine s10upd11t12 ( type(elbuf_struct_), target elbuf_tab,
offg,
offg0,
integer, dimension(mvsiz,10) nc,
double precision, dimension(mvsiz,10) xx,
double precision, dimension(mvsiz,10) yy,
double precision, dimension(mvsiz,10) zz,
integer nel,
integer, intent(in) npt )

Definition at line 33 of file s10upd11t12.F.

37C-----------------------------------------------
38C M o d u l e s
39C-----------------------------------------------
40 USE elbufdef_mod
41C-----------------------------------------------
42C I m p l i c i t T y p e s
43C-----------------------------------------------
44#include "implicit_f.inc"
45C-----------------------------------------------
46C G l o b a l P a r a m e t e r s
47C-----------------------------------------------
48#include "mvsiz_p.inc"
49C-----------------------------------------------
50C C o m m o n B l o c k s
51C-----------------------------------------------
52C-----------------------------------------------
53C D u m m y A r g u m e n t s
54C-----------------------------------------------
55 INTEGER, INTENT(IN) :: NPT
56 INTEGER NC(MVSIZ,10),NEL
57 double precision
58 . xx(mvsiz,10), yy(mvsiz,10), zz(mvsiz,10)
59
60C REAL
62 . offg(*),offg0(*)
63 TYPE(ELBUF_STRUCT_), TARGET :: ELBUF_TAB
64C-----------------------------------------------
65C L o c a l V a r i a b l e s
66C-----------------------------------------------
67 INTEGER I ,NCH,INDEX(MVSIZ),J ,N ,IP
68C REAL
70 . px(mvsiz,10,5),py(mvsiz,10,5),pz(mvsiz,10,5)
71 TYPE(L_BUFEL_) ,POINTER :: LBUF
72 double precision
73 . xxd(mvsiz,10), yyd(mvsiz,10), zzd(mvsiz,10)
74C-----------------------------------------------
75 nch=0
76 DO i=1,nel
77 IF(offg(i)/=offg0(i).AND.abs(offg(i)) > one ) THEN
78 nch = nch +1
79 index(nch) = i
80 END IF
81 END DO
82 IF (nch==0) RETURN
83 DO j=1,nch
84 i= index(j)
85 xxd(j,1:10)=xx(i,1:10)
86 yyd(j,1:10)=yy(i,1:10)
87 zzd(j,1:10)=zz(i,1:10)
88 END DO
89 CALL s10pij12(npt,xxd, yyd, zzd, px,py,pz ,nch)
90C----
91 DO ip=1,npt
92 lbuf => elbuf_tab%BUFLY(1)%LBUF(ip,1,1)
93 CALL s10pijsav12(px(1,1,ip),py(1,1,ip),pz(1,1,ip),
94 . lbuf%PIJ,lbuf%SIG,lbuf%SIGL,index,nch,nel)
95 ENDDO
96C-----------
97 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine s10pij12(npt, xx, yy, zz, px, py, pz, nel)
Definition s10pij12.F:31
subroutine s10pijsav12(px, py, pz, pij, sig, sigl, index, nb, nel)
Definition s10pijsav12.F:29