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

Go to the source code of this file.

Functions/Subroutines

subroutine rkini3 (ifunct, npc, pld, xk, ecrou, igeo, a, lscale, id, titr, nom_opt)

Function/Subroutine Documentation

◆ rkini3()

subroutine rkini3 ( integer ifunct,
integer, dimension(*) npc,
pld,
xk,
ecrou,
integer, dimension(npropgi) igeo,
a,
lscale,
integer id,
character(len=nchartitle) titr,
integer, dimension(lnopt1,*) nom_opt )

Definition at line 33 of file rkini3.F.

35C-----------------------------------------------
36C M o d u l e s
37C-----------------------------------------------
38 USE message_mod
40C-----------------------------------------------
41C I m p l i c i t T y p e s
42C-----------------------------------------------
43#include "implicit_f.inc"
44C-----------------------------------------------
45C C o m m o n B l o c k s
46C-----------------------------------------------
47#include "com04_c.inc"
48#include "param_c.inc"
49#include "scr17_c.inc"
50C-----------------------------------------------
51C D u m m y A r g u m e n t s
52C-----------------------------------------------
53 INTEGER IFUNCT,NPC(*),IGEO(NPROPGI)
55 . xk,ecrou,a,lscale
57 . pld(*)
58 INTEGER ID,ID1
59 CHARACTER(LEN=NCHARTITLE)::TITR,TITR1
60 INTEGER NOM_OPT(LNOPT1,*)
61C-----------------------------------------------
62C L o c a l V a r i a b l e s
63C-----------------------------------------------
64 INTEGER NPOINT, J, J1, HARD,NUMPROP
66 . a1, b1, a2, b2, xk_ini
67C=======================================================================
68 numprop=igeo(1)
69 xk_ini=xk
70
71 IF(ifunct==0) RETURN
72 npoint=(npc(ifunct+1)-npc(ifunct))/2
73 DO 50 j=2,npoint
74 j1=2*(j-2)
75 a1=pld(npc(ifunct)+j1)
76 b1=pld(npc(ifunct)+j1+1)
77 a2=pld(npc(ifunct)+j1+2)
78 b2=pld(npc(ifunct)+j1+3)
79 xk= max(xk,lscale*(b2-b1)/(a2-a1))
80 50 CONTINUE
81C
82 hard=ecrou
83 IF(hard/=0)THEN
84 IF(xk_ini<xk)THEN
85 CALL fretitl2(titr1,nom_opt(lnopt1-ltitr+1,ifunct),ltitr)
86 CALL ancmsg(msgid=506,
87 . msgtype=msgwarning,
88 . anmode=aninfo_blind_1,
89 . i1=id,
90 . c1=titr,
91 . r1=xk_ini,
92 . r2=xk,
93 . r3=xk,
94 . i2=npc(nfunct+ifunct+1),
95 . c2=titr1,
96 . prmod=msg_cumu)
97 ENDIF
98 ENDIF
99C
100 RETURN
#define my_real
Definition cppsort.cpp:32
#define max(a, b)
Definition macros.h:21
initmumps id
integer, parameter nchartitle
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 fretitl2(titr, iasc, l)
Definition freform.F:804