OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i21main_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!|| i21main_crit_tri ../engine/source/interfaces/intsort/i21main_crit_tri.F
25!||--- called by ------------------------------------------------------
26!|| inttri ../engine/source/interfaces/intsort/inttri.F
27!||--- calls -----------------------------------------------------
28!|| i21buce_crit ../engine/source/interfaces/intsort/i21buce_crit.F
29!||--- uses -----------------------------------------------------
30!|| intbufdef_mod ../common_source/modules/interfaces/intbufdef_mod.F90
31!|| intstamp_mod ../engine/share/modules/intstamp_mod.F
32!||====================================================================
33 SUBROUTINE i21main_crit_tri(
34 1 IPARI ,INTBUF_TAB ,X ,NIN ,
35 2 ITASK ,V ,XSLV_L ,XMSR_L ,VSLV_L ,
36 3 VMSR_L ,INTSTAMP,X21MSR,V21MSR)
37C-----------------------------------------------
38C M o d u l e s
39C-----------------------------------------------
40 USE intstamp_mod
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"
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 . IPARI(NPARI,NINTER)
57 TYPE(INTSTAMP_DATA) INTSTAMP
58C REAL
59 my_real
60 . x(3,*), v(3,*),
61 . xslv_l(*), xmsr_l(*), vslv_l(*), vmsr_l(*),
62 . x21msr(3), v21msr(3)
63 my_real, DIMENSION(:),ALLOCATABLE :: xsav0
64
65 TYPE(intbuf_struct_) INTBUF_TAB
66C-----------------------------------------------
67C L o c a l V a r i a b l e s
68C-----------------------------------------------
69 INTEGER J, K , ADXLOC
70C REAL
71 my_real
72 . startt, stopt
73 INTEGER :: NSN
74C-----------------------------------------------
75C S o u r c e L i n e s
76C-----------------------------------------------
77C
78 nsn =ipari(5,nin)
79C
80 startt=intbuf_tab%VARIABLES(3)
81 stopt =intbuf_tab%VARIABLES(11)
82 IF(startt>tt) RETURN
83 IF(tt>stopt) RETURN
84C
85 IF(nsn > 0) THEN
86 adxloc = 1+3*(nsn+2)
87 ELSE
88 adxloc = 1
89 ENDIF
90 CALL i21buce_crit(
91 1 x ,intbuf_tab%NSV,nsn ,intstamp ,itask ,
92 2 intbuf_tab%XSAV,nin ,intbuf_tab%STFNS,v ,xslv_l ,
93 3 xmsr_l ,vslv_l ,vmsr_l ,x21msr ,v21msr ,
94 4 intbuf_tab%XSAV(adxloc) )
95
96C
97 RETURN
98 END
#define my_real
Definition cppsort.cpp:32
subroutine i21buce_crit(x, nsv, nsn, intstamp, itask, xsav, nin, stfn, v, xslv_g, xmsr_g, vslv_g, vmsr_g, x21msr, v21msr, xloc)
subroutine i21main_crit_tri(ipari, intbuf_tab, x, nin, itask, v, xslv_l, xmsr_l, vslv_l, vmsr_l, intstamp, x21msr, v21msr)