OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i10opt_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!|| i10main_opt_tri ../engine/source/interfaces/intsort/i10opt_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!|| i10optcd ../engine/source/interfaces/intsort/i10optcd.F
30!||--- uses -----------------------------------------------------
31!|| intbufdef_mod ../common_source/modules/interfaces/intbufdef_mod.F90
32!||====================================================================
33 SUBROUTINE i10main_opt_tri(
34 1 IPARI ,X ,V ,
35 2 NIN ,ITASK ,COUNT_REMSLV ,INTBUF_TAB, LSKYI_SMS_NEW)
36C-----------------------------------------------
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 "com08_c.inc"
49C-----------------------------------------------
50C D u m m y A r g u m e n t s
51C-----------------------------------------------
52 INTEGER,INTENT(INOUT) :: LSKYI_SMS_NEW
53 INTEGER IPARI(*), ITASK, NIN,COUNT_REMSLV(*)
54C REAL
56 . x(*), v(3,*)
57 TYPE(intbuf_struct_) INTBUF_TAB
58C-----------------------------------------------
59C L o c a l V a r i a b l e s
60C-----------------------------------------------
61 INTEGER NOINT, I_STOK,CT
62C REAL
64 . startt, gap, stopt
65C-----------------------------------------------
66C REAL
67C-----------------------------------------------
68C Calcul des adresses des buffers d'interfaces.
69C Les adresses des buffers J10-JFI et K10-KFI
70C sont remplaces systematiquement par des tableaux
71C JD(i) et KD(i), en gardant les memes numeros d'indexes.
72C Les anciens adresses directs Jn, Kn sont modifies
73C dans la routine sans commentaires additionnels habituels
74C----------------------------------------------------
75 noint =ipari(15)
76C
77 startt=intbuf_tab%VARIABLES(3)
78 stopt =intbuf_tab%VARIABLES(11)
79 gap =intbuf_tab%VARIABLES(2)
80 IF(startt>tt) RETURN
81 IF(tt>stopt) RETURN
82C
83C-----------------------------------------------------------
84C Filtrage des candidats a l'impact
85C (si candidat retenu, cand_n(i) = - cand_n(i))
86C-----------------------------------------------------------
87 i_stok = intbuf_tab%I_STOK(1)
88 CALL i10optcd(
89 1intbuf_tab%NSV,intbuf_tab%CAND_E,intbuf_tab%CAND_N,x ,i_stok ,
90 2intbuf_tab%IRECTM,gap ,intbuf_tab%GAP_S,intbuf_tab%GAP_M,ipari(21) ,
91 3itask ,nin ,ipari(5) ,intbuf_tab%STFNS,intbuf_tab%STFM,
92 4count_remslv , lskyi_sms_new)
93C-----------------------------------------------------------
94C
95 RETURN
96 END
#define my_real
Definition cppsort.cpp:32
subroutine i10main_opt_tri(ipari, x, v, nin, itask, count_remslv, intbuf_tab, lskyi_sms_new)
subroutine i10optcd(nsv, cand_e, cand_n, x, i_stok, irect, gap, gap_s, gap_m, igap, itask, nin, nsn, stfn, stf, count_remslv, lskyi_sms_new)
Definition i10optcd.F:36