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

Go to the source code of this file.

Functions/Subroutines

integer function icompc (i, j, tab)

Function/Subroutine Documentation

◆ icompc()

integer function icompc ( integer i,
integer j,
tab )

Definition at line 30 of file icompc.F.

31C
32C COMPCL= -1 SI TAB(I)<TAB(J)
33C 0 =
34C 1 >
35C-----------------------------------------------
36C I m p l i c i t T y p e s
37C-----------------------------------------------
38#include "implicit_f.inc"
39C-----------------------------------------------
40C D u m m y A r g u m e n t s
41C-----------------------------------------------
42 INTEGER I, J
43C REAL
45 . tab(*)
46C-----------------------------------------------
47C L o c a l V a r i a b l e s
48C-----------------------------------------------
49 icompc=1
50 IF(tab(i)<tab(j)) THEN
51 icompc=-1
52 ELSE IF(tab(i)==tab(j)) THEN
53 icompc=0
54 ENDIF
55 RETURN
#define my_real
Definition cppsort.cpp:32
integer function icompc(i, j, tab)
Definition icompc.F:31