OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i11gmx3.F File Reference
#include "implicit_f.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine i11gmx3 (x, irect, i, gapmax, xl2)

Function/Subroutine Documentation

◆ i11gmx3()

subroutine i11gmx3 ( x,
integer, dimension(2,*) irect,
integer i,
gapmax,
xl2 )

Definition at line 31 of file i11gmx3.F.

32C
33C-----------------------------------------------
34C I m p l i c i t T y p e s
35C-----------------------------------------------
36#include "implicit_f.inc"
37C-----------------------------------------------
38C D u m m y A r g u m e n t s
39C-----------------------------------------------
40 INTEGER I
41C REAL
43 . gapmax
44 INTEGER IRECT(2,*)
45C REAL
47 . x(3,*),xl2
48C-----------------------------------------------
49C L o c a l V a r i a b l e s
50C-----------------------------------------------
51 INTEGER JPERM(4), JJ, N1, N2
52C
53 DATA jperm/2,3,4,1/
54C-----------------------------------------------------------------
55C LONGUEUR MINI DES COTES DE SEGMENT (CALCUL DU GAP MAX)
56C-----------------------------------------------------------------
57 n1=irect(1,i)
58 n2=irect(2,i)
59 xl2=(x(1,n1)-x(1,n2))**2
60 . +(x(2,n1)-x(2,n2))**2
61 . +(x(3,n1)-x(3,n2))**2
62 IF(xl2>zero)gapmax= min(gapmax,xl2)
63C
64 RETURN
#define my_real
Definition cppsort.cpp:32
#define min(a, b)
Definition macros.h:20