OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i4gmx3.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
!|| i4gmx3 ../starter/source/interfaces/inter3d1/i4gmx3.F
26
!||--- called by ------------------------------------------------------
27
!|| i20sti3 ../starter/source/interfaces/inter3d1/i20sti3.F
28
!|| i21gap3 ../starter/source/interfaces/inter3d1/i21gap3.F
29
!|| i23gap3 ../starter/source/interfaces/inter3d1/i23gap3.F
30
!|| i24gapm ../starter/source/interfaces/inter3d1/i24sti3.F
31
!|| i25gapm ../starter/source/interfaces/inter3d1/i25sti3.F
32
!|| i7sti3 ../starter/source/interfaces/inter3d1/i7sti3.F
33
!||====================================================================
34
SUBROUTINE
i4gmx3
(X,IRECT,I,GAPMAX)
35
C
36
C-----------------------------------------------
37
C I m p l i c i t T y p e s
38
C-----------------------------------------------
39
#include "implicit_f.inc"
40
C-----------------------------------------------
41
C D u m m y A r g u m e n t s
42
C-----------------------------------------------
43
INTEGER
I
44
my_real
45
. gapmax
46
INTEGER
IRECT(4,*)
47
my_real
48
. x(3,*)
49
C-----------------------------------------------
50
C L o c a l V a r i a b l e s
51
C-----------------------------------------------
52
INTEGER
JPERM(4), JJ, N1, N2
53
my_real
54
. xl
55
C
56
DATA
jperm/2,3,4,1/
57
C-----------------------------------------------------------------
58
C LONGUEUR MINI DES COTES DE SEGMENT (CALCUL DU GAP MAX)
59
C-----------------------------------------------------------------
60
DO
jj=1,4
61
n1=irect(jj,i)
62
n2=irect(jperm(jj),i)
63
xl=(x(1,n1)-x(1,n2))**2
64
. +(x(2,n1)-x(2,n2))**2
65
. +(x(3,n1)-x(3,n2))**2
66
IF
(xl>zero.AND.n1/=n2)gapmax=
min
(gapmax,xl)
67
END DO
68
C
69
RETURN
70
END
my_real
#define my_real
Definition
cppsort.cpp:32
i4gmx3
subroutine i4gmx3(x, irect, i, gapmax)
Definition
i4gmx3.F:35
min
#define min(a, b)
Definition
macros.h:20
starter
source
interfaces
inter3d1
i4gmx3.F
Generated by
1.15.0