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

Go to the source code of this file.

Functions/Subroutines

subroutine freabf (ikad, key0, kabf, abfile, nabfile, cpt)

Function/Subroutine Documentation

◆ freabf()

subroutine freabf ( integer, dimension(0:*) ikad,
character, dimension(*) key0,
integer kabf,
integer, dimension(*) abfile,
integer nabfile,
integer cpt )

Definition at line 35 of file freabf.F.

36C-----------------------------------------------
37C M o d u l e s
38C-----------------------------------------------
39 USE message_mod
41C-----------------------------------------------
42C I m p l i c i t T y p e s
43C-----------------------------------------------
44#include "implicit_f.inc"
45C-----------------------------------------------
46C D u m m y A r g u m e n t s
47C-----------------------------------------------
48 INTEGER IKAD(0:*),
49 . KABF,ABFILE(*),CPT,NABFILE
50 CHARACTER KEY0(*)*5
51C-----------------------------------------------
52C C o m m o n B l o c k s
53C-----------------------------------------------
54#include "units_c.inc"
55#include "scr16_c.inc"
56#include "com08_c.inc"
57C-----------------------------------------------
58C L o c a l V a r i a b l e s
59C-----------------------------------------------
60 INTEGER I, K, IKEY, N1, KK, J
61 CHARACTER KEY2*5, KEY3*5, KEY4*5
62 CHARACTER(LEN=NCHARLINE100):: CARTE
63C-----------------------------------------------
64 ikey=kabf
65
66 dtabfwr0(cpt) = zero
67 k = 0
68
69 IF(ikad(ikey)/=ikad(ikey+1))THEN
70 READ(iusc1,rec=ikad(ikey)+k,fmt='(3X,A,1X,A,1X,A)',err=9990)key2,key3,key4
71 k=k+1
72 abfile(cpt) = abfile(cpt) + 1
73 nabfile = nabfile + 1
74 CALL wriusc2(ikad(ikey)+k,1,key0(ikey))
75 READ(iusc2,*,err=9990,END=9990)DTABF0(CPT),DTABFWR0(CPT)
76 IF (dtabfwr0(cpt) == zero) dtabfwr0(cpt) = dtabf0(cpt)
77 ELSE
78 dtabf0(cpt) = ep30
79 tabfis(cpt) = ep30
80 ENDIF
81C-----------------------------------------------
82 RETURN
83C-----------------------------------------------
84 9990 CONTINUE
85 CALL ancmsg(msgid=73,anmode=aninfo,
86 . c1=key0(ikey))
87 CALL arret(0)
integer, parameter ncharline100
subroutine ancmsg(msgid, msgtype, anmode, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, r1, r2, r3, r4, r5, r6, r7, r8, r9, c1, c2, c3, c4, c5, c6, c7, c8, c9, prmode)
Definition message.F:889
subroutine arret(nn)
Definition arret.F:87
subroutine wriusc2(irec, nbc, key0)
Definition wriusc2.F:60