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

Function/Subroutine Documentation

◆ i20main_opt_tri()

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

Definition at line 34 of file i20main_opt_tri.F.

38C-----------------------------------------------
39C M o d u l e s
40C-----------------------------------------------
41 USE intbufdef_mod
42C-----------------------------------------------
43C I m p l i c i t T y p e s
44C-----------------------------------------------
45#include "implicit_f.inc"
46#include "comlock.inc"
47C-----------------------------------------------
48C C o m m o n B l o c k s
49C-----------------------------------------------
50#include "com04_c.inc"
51#include "com08_c.inc"
52#include "param_c.inc"
53C-----------------------------------------------
54C D u m m y A r g u m e n t s
55C-----------------------------------------------
56 INTEGER IPARI(NPARI,NINTER), ITASK, NIN,
57 * COUNT_REMSLV(*), COUNT_REMSLVE(*)
58C REAL
59 my_real
60 . x(*), v(3,*)
61
62 TYPE(INTBUF_STRUCT_) INTBUF_TAB
63C-----------------------------------------------
64C L o c a l V a r i a b l e s
65C-----------------------------------------------
66 INTEGER KK, I, IFQ, I_STOK,NSNF,NSNL
67C REAL
69 . startt,gap,stopt
70C=======================================================================
71C ALLOCATABLE
72C=======================================================================
73C-----------------------------------------------
74 ifq =ipari(31,nin)
75C
76 startt=intbuf_tab%VARIABLES(3)
77 stopt =intbuf_tab%VARIABLES(11)
78 IF(startt>tt) RETURN
79 IF(tt>stopt) RETURN
80
81C
82 gap =intbuf_tab%VARIABLES(2)
83C
84C-----------------------------------------------------------
85C Filtrage des candidats a l'impact
86C (si candidat retenu, cand_n(i) = - cand_n(i))
87C-----------------------------------------------------------
88 i_stok = intbuf_tab%I_STOK(1)
89 CALL i20optcd(
90 1intbuf_tab%NSV,intbuf_tab%CAND_E,intbuf_tab%CAND_N,intbuf_tab%XA,i_stok ,
91 2intbuf_tab%IRECTM,gap ,intbuf_tab%GAP_S,intbuf_tab%GAP_M,ipari(21,nin),
92 3intbuf_tab%STFA,itask ,intbuf_tab%STFM,ifq ,intbuf_tab%IFPEN,
93 4intbuf_tab%CAND_FX,intbuf_tab%CAND_FY,intbuf_tab%CAND_FZ,nin ,ipari(5,nin) ,
94 5intbuf_tab%VARIABLES(16),ipari(39,nin),count_remslv )
95
96C-----------------------------------------------------------
97C EDGES
98C-----------------------------------------------------------
99 i_stok = intbuf_tab%I_STOK_E(1)
100 CALL i20optcde(
101 1 intbuf_tab%LCAND_N ,intbuf_tab%LCAND_S ,intbuf_tab%XA ,i_stok ,
102 2 intbuf_tab%IXLINS ,intbuf_tab%IXLINM ,gap ,nin ,
103 3 v ,intbuf_tab%GAP_SE ,intbuf_tab%GAP_ME ,ipari(21,nin) ,
104 4 intbuf_tab%STFS ,itask ,ipari(53,nin) ,intbuf_tab%STF ,
105 5 count_remslve )
106C-----------------------------------------------------------
107C
108 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine i20optcde(cand_m, cand_s, xa, i_stok, ixlins, ixlinm, gap, nin, v, gap_s, gap_m, igap, stfs, itask, nlinsa, stfm, count_remslve)
Definition i20optcd.F:431
subroutine i20optcd(nsv, cand_e, cand_n, xa, i_stok, irect, gap, gap_s, gap_m, igap, stfa, itask, stf, ifq, ifpen, cand_fx, cand_fy, cand_fz, nin, nsn, gapmax, icurv, count_remslv)
Definition i20optcd.F:37