OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i23main_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 i23main_opt_tri (ipari, intbuf_tab, nin, itask, count_remslv, x)

Function/Subroutine Documentation

◆ i23main_opt_tri()

subroutine i23main_opt_tri ( integer, dimension(npari,ninter) ipari,
type(intbuf_struct_) intbuf_tab,
integer nin,
integer itask,
integer, dimension(*) count_remslv,
x )

Definition at line 32 of file i23main_opt_tri.F.

35C-----------------------------------------------
36C M o d u l e s
37C-----------------------------------------------
38 USE intbufdef_mod
39C-----------------------------------------------
40C I m p l i c i t T y p e s
41C-----------------------------------------------
42#include "implicit_f.inc"
43#include "comlock.inc"
44C-----------------------------------------------
45C C o m m o n B l o c k s
46C-----------------------------------------------
47#include "com04_c.inc"
48#include "com08_c.inc"
49#include "param_c.inc"
50C-----------------------------------------------
51C D u m m y A r g u m e n t s
52C-----------------------------------------------
53 INTEGER IPARI(NPARI,NINTER), ITASK, NIN,
54 . COUNT_REMSLV(*)
55C REAL
56 my_real
57 . x(3,*)
58 TYPE(INTBUF_STRUCT_) INTBUF_TAB
59C-----------------------------------------------
60C L o c a l V a r i a b l e s
61C-----------------------------------------------
62 INTEGER KK, I, INACTI, I_STOK, NSN
63C REAL
65 . startt,gap,stopt, dx, dy, dz, gapmin
66C-----------------------------------------------
67C
68 nsn =ipari(5,nin)
69 inacti =ipari(22,nin)
70C
71 startt=intbuf_tab%VARIABLES(3)
72 stopt =intbuf_tab%VARIABLES(11)
73 IF(startt>tt) goto 999
74 IF(tt>stopt) goto 999
75C
76 gap =intbuf_tab%VARIABLES(2)
77 gapmin =intbuf_tab%VARIABLES(13)
78C
79C-----------------------------------------------------------
80C Filtrage des candidats a l'impact
81C (si candidat retenu, cand_n(i) = - cand_n(i))
82C-----------------------------------------------------------
83 i_stok = intbuf_tab%I_STOK(1)
84 CALL i23optcd(
85 1 intbuf_tab%CAND_E,intbuf_tab%CAND_N,x ,i_stok,intbuf_tab%IRECTM,
86 2gap ,intbuf_tab%GAP_S,ipari(21,nin),ipari(5,nin) ,intbuf_tab%STFNS,
87 3itask ,intbuf_tab%STFM,inacti ,intbuf_tab%FTSAVX,
88 4intbuf_tab%FTSAVY,intbuf_tab%FTSAVZ,intbuf_tab%CAND_P,nin ,intbuf_tab%VARIABLES(16),
89 5ipari(39,nin),count_remslv,intbuf_tab%GAP_M,
90 . intbuf_tab%MSR,intbuf_tab%NSV,
91 .gapmin)
92C-----------------------------------------------------------
93C
94 999 continue
95 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine i23optcd(cand_e, cand_n, x, i_stok, irect, gap, gap_s, igap, nsn, stfn, itask, stf, inacti, ftxsav, ftysav, ftzsav, cand_p, nin, gapmax, icurv, count_remslv, gap_m, msr, nsv, gapmin)
Definition i23optcd.F:38