OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i11main_opt_tri.F File Reference
#include "implicit_f.inc"
#include "comlock.inc"
#include "com04_c.inc"
#include "com08_c.inc"
#include "param_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine i11main_opt_tri (ipari, intbuf_tab, x, v, nin, itask, count_remslv, lskyi_sms_new)

Function/Subroutine Documentation

◆ i11main_opt_tri()

subroutine i11main_opt_tri ( integer, dimension(npari,ninter) ipari,
type(intbuf_struct_) intbuf_tab,
x,
v,
integer nin,
integer itask,
integer, dimension(ninter) count_remslv,
integer, intent(inout) lskyi_sms_new )

Definition at line 33 of file i11main_opt_tri.F.

37C-----------------------------------------------
38C M o d u l e s
39C-----------------------------------------------
40 USE intbufdef_mod
41C-----------------------------------------------
42C I m p l i c i t T y p e s
43C-----------------------------------------------
44#include "implicit_f.inc"
45#include "comlock.inc"
46C-----------------------------------------------
47C C o m m o n B l o c k s
48C-----------------------------------------------
49#include "com04_c.inc"
50#include "com08_c.inc"
51#include "param_c.inc"
52C-----------------------------------------------
53C D u m m y A r g u m e n t s
54C-----------------------------------------------
55 INTEGER NIN ,ITASK
56 INTEGER IPARI(NPARI,NINTER), COUNT_REMSLV(NINTER)
57C REAL
58 my_real
59 . x(*), v(3,*)
60
61 INTEGER,INTENT(INOUT) :: LSKYI_SMS_NEW
62 TYPE(INTBUF_STRUCT_) INTBUF_TAB
63C-----------------------------------------------
64C L o c a l V a r i a b l e s
65C-----------------------------------------------
66C REAL
68 . startt, gap, stopt, drad, dgaploadp
69 INTEGER :: NRTS
70C-----------------------------------------------
71C calculation of interface buffer addresses.
72C the addresses of buffers J10-JFI and K10-KFI
73C are systematically replaced by arrays
74C JD(i) and KD(i), keeping the same index numbers.
75C the old direct addresses Jn, Kn are modified
76C in the routine without usual additional comments
77C----------------------------------------------------
78C
79 startt=intbuf_tab%VARIABLES(3)
80 stopt =intbuf_tab%VARIABLES(11)
81 IF(startt>tt) RETURN
82 IF(tt>stopt) RETURN
83C
84 gap = intbuf_tab%VARIABLES(2)
85 drad = intbuf_tab%VARIABLES(24)
86 dgaploadp = intbuf_tab%VARIABLES(46)
87 nrts =ipari(3,nin)
88C-----------------------------------------------------------
89C Filtering of impact candidates
90C (if candidate retained, cand_n(i) = - cand_n(i))
91C-----------------------------------------------------------
92 CALL i11optcd(
93 1 intbuf_tab%CAND_E, intbuf_tab%CAND_N, x , intbuf_tab%I_STOK(1),
94 2 intbuf_tab%IRECTS, intbuf_tab%IRECTM, gap, nin,v,intbuf_tab%GAP_S,
95 3 intbuf_tab%GAP_M , ipari(21,nin) , intbuf_tab%STFS , itask,nrts,
96 4 intbuf_tab%STFM , intbuf_tab%GAP_SL, intbuf_tab%GAP_ML, count_remslv,
97 5 intbuf_tab%IFPEN , intbuf_tab%FTSAVX, intbuf_tab%FTSAVY, intbuf_tab%FTSAVZ,
98 6 ipari(30,nin) , drad , dgaploadp,lskyi_sms_new)
99C-----------------------------------------------------------
100ccc ENDIF
101C
102 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine i11optcd(cand_m, cand_s, x, i_stok, irects, irectm, gap, nin, v, gap_s, gap_m, igap, stfs, itask, nrts, stfm, gap_s_l, gap_m_l, count_remslv, ifpen, cand_fx, cand_fy, cand_fz, iform, drad, dgapload, lskyi_sms_new)
Definition i11optcd.F:38