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