OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
iface.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!|| iface ../starter/source/ale/ale3d/iface.F
25!||--- called by ------------------------------------------------------
26!|| boxassem4 ../starter/source/model/box/bigbox.F
27!|| c_iebcs ../starter/source/restart/ddsplit/c_iebcs.F
28!|| ddsplit ../starter/source/restart/ddsplit/ddsplit.F
29!|| findele ../starter/source/boundary_conditions/ebcs/findele.F
30!|| fvbric01 ../starter/source/airbag/fvbric01.F
31!|| i12sol3 ../starter/source/interfaces/inter3d1/insol3.F
32!|| iniebcs ../starter/source/boundary_conditions/ebcs/iniebcs.F
33!||====================================================================
34 INTEGER FUNCTION iface(IP,N)
35C-----------------------------------------------
36C D e s c r i p t i o n
37C-----------------------------------------------
38C This function is searching for face identifier
39C 3D case (8 nodes)
40C-----------------------------------------------
41C I m p l i c i t T y p e s
42C-----------------------------------------------
43#include "implicit_f.inc"
44C-----------------------------------------------
45C D u m m y A r g u m e n t s
46C-----------------------------------------------
47 INTEGER ip(*), n(4)
48C-----------------------------------------------
49C S o u r c e L i n e s
50C-----------------------------------------------
51 IF(ip(n(1)) > 0)THEN
52 IF(ip(n(2)) > 0)THEN
53 IF(ip(n(3)) > 0)THEN
54 iface=1
55 ELSE
56 iface=4
57 ENDIF
58 ELSE
59 iface=6
60 ENDIF
61 ELSE
62 IF(ip(n(3)) > 0)THEN
63 IF(ip(n(4)) > 0)THEN
64 iface=2
65 ELSE
66 iface=5
67 ENDIF
68 ELSE
69 iface=3
70 ENDIF
71 ENDIF
72 RETURN
73 END
74
75!||====================================================================
76!|| iface2 ../starter/source/ale/ale3d/iface.f
77!||--- called by ------------------------------------------------------
78!|| c_ixfloc ../starter/source/restart/ddsplit/c_ixfloc.F
79!|| ddsplit ../starter/source/restart/ddsplit/ddsplit.F
80!|| findele ../starter/source/boundary_conditions/ebcs/findele.F
81!|| multi_unplug_neighbors ../starter/source/multifluid/multi_unplug_neighbors.F
82!||====================================================================
83 INTEGER FUNCTION iface2(IP, N)
84C-----------------------------------------------
85C D e s c r i p t i o n
86C-----------------------------------------------
87C This function is searching for face identifier
88C 2D case (4 nodes : QUADS)
89C-----------------------------------------------
90C I m p l i c i t T y p e s
91C-----------------------------------------------
92#include "implicit_f.inc"
93C-----------------------------------------------
94C D u m m y A r g u m e n t s
95C-----------------------------------------------
96 INTEGER, INTENT(IN) :: ip(*), N(2)
97C-----------------------------------------------
98C S o u r c e L i n e s
99C-----------------------------------------------
100 IF (ip(n(1)) > 0) THEN
101 IF (ip(n(2)) > 0) THEN
102 iface2 = 1
103 ELSE
104 iface2 = 4
105 ENDIF
106 ELSE IF (ip(n(2)) > 0) THEN
107 iface2 = 2
108 ELSE
109 iface2 = 3
110 ENDIF
111 END
112
113!||====================================================================
114!|| iface2t ../starter/source/ale/ale3d/iface.F
115!||--- called by ------------------------------------------------------
116!|| findele ../starter/source/boundary_conditions/ebcs/findele.F
117!||====================================================================
118 INTEGER FUNCTION iface2t(IP, N)
119C-----------------------------------------------
120C D e s c r i p t i o n
121C-----------------------------------------------
122C This function is searching for face identifier
123C 2D case (3 nodes : TRIANGLES)
124C-----------------------------------------------
125C I m p l i c i t T y p e s
126C-----------------------------------------------
127#include "implicit_f.inc"
128C-----------------------------------------------
129C D u m m y A r g u m e n t s
130C-----------------------------------------------
131 INTEGER, INTENT(IN) :: ip(*), n(3)
132C-----------------------------------------------
133C S o u r c e L i n e s
134C-----------------------------------------------
135 iface2t = 0
136 IF (ip(n(1)) > 0) THEN
137 IF (ip(n(2)) > 0) THEN
138 iface2t = 1
139 ELSE
140 iface2t = 3
141 ENDIF
142 ELSE IF (ip(n(3)) > 0) THEN
143 iface2t = 2
144 ENDIF
145 END
integer function iface(ip, n)
Definition iface.F:35
integer function iface2(ip, n)
Definition iface.F:84
integer function iface2t(ip, n)
Definition iface.F:119
program starter
Definition starter.F:39