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

Go to the source code of this file.

Functions/Subroutines

subroutine frefunc (ikad, key0, kfunc, nfct)

Function/Subroutine Documentation

◆ frefunc()

subroutine frefunc ( integer, dimension(0:*) ikad,
character, dimension(*) key0,
integer kfunc,
integer nfct )

Definition at line 34 of file frefunc.F.

35C-----------------------------------------------
36C M o d u l e s
37C-----------------------------------------------
38 USE message_mod
39C-----------------------------------------------
40C I m p l i c i t T y p e s
41C-----------------------------------------------
42#include "implicit_f.inc"
43C-----------------------------------------------
44C D u m m y A r g u m e n t s
45C-----------------------------------------------
46 INTEGER IKAD(0:*),
47 . KFUNC,NFCT
48 CHARACTER KEY0(*)*5
49C-----------------------------------------------
50C C o m m o n B l o c k s
51C-----------------------------------------------
52#include "units_c.inc"
53C-----------------------------------------------
54C E x t e r n a l F u n c t i o n s
55C-----------------------------------------------
56C
57C-----------------------------------------------
58C L o c a l V a r i a b l e s
59C-----------------------------------------------
60 INTEGER I, N, NBC, K, KK, IKEY, IF, NP
62 . t, f
63C
64 k=0
65 ikey=kfunc
66 DO n=1,nfct
67 READ(iusc1,rec=ikad(ikey)+k,fmt='(49x,i10)',
68 . ERR=9990)NBC
69 K=K+1
70 CALL WRIUSC2(IKAD(IKEY)+K,1,KEY0(IKEY))
71 K=K+1
72 READ(IUSC2,*,ERR=9990,END=9990)IF
73 NP=NBC-1
74 WRITE(IIN,'(2i10)')IF,NP
75 DO I=1,NP
76 CALL WRIUSC2(IKAD(IKEY)+K,1,KEY0(IKEY))
77 K=K+1
78 READ(IUSC2,*,ERR=9990,END=9990)T,F
79 WRITE(IIN,'(2e16.9)')T,F
80 ENDDO
81 ENDDO
82C
83 RETURN
84C
85 9990 CONTINUE
86 CALL ANCMSG(MSGID=73,ANMODE=ANINFO,
87 . C1=KEY0(IKEY))
88 CALL ARRET(0)
#define my_real
Definition cppsort.cpp:32