OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i24main_opt_tri.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23!||====================================================================
24!|| i24main_opt_tri ../engine/source/interfaces/intsort/i24main_opt_tri.F
25!||--- called by ------------------------------------------------------
26!|| inttri ../engine/source/interfaces/intsort/inttri.F
27!||--- calls -----------------------------------------------------
28!|| i24optcd ../engine/source/interfaces/intsort/i24optcd.F
29!||--- uses -----------------------------------------------------
30!|| intbufdef_mod ../common_source/modules/interfaces/intbufdef_mod.F90
31!||====================================================================
32 SUBROUTINE i24main_opt_tri(
33 1 IPARI ,INTBUF_TAB,X ,V ,
34 2 NIN ,ITASK ,COUNT_REMSLV,T2MAIN_SMS,LSKYI_SMS_NEW)
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(*),NSNR,T2MAIN_SMS(6,*),LSKYI_SMS_NEW
55C REAL
56 my_real
57 . x(*), v(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, IFQ, I_STOK,CT,
63 . IEDGE,IGSTI,NSNEL,NRTSE,IEDG4,IFIT,NFIT
64C REAL
66 . startt,gap,stopt
67C=======================================================================
68C ALLOCATABLE
69C=======================================================================
70C-----------------------------------------------
71
72 ifq =ipari(31,nin)
73 nsnr=ipari(24,nin)
74 iedge=ipari(58,nin)
75 iedg4=ipari(59,nin)
76 igsti=ipari(34,nin)
77 nsnel = ipari(55,nin)
78 nrtse = ipari(52,nin)
79C
80 startt=intbuf_tab%VARIABLES(3)
81 stopt =intbuf_tab%VARIABLES(11)
82 IF(startt>tt.OR.tt>stopt) RETURN
83C
84 gap =intbuf_tab%VARIABLES(2)
85C
86C-----------------------------------------------------------
87C Filtrage des candidats a l'impact
88C (si candidat retenu, cand_n(i) = - cand_n(i))
89C-----------------------------------------------------------
90 i_stok = intbuf_tab%I_STOK(1)
91 CALL i24optcd(
92 1intbuf_tab%NSV,intbuf_tab%CAND_E,intbuf_tab%CAND_N,x,i_stok ,
93 2intbuf_tab%IRECTM,intbuf_tab%GAP_S,intbuf_tab%GAP_M,v,ipari(39,nin),
94 3intbuf_tab%STFNS,itask ,intbuf_tab%STFM,nin ,ipari(5,nin) ,
95 4intbuf_tab%IRTLM,intbuf_tab%TIME_S,intbuf_tab%MSEGLO,count_remslv,
96 5intbuf_tab%SECND_FR,nsnr ,intbuf_tab%PENE_OLD,intbuf_tab%STIF_OLD,
97 6intbuf_tab%VARIABLES(23), intbuf_tab%EDGE8L2,iedge ,igsti, intbuf_tab%MVOISIN ,
98 7intbuf_tab%ICONT_I , intbuf_tab%IS2SE , intbuf_tab%IRTSE,
99 8nsnel,nrtse , intbuf_tab%IS2PT,intbuf_tab%ISPT2,intbuf_tab%ISEGPT,iedg4,t2main_sms,
100 9lskyi_sms_new,intbuf_tab%VARIABLES(46))
101C
102 RETURN
103 END
#define my_real
Definition cppsort.cpp:32
subroutine i24main_opt_tri(ipari, intbuf_tab, x, v, nin, itask, count_remslv, t2main_sms, lskyi_sms_new)
subroutine i24optcd(nsv, cand_e, cand_n, x, i_stok, irect, gap_s, gap_m, v, icurv, stfn, itask, stf, nin, nsn, irtlm, time_s, mseglo, count_remslv, secnd_fr, nsnr, pene_old, stif_old, pmax_gap, edge_l2, iedge, igsti, mvoisin, icont_i, is2se, irtse, nsne, nrtse, is2pt, ispt2, isegpt, iedg4, t2main_sms, lskyi_sms_new, dgapload)
Definition i24optcd.F:44