OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i2master.F
Go to the documentation of this file.
1
Copyright> OpenRadioss
2
Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3
Copyright>
4
Copyright> This program is free software: you can redistribute it and/or modify
5
Copyright> it under the terms of the GNU Affero General Public License as published by
6
Copyright> the Free Software Foundation, either version 3 of the License, or
7
Copyright> (at your option) any later version.
8
Copyright>
9
Copyright> This program is distributed in the hope that it will be useful,
10
Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11
Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
Copyright> GNU Affero General Public License for more details.
13
Copyright>
14
Copyright> You should have received a copy of the GNU Affero General Public License
15
Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16
Copyright>
17
Copyright>
18
Copyright> Commercial Alternative: Altair Radioss Software
19
Copyright>
20
Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21
Copyright> software under a commercial license. Contact Altair to discuss further if the
22
Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23
C
24
!||====================================================================
25
!|| i2main ../starter/source/interfaces/interf1/i2master.F
26
!||--- called by ------------------------------------------------------
27
!|| inint2 ../starter/source/interfaces/inter2d1/inint2.F
28
!|| inint3 ../starter/source/interfaces/inter3d1/inint3.F
29
!||--- uses -----------------------------------------------------
30
!||====================================================================
31
SUBROUTINE
i2main
(NSV,MSR,IRECTM,IPARI,
32
. TAG,MSRU,INTBUF_TAB)
33
C-----------------------------------------------
34
C M o d u l e s
35
C-----------------------------------------------
36
USE
intbufdef_mod
37
C-----------------------------------------------------------------------
38
C recontruit MSR et IRECTM en fonction des main nodes utiles
39
C-----------------------------------------------
40
C I m p l i c i t T y p e s
41
C-----------------------------------------------
42
#include "implicit_f.inc"
43
#include "com01_c.inc"
44
#include "com04_c.inc"
45
C-----------------------------------------------
46
C D u m m y A r g u m e n t s
47
C-----------------------------------------------
48
INTEGER
NSV(*), MSR(*), IRECTM(4,*), IPARI(*)
49
INTEGER
TAG(*), MSRU(*)
50
51
TYPE
(intbuf_struct_) INTBUF_TAB
52
C-----------------------------------------------
53
C L o c a l V a r i a b l e s
54
C-----------------------------------------------
55
INTEGER
NRTS, NRTM, NSN, NMN, NTY, I, J, NIR,
56
. k
, m, nm, nmnu
57
C-----------------------------------------------
58
nrts=ipari(3)
59
nrtm=ipari(4)
60
nsn =ipari(5)
61
nmn =ipari(6)
62
nty =ipari(7)
63
nmnu = 0
64
C
65
DO
i = 1, numnod
66
tag(i) = 0
67
ENDDO
68
C
69
IF
(n2d==0)
THEN
70
nir = 4
71
ELSE
72
nir = 2
73
ENDIF
74
C determination des main nodes reellement utilises
75
DO
i = 1, nsn
76
j = intbuf_tab%IRTLM(i)
77
DO
k = 1, nir
78
m = irectm(k,j)
79
IF
(tag(m)==0)
THEN
80
nmnu = nmnu + 1
81
tag(m) = nmnu
82
msru(nmnu) = msr(m)
83
ENDIF
84
ENDDO
85
ENDDO
86
C mise a jour de MSR
87
DO
i = 1, nmnu
88
msr(i) = msru(i)
89
ENDDO
90
C mise a jour de irectm
91
C---------------------------------------------------------------
92
C LE NOEUD LOCAL EST REMPLACE PAR LE NOEUD GLOBAL DANS IRECT
93
C---------------------------------------------------------------
94
DO
i = 1, nrtm
95
DO
k = 1, nir
96
m = irectm(k,i)
97
nm = tag(m)
98
IF
(nm==0)
THEN
99
irectm(k,i) = 1
100
ELSE
101
CGW IRECTM(K,I) = NM
102
irectm(k,i) = msr(nm)
103
ENDIF
104
ENDDO
105
ENDDO
106
C mise a jour de IPARI et offset de IRTLM
107
ipari(6) = nmnu
108
C
109
RETURN
110
END
i2main
subroutine i2main(nsv, msr, irectm, ipari, tag, msru, intbuf_tab)
Definition
i2master.F:33
starter
source
interfaces
interf1
i2master.F
Generated by
1.15.0