OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i11main_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!|| i11main_opt_tri ../engine/source/interfaces/intsort/i11main_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!|| i11optcd ../engine/source/interfaces/intsort/i11optcd.F
30!||--- uses -----------------------------------------------------
31!|| intbufdef_mod ../common_source/modules/interfaces/intbufdef_mod.F90
32!||====================================================================
33 SUBROUTINE i11main_opt_tri(
34 1 IPARI ,INTBUF_TAB ,X ,V ,
35 2 NIN ,ITASK,COUNT_REMSLV,
36 3 LSKYI_SMS_NEW)
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
103 END
#define my_real
Definition cppsort.cpp:32
subroutine i11main_opt_tri(ipari, intbuf_tab, x, v, nin, itask, count_remslv, lskyi_sms_new)
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