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

Go to the source code of this file.

Functions/Subroutines

subroutine prescrint (ipari, intbuf_tab, inscr)

Function/Subroutine Documentation

◆ prescrint()

subroutine prescrint ( integer, dimension(npari,*) ipari,
type(intbuf_struct_), dimension(*) intbuf_tab,
type(scratch_struct_), dimension(*) inscr )

Definition at line 32 of file prescrint.F.

33C-----------------------------------------------
34C M o d u l e s
35C-----------------------------------------------
37 USE intbufdef_mod
38C============================================================================
39C I m p l i c i t T y p e s
40C-----------------------------------------------
41#include "implicit_f.inc"
42C-----------------------------------------------
43C C o m m o n B l o c k s
44C-----------------------------------------------
45#include "com04_c.inc"
46#include "param_c.inc"
47C-----------------------------------------------
48C D u m m y A r g u m e n t s
49C-----------------------------------------------
50 INTEGER IPARI(NPARI,*)
51
52 TYPE(INTBUF_STRUCT_) INTBUF_TAB(*)
53 TYPE(SCRATCH_STRUCT_) INSCR(*)
54C-----------------------------------------------
55C L o c a l V a r i a b l e s
56C-----------------------------------------------
57 INTEGER NI, NSN, NMN, NTY, NRTS, NRTM, NST, NMT,LFI
58C=======================================================================
59 lfi = 1
60 DO ni=1,ninter
61 nrts =ipari(3,ni)
62 nrtm =ipari(4,ni)
63 nsn =ipari(5,ni)
64 nmn =ipari(6,ni)
65 nty =ipari(7,ni)
66 IF (nty == 1)THEN
67 CALL presegmt(intbuf_tab(ni)%IRECTS,intbuf_tab(ni)%NSV,nrts,nsn,nst)
68 lfi = 1 + nmn + 1+nsn + nst
69 ELSEIF(nty == 2)THEN
70 CALL presegmt(intbuf_tab(ni)%IRECTS,intbuf_tab(ni)%NSV,nrts,nsn,nst)
71 CALL presegmt(intbuf_tab(ni)%IRECTM,intbuf_tab(ni)%MSR,nrtm,nmn,nmt)
72 lfi = 1 + nmn + nsn + 1+nsn +1+nmn + nst + nmt
73 ENDIF
74 inscr(ni)%SINSCR = lfi
75 ENDDO
76C-----
77 RETURN
subroutine presegmt(irect, nodes, nrt, nno, nst)
Definition presegmt.F:32