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

Go to the source code of this file.

Functions/Subroutines

subroutine check_function_id (npc, nfunct, ifunct_in, ifunct_out, ifound)

Function/Subroutine Documentation

◆ check_function_id()

subroutine check_function_id ( integer, dimension(*) npc,
integer nfunct,
integer ifunct_in,
integer ifunct_out,
logical, intent(out) ifound )

Definition at line 28 of file check_function.F.

29C-----------------------------------------------
30C I m p l i c i t T y p e s
31C-----------------------------------------------
32#include "implicit_f.inc"
33C-----------------------------------------------
34C D u m m y A r g u m e n t s
35C-----------------------------------------------
36 INTEGER NPC(*), NFUNCT, IFUNCT_IN, IFUNCT_OUT
37 LOGICAL, INTENT(OUT) :: IFOUND
38C-----------------------------------------------
39C L o c a l V a r i a b l e s
40C-----------------------------------------------
41 INTEGER I
42C--------------------------------------------------------------------------
43 ifound = .false.
44 ifunct_out = 0
45 DO i=1,nfunct
46 IF(ifunct_in == npc(i)) THEN
47 ifunct_out = i
48 ifound = .true.
49 EXIT
50 ENDIF
51 ENDDO
52 RETURN