OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i7main_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!|| i7main_opt_tri ../engine/source/interfaces/intsort/i7main_opt_tri.F
25!||--- called by ------------------------------------------------------
26!|| imp_tripi ../engine/source/implicit/imp_int_k.F
27!|| inttri ../engine/source/interfaces/intsort/inttri.F
28!||--- calls -----------------------------------------------------
29!|| i7optcd ../engine/source/interfaces/intsort/i7optcd.F
30!||--- uses -----------------------------------------------------
31!|| intbufdef_mod ../common_source/modules/interfaces/intbufdef_mod.F90
32!||====================================================================
33 SUBROUTINE i7main_opt_tri(
34 1 IPARI ,X ,V ,
35 2 NIN ,ITASK ,COUNT_REMSLV, INTBUF_TAB,
36 3 LSKYI_SMS_NEW)
37C M o d u l e s
38C-----------------------------------------------
39 USE intbufdef_mod
40C-----------------------------------------------
41C I m p l i c i t T y p e s
42C-----------------------------------------------
43#include "implicit_f.inc"
44#include "comlock.inc"
45C-----------------------------------------------
46C C o m m o n B l o c k s
47C-----------------------------------------------
48#include "com04_c.inc"
49#include "com08_c.inc"
50#include "param_c.inc"
51C-----------------------------------------------
52C D u m m y A r g u m e n t s
53C-----------------------------------------------
54 INTEGER IPARI(NPARI,NINTER), ITASK, NIN,
55 . COUNT_REMSLV(*)
56 my_real
57 . x(*), v(3,*)
58
59 TYPE(intbuf_struct_) INTBUF_TAB
60 INTEGER,INTENT(INOUT) :: LSKYI_SMS_NEW
61C-----------------------------------------------
62C L o c a l V a r i a b l e s
63C-----------------------------------------------
64 INTEGER KK, I, IFQ, I_STOK
65 my_real
66 . STARTT,GAP,GAPMIN,STOPT
67C-----------------------------------------------
68C S o u r c e C o d e
69C-----------------------------------------------
70
71 ifq =ipari(31,nin)
72 startt=intbuf_tab%VARIABLES(3)
73 stopt =intbuf_tab%VARIABLES(11)
74 IF(startt>tt.OR.tt>stopt) RETURN
75 gap =intbuf_tab%VARIABLES(2)
76 gapmin = intbuf_tab%VARIABLES(13)
77
78 !-----------------------------------------------------------
79 ! Filtrage des candidats a l'impact
80 ! (si candidat retenu, cand_n(i) = - cand_n(i))
81 !-----------------------------------------------------------
82 i_stok = intbuf_tab%I_STOK(1)
83 CALL i7optcd(
84 1 intbuf_tab%NSV ,intbuf_tab%CAND_E,intbuf_tab%CAND_N,x ,i_stok ,
85 2 intbuf_tab%IRECTM ,gap ,intbuf_tab%GAP_S ,intbuf_tab%GAP_M,ipari(21,nin),
86 3 intbuf_tab%STFNS ,itask ,intbuf_tab%STFM,ifq ,intbuf_tab%IFPEN,
87 4 intbuf_tab%FTSAVX ,intbuf_tab%FTSAVY,intbuf_tab%FTSAVZ,nin ,ipari(5,nin) ,
88 5 intbuf_tab%VARIABLES(16),ipari(39,nin) ,intbuf_tab%GAP_SL ,intbuf_tab%GAP_ML,
89 6 count_remslv ,gapmin ,intbuf_tab%VARIABLES(32),intbuf_tab%VARIABLES(46),
90 7 lskyi_sms_new )
91C
92 RETURN
93 END
subroutine i7main_opt_tri(ipari, x, v, nin, itask, count_remslv, intbuf_tab, lskyi_sms_new)
subroutine i7optcd(nsv, cand_e, cand_n, x, i_stok, irect, gap, gap_s, gap_m, igap, stfn, itask, stf, ifq, ifpen, cand_fx, cand_fy, cand_fz, nin, nsn, gapmax, icurv, gap_s_l, gap_m_l, count_remslv, gapmin, drad, dgapload, lskyi_sms_new)
Definition i7optcd.F:39