OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i25maind_2.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!|| i25maind_2 ../engine/source/interfaces/int25/i25maind_2.F
25!||--- called by ------------------------------------------------------
26!|| inttri ../engine/source/interfaces/intsort/inttri.F
27!||--- calls -----------------------------------------------------
28!|| i25comp_2 ../engine/source/interfaces/int25/i25comp_2.F
29!||--- uses -----------------------------------------------------
30!|| intbufdef_mod ../common_source/modules/interfaces/intbufdef_mod.F90
31!|| message_mod ../engine/share/message_module/message_mod.F
32!|| mpi_commod ../engine/share/modules/mpi_comm_mod.F
33!|| sensor_mod ../common_source/modules/sensor_mod.F90
34!|| tri7box ../engine/share/modules/tri7box.F
35!||====================================================================
36 SUBROUTINE i25maind_2(
37 1 IPARI ,ITAB ,SENSOR_TAB,INTLIST25,INTBUF_TAB ,
38 2 X ,V ,KINET ,JTASK ,NB_DST2 ,
39 3 ICODT ,ISKEW ,NSENSOR )
40C-----------------------------------------------
41C M o d u l e s
42C-----------------------------------------------
43 USE message_mod
44 USE tri7box
45 USE intbufdef_mod
46 USE mpi_commod
47 USE sensor_mod
48C-----------------------------------------------
49C I m p l i c i t T y p e s
50C-----------------------------------------------
51#include "implicit_f.inc"
52#include "comlock.inc"
53C-----------------------------------------------
54C C o m m o n B l o c k s
55C-----------------------------------------------
56#include "com04_c.inc"
57#include "com08_c.inc"
58#include "param_c.inc"
59#include "task_c.inc"
60C-----------------------------------------------
61C D u m m y A r g u m e n t s
62C-----------------------------------------------
63 INTEGER ,INTENT(IN) :: NSENSOR
64 INTEGER IPARI(NPARI,*), ITAB(*), INTLIST25(*), JTASK,
65 . KINET(*), NB_DST2(PARASIZ), ICODT(*), ISKEW(*)
66 my_real :: x(3,*), v(3,*)
67 TYPE(intbuf_struct_),DIMENSION(NINTER) :: INTBUF_TAB
68 TYPE (SENSOR_STR_) ,DIMENSION(NSENSOR) ,INTENT(IN) :: SENSOR_TAB
69C-----------------------------------------------
70C L o c a l V a r i a b l e s
71C-----------------------------------------------
72 INTEGER NIN, NI25, ISENS, LINDMAX
73 my_real
74 . TS, STARTT, STOPT
75C-----------------------------------------------
76 DO ni25=1,ninter25
77C
78 nin = intlist25(ni25)
79C
80 lindmax = intbuf_tab(nin)%I_STOK(2)
81C
82 startt=intbuf_tab(nin)%VARIABLES(3)
83 stopt =intbuf_tab(nin)%VARIABLES(11)
84 IF(startt>tt) cycle
85 IF(tt>stopt) cycle
86C
87 isens = ipari(64,nin)
88 IF (isens > 0) THEN ! Interface activated by sensor
89 ts = sensor_tab(isens)%TSTART
90 ELSE
91 ts = tt
92 ENDIF
93 IF(tt<ts) cycle
94
95 CALL i25comp_2(
96 1 ipari ,intbuf_tab(nin),x ,itab ,nin ,
97 2 lindmax ,kinet ,jtask ,nb_dst2(jtask),v ,
98 3 icodt ,iskew )
99C
100 ENDDO
101C-----------------------------------------------------------------------
102 RETURN
103 END
104C
#define my_real
Definition cppsort.cpp:32
subroutine i25comp_2(ipari, intbuf_tab, x, itab, nin, lindmax, kinet, jtask, nb_dst2, v, icodt, iskew)
Definition i25comp_2.F:44
subroutine i25maind_2(ipari, itab, sensor_tab, intlist25, intbuf_tab, x, v, kinet, jtask, nb_dst2, icodt, iskew, nsensor)
Definition i25maind_2.F:40