OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i20main_crit_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_crit_tri ../engine/source/interfaces/intsort/i20main_crit_tri.F
25!||--- called by ------------------------------------------------------
26!|| inttri ../engine/source/interfaces/intsort/inttri.F
27!||--- calls -----------------------------------------------------
28!|| i20buce_crit ../engine/source/interfaces/intsort/i20buce_crit.F
29!||--- uses -----------------------------------------------------
30!|| h3d_mod ../engine/share/modules/h3d_mod.F
31!|| intbufdef_mod ../common_source/modules/interfaces/intbufdef_mod.F90
32!|| output_mod ../common_source/modules/output/output_mod.F90
33!||====================================================================
34 SUBROUTINE i20main_crit_tri(OUTPUT ,
35 1 IPARI ,X ,NIN ,
36 2 ITASK ,V ,XSLV_L ,XMSR_L ,VSLV_L ,
37 3 VMSR_L ,MS ,DXANCG ,IKINE ,DIAG_SMS,
38 4 INTBUF_TAB,H3D_DATA)
39C-----------------------------------------------
40C M o d u l e s
41C-----------------------------------------------
42 USE intbufdef_mod
43 USE h3d_mod
44 USE output_mod
45C-----------------------------------------------
46C I m p l i c i t T y p e s
47C-----------------------------------------------
48#include "implicit_f.inc"
49C-----------------------------------------------
50C C o m m o n B l o c k s
51C-----------------------------------------------
52#include "com04_c.inc"
53#include "com08_c.inc"
54#include "param_c.inc"
55C-----------------------------------------------
56C D u m m y A r g u m e n t s
57C-----------------------------------------------
58 TYPE (OUTPUT_) :: OUTPUT
59 INTEGER NIN,ITASK,
60 . IPARI(NPARI,NINTER), IKINE(NUMNOD)
61C REAL
62 my_real
63 . x(3,*), v(3,*),ms(*),dxancg(3,*),
64 . xslv_l(*), xmsr_l(*), vslv_l(*), vmsr_l(*),
65 . diag_sms(*)
66
67 TYPE(intbuf_struct_) INTBUF_TAB
68 TYPE (H3D_DATABASE) :: H3D_DATA
69C-----------------------------------------------
70C L o c a l V a r i a b l e s
71C-----------------------------------------------
72 INTEGER NLN
73C REAL
74 my_real
75 . STARTT, STOPT
76C-----------------------------------------------
77C S o u r c e L i n e s
78C-----------------------------------------------
79 INTEGER :: NMN,NRTM,NSN,NTY
80 INTEGER :: NLINSA,NLINMA,NSNE, NMNE,NLINS, NLINM
81C
82 NRTM =ipari(4,nin)
83 nsn =ipari(5,nin)
84 nmn =ipari(6,nin)
85 nty = ipari(7,nin)
86 nln =ipari(35,nin)
87 nlins =ipari(51,nin)
88 nlinm =ipari(52,nin)
89 nlinsa =ipari(53,nin)
90 nlinma =ipari(54,nin)
91 nsne =ipari(55,nin)
92 nmne =ipari(56,nin)
93
94 startt=intbuf_tab%VARIABLES(3)
95 stopt =intbuf_tab%VARIABLES(11)
96 IF(startt>tt) RETURN
97 IF(tt>stopt) RETURN
98C
99C
100 IF(intbuf_tab%VARIABLES(16)==zero)intbuf_tab%VARIABLES(16)=ep30
101 CALL i20buce_crit(output ,
102 1 itask ,x ,v ,ms ,
103 2 nty ,nin ,ipari(22,nin),nsn ,
104 3 nmn ,intbuf_tab%NSV,intbuf_tab%MSR,intbuf_tab%XSAV,
105 4 intbuf_tab%STFA,xslv_l ,xmsr_l ,vslv_l ,
106 5 vmsr_l ,intbuf_tab%DAANC6,intbuf_tab%AVX_ANCR,intbuf_tab%AVX_ANCR(1+3*nln),
107 6 nsne ,nmne ,nlinsa ,nlinma ,
108 7 intbuf_tab%NSVL,intbuf_tab%MSRL,intbuf_tab%CRITX,intbuf_tab%PENISE,
109 8 intbuf_tab%PENIME,intbuf_tab%STFS,intbuf_tab%XA,intbuf_tab%VA,
110 9 ipari(35,nin),intbuf_tab%NLG,intbuf_tab%PENIS,intbuf_tab%PENIM,
111 a intbuf_tab%PENIA,nrtm ,intbuf_tab%IXLINS,dxancg ,
112 b ikine ,diag_sms ,intbuf_tab%ALPHAK,intbuf_tab%AVX_ANCR(1+6*nln) ,
113 c intbuf_tab%STFAC(1),h3d_data)
114
115 RETURN
116 END
#define my_real
Definition cppsort.cpp:32
subroutine i20buce_crit(output, itask, x, v, ms, nty, nin, inacti, nsn, nmn, nsv, msr, xsav, stfa, xslv_g, xmsr_g, vslv_g, vmsr_g, daanc6, dxanc, dvanc, nsne, nmne, nlinsa, nlinma, nsve, msre, xsave, penise, penime, stfes, xa, va, nln, nlg, penis, penim, penia, nrtm, ixlins, dxancg, ikine, diag_sms, alphak, daanc, stfac, h3d_data)
subroutine i20main_crit_tri(output, ipari, x, nin, itask, v, xslv_l, xmsr_l, vslv_l, vmsr_l, ms, dxancg, ikine, diag_sms, intbuf_tab, h3d_data)