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

Go to the source code of this file.

Functions/Subroutines

subroutine freeig (ikad, key0, keig, neigoff)

Function/Subroutine Documentation

◆ freeig()

subroutine freeig ( integer, dimension(0:*) ikad,
character, dimension(*) key0,
integer keig,
integer neigoff )

Definition at line 34 of file freeig.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 C o m m o n B l o c k s
45C-----------------------------------------------
46#include "units_c.inc"
47C-----------------------------------------------
48C D u m m y A r g u m e n t s
49C-----------------------------------------------
50 INTEGER IKAD(0:*),
51 . KEIG,NEIGOFF
52 CHARACTER KEY0(*)*5
53C-----------------------------------------------
54C L o c a l V a r i a b l e s
55C-----------------------------------------------
56 INTEGER J, N, NBC, K, KK, K4, IKEY, IV2(10),JJ
57 CHARACTER KEY2*5, KEY3*5
58C
59 ikey=keig
60C
61 k=0
62 jj = 0
63 DO n=1,neigoff
64 READ(iusc1,rec=ikad(ikey)+k,fmt='(7X,A,1X,A,1X,I5,25X,I10)',
65 . err=9990)key2,key3,k4,nbc
66 k=k+1
67 kk=k
68 k=k+nbc
69 IF (key2=='OFF ')
70 . CALL read10p(ikad(ikey)+kk,nbc,key0(ikey),iv2,jj)
71 ENDDO
72 IF (jj/=0) WRITE(iin,'(10I10)')(iv2(j),j=1,jj)
73C
74 RETURN
75C
76 9990 CONTINUE
77 CALL ancmsg(msgid=73,anmode=aninfo,
78 . c1=key0(ikey))
79 CALL arret(0)
80C
subroutine read10p(irec, nbc, key0, iv2, jj)
Definition read10p.F:34
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